Re: [PATCH] char: mwave: fix return type in ioctl

From: Alan
Date: Thu Aug 04 2022 - 15:05:50 EST


On Thu, 4 Aug 2022 10:06:38 +0300
Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:

> This function is supposed to return zero for success or negative error
> code on failure. Unfortunately the "retval" is declared as unsigned int
> and the function returns type long. That means that on 64 bit systems
> it will return positive values on error.

Not sure what tool folks are using these days to figure out who to mail
about Linux bits, but could whoever maintains it stick
alan@xxxxxxxxxxxxxxxxxxx on the ignore list for it.

Thanks

Alan