On Thu, Aug 07, 2025 at 12:46:17PM +1000, Aleksa Sarai wrote:
It felt odd to use "return ret;" at the start and switch to "return n;" at the end, but feel free to change it when applying.
s/ret/err/ would take care of that, as well as clarifying the intent - not that "mutex_lock_interruptible() returns 0 or error" hadn't been the basic common knowledge...
Anyway, that's really nitpicking at this point.