• Harvey Harrison's avatar
    char: rocket.c: fix sparse variable shadowing and int as NULL pointer · 709107fc
    Harvey Harrison authored
    Nested min() macros shadow _x, separate into two lines.
    drivers/char/rocket.c:451:7: warning: symbol '_x' shadows an earlier one
    drivers/char/rocket.c:451:7: originally declared here
    drivers/char/rocket.c:451:7: warning: symbol '_x' shadows an earlier one
    drivers/char/rocket.c:451:7: originally declared here
    drivers/char/rocket.c:451:7: warning: symbol '_y' shadows an earlier one
    drivers/char/rocket.c:451:7: originally declared here
    drivers/char/rocket.c:1754:7: warning: symbol '_x' shadows an earlier one
    drivers/char/rocket.c:1754:7: originally declared here
    drivers/char/rocket.c:1754:7: warning: symbol '_x' shadows an earlier one
    drivers/char/rocket.c:1754:7: originally declared here
    drivers/char/rocket.c:1754:7: warning: symbol '_y' shadows an earlier one
    drivers/char/rocket.c:1754:7: originally declared here
    drivers/char/rocket.c:1751:20: warning: Using plain integer as NULL pointer
    Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    709107fc
rocket.c 96.7 KB