aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorZhang Changzhong <[email protected]>2020-11-13 14:42:27 +0800
committerJason Gunthorpe <[email protected]>2020-11-13 12:25:21 -0400
commitdabbd6abcdbeb1358a53ec28a244429320eb0e3a (patch)
tree6ca98f9b1d122d7cf2fc5663e6a8f67db5a6ca15 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentb1e678bf290db5a76f1b6a9f7c381310e03440d6 (diff)
IB/hfi1: Fix error return code in hfi1_init_dd()
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: 4730f4a6c6b2 ("IB/hfi1: Activate the dummy netdev") Link: https://lore.kernel.org/r/[email protected] Reported-by: Hulk Robot <[email protected]> Signed-off-by: Zhang Changzhong <[email protected]> Acked-by: Mike Marciniszyn <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions