Re: [PATCH] usb.h: change private: kernel-doc for new format requirement

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

 



On Wednesday 29 April 2009, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> 
> Use "/* private:" to mark struct members as private so that
> scripts/kernel-doc will handle them correctly.
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Acked-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>

.... although that mechanism is news to me, it seems overdue.


> ---
>  include/linux/usb.h |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> --- linux-2.6.30-rc3-git4.orig/include/linux/usb.h
> +++ linux-2.6.30-rc3-git4/include/linux/usb.h
> @@ -1422,8 +1422,8 @@ struct usb_sg_request {
>  	int			status;
>  	size_t			bytes;
>  
> -	/*
> -	 * members below are private: to usbcore,
> +	/* private:
> +	 * members below are private to usbcore,
>  	 * and are not provided for driver access!
>  	 */
>  	spinlock_t		lock;
> 
> 



--
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