Thread (5 messages) 5 messages, 4 authors, 2019-10-01

Re: [PATCH v2 net] devlink: Fix error handling in param and info_get dumpit cb

From: David Miller <davem@davemloft.net>
Date: 2019-10-01 17:09:20

From: Vasundhara Volam <redacted>
Date: Mon, 30 Sep 2019 11:52:21 +0530
If any of the param or info_get op returns error, dumpit cb is
skipping to dump remaining params or info_get ops for all the
drivers.

Fix to not return if any of the param/info_get op returns error
as not supported and continue to dump remaining information.

v2: Modify the patch to return error, except for params/info_get
op that return -EOPNOTSUPP as suggested by Andrew Lunn. Also, modify
commit message to reflect the same.

Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Jiri Pirko <redacted>
Cc: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Vasundhara Volam <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help