]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: greybus: log: Fix line over 80 characters.
authorEmmanuil Chatzipetru <chatzi.emanuel@gmail.com>
Wed, 4 Jan 2017 16:08:19 +0000 (17:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Jan 2017 17:22:20 +0000 (18:22 +0100)
commit588bfea9108a6226958d7c0e6c5542e6dcc649d2
tree9e00ba67d4334884d8c2423b66be6b5241e43489
parent8a983614ca956fbf6329be22214de2c1fc47ea1e
staging: greybus: log: Fix line over 80 characters.

Fix coding style issue caught by checkpatch.pl related to the following
warning:
- CHECK: WARNING: line over 80 characters
This is done by dropping a redundant cast and by replacing the format specifier
in dev_err(); to "%zu" instead of "%d", in order to silence the warnings of the
compiler.

Also, while at it, drop the redundant cast in the comparison as well to maintain
consistency.

Signed-off-by: Emmanuil Chatzipetru <chatzi.emanuel@gmail.com>
Acked-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/log.c