Thread (36 messages) 36 messages, 5 authors, 2021-07-28

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

From: Rémi Denis-Courmont <hidden>
Date: 2021-07-27 16:03:40
Also in: lkml

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
http://www.remlab.net/


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help