[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130329.154348.1417472944436998499.davem@davemloft.net>
Date: Fri, 29 Mar 2013 15:43:48 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: Max.Nekludov@...elster.com
Cc: kda@...ux-powerpc.org, gerg@...inux.org, jiri@...nulli.us,
linus971@...il.com, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, mjr@...wisc.edu,
netdev@...r.kernel.org, sboyd@...eaurora.org,
torvalds@...ux-foundation.org
Subject: Re: Bug in ks8851.c
From: Max.Nekludov@...elster.com
Date: Fri, 29 Mar 2013 19:27:36 +0400
> Denis,
> here is patch with commit message:
>
> Subject: [PATCH] Fix bug in ks8851 driver
>
> According to the Datasheet (page 52):
> 15-12 Reserved
> 11-0 RXBC Receive Byte Count
> This field indicates the present received frame byte size.
>
> The code has a bug:
> rxh = ks8851_rdreg32(ks, KS_RXFHSR);
> rxstat = rxh & 0xffff;
> rxlen = rxh >> 16; // BUG!!! 0xFFF mask should be applied
>
> Signed-off-by: Max Nekludov <Max.Nekludov@...elster.com>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists