From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752004AbbJaX7N (ORCPT ); Sat, 31 Oct 2015 19:59:13 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:59582 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750987AbbJaX7G (ORCPT ); Sat, 31 Oct 2015 19:59:06 -0400 Date: Sat, 31 Oct 2015 16:59:06 -0700 From: Greg KH To: Bogicevic Sasa Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers:staging:gdm72xx Fix increment in a loop Message-ID: <20151031235906.GD10644@kroah.com> References: <1446328980-1016-1-git-send-email-brutallesale@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1446328980-1016-1-git-send-email-brutallesale@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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