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>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 23 Jul 2016 05:36:57 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Uwe Kleine-König 
	<u.kleine-koenig@...gutronix.de>
Cc:	kbuild-all@...org, Mugunthan V N <mugunthanvnm@...com>,
	Grygorii Strashko <grygorii.strashko@...com>,
	linux-omap@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] net: davinci_cpdma: remove excessive dump of register
 values to kernel log

Hi,

[auto build test WARNING on net-next/master]
[also build test WARNING on v4.7-rc7 next-20160722]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Uwe-Kleine-K-nig/net-davinci_cpdma-remove-excessive-dump-of-register-values-to-kernel-log/20160723-041616
config: arm-multi_v7_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All warnings (new ones prefixed by >>):

>> drivers/net/ethernet/ti/davinci_cpdma.c:100:20: warning: 'cpdma_state_str' defined but not used [-Wunused-variable]
    static const char *cpdma_state_str[] = { "idle", "active", "teardown" };
                       ^

vim +/cpdma_state_str +100 drivers/net/ethernet/ti/davinci_cpdma.c

c767db51 drivers/net/ethernet/ti/davinci_cpdma.c Olof Johansson    2013-12-11   84  	phys_addr_t		phys;
84092996 drivers/net/ethernet/ti/davinci_cpdma.c Arnd Bergmann     2016-01-29   85  	dma_addr_t		hw_addr;
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15   86  	void __iomem		*iomap;		/* ioremap map */
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15   87  	void			*cpumap;	/* dma_alloc map */
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15   88  	int			desc_size, mem_size;
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15   89  	int			num_desc, used_desc;
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15   90  	struct device		*dev;
742fb20f drivers/net/ethernet/ti/davinci_cpdma.c Grygorii Strashko 2016-06-27   91  	struct gen_pool		*gen_pool;
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15   92  };
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15   93  
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15   94  enum cpdma_state {
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15   95  	CPDMA_STATE_IDLE,
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15   96  	CPDMA_STATE_ACTIVE,
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15   97  	CPDMA_STATE_TEARDOWN,
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15   98  };
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15   99  
32a6d90b drivers/net/ethernet/ti/davinci_cpdma.c Arnd Bergmann     2012-04-20 @100  static const char *cpdma_state_str[] = { "idle", "active", "teardown" };
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15  101  
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15  102  struct cpdma_ctlr {
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15  103  	enum cpdma_state	state;
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15  104  	struct cpdma_params	params;
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15  105  	struct device		*dev;
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15  106  	struct cpdma_desc_pool	*pool;
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15  107  	spinlock_t		lock;
ef8c2dab drivers/net/davinci_cpdma.c             Cyril Chemparathy 2010-09-15  108  	struct cpdma_chan	*channels[2 * CPDMA_MAX_CHANNELS];

:::::: The code at line 100 was first introduced by commit
:::::: 32a6d90bb341417b9a3a42fcbebd9b092396dee6 davinci_cpdma: export symbols used by other drivers

:::::: TO: Arnd Bergmann <arnd@...db.de>
:::::: CC: David S. Miller <davem@...emloft.net>

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

Download attachment ".config.gz" of type "application/octet-stream" (37759 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ