aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc/recvmsg.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-06-04 16:53:40 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-04 23:49:49 -0400
commitde5ed99e9777a487da4ad9c58e409ed26b640d9e (patch)
tree1746950039e57e11c44674b289d216f469b7b006 /net/rxrpc/recvmsg.c
parentmlxsw: Fix typo inside enumeration (diff)
downloadlinux-dev-de5ed99e9777a487da4ad9c58e409ed26b640d9e.tar.xz
linux-dev-de5ed99e9777a487da4ad9c58e409ed26b640d9e.zip
mlxsw: spectrum_router: Align RIF index allocation with existing code
The way we usually allocate an index is by letting the allocation function return an error instead of an invalid index. Do the same for RIF index. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/recvmsg.c')
0 files changed, 0 insertions, 0 deletions