nter to zero we must first check it is
valid, as NULL return is perfectly fine when running on old kernels.
Fixes: bef780467fa7 ("ioctl: do not pass transceiver value back to kernel")
Signed-off-by: Hans-Christian Noren Egtvedt
---
ethtool.c | 5 +++--
1 file changed, 3 insertions(+), 2 d
to zero we must first check it is
valid, as NULL return is perfectly fine when running on old kernels.
Signed-off-by: Hans-Christian Noren Egtvedt
---
ethtool.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ethtool.c b/ethtool.c
index c4ad186..8267d6b 100644
--- a/
Cc: Haavard Skinnemoen
> Cc: Hans-Christian Egtvedt
> Signed-off-by: Alexander Duyck
Acked-by: Hans-Christian Noren Egtvedt
> ---
> arch/avr32/mm/dma-coherent.c |7 ++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/arch/avr32/mm/dma-coherent.c b/arc