[PATCH 1/2] mtd: tests: fix '&&' and '||' warning
Artem Bityutskiy
dedekind1 at gmail.com
Fri Jul 22 04:16:53 EDT 2011
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
More information about the linux-mtd
mailing list