Re: [PATCHv2 bluetooth-next] ieee802154/mrf24j40: make sure we do not override return values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stefan,

> If we run into an error during rx we set the the error code in ret, but override
> it afterwards. Using a different variable for the extra case avoids this
> situation.
> 
> CID: 1226982, 1226983
> Signed-off-by: Stefan Schmidt <stefan@xxxxxxxxxxxxxxx>
> Cc: Alan Ott <alan@xxxxxxxxxxx>
> ---
> drivers/net/ieee802154/mrf24j40.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux