summaryrefslogtreecommitdiff
path: root/include/ras/ras_event.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-02-09 15:54:35 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-10 14:43:00 -0500
commit1a6aa36b6f92b1a2f2e6789f6785372d4d6ddca9 (patch)
treec1b423beb7e86b1567ec6e637a91f4719dfc4aef /include/ras/ras_event.h
parent21e3d2dd4a19f842e7d134c341eb584970ff3b32 (diff)
devlink: use nla_put_failure goto label instead of out
Be aligned with the rest of the code and use label named nla_put_failure. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/ras/ras_event.h')
0 files changed, 0 insertions, 0 deletions
s. Also, there are other places where buffer length it checked after accessing offsets which are potentially past the end. Check buffer length before as well to fail cleanly. Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/phy/Makefile')