Re: [usb:usb-testing 2/8] include/linux/usb.h:187: warning: No description found for parameter 'authorized'

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

 



Hi Greg,

should I correct this?

Thanks

Stefan Koch

Am Mittwoch, den 23.09.2015, 03:40 +0800 schrieb kbuild test robot:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
> head:   ff8e2c560eca32043ed097099debac488a4bd99f
> commit: 4ad2ddce1a096dea71d42969515d3a64f0d9246f [2/8] usb: interface authorization: Declare authorized attribute
> config: i386-allnoconfig (attached as .config)
> reproduce:
>   git checkout 4ad2ddce1a096dea71d42969515d3a64f0d9246f
>   # save the attached .config to linux build tree
>   make ARCH=i386 
> 
> All warnings (new ones prefixed by >>):
> 
> >> include/linux/usb.h:187: warning: No description found for parameter 'authorized'
> 
> vim +/authorized +187 include/linux/usb.h
> 
> b724ae77 Alan Stern           2005-10-24  171  	int minor;			/* minor number this interface is
> b724ae77 Alan Stern           2005-10-24  172  					 * bound to */
> ^1da177e Linus Torvalds       2005-04-16  173  	enum usb_interface_condition condition;		/* state of binding */
> 7e61559f Alan Stern           2007-11-06  174  	unsigned sysfs_files_created:1;	/* the sysfs attributes exist */
> 3b23dd6f Alan Stern           2008-12-05  175  	unsigned ep_devs_created:1;	/* endpoint "devices" exist */
> 352d0263 Alan Stern           2008-10-29  176  	unsigned unregistering:1;	/* unregistration is in progress */
> 645daaab Alan Stern           2006-08-30  177  	unsigned needs_remote_wakeup:1;	/* driver requires remote wakeup */
> 55151d7d Alan Stern           2008-08-12  178  	unsigned needs_altsetting0:1;	/* switch to altsetting 0 is pending */
> 78d9a487 Alan Stern           2008-06-23  179  	unsigned needs_binding:1;	/* needs delayed unbind/rebind */
> 04a723ea Sarah Sharp          2010-01-06  180  	unsigned resetting_device:1;	/* true: bandwidth alloc after reset */
> 4ad2ddce Stefan Koch          2015-08-25  181  	unsigned authorized:1;		/* used for interface authorization */
> 4d064c08 Alan Stern           2006-07-01  182  
> ^1da177e Linus Torvalds       2005-04-16  183  	struct device dev;		/* interface specific device info */
> 969ab2ee Greg Kroah-Hartman   2008-01-30  184  	struct device *usb_dev;
> ccf5b801 Alan Stern           2009-06-29  185  	atomic_t pm_usage_cnt;		/* usage counter for autosuspend */
> dc023dce Inaky Perez-Gonzalez 2008-11-13  186  	struct work_struct reset_ws;	/* for resets in atomic context */
> ^1da177e Linus Torvalds       2005-04-16 @187  };
> ^1da177e Linus Torvalds       2005-04-16  188  #define	to_usb_interface(d) container_of(d, struct usb_interface, dev)
> ^1da177e Linus Torvalds       2005-04-16  189  
> ^1da177e Linus Torvalds       2005-04-16  190  static inline void *usb_get_intfdata(struct usb_interface *intf)
> ^1da177e Linus Torvalds       2005-04-16  191  {
> ^1da177e Linus Torvalds       2005-04-16  192  	return dev_get_drvdata(&intf->dev);
> ^1da177e Linus Torvalds       2005-04-16  193  }
> ^1da177e Linus Torvalds       2005-04-16  194  
> ^1da177e Linus Torvalds       2005-04-16  195  static inline void usb_set_intfdata(struct usb_interface *intf, void *data)
> 
> :::::: The code at line 187 was first introduced by commit
> :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
> 
> :::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux