Thread (63 messages) 63 messages, 6 authors, 2019-06-27

Re: [PATCH net-next 02/18] ionic: Add hardware init and device commands

From: kbuild test robot <hidden>
Date: 2019-06-21 09:27:56

Hi Shannon,

I love your patch! Yet something to improve:

[auto build test ERROR on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Shannon-Nelson/ionic-Add-basic-framework-for-IONIC-Network-device-driver/20190621-110046
config: i386-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <redacted>

All errors (new ones prefixed by >>):

   In file included from drivers/net/ethernet/pensando/ionic/ionic_dev.h:11:0,
                    from drivers/net/ethernet/pensando/ionic/ionic.h:8,
                    from drivers/net/ethernet/pensando/ionic/ionic_main.c:9:
   drivers/net/ethernet/pensando/ionic/ionic_regs.h: In function 'ionic_dbell_ring':
quoted
drivers/net/ethernet/pensando/ionic/ionic_regs.h:130:2: error: implicit declaration of function 'writeq'; did you mean 'writel'? [-Werror=implicit-function-declaration]
     writeq(val, &db_page[qtype]);
     ^~~~~~
     writel
   cc1: some warnings being treated as errors

coccinelle warnings: (new ones prefixed by >>)
quoted
drivers/net/ethernet/pensando/ionic/ionic_debugfs.c:12:11-20: WARNING opportunity for simple_open, see also structure on line 56
Please review and possibly fold the followup patch.

vim +130 drivers/net/ethernet/pensando/ionic/ionic_regs.h

   127	
   128	static inline void ionic_dbell_ring(u64 __iomem *db_page, int qtype, u64 val)
   129	{
 > 130		writeq(val, &db_page[qtype]);
   131	}
   132	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help