summaryrefslogtreecommitdiffstats
path: root/Documentation/ptp
diff options
context:
space:
mode:
authorRobb Manes <rmanes@redhat.com>2015-09-29 17:03:37 +0200
committerDavid S. Miller <davem@davemloft.net>2015-09-30 06:14:01 +0200
commit23860f103b53e764a3cbbf615d08f88362a28295 (patch)
tree053317bd0077afb798f3b694c2ac0e416a5b774b /Documentation/ptp
parentdsa: mv88e6xxx: Enable forwarding for unknown to the CPU port (diff)
downloadlinux-23860f103b53e764a3cbbf615d08f88362a28295.tar.xz
linux-23860f103b53e764a3cbbf615d08f88362a28295.zip
net/mlx4: Handle return codes in mlx4_qp_attach_common
Both new_steering_entry() and existing_steering_entry() return values based on their success or failure, but currently they fall through silently. This can make troubleshooting difficult, as we were unable to tell which one of these two functions returned errors or specifically what code was returned. This patch remedies that situation by passing the return codes to err, which is returned by mlx4_qp_attach_common() itself. This also addresses a leak in the call to mlx4_bitmap_free() as well. Signed-off-by: Robb Manes <rmanes@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/ptp')
0 files changed, 0 insertions, 0 deletions