[PATCH 1/5] tty: serial: jsm: change the type of local variable

2017-11-04 Thread Gimcuan Hui
The return type of jsm_get_mstat was int, and the local var result was for the return should be int, make the change. This patch fixes the checkpatch.pl warning: Prefer 'unsigned int' to bare use of 'unsigned'. Signed-off-by: Gimcuan Hui --- drivers/tty/serial/jsm/jsm_tty.c

[PATCH 1/5] tty: serial: jsm: change the type of local variable

2017-11-04 Thread Gimcuan Hui
The return type of jsm_get_mstat was int, and the local var result was for the return should be int, make the change. This patch fixes the checkpatch.pl warning: Prefer 'unsigned int' to bare use of 'unsigned'. Signed-off-by: Gimcuan Hui --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file