• Andrew Morton's avatar
    [PATCH] keyboard.c warning fix · ca5c021c
    Andrew Morton authored
    drivers/char/keyboard.c: In function `k_fn':
    drivers/char/keyboard.c:665: warning: comparison is always true due
    to limited range of data type
    
    I didn't want to just delete the code because one day the size of func_table
    may get smaller, or the type of `value' may get larger.  When that happens,
    the test becomes valid again.
    ca5c021c
keyboard.c 29.5 KB