Hi Pavel and Sasha,
On 5/13/24 8:18 AM, Pavel Machek wrote:
Explicitly set 'rc' (return code), before jumping to the
unlock and return path.
By not having any code depend on that 'rc' remains at
it's initial value of -EINVAL, then we can re-use 'rc' for
the return code of function calls in subsequent patches.
Only compile tested.
Only compile tested, and is a preparation for something we won't do in
stable. Does not fix a bug, please drop.
Please see the original thread about this series[1], this patch is a requirement for
two of the next patches, which does fix a few bugs with overruled error codes returned
to user space.
I was originally going to ignore these AUTOSEL mails, since the whole series was already
added to the queued more than 24 hours earlier[2]. In the queue Sasha has also added "Stable-dep-of:'.
So the weird thing is that AUTOSEL selected this patch, given that it was already in the queue.
[1] https://lore.kernel.org/netdev/20240426091227.78060-1-ast@xxxxxxxxxxx/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/log/?h=queue/5.10
--
Best regards
Asbjørn Sloth Tønnesen
Network Engineer
Fiberby - AS42541