Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1215461 > unrolled thread

Re: [PATCH v2] mtd: mtd_oobtest: Fix the address offset with vary_offset case

Started byBrian Norris <computersforpeace@gmail.com>
First post2015-08-28 19:20 +0200
Last post2015-08-28 19:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2] mtd: mtd_oobtest: Fix the address offset with  vary_offset case Brian Norris <computersforpeace@gmail.com> - 2015-08-28 19:20 +0200

#1215461 — Re: [PATCH v2] mtd: mtd_oobtest: Fix the address offset with vary_offset case

FromBrian Norris <computersforpeace@gmail.com>
Date2015-08-28 19:20 +0200
SubjectRe: [PATCH v2] mtd: mtd_oobtest: Fix the address offset with vary_offset case
Message-ID<q2vtM-1hE-9@gated-at.bofh.it>
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!
--
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web