]> www.infradead.org Git - users/dwmw2/linux.git/commit
ibmvnic: fix miscellaneous checks
authorLijun Pan <lijunp213@gmail.com>
Thu, 11 Feb 2021 06:43:22 +0000 (00:43 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 May 2022 07:05:05 +0000 (09:05 +0200)
commit96904c828991d74610d8f1c8cf4e58a02fb15b51
treef19dfe740489eac7e0862624e2bac2d4a756bdd5
parent17f71272ef413096e0a45d18bf55e5ff6c2b7162
ibmvnic: fix miscellaneous checks

[ Upstream commit 91dc5d2553fbf20e2e8384ac997f278a50c70561 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/ibm/ibmvnic.c