[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e1344987-6b60-c090-4a44-98ebd564f4f1@kernel.dk>
Date: Thu, 31 Mar 2022 19:14:16 -0600
From: Jens Axboe <axboe@...nel.dk>
To: kernel test robot <lkp@...el.com>
Cc: kbuild-all@...ts.01.org,
GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: fix err_cast.cocci warnings
On 3/31/22 5:33 PM, kernel test robot wrote:
> From: kernel test robot <lkp@...el.com>
>
> net/socket.c:1571:9-16: WARNING: ERR_CAST can be used with sock
>
>
> Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...))
Thanks - since I haven't even posted this yet, I'm just going to
fold in the patch.
--
Jens Axboe
Powered by blists - more mailing lists