* [matwey:fix/pwc_dma_2 1/1] include/linux/usb/hcd.h:86:18: error: field 'self' has incomplete type
@ 2021-01-08 15:58 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-08 15:58 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 26935 bytes --]
tree: https://github.com/matwey/linux fix/pwc_dma_2
head: 528fe9578749276cf53d09dedfcfb799211e5ce2
commit: 528fe9578749276cf53d09dedfcfb799211e5ce2 [1/1] media: pwc: convert to dma_alloc_noncoherent
config: x86_64-randconfig-s022-20210108 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-208-g46a52ca4-dirty
# https://github.com/matwey/linux/commit/528fe9578749276cf53d09dedfcfb799211e5ce2
git remote add matwey https://github.com/matwey/linux
git fetch --no-tags matwey fix/pwc_dma_2
git checkout 528fe9578749276cf53d09dedfcfb799211e5ce2
# 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>
All error/warnings (new ones prefixed by >>):
In file included from drivers/media/usb/pwc/pwc-if.c:57:
>> include/linux/usb/hcd.h:86:18: error: field 'self' has incomplete type
86 | struct usb_bus self; /* hcd is-a bus */
| ^~~~
In file included from <command-line>:
include/linux/usb/hcd.h: In function 'bus_to_hcd':
>> include/linux/kernel.h:694:32: error: dereferencing pointer to incomplete type 'struct usb_bus'
694 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
| ^~~~~~
include/linux/compiler_types.h:306:9: note: in definition of macro '__compiletime_assert'
306 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:326:2: note: in expansion of macro '_compiletime_assert'
326 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/kernel.h:694:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
694 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
| ^~~~~~~~~~~~~~~~
include/linux/kernel.h:694:20: note: in expansion of macro '__same_type'
694 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
| ^~~~~~~~~~~
include/linux/usb/hcd.h:243:9: note: in expansion of macro 'container_of'
243 | return container_of(bus, struct usb_hcd, self);
| ^~~~~~~~~~~~
In file included from drivers/media/usb/pwc/pwc-if.c:57:
include/linux/usb/hcd.h: At top level:
>> include/linux/usb/hcd.h:341:44: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
341 | int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
| ^~~~~~~~~~
include/linux/usb/hcd.h:343:44: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
343 | void (*free_dev)(struct usb_hcd *, struct usb_device *);
| ^~~~~~~~~~
include/linux/usb/hcd.h:345:51: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
345 | int (*alloc_streams)(struct usb_hcd *hcd, struct usb_device *udev,
| ^~~~~~~~~~
include/linux/usb/hcd.h:351:50: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
351 | int (*free_streams)(struct usb_hcd *hcd, struct usb_device *udev,
| ^~~~~~~~~~
include/linux/usb/hcd.h:366:47: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
366 | int (*add_endpoint)(struct usb_hcd *, struct usb_device *,
| ^~~~~~~~~~
include/linux/usb/hcd.h:369:48: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
369 | int (*drop_endpoint)(struct usb_hcd *, struct usb_device *,
| ^~~~~~~~~~
include/linux/usb/hcd.h:376:50: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
376 | int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
| ^~~~~~~~~~
include/linux/usb/hcd.h:384:51: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
384 | void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
| ^~~~~~~~~~
include/linux/usb/hcd.h:386:49: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
386 | int (*address_device)(struct usb_hcd *, struct usb_device *udev);
| ^~~~~~~~~~
include/linux/usb/hcd.h:388:48: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
388 | int (*enable_device)(struct usb_hcd *, struct usb_device *udev);
| ^~~~~~~~~~
>> include/linux/usb/hcd.h:393:11: warning: 'struct usb_tt' declared inside parameter list will not be visible outside of this definition or declaration
393 | struct usb_tt *tt, gfp_t mem_flags);
| ^~~~~~
include/linux/usb/hcd.h:392:52: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
392 | int (*update_hub_device)(struct usb_hcd *, struct usb_device *hdev,
| ^~~~~~~~~~
include/linux/usb/hcd.h:394:47: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
394 | int (*reset_device)(struct usb_hcd *, struct usb_device *);
| ^~~~~~~~~~
include/linux/usb/hcd.h:398:48: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
398 | int (*update_device)(struct usb_hcd *, struct usb_device *);
| ^~~~~~~~~~
include/linux/usb/hcd.h:399:50: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
399 | int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
| ^~~~~~~~~~
>> include/linux/usb/hcd.h:403:30: warning: 'enum usb3_link_state' declared inside parameter list will not be visible outside of this definition or declaration
403 | struct usb_device *, enum usb3_link_state state);
| ^~~~~~~~~~~~~~~
include/linux/usb/hcd.h:403:11: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
403 | struct usb_device *, enum usb3_link_state state);
| ^~~~~~~~~~
include/linux/usb/hcd.h:408:30: warning: 'enum usb3_link_state' declared inside parameter list will not be visible outside of this definition or declaration
408 | struct usb_device *, enum usb3_link_state state);
| ^~~~~~~~~~~~~~~
include/linux/usb/hcd.h:408:11: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
408 | struct usb_device *, enum usb3_link_state state);
| ^~~~~~~~~~
include/linux/usb/hcd.h:444:43: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
444 | extern void usb_hcd_flush_endpoint(struct usb_device *udev,
| ^~~~~~~~~~
include/linux/usb/hcd.h:446:45: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
446 | extern void usb_hcd_disable_endpoint(struct usb_device *udev,
| ^~~~~~~~~~
include/linux/usb/hcd.h:448:43: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
448 | extern void usb_hcd_reset_endpoint(struct usb_device *udev,
| ^~~~~~~~~~
include/linux/usb/hcd.h:450:48: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
450 | extern void usb_hcd_synchronize_unlinks(struct usb_device *udev);
| ^~~~~~~~~~
>> include/linux/usb/hcd.h:453:10: warning: 'struct usb_host_interface' declared inside parameter list will not be visible outside of this definition or declaration
453 | struct usb_host_interface *old_alt,
| ^~~~~~~~~~~~~~~~~~
>> include/linux/usb/hcd.h:452:10: warning: 'struct usb_host_config' declared inside parameter list will not be visible outside of this definition or declaration
452 | struct usb_host_config *new_config,
| ^~~~~~~~~~~~~~~
include/linux/usb/hcd.h:451:43: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
451 | extern int usb_hcd_alloc_bandwidth(struct usb_device *udev,
| ^~~~~~~~~~
include/linux/usb/hcd.h:455:44: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
455 | extern int usb_hcd_get_frame_number(struct usb_device *udev);
| ^~~~~~~~~~
include/linux/usb/hcd.h:509:44: warning: 'struct usb_device' declared inside parameter list will not be visible outside of this definition or declaration
509 | extern void usb_wakeup_notification(struct usb_device *hdev,
| ^~~~~~~~~~
In file included from drivers/media/usb/pwc/pwc-if.c:57:
>> include/linux/usb/hcd.h:657:8: warning: 'enum usb_device_state' declared inside parameter list will not be visible outside of this definition or declaration
657 | enum usb_device_state new_state);
| ^~~~~~~~~~~~~~~~
>> include/linux/usb/hcd.h:673:54: error: unknown type name 'pm_message_t'
673 | extern int hcd_bus_suspend(struct usb_device *rhdev, pm_message_t msg);
| ^~~~~~~~~~~~
include/linux/usb/hcd.h:674:53: error: unknown type name 'pm_message_t'
674 | extern int hcd_bus_resume(struct usb_device *rhdev, pm_message_t msg);
| ^~~~~~~~~~~~
In file included from drivers/media/usb/pwc/pwc-if.c:57:
include/linux/usb/hcd.h: In function 'bus_to_hcd':
include/linux/usb/hcd.h:244:1: error: control reaches end of non-void function [-Werror=return-type]
244 | }
| ^
drivers/media/usb/pwc/pwc-if.c: In function 'pwc_alloc_urb_buffer':
drivers/media/usb/pwc/pwc-if.c:170:1: error: control reaches end of non-void function [-Werror=return-type]
170 | }
| ^
cc1: some warnings being treated as errors
vim +/self +86 include/linux/usb/hcd.h
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 82
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 83 /*
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 84 * housekeeping
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 85 */
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 @86 struct usb_bus self; /* hcd is-a bus */
1720058343fa43a drivers/usb/core/hcd.h Alan Stern 2006-08-30 87 struct kref kref; /* reference counter */
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 88
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 89 const char *product_desc; /* product/vendor string */
83de4b2b90887b5 include/linux/usb/hcd.h Sarah Sharp 2010-12-02 90 int speed; /* Speed for this roothub.
83de4b2b90887b5 include/linux/usb/hcd.h Sarah Sharp 2010-12-02 91 * May be different from
83de4b2b90887b5 include/linux/usb/hcd.h Sarah Sharp 2010-12-02 92 * hcd->driver->flags & HCD_MASK
83de4b2b90887b5 include/linux/usb/hcd.h Sarah Sharp 2010-12-02 93 */
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 94 char irq_descr[24]; /* driver + bus # */
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 95
d5926ae7a827bdd drivers/usb/core/hcd.h Alan Stern 2005-04-21 96 struct timer_list rh_timer; /* drives root-hub polling */
d5926ae7a827bdd drivers/usb/core/hcd.h Alan Stern 2005-04-21 97 struct urb *status_urb; /* the current status urb */
ceb6c9c862c8642 include/linux/usb/hcd.h Rafael J. Wysocki 2014-11-29 98 #ifdef CONFIG_PM
6b157c9bf3bace6 drivers/usb/core/hcd.h Alan Stern 2007-03-13 99 struct work_struct wakeup_work; /* for remote wakeup */
6b157c9bf3bace6 drivers/usb/core/hcd.h Alan Stern 2007-03-13 100 #endif
a4d6a2989dc3f2f include/linux/usb/hcd.h Raul E Rangel 2019-04-19 101 struct work_struct died_work; /* for when the device dies */
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 102
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 103 /*
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 104 * hardware info/state
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 105 */
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 106 const struct hc_driver *driver; /* hw-specific hooks */
8de98402652c018 drivers/usb/core/hcd.h Benjamin Herrenschmidt 2005-11-25 107
c2e935a7db6e735 include/linux/usb/hcd.h Richard Zhao 2012-06-13 108 /*
c2e935a7db6e735 include/linux/usb/hcd.h Richard Zhao 2012-06-13 109 * OTG and some Host controllers need software interaction with phys;
c2e935a7db6e735 include/linux/usb/hcd.h Richard Zhao 2012-06-13 110 * other external phys should be software-transparent
c2e935a7db6e735 include/linux/usb/hcd.h Richard Zhao 2012-06-13 111 */
3d46e73dfdb840f include/linux/usb/hcd.h Antoine Tenart 2014-09-24 112 struct usb_phy *usb_phy;
178a0bce05cbc17 include/linux/usb/hcd.h Martin Blumenstingl 2018-03-03 113 struct usb_phy_roothub *phy_roothub;
c2e935a7db6e735 include/linux/usb/hcd.h Richard Zhao 2012-06-13 114
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 115 /* Flags that need to be manipulated atomically because they can
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 116 * change while the host controller is running. Always use
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 117 * set_bit() or clear_bit() to change their values.
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 118 */
8de98402652c018 drivers/usb/core/hcd.h Benjamin Herrenschmidt 2005-11-25 119 unsigned long flags;
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 120 #define HCD_FLAG_HW_ACCESSIBLE 0 /* at full power */
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 121 #define HCD_FLAG_POLL_RH 2 /* poll for rh status? */
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 122 #define HCD_FLAG_POLL_PENDING 3 /* status has changed? */
ff2f07874362d34 include/linux/usb/hcd.h Alan Stern 2010-06-25 123 #define HCD_FLAG_WAKEUP_PENDING 4 /* root hub is resuming? */
9b37596a2e86040 include/linux/usb/hcd.h Alan Stern 2011-03-07 124 #define HCD_FLAG_RH_RUNNING 5 /* root hub is running? */
9b37596a2e86040 include/linux/usb/hcd.h Alan Stern 2011-03-07 125 #define HCD_FLAG_DEAD 6 /* controller has died? */
6b2bd3c8c69c481 include/linux/usb/hcd.h Stefan Koch 2015-08-25 126 #define HCD_FLAG_INTF_AUTHORIZED 7 /* authorize interfaces? */
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 127
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 128 /* The flags can be tested using these macros; they are likely to
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 129 * be slightly faster than test_bit().
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 130 */
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 131 #define HCD_HW_ACCESSIBLE(hcd) ((hcd)->flags & (1U << HCD_FLAG_HW_ACCESSIBLE))
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 132 #define HCD_POLL_RH(hcd) ((hcd)->flags & (1U << HCD_FLAG_POLL_RH))
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 133 #define HCD_POLL_PENDING(hcd) ((hcd)->flags & (1U << HCD_FLAG_POLL_PENDING))
ff2f07874362d34 include/linux/usb/hcd.h Alan Stern 2010-06-25 134 #define HCD_WAKEUP_PENDING(hcd) ((hcd)->flags & (1U << HCD_FLAG_WAKEUP_PENDING))
9b37596a2e86040 include/linux/usb/hcd.h Alan Stern 2011-03-07 135 #define HCD_RH_RUNNING(hcd) ((hcd)->flags & (1U << HCD_FLAG_RH_RUNNING))
9b37596a2e86040 include/linux/usb/hcd.h Alan Stern 2011-03-07 136 #define HCD_DEAD(hcd) ((hcd)->flags & (1U << HCD_FLAG_DEAD))
8de98402652c018 drivers/usb/core/hcd.h Benjamin Herrenschmidt 2005-11-25 137
6b2bd3c8c69c481 include/linux/usb/hcd.h Stefan Koch 2015-08-25 138 /*
6b2bd3c8c69c481 include/linux/usb/hcd.h Stefan Koch 2015-08-25 139 * Specifies if interfaces are authorized by default
6b2bd3c8c69c481 include/linux/usb/hcd.h Stefan Koch 2015-08-25 140 * or they require explicit user space authorization; this bit is
6b2bd3c8c69c481 include/linux/usb/hcd.h Stefan Koch 2015-08-25 141 * settable through /sys/class/usb_host/X/interface_authorized_default
6b2bd3c8c69c481 include/linux/usb/hcd.h Stefan Koch 2015-08-25 142 */
6b2bd3c8c69c481 include/linux/usb/hcd.h Stefan Koch 2015-08-25 143 #define HCD_INTF_AUTHORIZED(hcd) \
6b2bd3c8c69c481 include/linux/usb/hcd.h Stefan Koch 2015-08-25 144 ((hcd)->flags & (1U << HCD_FLAG_INTF_AUTHORIZED))
6b2bd3c8c69c481 include/linux/usb/hcd.h Stefan Koch 2015-08-25 145
ff8e2c560eca320 include/linux/usb/hcd.h Stefan Koch 2015-08-25 146 /*
ff8e2c560eca320 include/linux/usb/hcd.h Stefan Koch 2015-08-25 147 * Specifies if devices are authorized by default
ff8e2c560eca320 include/linux/usb/hcd.h Stefan Koch 2015-08-25 148 * or they require explicit user space authorization; this bit is
ff8e2c560eca320 include/linux/usb/hcd.h Stefan Koch 2015-08-25 149 * settable through /sys/class/usb_host/X/authorized_default
ff8e2c560eca320 include/linux/usb/hcd.h Stefan Koch 2015-08-25 150 */
7bae0432a64aa75 include/linux/usb/hcd.h Dmitry Torokhov 2019-02-16 151 enum usb_dev_authorize_policy dev_policy;
ff8e2c560eca320 include/linux/usb/hcd.h Stefan Koch 2015-08-25 152
541c7d432f76771 include/linux/usb/hcd.h Alan Stern 2010-06-22 153 /* Flags that get set only during HCD registration or removal. */
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 154 unsigned rh_registered:1;/* is root hub registered? */
6d88e6792574497 include/linux/usb/hcd.h Alan Stern 2010-06-09 155 unsigned rh_pollable:1; /* may we poll the root hub? */
0029227f1bc30b6 include/linux/usb/hcd.h Andiry Xu 2010-12-27 156 unsigned msix_enabled:1; /* driver has MSI-X enabled? */
6a29beef9d1b16c include/linux/usb/hcd.h Peter Chen 2017-05-17 157 unsigned msi_enabled:1; /* driver has MSI enabled? */
4e88d4c08301645 include/linux/usb/hcd.h Martin Blumenstingl 2018-03-03 158 /*
4e88d4c08301645 include/linux/usb/hcd.h Martin Blumenstingl 2018-03-03 159 * do not manage the PHY state in the HCD core, instead let the driver
4e88d4c08301645 include/linux/usb/hcd.h Martin Blumenstingl 2018-03-03 160 * handle this (for example if the PHY can only be turned on after a
4e88d4c08301645 include/linux/usb/hcd.h Martin Blumenstingl 2018-03-03 161 * specific event)
4e88d4c08301645 include/linux/usb/hcd.h Martin Blumenstingl 2018-03-03 162 */
4e88d4c08301645 include/linux/usb/hcd.h Martin Blumenstingl 2018-03-03 163 unsigned skip_phy_initialization:1;
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 164
d5926ae7a827bdd drivers/usb/core/hcd.h Alan Stern 2005-04-21 165 /* The next flag is a stopgap, to be removed when all the HCDs
d5926ae7a827bdd drivers/usb/core/hcd.h Alan Stern 2005-04-21 166 * support the new root-hub polling mechanism. */
d5926ae7a827bdd drivers/usb/core/hcd.h Alan Stern 2005-04-21 167 unsigned uses_new_polling:1;
0165de09747be76 drivers/usb/core/hcd.h Inaky Perez-Gonzalez 2006-08-25 168 unsigned wireless:1; /* Wireless USB HCD */
7329e211b987a49 drivers/usb/core/hcd.h Alan Stern 2008-04-03 169 unsigned has_tt:1; /* Integrated TT in root hub */
7868943db1668fb include/linux/usb/hcd.h Huang Rui 2013-09-16 170 unsigned amd_resume_bug:1; /* AMD remote wakeup quirk */
14aec589327a6fc include/linux/usb/hcd.h Oliver Neukum 2014-02-11 171 unsigned can_do_streams:1; /* HC supports streams */
f2693b430b33d95 include/linux/usb/hcd.h Peter Chen 2014-08-19 172 unsigned tpl_support:1; /* OTG & EH TPL support */
074f9dd55f9cab1 include/linux/usb/hcd.h Alan Stern 2015-01-29 173 unsigned cant_recv_wakeups:1;
074f9dd55f9cab1 include/linux/usb/hcd.h Alan Stern 2015-01-29 174 /* wakeup requests from downstream aren't received */
d5926ae7a827bdd drivers/usb/core/hcd.h Alan Stern 2005-04-21 175
cd70469d084fde1 include/linux/usb/hcd.h Felipe Balbi 2012-02-29 176 unsigned int irq; /* irq allocated */
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 177 void __iomem *regs; /* device memory/io */
26f944b2716717a include/linux/usb/hcd.h Kishon Vijay Abraham I 2012-08-16 178 resource_size_t rsrc_start; /* memory/io resource start */
26f944b2716717a include/linux/usb/hcd.h Kishon Vijay Abraham I 2012-08-16 179 resource_size_t rsrc_len; /* memory/io resource length */
7d35b9298539d28 drivers/usb/core/hcd.h Alan Stern 2005-04-25 180 unsigned power_budget; /* in mA, 0 = no limit */
^1da177e4c3f415 drivers/usb/core/hcd.h Linus Torvalds 2005-04-16 181
94dfd7edfd5c9b6 include/linux/usb/hcd.h Ming Lei 2013-07-03 182 struct giveback_urb_bh high_prio_bh;
94dfd7edfd5c9b6 include/linux/usb/hcd.h Ming Lei 2013-07-03 183 struct giveback_urb_bh low_prio_bh;
94dfd7edfd5c9b6 include/linux/usb/hcd.h Ming Lei 2013-07-03 184
3f0479e00a3fca9 drivers/usb/core/hcd.h Sarah Sharp 2009-12-03 185 /* bandwidth_mutex should be taken before adding or removing
3f0479e00a3fca9 drivers/usb/core/hcd.h Sarah Sharp 2009-12-03 186 * any new bus bandwidth constraints:
3f0479e00a3fca9 drivers/usb/core/hcd.h Sarah Sharp 2009-12-03 187 * 1. Before adding a configuration for a new device.
3f0479e00a3fca9 drivers/usb/core/hcd.h Sarah Sharp 2009-12-03 188 * 2. Before removing the configuration to put the device into
3f0479e00a3fca9 drivers/usb/core/hcd.h Sarah Sharp 2009-12-03 189 * the addressed state.
3f0479e00a3fca9 drivers/usb/core/hcd.h Sarah Sharp 2009-12-03 190 * 3. Before selecting a different configuration.
3f0479e00a3fca9 drivers/usb/core/hcd.h Sarah Sharp 2009-12-03 191 * 4. Before selecting an alternate interface setting.
3f0479e00a3fca9 drivers/usb/core/hcd.h Sarah Sharp 2009-12-03 192 *
3f0479e00a3fca9 drivers/usb/core/hcd.h Sarah Sharp 2009-12-03 193 * bandwidth_mutex should be dropped after a successful control message
3f0479e00a3fca9 drivers/usb/core/hcd.h Sarah Sharp 2009-12-03 194 * to the device, or resetting the bandwidth after a failed attempt.
3f0479e00a3fca9 drivers/usb/core/hcd.h Sarah Sharp 2009-12-03 195 */
feb26ac31a2a5cb include/linux/usb/hcd.h Chris Bainbridge 2016-04-25 196 struct mutex *address0_mutex;
d673bfcbfffdeb5 include/linux/usb/hcd.h Sarah Sharp 2010-10-15 197 struct mutex *bandwidth_mutex;
c56354378426e55 include/linux/usb/hcd.h Sarah Sharp 2010-10-28 198 struct usb_hcd *shared_hcd;
c56354378426e55 include/linux/usb/hcd.h Sarah Sharp 2010-10-28 199 struct usb_hcd *primary_hcd;
3f0479e00a3fca9 drivers/usb/core/hcd.h Sarah Sharp 2009-12-03 200
3f0479e00a3fca9 drivers/usb/core/hcd.h Sarah Sharp 2009-12-03 201
:::::: The code@line 86 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
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: 31724 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-08 15:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-08 15:58 [matwey:fix/pwc_dma_2 1/1] include/linux/usb/hcd.h:86:18: error: field 'self' has incomplete type 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.