ibmvnic: fix miscellaneous checks
authorLijun Pan <lijunp213@gmail.com>
Thu, 11 Feb 2021 06:43:22 +0000 (00:43 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 21:03:00 +0000 (13:03 -0800)
commit91dc5d2553fbf20e2e8384ac997f278a50c70561
treeb36105d62c1586622dd830e37ccaafd00d0505e5
parent914789acaaae890b930ebae37bcc6d8d76ea7166
ibmvnic: fix miscellaneous checks

Fix the following checkpatch checks:
CHECK: Macro argument 'off' may be better as '(off)' to
avoid precedence issues
CHECK: Alignment should match open parenthesis
CHECK: multiple assignments should be avoided
CHECK: Blank lines aren't necessary before a close brace '}'
CHECK: Please use a blank line after function/struct/union/enum
declarations
CHECK: Unnecessary parentheses around 'rc != H_FUNCTION'

Signed-off-by: Lijun Pan <lijunp213@gmail.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c