All of lore.kernel.org
 help / color / mirror / Atom feed
* [ti:ti-rt-linux-5.4.y 3430/12234] drivers/usb/cdns3/cdns3-ti.c:55:24: sparse: sparse: dubious one-bit signed bitfield
@ 2020-11-14 21:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-11-14 21:13 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
TO: Roger Quadros <rogerq@ti.com>
CC: Sekhar Nori <nsekhar@ti.com>
CC: Pawel Laszczak <pawell@cadence.com>
CC: Felipe Balbi <felipe.balbi@linux.intel.com>

tree:   git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.4.y
head:   b956d57638aa031e0b660684c0152dd698ecf150
commit: 58c2bef2e443bc8b05737b47ec2ed992529976c7 [3430/12234] usb: cdns3: Add TI specific wrapper driver
:::::: branch date: 5 hours ago
:::::: commit date: 10 months ago
config: xtensa-randconfig-s032-20201115 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-107-gaf3512a6-dirty
        git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
        git fetch --no-tags ti ti-rt-linux-5.4.y
        git checkout 58c2bef2e443bc8b05737b47ec2ed992529976c7
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=xtensa 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


"sparse warnings: (new ones prefixed by >>)"
>> drivers/usb/cdns3/cdns3-ti.c:55:24: sparse: sparse: dubious one-bit signed bitfield
   drivers/usb/cdns3/cdns3-ti.c:56:27: sparse: sparse: dubious one-bit signed bitfield

vim +55 drivers/usb/cdns3/cdns3-ti.c

58c2bef2e443bc8 Roger Quadros 2020-02-03  46  
58c2bef2e443bc8 Roger Quadros 2020-02-03  47  /* Modestrap modes */
58c2bef2e443bc8 Roger Quadros 2020-02-03  48  enum modestrap_mode { USBSS_MODESTRAP_MODE_NONE,
58c2bef2e443bc8 Roger Quadros 2020-02-03  49  		      USBSS_MODESTRAP_MODE_HOST,
58c2bef2e443bc8 Roger Quadros 2020-02-03  50  		      USBSS_MODESTRAP_MODE_PERIPHERAL};
58c2bef2e443bc8 Roger Quadros 2020-02-03  51  
58c2bef2e443bc8 Roger Quadros 2020-02-03  52  struct cdns_ti {
58c2bef2e443bc8 Roger Quadros 2020-02-03  53  	struct device *dev;
58c2bef2e443bc8 Roger Quadros 2020-02-03  54  	void __iomem *usbss;
58c2bef2e443bc8 Roger Quadros 2020-02-03 @55  	int usb2_only:1;
58c2bef2e443bc8 Roger Quadros 2020-02-03  56  	int vbus_divider:1;
58c2bef2e443bc8 Roger Quadros 2020-02-03  57  	struct clk *usb2_refclk;
58c2bef2e443bc8 Roger Quadros 2020-02-03  58  	struct clk *lpm_clk;
58c2bef2e443bc8 Roger Quadros 2020-02-03  59  };
58c2bef2e443bc8 Roger Quadros 2020-02-03  60  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-14 21:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-14 21:13 [ti:ti-rt-linux-5.4.y 3430/12234] drivers/usb/cdns3/cdns3-ti.c:55:24: sparse: sparse: dubious one-bit signed bitfield kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.