CC: [email protected]
CC: Intel Wired LAN <[email protected]>
CC: [email protected]
TO: Heiner Kallweit <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git 
dev-queue
head:   6452b881d66ef372a44fedea9d6190d0a48003ee
commit: d43c65b05b848e0b2db1a6c78b02c189da3a95b5 [658/780] ethtool: 
runtime-resume netdev parent in ethnl_ops_begin
:::::: branch date: 3 hours ago
:::::: commit date: 12 hours ago
config: openrisc-randconfig-m031-20210803 (attached as .config)
compiler: or1k-linux-gcc (GCC) 10.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

New smatch warnings:
net/ethtool/netlink.c:67 ethnl_ops_complete() error: we previously assumed 
'dev' could be null (see line 64)

Old smatch warnings:
net/ethtool/netlink.c:532 ethnl_default_start() warn: potential spectre issue 
'ethnl_default_requests' [r]
net/ethtool/netlink.c:533 ethnl_default_start() warn: possible spectre second 
half.  'ops'

vim +/dev +67 net/ethtool/netlink.c

c5ab51df03e2d7 Heiner Kallweit 2021-08-01  61  
c5ab51df03e2d7 Heiner Kallweit 2021-08-01  62  void ethnl_ops_complete(struct 
net_device *dev)
c5ab51df03e2d7 Heiner Kallweit 2021-08-01  63  {
c5ab51df03e2d7 Heiner Kallweit 2021-08-01 @64   if (dev && 
dev->ethtool_ops->complete)
c5ab51df03e2d7 Heiner Kallweit 2021-08-01  65           
dev->ethtool_ops->complete(dev);
d43c65b05b848e Heiner Kallweit 2021-08-01  66  
d43c65b05b848e Heiner Kallweit 2021-08-01 @67   if (dev->dev.parent)
d43c65b05b848e Heiner Kallweit 2021-08-01  68           
pm_runtime_put(dev->dev.parent);
c5ab51df03e2d7 Heiner Kallweit 2021-08-01  69  }
c5ab51df03e2d7 Heiner Kallweit 2021-08-01  70  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to