lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 23 Dec 2022 09:38:09 +0100 (CET)
From:   Julia Lawall <julia.lawall@...ia.fr>
To:     Ziyang Xuan <william.xuanziyang@...wei.com>
cc:     linux-kernel@...r.kernel.org, oe-kbuild-all@...ts.linux.dev
Subject: drivers/leds/trigger/ledtrig-netdev.c:434:2-9: WARNING: NULL check
 before dev_{put, hold} functions is not needed. (fwd)



---------- Forwarded message ----------
Date: Thu, 10 Nov 2022 07:37:24 +0800
From: kernel test robot <lkp@...el.com>
To: oe-kbuild@...ts.linux.dev
Cc: lkp@...el.com, Julia Lawall <julia.lawall@...6.fr>
Subject: drivers/leds/trigger/ledtrig-netdev.c:434:2-9: WARNING: NULL check
    before dev_{put, hold} functions is not needed.

BCC: lkp@...el.com
CC: oe-kbuild-all@...ts.linux.dev
CC: linux-kernel@...r.kernel.org
TO: Ziyang Xuan <william.xuanziyang@...wei.com>
CC: Julia Lawall <Julia.Lawall@...ia.fr>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f67dd6ce0723ad013395f20a3f79d8a437d3f455
commit: bbd5c96850d9de535a83a3a3842dec2169cb31d1 scripts/coccinelle/free: add NULL test before dev_{put, hold} functions
date:   4 months ago
:::::: branch date: 2 hours ago
:::::: commit date: 4 months ago
config: sparc64-randconfig-c023-20221107
compiler: sparc64-linux-gcc (GCC) 12.1.0

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
| Reported-by: Julia Lawall <julia.lawall@...6.fr>

cocci warnings: (new ones prefixed by >>)
>> drivers/leds/trigger/ledtrig-netdev.c:434:2-9: WARNING: NULL check before dev_{put, hold} functions is not needed.
   drivers/leds/trigger/ledtrig-netdev.c:323:3-10: WARNING: NULL check before dev_{put, hold} functions is not needed.

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (126544 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ