[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-usb
Subject:    Re: [PATCH] usb.h: change private: kernel-doc for new format requirement
From:       David Brownell <david-b () pacbell ! net>
Date:       2009-04-30 4:25:51
Message-ID: 200904292125.52120.david-b () pacbell ! net
[Download RAW message or body]

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

Acked-by: David Brownell <dbrownell@users.sourceforge.net>

.... 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic