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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <ffd55f2c-322c-cd3a-4e8-aeea30b3ef6@inria.fr>
Date:   Tue, 25 Oct 2022 08:35:01 +0200 (CEST)
From:   Julia Lawall <julia.lawall@...ia.fr>
To:     Ziyang Xuan <william.xuanziyang@...wei.com>
cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: drivers/infiniband/core/device.c:2230:3-11: WARNING: NULL check
 before dev_{put, hold} functions is not needed. (fwd)



---------- Forwarded message ----------
Date: Mon, 24 Oct 2022 15:56:31 +0800
From: kernel test robot <lkp@...el.com>
To: kbuild@...ts.01.org
Cc: lkp@...el.com, Julia Lawall <julia.lawall@...6.fr>
Subject: drivers/infiniband/core/device.c:2230:3-11: WARNING: NULL check before
    dev_{put, hold} functions is not needed.

BCC: lkp@...el.com
CC: kbuild-all@...ts.01.org
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:   247f34f7b80357943234f93f247a1ae6b6c3a740
commit: bbd5c96850d9de535a83a3a3842dec2169cb31d1 scripts/coccinelle/free: add NULL test before dev_{put, hold} functions
date:   3 months ago
:::::: branch date: 9 hours ago
:::::: commit date: 3 months ago
config: microblaze-randconfig-c043-20221023
compiler: microblaze-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/infiniband/core/device.c:2230:3-11: WARNING: NULL check before dev_{put, hold} functions is not needed.
   drivers/infiniband/core/device.c:2163:2-10: WARNING: NULL check before dev_{put, hold} functions is not needed.
   drivers/infiniband/core/device.c:2169:2-9: WARNING: NULL check before dev_{put, hold} functions is not needed.
   drivers/infiniband/core/device.c:2307:4-11: 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" (170483 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ