lkml.org 
[lkml]   [2022]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: fix err_cast.cocci warnings
From
On 3/31/22 5:33 PM, kernel test robot wrote:
> From: kernel test robot <lkp@intel.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

\
 
 \ /
  Last update: 2022-04-01 03:15    [W:0.037 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site