Re: [PATCH] drivers:staging:gdm72xx Fix increment in a loop
From: Greg KH
Date: Sat Oct 31 2015 - 19:59:16 EST
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@xxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/