[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kernel
Subject: Re: [PATCH] drivers:staging:gdm72xx Fix increment in a loop
From: Greg KH <gregkh () linuxfoundation ! org>
Date: 2015-10-31 23:59:06
Message-ID: 20151031235906.GD10644 () kroah ! com
[Download RAW message or body]
On Sat, Oct 31, 2015 at 11:03:00PM +0100, Bogicevic Sasa wrote:
> This fixes increment of pos int to be more readable
> Lines qcb->csr[index].srcport_lo = ((buf[pos++]<<8)&0xff00);
> qcb->csr[index].srcport_lo += buf[pos++];
> become
> qcb->csr[index].srcport_lo = get_unaligned_le16(&buf[pos]);
> pos += 2;
>
> Signed-off-by: Bogicevic Sasa <brutallesale@gmail.com>
> ---
> drivers/staging/gdm72xx/gdm_qos.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
I'm totally confused, please resend all of these patches, numbered in
order, so I have a chance to know how to apply them. Also please always
cc: the proper mailing lists for staging patches (hint, not lkml).
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic