commit | c5f156def02bffe41bb6c931302c074d00465354 | [log] [tgz] |
---|---|---|
author | Vasundhara Volam <vasundhara.volam@emulex.com> | Tue Sep 02 09:56:54 2014 +0530 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 02 12:46:00 2014 -0700 |
tree | 2c12cb3a5ca98473e22d2e79804ea7cd30505770 | |
parent | 0d3f5ccec907bcfb4f5d4941d762dc2f89b2d24d [diff] |
be2net: make be_cmd_get_regs() return a status There are a few failure cases in be_cmd_get_regs() that ideally must return an error value. This style is used across all the routines in be_cmds.c with this routine being an exception. This patch fixes this. Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com> Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>