Re: [PATCH v2 net] devlink: Fix error handling in param and info_get dumpit cb
From: Jiri Pirko <jiri@resnulli.us>
Date: 2019-09-30 06:50:15
From: Jiri Pirko <jiri@resnulli.us>
Date: 2019-09-30 06:50:15
Mon, Sep 30, 2019 at 08:22:21AM CEST, vasundhara-v.volam@broadcom.com wrote:
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>
Acked-by: Jiri Pirko <redacted>