All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Pawel Laszczak <pawell@cadence.com>
Cc: kbuild-all@01.org, devicetree@vger.kernel.org,
	gregkh@linuxfoundation.org, mark.rutland@arm.com,
	linux-usb@vger.kernel.org, hdegoede@redhat.com,
	heikki.krogerus@linux.intel.com, andy.shevchenko@gmail.com,
	robh+dt@kernel.org, rogerq@ti.com, linux-kernel@vger.kernel.org,
	adouglas@cadence.com, jbergsagel@ti.com, nsekhar@ti.com,
	nm@ti.com, sureshp@cadence.com, peter.chen@nxp.com,
	pjez@cadence.com, kurahul@cadence.com,
	Pawel Laszczak <pawell@cadence.com>
Subject: Re: [PATCH v2 5/5] usb:cdns3 Add Cadence USB3 DRD Driver
Date: Mon, 24 Dec 2018 03:20:43 +0800	[thread overview]
Message-ID: <201812240317.VglTVDie%fengguang.wu@intel.com> (raw)
In-Reply-To: <1545577992-4013-6-git-send-email-pawell@cadence.com>

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

Hi Pawel,

Thank you for the patch! Perhaps something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Pawel-Laszczak/Introduced-new-Cadence-USBSS-DRD-Driver/20181223-231813
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> drivers/usb/common/debug.c:253:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:254:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:255:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:256:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:257:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:258:25: warning: restricted __le16 degrades to integer

vim +253 drivers/usb/common/debug.c

cefb8b21 Pawel Laszczak 2018-12-23  205  
cefb8b21 Pawel Laszczak 2018-12-23  206  /**
cefb8b21 Pawel Laszczak 2018-12-23  207   * usb_decode_ctrl - returns a string representation of ctrl request
cefb8b21 Pawel Laszczak 2018-12-23  208   */
cefb8b21 Pawel Laszczak 2018-12-23  209  const char *usb_decode_ctrl(char *str, __u8 bRequestType, __u8 bRequest,
cefb8b21 Pawel Laszczak 2018-12-23  210  			    __u16 wValue,  __u16 wIndex, __u16 wLength)
cefb8b21 Pawel Laszczak 2018-12-23  211  {
cefb8b21 Pawel Laszczak 2018-12-23  212  	switch (bRequest) {
cefb8b21 Pawel Laszczak 2018-12-23  213  	case USB_REQ_GET_STATUS:
cefb8b21 Pawel Laszczak 2018-12-23  214  		usb_decode_get_status(bRequestType, wIndex, wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  215  		break;
cefb8b21 Pawel Laszczak 2018-12-23  216  	case USB_REQ_CLEAR_FEATURE:
cefb8b21 Pawel Laszczak 2018-12-23  217  	case USB_REQ_SET_FEATURE:
cefb8b21 Pawel Laszczak 2018-12-23  218  		usb_decode_set_clear_feature(bRequestType, bRequest, wValue,
cefb8b21 Pawel Laszczak 2018-12-23  219  					     wIndex, str);
cefb8b21 Pawel Laszczak 2018-12-23  220  		break;
cefb8b21 Pawel Laszczak 2018-12-23  221  	case USB_REQ_SET_ADDRESS:
cefb8b21 Pawel Laszczak 2018-12-23  222  		usb_decode_set_address(wValue, str);
cefb8b21 Pawel Laszczak 2018-12-23  223  		break;
cefb8b21 Pawel Laszczak 2018-12-23  224  	case USB_REQ_GET_DESCRIPTOR:
cefb8b21 Pawel Laszczak 2018-12-23  225  	case USB_REQ_SET_DESCRIPTOR:
cefb8b21 Pawel Laszczak 2018-12-23  226  		usb_decode_get_set_descriptor(bRequestType, bRequest, wValue,
cefb8b21 Pawel Laszczak 2018-12-23  227  					      wIndex, wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  228  		break;
cefb8b21 Pawel Laszczak 2018-12-23  229  	case USB_REQ_GET_CONFIGURATION:
cefb8b21 Pawel Laszczak 2018-12-23  230  		usb_decode_get_configuration(wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  231  		break;
cefb8b21 Pawel Laszczak 2018-12-23  232  	case USB_REQ_SET_CONFIGURATION:
cefb8b21 Pawel Laszczak 2018-12-23  233  		usb_decode_set_configuration(wValue, str);
cefb8b21 Pawel Laszczak 2018-12-23  234  		break;
cefb8b21 Pawel Laszczak 2018-12-23  235  	case USB_REQ_GET_INTERFACE:
cefb8b21 Pawel Laszczak 2018-12-23  236  		usb_decode_get_intf(wIndex, wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  237  		break;
cefb8b21 Pawel Laszczak 2018-12-23  238  	case USB_REQ_SET_INTERFACE:
cefb8b21 Pawel Laszczak 2018-12-23  239  		usb_decode_set_intf(wValue, wIndex, str);
cefb8b21 Pawel Laszczak 2018-12-23  240  		break;
cefb8b21 Pawel Laszczak 2018-12-23  241  	case USB_REQ_SYNCH_FRAME:
cefb8b21 Pawel Laszczak 2018-12-23  242  		usb_decode_synch_frame(wIndex, wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  243  		break;
cefb8b21 Pawel Laszczak 2018-12-23  244  	case USB_REQ_SET_SEL:
cefb8b21 Pawel Laszczak 2018-12-23  245  		usb_decode_set_sel(wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  246  		break;
cefb8b21 Pawel Laszczak 2018-12-23  247  	case USB_REQ_SET_ISOCH_DELAY:
cefb8b21 Pawel Laszczak 2018-12-23  248  		usb_decode_set_isoch_delay(wValue, str);
cefb8b21 Pawel Laszczak 2018-12-23  249  		break;
cefb8b21 Pawel Laszczak 2018-12-23  250  	default:
cefb8b21 Pawel Laszczak 2018-12-23  251  		sprintf(str, "%02x %02x %02x %02x %02x %02x %02x %02x",
cefb8b21 Pawel Laszczak 2018-12-23  252  			bRequestType, bRequest,
cefb8b21 Pawel Laszczak 2018-12-23 @253  			cpu_to_le16(wValue) & 0xff,
cefb8b21 Pawel Laszczak 2018-12-23  254  			cpu_to_le16(wValue) >> 8,
cefb8b21 Pawel Laszczak 2018-12-23  255  			cpu_to_le16(wIndex) & 0xff,
cefb8b21 Pawel Laszczak 2018-12-23  256  			cpu_to_le16(wIndex) >> 8,
cefb8b21 Pawel Laszczak 2018-12-23  257  			cpu_to_le16(wLength) & 0xff,
cefb8b21 Pawel Laszczak 2018-12-23  258  			cpu_to_le16(wLength) >> 8);
cefb8b21 Pawel Laszczak 2018-12-23  259  	}
cefb8b21 Pawel Laszczak 2018-12-23  260  
cefb8b21 Pawel Laszczak 2018-12-23  261  	return str;
cefb8b21 Pawel Laszczak 2018-12-23  262  }
cefb8b21 Pawel Laszczak 2018-12-23  263  EXPORT_SYMBOL_GPL(usb_decode_ctrl);
cefb8b21 Pawel Laszczak 2018-12-23  264  

:::::: The code at line 253 was first introduced by commit
:::::: cefb8b2176410ef0aacc22411a64f8a157612f14 usb:common Separated decoding functions from dwc3 driver.

:::::: TO: Pawel Laszczak <pawell@cadence.com>
:::::: CC: 0day robot <lkp@intel.com>

---
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: 66693 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, devicetree@vger.kernel.org,
	gregkh@linuxfoundation.org, mark.rutland@arm.com,
	linux-usb@vger.kernel.org, hdegoede@redhat.com,
	heikki.krogerus@linux.intel.com, andy.shevchenko@gmail.com,
	robh+dt@kernel.org, rogerq@ti.com, linux-kernel@vger.kernel.org,
	adouglas@cadence.com, jbergsagel@ti.com, nsekhar@ti.com,
	nm@ti.com, sureshp@cadence.com, peter.chen@nxp.com,
	pjez@cadence.com, kurahul@cadence.com,
	Pawel Laszczak <pawell@cadence.com>
Subject: Re: [PATCH v2 5/5] usb:cdns3 Add Cadence USB3 DRD Driver
Date: Mon, 24 Dec 2018 03:20:43 +0800	[thread overview]
Message-ID: <201812240317.VglTVDie%fengguang.wu@intel.com> (raw)
In-Reply-To: <1545577992-4013-6-git-send-email-pawell@cadence.com>

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

Hi Pawel,

Thank you for the patch! Perhaps something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Pawel-Laszczak/Introduced-new-Cadence-USBSS-DRD-Driver/20181223-231813
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> drivers/usb/common/debug.c:253:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:254:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:255:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:256:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:257:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:258:25: warning: restricted __le16 degrades to integer

vim +253 drivers/usb/common/debug.c

cefb8b21 Pawel Laszczak 2018-12-23  205  
cefb8b21 Pawel Laszczak 2018-12-23  206  /**
cefb8b21 Pawel Laszczak 2018-12-23  207   * usb_decode_ctrl - returns a string representation of ctrl request
cefb8b21 Pawel Laszczak 2018-12-23  208   */
cefb8b21 Pawel Laszczak 2018-12-23  209  const char *usb_decode_ctrl(char *str, __u8 bRequestType, __u8 bRequest,
cefb8b21 Pawel Laszczak 2018-12-23  210  			    __u16 wValue,  __u16 wIndex, __u16 wLength)
cefb8b21 Pawel Laszczak 2018-12-23  211  {
cefb8b21 Pawel Laszczak 2018-12-23  212  	switch (bRequest) {
cefb8b21 Pawel Laszczak 2018-12-23  213  	case USB_REQ_GET_STATUS:
cefb8b21 Pawel Laszczak 2018-12-23  214  		usb_decode_get_status(bRequestType, wIndex, wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  215  		break;
cefb8b21 Pawel Laszczak 2018-12-23  216  	case USB_REQ_CLEAR_FEATURE:
cefb8b21 Pawel Laszczak 2018-12-23  217  	case USB_REQ_SET_FEATURE:
cefb8b21 Pawel Laszczak 2018-12-23  218  		usb_decode_set_clear_feature(bRequestType, bRequest, wValue,
cefb8b21 Pawel Laszczak 2018-12-23  219  					     wIndex, str);
cefb8b21 Pawel Laszczak 2018-12-23  220  		break;
cefb8b21 Pawel Laszczak 2018-12-23  221  	case USB_REQ_SET_ADDRESS:
cefb8b21 Pawel Laszczak 2018-12-23  222  		usb_decode_set_address(wValue, str);
cefb8b21 Pawel Laszczak 2018-12-23  223  		break;
cefb8b21 Pawel Laszczak 2018-12-23  224  	case USB_REQ_GET_DESCRIPTOR:
cefb8b21 Pawel Laszczak 2018-12-23  225  	case USB_REQ_SET_DESCRIPTOR:
cefb8b21 Pawel Laszczak 2018-12-23  226  		usb_decode_get_set_descriptor(bRequestType, bRequest, wValue,
cefb8b21 Pawel Laszczak 2018-12-23  227  					      wIndex, wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  228  		break;
cefb8b21 Pawel Laszczak 2018-12-23  229  	case USB_REQ_GET_CONFIGURATION:
cefb8b21 Pawel Laszczak 2018-12-23  230  		usb_decode_get_configuration(wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  231  		break;
cefb8b21 Pawel Laszczak 2018-12-23  232  	case USB_REQ_SET_CONFIGURATION:
cefb8b21 Pawel Laszczak 2018-12-23  233  		usb_decode_set_configuration(wValue, str);
cefb8b21 Pawel Laszczak 2018-12-23  234  		break;
cefb8b21 Pawel Laszczak 2018-12-23  235  	case USB_REQ_GET_INTERFACE:
cefb8b21 Pawel Laszczak 2018-12-23  236  		usb_decode_get_intf(wIndex, wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  237  		break;
cefb8b21 Pawel Laszczak 2018-12-23  238  	case USB_REQ_SET_INTERFACE:
cefb8b21 Pawel Laszczak 2018-12-23  239  		usb_decode_set_intf(wValue, wIndex, str);
cefb8b21 Pawel Laszczak 2018-12-23  240  		break;
cefb8b21 Pawel Laszczak 2018-12-23  241  	case USB_REQ_SYNCH_FRAME:
cefb8b21 Pawel Laszczak 2018-12-23  242  		usb_decode_synch_frame(wIndex, wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  243  		break;
cefb8b21 Pawel Laszczak 2018-12-23  244  	case USB_REQ_SET_SEL:
cefb8b21 Pawel Laszczak 2018-12-23  245  		usb_decode_set_sel(wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  246  		break;
cefb8b21 Pawel Laszczak 2018-12-23  247  	case USB_REQ_SET_ISOCH_DELAY:
cefb8b21 Pawel Laszczak 2018-12-23  248  		usb_decode_set_isoch_delay(wValue, str);
cefb8b21 Pawel Laszczak 2018-12-23  249  		break;
cefb8b21 Pawel Laszczak 2018-12-23  250  	default:
cefb8b21 Pawel Laszczak 2018-12-23  251  		sprintf(str, "%02x %02x %02x %02x %02x %02x %02x %02x",
cefb8b21 Pawel Laszczak 2018-12-23  252  			bRequestType, bRequest,
cefb8b21 Pawel Laszczak 2018-12-23 @253  			cpu_to_le16(wValue) & 0xff,
cefb8b21 Pawel Laszczak 2018-12-23  254  			cpu_to_le16(wValue) >> 8,
cefb8b21 Pawel Laszczak 2018-12-23  255  			cpu_to_le16(wIndex) & 0xff,
cefb8b21 Pawel Laszczak 2018-12-23  256  			cpu_to_le16(wIndex) >> 8,
cefb8b21 Pawel Laszczak 2018-12-23  257  			cpu_to_le16(wLength) & 0xff,
cefb8b21 Pawel Laszczak 2018-12-23  258  			cpu_to_le16(wLength) >> 8);
cefb8b21 Pawel Laszczak 2018-12-23  259  	}
cefb8b21 Pawel Laszczak 2018-12-23  260  
cefb8b21 Pawel Laszczak 2018-12-23  261  	return str;
cefb8b21 Pawel Laszczak 2018-12-23  262  }
cefb8b21 Pawel Laszczak 2018-12-23  263  EXPORT_SYMBOL_GPL(usb_decode_ctrl);
cefb8b21 Pawel Laszczak 2018-12-23  264  

:::::: The code at line 253 was first introduced by commit
:::::: cefb8b2176410ef0aacc22411a64f8a157612f14 usb:common Separated decoding functions from dwc3 driver.

:::::: TO: Pawel Laszczak <pawell@cadence.com>
:::::: CC: 0day robot <lkp@intel.com>

---
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: 66693 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Pawel Laszczak <pawell@cadence.com>
Cc: kbuild-all@01.org, devicetree@vger.kernel.org,
	gregkh@linuxfoundation.org, mark.rutland@arm.com,
	linux-usb@vger.kernel.org, hdegoede@redhat.com,
	heikki.krogerus@linux.intel.com, andy.shevchenko@gmail.com,
	robh+dt@kernel.org, rogerq@ti.com, linux-kernel@vger.kernel.org,
	adouglas@cadence.com, jbergsagel@ti.com, nsekhar@ti.com,
	nm@ti.com, sureshp@cadence.com, peter.chen@nxp.com,
	pjez@cadence.com, kurahul@cadence.com
Subject: [v2,5/5] usb:cdns3 Add Cadence USB3 DRD Driver
Date: Mon, 24 Dec 2018 03:20:43 +0800	[thread overview]
Message-ID: <201812240317.VglTVDie%fengguang.wu@intel.com> (raw)

Hi Pawel,

Thank you for the patch! Perhaps something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Pawel-Laszczak/Introduced-new-Cadence-USBSS-DRD-Driver/20181223-231813
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> drivers/usb/common/debug.c:253:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:254:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:255:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:256:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:257:25: warning: restricted __le16 degrades to integer
   drivers/usb/common/debug.c:258:25: warning: restricted __le16 degrades to integer

vim +253 drivers/usb/common/debug.c

cefb8b21 Pawel Laszczak 2018-12-23  205  
cefb8b21 Pawel Laszczak 2018-12-23  206  /**
cefb8b21 Pawel Laszczak 2018-12-23  207   * usb_decode_ctrl - returns a string representation of ctrl request
cefb8b21 Pawel Laszczak 2018-12-23  208   */
cefb8b21 Pawel Laszczak 2018-12-23  209  const char *usb_decode_ctrl(char *str, __u8 bRequestType, __u8 bRequest,
cefb8b21 Pawel Laszczak 2018-12-23  210  			    __u16 wValue,  __u16 wIndex, __u16 wLength)
cefb8b21 Pawel Laszczak 2018-12-23  211  {
cefb8b21 Pawel Laszczak 2018-12-23  212  	switch (bRequest) {
cefb8b21 Pawel Laszczak 2018-12-23  213  	case USB_REQ_GET_STATUS:
cefb8b21 Pawel Laszczak 2018-12-23  214  		usb_decode_get_status(bRequestType, wIndex, wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  215  		break;
cefb8b21 Pawel Laszczak 2018-12-23  216  	case USB_REQ_CLEAR_FEATURE:
cefb8b21 Pawel Laszczak 2018-12-23  217  	case USB_REQ_SET_FEATURE:
cefb8b21 Pawel Laszczak 2018-12-23  218  		usb_decode_set_clear_feature(bRequestType, bRequest, wValue,
cefb8b21 Pawel Laszczak 2018-12-23  219  					     wIndex, str);
cefb8b21 Pawel Laszczak 2018-12-23  220  		break;
cefb8b21 Pawel Laszczak 2018-12-23  221  	case USB_REQ_SET_ADDRESS:
cefb8b21 Pawel Laszczak 2018-12-23  222  		usb_decode_set_address(wValue, str);
cefb8b21 Pawel Laszczak 2018-12-23  223  		break;
cefb8b21 Pawel Laszczak 2018-12-23  224  	case USB_REQ_GET_DESCRIPTOR:
cefb8b21 Pawel Laszczak 2018-12-23  225  	case USB_REQ_SET_DESCRIPTOR:
cefb8b21 Pawel Laszczak 2018-12-23  226  		usb_decode_get_set_descriptor(bRequestType, bRequest, wValue,
cefb8b21 Pawel Laszczak 2018-12-23  227  					      wIndex, wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  228  		break;
cefb8b21 Pawel Laszczak 2018-12-23  229  	case USB_REQ_GET_CONFIGURATION:
cefb8b21 Pawel Laszczak 2018-12-23  230  		usb_decode_get_configuration(wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  231  		break;
cefb8b21 Pawel Laszczak 2018-12-23  232  	case USB_REQ_SET_CONFIGURATION:
cefb8b21 Pawel Laszczak 2018-12-23  233  		usb_decode_set_configuration(wValue, str);
cefb8b21 Pawel Laszczak 2018-12-23  234  		break;
cefb8b21 Pawel Laszczak 2018-12-23  235  	case USB_REQ_GET_INTERFACE:
cefb8b21 Pawel Laszczak 2018-12-23  236  		usb_decode_get_intf(wIndex, wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  237  		break;
cefb8b21 Pawel Laszczak 2018-12-23  238  	case USB_REQ_SET_INTERFACE:
cefb8b21 Pawel Laszczak 2018-12-23  239  		usb_decode_set_intf(wValue, wIndex, str);
cefb8b21 Pawel Laszczak 2018-12-23  240  		break;
cefb8b21 Pawel Laszczak 2018-12-23  241  	case USB_REQ_SYNCH_FRAME:
cefb8b21 Pawel Laszczak 2018-12-23  242  		usb_decode_synch_frame(wIndex, wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  243  		break;
cefb8b21 Pawel Laszczak 2018-12-23  244  	case USB_REQ_SET_SEL:
cefb8b21 Pawel Laszczak 2018-12-23  245  		usb_decode_set_sel(wLength, str);
cefb8b21 Pawel Laszczak 2018-12-23  246  		break;
cefb8b21 Pawel Laszczak 2018-12-23  247  	case USB_REQ_SET_ISOCH_DELAY:
cefb8b21 Pawel Laszczak 2018-12-23  248  		usb_decode_set_isoch_delay(wValue, str);
cefb8b21 Pawel Laszczak 2018-12-23  249  		break;
cefb8b21 Pawel Laszczak 2018-12-23  250  	default:
cefb8b21 Pawel Laszczak 2018-12-23  251  		sprintf(str, "%02x %02x %02x %02x %02x %02x %02x %02x",
cefb8b21 Pawel Laszczak 2018-12-23  252  			bRequestType, bRequest,
cefb8b21 Pawel Laszczak 2018-12-23 @253  			cpu_to_le16(wValue) & 0xff,
cefb8b21 Pawel Laszczak 2018-12-23  254  			cpu_to_le16(wValue) >> 8,
cefb8b21 Pawel Laszczak 2018-12-23  255  			cpu_to_le16(wIndex) & 0xff,
cefb8b21 Pawel Laszczak 2018-12-23  256  			cpu_to_le16(wIndex) >> 8,
cefb8b21 Pawel Laszczak 2018-12-23  257  			cpu_to_le16(wLength) & 0xff,
cefb8b21 Pawel Laszczak 2018-12-23  258  			cpu_to_le16(wLength) >> 8);
cefb8b21 Pawel Laszczak 2018-12-23  259  	}
cefb8b21 Pawel Laszczak 2018-12-23  260  
cefb8b21 Pawel Laszczak 2018-12-23  261  	return str;
cefb8b21 Pawel Laszczak 2018-12-23  262  }
cefb8b21 Pawel Laszczak 2018-12-23  263  EXPORT_SYMBOL_GPL(usb_decode_ctrl);
cefb8b21 Pawel Laszczak 2018-12-23  264  

:::::: The code at line 253 was first introduced by commit
:::::: cefb8b2176410ef0aacc22411a64f8a157612f14 usb:common Separated decoding functions from dwc3 driver.

:::::: TO: Pawel Laszczak <pawell@cadence.com>
:::::: CC: 0day robot <lkp@intel.com>
---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

  parent reply	other threads:[~2018-12-23 19:21 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-23 15:13 [PATCH v2 0/5] Introduced new Cadence USBSS DRD Driver Pawel Laszczak
2018-12-23 15:13 ` Pawel Laszczak
2018-12-23 15:13 ` [PATCH v2 1/5] dt-bindings: add binding for USBSS-DRD controller Pawel Laszczak
2018-12-23 15:13   ` [v2,1/5] " Pawel Laszczak
2018-12-23 15:13   ` [PATCH v2 1/5] " Pawel Laszczak
2018-12-23 15:13 ` [PATCH v2 2/5] usb:common Separated decoding functions from dwc3 driver Pawel Laszczak
2018-12-23 15:13   ` [v2,2/5] " Pawel Laszczak
2018-12-23 15:13   ` [PATCH v2 2/5] " Pawel Laszczak
2018-12-23 15:13 ` [PATCH v2 3/5] usb:common Patch simplify usb_decode_set_clear_feature function Pawel Laszczak
2018-12-23 15:13   ` [v2,3/5] " Pawel Laszczak
2018-12-23 15:13   ` [PATCH v2 3/5] " Pawel Laszczak
2018-12-23 15:13 ` [PATCH v2 4/5] usb:common Simplify usb_decode_get_set_descriptor function Pawel Laszczak
2018-12-23 15:13   ` [v2,4/5] " Pawel Laszczak
2018-12-23 15:13   ` [PATCH v2 4/5] " Pawel Laszczak
2018-12-23 15:13 ` [PATCH v2 5/5] usb:cdns3 Add Cadence USB3 DRD Driver Pawel Laszczak
2018-12-23 15:13   ` [v2,5/5] " Pawel Laszczak
2018-12-23 15:13   ` [PATCH v2 5/5] " Pawel Laszczak
2018-12-23 17:19   ` Randy Dunlap
2018-12-23 17:19     ` [v2,5/5] " Randy Dunlap
2018-12-23 19:20   ` kbuild test robot [this message]
2018-12-23 19:20     ` kbuild test robot
2018-12-23 19:20     ` [PATCH v2 5/5] " kbuild test robot
2018-12-31  9:42     ` Pawel Laszczak
2018-12-31  9:42       ` [v2,5/5] " Pawel Laszczak
2018-12-31  9:42       ` [PATCH v2 5/5] " Pawel Laszczak
2018-12-24  9:38   ` Peter Chen
2018-12-24  9:38     ` [v2,5/5] " Peter Chen
2018-12-25  9:38     ` [PATCH v2 5/5] " Peter Chen
2018-12-25  9:38       ` [v2,5/5] " Peter Chen
2018-12-27  9:36       ` [PATCH v2 5/5] " Pawel Laszczak
2018-12-27  9:36         ` [v2,5/5] " Pawel Laszczak
2018-12-28  1:31         ` [PATCH v2 5/5] " Peter Chen
2018-12-28  1:31           ` [v2,5/5] " Peter Chen
2018-12-31  5:32           ` [PATCH v2 5/5] " Pawel Laszczak
2018-12-31  5:32             ` [v2,5/5] " Pawel Laszczak
2018-12-27 13:11     ` [PATCH v2 5/5] " Pawel Laszczak
2018-12-27 13:11       ` [v2,5/5] " Pawel Laszczak
2018-12-29  7:41   ` [PATCH v2 5/5] " Chunfeng Yun
2018-12-29  7:41     ` [v2,5/5] " Chunfeng Yun
2018-12-29  7:41     ` [PATCH v2 5/5] " Chunfeng Yun
2018-12-31 12:31     ` Pawel Laszczak
2018-12-31 12:31       ` [v2,5/5] " Pawel Laszczak
2018-12-31 12:31       ` [PATCH v2 5/5] " Pawel Laszczak
2019-01-10  1:30   ` Peter Chen
2019-01-10  6:57     ` Greg Kroah-Hartman
2019-01-10  6:57       ` [v2,5/5] " Greg Kroah-Hartman
2019-01-10  7:18       ` [PATCH v2 5/5] " Pawel Laszczak
2019-01-10  7:18         ` [v2,5/5] " Pawel Laszczak
2019-01-02  6:44 ` [PATCH v2 0/5] Introduced new Cadence USBSS " Peter Chen

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=201812240317.VglTVDie%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=adouglas@cadence.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hdegoede@redhat.com \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=jbergsagel@ti.com \
    --cc=kbuild-all@01.org \
    --cc=kurahul@cadence.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=nm@ti.com \
    --cc=nsekhar@ti.com \
    --cc=pawell@cadence.com \
    --cc=peter.chen@nxp.com \
    --cc=pjez@cadence.com \
    --cc=robh+dt@kernel.org \
    --cc=rogerq@ti.com \
    --cc=sureshp@cadence.com \
    /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 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.