From: Jiri Pirko
Date: Sun, 24 Mar 2019 00:21:03 +0100
> From: Jiri Pirko
>
> In dumpit, unlike doit, the check for info_get op being defined
> is missing. Add it and avoid null pointer dereference in case driver
> does not define this op.
>
> Fixes: f9cf22882c60 ("devlink: add device informat
On Sun, 24 Mar 2019 00:21:03 +0100, Jiri Pirko wrote:
> From: Jiri Pirko
>
> In dumpit, unlike doit, the check for info_get op being defined
> is missing. Add it and avoid null pointer dereference in case driver
> does not define this op.
>
> Fixes: f9cf22882c60 ("devlink: add device information
From: Jiri Pirko
In dumpit, unlike doit, the check for info_get op being defined
is missing. Add it and avoid null pointer dereference in case driver
does not define this op.
Fixes: f9cf22882c60 ("devlink: add device information API")
Reported-by: Ido Schimmel
Signed-off-by: Jiri Pirko
---
ne