[PATCH] ARM: mmp: fix potential NULL dereference

Haojian Zhuang haojian.zhuang at gmail.com
Fri Aug 10 10:29:58 EDT 2012


On Wed, Aug 8, 2012 at 5:02 PM, Yuanhan Liu <yliu.null at gmail.com> wrote:
> Fix the wrong logic: we should use || instead of &&
>
> Cc: Leo Yan <leoy at marvell.com>
> Cc: Haojian Zhuang <haojian.zhuang at gmail.com>
> Cc: Eric Miao <eric.y.miao at gmail.com>
> Signed-off-by: Yuanhan Liu <yliu.null at gmail.com>
> ---
>  arch/arm/mach-mmp/sram.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
Applied.

Thanks
Haojian



More information about the linux-arm-kernel mailing list