Re: [PATCH 1/2] mtd: tests: fix '&&' and '||' warning

Artem Bityutskiy
2011-07-22T08:15:42Z

On Wed, 2011-07-20 at 09:53 -0700, Brian Norris wrote:
> Commit 3db343a094c876efc64a267a6968cfd5a6f93965
> ("mtd: tests: ignore corrected bitflips in OOB on mtd_readtest")
> introduces a compiler warning:
>
> CC [M] drivers/mtd/tests/mtd_readtest.o
> drivers/mtd/tests/mtd_readtest.c: In function ‘read_eraseblock_by_page’:
> drivers/mtd/tests/mtd_readtest.c:79: warning: suggest parentheses around ‘&&’ within ‘||’
>
> [Note: the commit hash above is only valid if l2-mtd-2.6 is not rebased
> too much. You can just squash this patch into the commit that produced
> this warning if you'd like.]

Folded into the original patch, thank you!

--
Best Regards,
Artem Bityutskiy