tty: serial: jsm: change the type of local variable
authorGimcuan Hui <gimcuan@gmail.com>
Sun, 5 Nov 2017 05:06:18 +0000 (05:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2017 11:58:31 +0000 (12:58 +0100)
commitc100a3f132e4981d4b2b874657b390a137c6c32e
tree486dae46e579d54f3d44fb082f3b41d467efa9ef
parent9ce99a3a9284cfb8d45a7abc43346f880da338cc
tty: serial: jsm: change the type of local variable

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 <gimcuan@gmail.com>
Acked-by: Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/jsm/jsm_tty.c