All of lore.kernel.org
 help / color / mirror / Atom feed
* [ti:ti-linux-5.4.y 3139/9667] drivers/usb/cdns3/cdns3-ti.c:55:24: sparse: sparse: dubious one-bit signed bitfield
@ 2020-09-15  8:48 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-15  8:48 UTC (permalink / raw)
  To: kbuild-all

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

tree:   git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-linux-5.4.y
head:   6940ba1d3944a80020d39cd9cf00530f928979c9
commit: 58c2bef2e443bc8b05737b47ec2ed992529976c7 [3139/9667] usb: cdns3: Add TI specific wrapper driver
:::::: branch date: 7 hours ago
:::::: commit date: 7 months ago
config: x86_64-randconfig-s021-20200914 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-191-g10164920-dirty
        git checkout 58c2bef2e443bc8b05737b47ec2ed992529976c7
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

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

git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-linux-5.4.y
git checkout 58c2bef2e443bc8b05737b47ec2ed992529976c7
vim +55 drivers/usb/cdns3/cdns3-ti.c

58c2bef2e443bc Roger Quadros 2020-02-03  46  
58c2bef2e443bc Roger Quadros 2020-02-03  47  /* Modestrap modes */
58c2bef2e443bc Roger Quadros 2020-02-03  48  enum modestrap_mode { USBSS_MODESTRAP_MODE_NONE,
58c2bef2e443bc Roger Quadros 2020-02-03  49  		      USBSS_MODESTRAP_MODE_HOST,
58c2bef2e443bc Roger Quadros 2020-02-03  50  		      USBSS_MODESTRAP_MODE_PERIPHERAL};
58c2bef2e443bc Roger Quadros 2020-02-03  51  
58c2bef2e443bc Roger Quadros 2020-02-03  52  struct cdns_ti {
58c2bef2e443bc Roger Quadros 2020-02-03  53  	struct device *dev;
58c2bef2e443bc Roger Quadros 2020-02-03  54  	void __iomem *usbss;
58c2bef2e443bc Roger Quadros 2020-02-03 @55  	int usb2_only:1;
58c2bef2e443bc Roger Quadros 2020-02-03  56  	int vbus_divider:1;
58c2bef2e443bc Roger Quadros 2020-02-03  57  	struct clk *usb2_refclk;
58c2bef2e443bc Roger Quadros 2020-02-03  58  	struct clk *lpm_clk;
58c2bef2e443bc Roger Quadros 2020-02-03  59  };
58c2bef2e443bc 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: 33535 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ti:ti-linux-5.4.y 3139/9667] drivers/usb/cdns3/cdns3-ti.c:55:24: sparse: sparse: dubious one-bit signed bitfield
@ 2020-09-14 14:01 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-14 14:01 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2552 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-linux-5.4.y
head:   6940ba1d3944a80020d39cd9cf00530f928979c9
commit: 58c2bef2e443bc8b05737b47ec2ed992529976c7 [3139/9667] usb: cdns3: Add TI specific wrapper driver
:::::: branch date: 7 hours ago
:::::: commit date: 7 months ago
config: x86_64-randconfig-s021-20200914 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-191-g10164920-dirty
        git checkout 58c2bef2e443bc8b05737b47ec2ed992529976c7
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

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

git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-linux-5.4.y
git checkout 58c2bef2e443bc8b05737b47ec2ed992529976c7
vim +55 drivers/usb/cdns3/cdns3-ti.c

58c2bef2e443bc Roger Quadros 2020-02-03  46  
58c2bef2e443bc Roger Quadros 2020-02-03  47  /* Modestrap modes */
58c2bef2e443bc Roger Quadros 2020-02-03  48  enum modestrap_mode { USBSS_MODESTRAP_MODE_NONE,
58c2bef2e443bc Roger Quadros 2020-02-03  49  		      USBSS_MODESTRAP_MODE_HOST,
58c2bef2e443bc Roger Quadros 2020-02-03  50  		      USBSS_MODESTRAP_MODE_PERIPHERAL};
58c2bef2e443bc Roger Quadros 2020-02-03  51  
58c2bef2e443bc Roger Quadros 2020-02-03  52  struct cdns_ti {
58c2bef2e443bc Roger Quadros 2020-02-03  53  	struct device *dev;
58c2bef2e443bc Roger Quadros 2020-02-03  54  	void __iomem *usbss;
58c2bef2e443bc Roger Quadros 2020-02-03 @55  	int usb2_only:1;
58c2bef2e443bc Roger Quadros 2020-02-03  56  	int vbus_divider:1;
58c2bef2e443bc Roger Quadros 2020-02-03  57  	struct clk *usb2_refclk;
58c2bef2e443bc Roger Quadros 2020-02-03  58  	struct clk *lpm_clk;
58c2bef2e443bc Roger Quadros 2020-02-03  59  };
58c2bef2e443bc 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: 33535 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-15  8:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15  8:48 [ti:ti-linux-5.4.y 3139/9667] drivers/usb/cdns3/cdns3-ti.c:55:24: sparse: sparse: dubious one-bit signed bitfield kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-09-14 14:01 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.