lkml.org 
[lkml]   [2015]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] mtd: mtd_oobtest: Fix the address offset with vary_offset case
On Wed, Jul 08, 2015 at 02:50:19PM +0300, Roger Quadros wrote:
> When vary_offset is set (e.g. test case 3), the offset is not always
> zero so memcmpshow() will show the wrong offset in the print message.
> To fix this we introduce a new function memcmpshowoffset() which takes
> offset as a parameter and displays the right offset and use it in
> the case where offset is non zero.
>
> The old memcmpshow() functionality is preserved by converting it into
> a macro with offset preset to 0.
>
> Signed-off-by: Roger Quadros <rogerq@ti.com>

Applied to l2-mtd.git. Thanks!


\
 
 \ /
  Last update: 2015-08-28 19:41    [W:0.053 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site