mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
Staging: media: lirc: Use unsigned int instead unsigned
This patch fixes a WARNING: Prefer 'unsigned int' to bare use of 'unsigned', found by checkpatch.pl. By fixing this the types of the parameters become more explicit. Signed-off-by: Mihaela Muraru <mihaela.muraru21@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a88727e7cc
commit
51ea64c98d
@ -1157,8 +1157,8 @@ static ssize_t write(struct file *filep, const char __user *buf, size_t n,
|
||||
|
||||
/* Send the code */
|
||||
if (ret == 0) {
|
||||
ret = send_code(tx, (unsigned)command >> 16,
|
||||
(unsigned)command & 0xFFFF);
|
||||
ret = send_code(tx, (unsigned int)command >> 16,
|
||||
(unsigned int)command & 0xFFFF);
|
||||
if (ret == -EPROTO) {
|
||||
mutex_unlock(&ir->ir_lock);
|
||||
mutex_unlock(&tx->client_lock);
|
||||
|
Loading…
Reference in New Issue
Block a user