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]
Date:   Wed, 7 Nov 2018 10:28:11 +0800
From:   kbuild test robot <lkp@...el.com>
To:     "Maciej W. Rozycki" <macro@...ux-mips.org>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org
Subject: drivers/net/fddi/defza.h:238:1: warning: "/*" within comment

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   8053e5b93eca9b011f7b79bb019bf1eeaaf96c4b
commit: 61414f5ec9834df8aa4f55c90de16b71a3d6ca8d FDDI: defza: Add support for DEC FDDIcontroller 700 TURBOchannel adapter
date:   3 weeks ago
config: mips-decstation_defconfig (attached as .config)
compiler: mipsel-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 61414f5ec9834df8aa4f55c90de16b71a3d6ca8d
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=mips 

All warnings (new ones prefixed by >>):

   In file included from drivers/net/fddi/defza.c:53:0:
>> drivers/net/fddi/defza.h:238:1: warning: "/*" within comment [-Wcomment]
    /* Command constants. */
     
   drivers/net/fddi/defza.c: In function 'fza_tx_smt':
   drivers/net/fddi/defza.c:787:45: warning: unused variable 'skb_data_ptr' [-Wunused-variable]
     struct fza_buffer_tx __iomem *smt_tx_ptr, *skb_data_ptr;
                                                ^~~~~~~~~~~~

vim +238 drivers/net/fddi/defza.h

   234	
   235	#define FZA_RING_CMD		0x200400	/* command ring address */
   236	#define FZA_RING_CMD_SIZE	0x40		/* command descriptor ring
   237							 * size
 > 238	/* Command constants. */
   239	#define FZA_RING_CMD_MASK	0x7fffffff
   240	#define FZA_RING_CMD_NOP	0x00000000	/* nop */
   241	#define FZA_RING_CMD_INIT	0x00000001	/* initialize */
   242	#define FZA_RING_CMD_MODCAM	0x00000002	/* modify CAM */
   243	#define FZA_RING_CMD_PARAM	0x00000003	/* set system parameters */
   244	#define FZA_RING_CMD_MODPROM	0x00000004	/* modify promiscuous mode */
   245	#define FZA_RING_CMD_SETCHAR	0x00000005	/* set link characteristics */
   246	#define FZA_RING_CMD_RDCNTR	0x00000006	/* read counters */
   247	#define FZA_RING_CMD_STATUS	0x00000007	/* get link status */
   248	#define FZA_RING_CMD_RDCAM	0x00000008	/* read CAM */
   249	

---
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/gzip" (10904 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ