Re: [PATCH net-next v3 06/31] phonet: use siocdevprivate

Rémi Denis-Courmont
2021-07-27T16:03:40Z

Le tiistaina 27. heinäkuuta 2021, 16.44.52 EEST Arnd Bergmann a écrit :
> From: Arnd Bergmann <arnd@arndb.de>
>
> phonet has a single private ioctl that is broken in compat
> mode on big-endian machines today because the data returned
> from it is never copied back to user space.
>
> Move it over to the ndo_siocdevprivate callback, which also
> fixes the compat issue.
>
> Cc: Remi Denis-Courmont <courmisch@gmail.com>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Acked-by: Rémi Denis-Courmont <courmisch@gmail.com>

--
This made me realise that the HSI/SSI device driver lacks the private IOCTL
(but that's obivously not a problem of this series).

--
Rémi Denis-Courmont