mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org
Subject: drivers/net/fddi/defza.h:238:1: warning: "/*" within comment
Date: Wed, 7 Nov 2018 10:28:11 +0800	[thread overview]
Message-ID: <201811071008.bBrDLdPP%fengguang.wu@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2224 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 10904 bytes --]

                 reply	other threads:[~2018-11-07  2:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201811071008.bBrDLdPP%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=macro@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®