Re: [PATCH] USB: Add uPD78F0730 USB to Serial Adaptor Driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Maksim,

[auto build test WARNING on usb/usb-testing]
[also build test WARNING on v4.5-rc5 next-20160226]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Maksim-Salau/USB-Add-uPD78F0730-USB-to-Serial-Adaptor-Driver/20160226-213015
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: s390-allmodconfig (attached as .config)
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=s390 

All warnings (new ones prefixed by >>):

>> drivers/usb/serial/upd78f0730.c:117:0: warning: "PARITY_NONE" redefined
    #define PARITY_NONE 0x00
    ^
   In file included from include/uapi/linux/if.h:28:0,
                    from include/linux/compat.h:14,
                    from arch/s390/include/asm/elf.h:132,
                    from include/linux/elf.h:4,
                    from include/linux/module.h:15,
                    from drivers/usb/serial/upd78f0730.c:28:
   include/uapi/linux/hdlc/ioctl.h:23:0: note: this is the location of the previous definition
    #define PARITY_NONE  1 /* No parity */
    ^

vim +/PARITY_NONE +117 drivers/usb/serial/upd78f0730.c

   101	#define SET_DTR_RTS		0x01
   102	#define SET_XON_XOFF_CHR	0x02
   103	#define OPEN_CLOSE		0x03
   104	#define SET_ERR_CHR		0x04
   105	
   106	/* Data sizes in LINE_CONTROL command */
   107	#define DATA_SIZE_7_BITS	0x00
   108	#define DATA_SIZE_8_BITS	0x01
   109	#define DATA_SIZE_MASK		0x01
   110	
   111	/* Stop-bit modes in LINE_CONTROL command */
   112	#define STOP_BIT_1_BIT	0x00
   113	#define STOP_BIT_2_BIT	0x02
   114	#define STOP_BIT_MASK	0x02
   115	
   116	/* Parity modes in LINE_CONTROL command */
 > 117	#define PARITY_NONE	0x00
   118	#define PARITY_EVEN	0x04
   119	#define PARITY_ODD	0x08
   120	#define PARITY_MASK	0x0C
   121	
   122	/* Flow control modes in LINE_CONTROL command */
   123	#define FLOW_CONTROL_NONE	0x00
   124	#define FLOW_CONTROL_HW		0x10
   125	#define FLOW_CONTROL_SW		0x20

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux