summaryrefslogtreecommitdiff
path: root/drivers/clk/mstar
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-07-27 15:44:53 +0200
committerDavid S. Miller <davem@davemloft.net>2021-07-27 20:11:43 +0100
commit029a4fef6b22b92d4f9b50ac0cdc48dfaff9af68 (patch)
treec44ac7fc71290c9ecd04d1274f0e41c2fa073a7e /drivers/clk/mstar
parent4747c1a8bc50a69e9b2cd7eb188fcbd95f177999 (diff)
tulip: use ndo_siocdevprivate
The tulip driver has a debugging method over ioctl built-in, but it does not actually check the command type, which may end up leading to random behavior when trying to run other ioctls on it. Change the driver to use ndo_siocdevprivate and limit the execution further to the first private command code. If anyone still has tools to run these debugging commands, they might have to be patched for it if they pass different ioctl command. The function has existed in this form since the driver was merged in Linux-1.1.86. Cc: linux-parisc@vger.kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/clk/mstar')
0 files changed, 0 insertions, 0 deletions