Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1497164 > unrolled thread

Re: [patch 12/32] greybus: es2 host driver

Started byPavel Machek <pavel@ucw.cz>
First post2016-10-07 15:50 +0200
Last post2016-10-07 15:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [patch 12/32] greybus: es2 host driver Pavel Machek <pavel@ucw.cz> - 2016-10-07 15:50 +0200

#1497164 — Re: [patch 12/32] greybus: es2 host driver

FromPavel Machek <pavel@ucw.cz>
Date2016-10-07 15:50 +0200
SubjectRe: [patch 12/32] greybus: es2 host driver
Message-ID<spDHc-161-13@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On Fri 2016-09-16 15:25:25, Greg KH wrote:
> This is a Greybus host driver for the ES2/3 bridge chip from Toshiba.
> 
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> ---

> +/*
> + * @endpoint: bulk in endpoint for CPort data
> + * @urb: array of urbs for the CPort in messages
> + * @buffer: array of buffers for the @cport_in_urb urbs
> + */
> +struct es2_cport_in {
> +	__u8 endpoint;
> +	struct urb *urb[NUM_CPORT_IN_URB];
> +	u8 *buffer[NUM_CPORT_IN_URB];

Underscored versions of __u8 and friends are unneccessary here... as
shown later in the struct. Makes sense to fix in whole file.
								pavel


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web