• Mika Kukkonen's avatar
    [PATCH] sparse: fix sparse warnings in kernel/power/* · 482ce192
    Mika Kukkonen authored
      CHECK   kernel/power/swsusp.c
    kernel/power/swsusp.c:320:15: warning: expected lvalue for member dereference
    kernel/power/swsusp.c:337:15: warning: expected lvalue for member dereference
    kernel/power/swsusp.c:359:14: warning: expected lvalue for member dereference
    kernel/power/swsusp.c:925:12: warning: assignment expression in conditional
    [...]
      CHECK   kernel/power/pmdisk.c
    kernel/power/pmdisk.c:795:12: warning: assignment expression in conditional
    
    Trivial sparse fixes for two files under kernel/power. Patch attached.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    482ce192
swsusp.c 33.1 KB