diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2023-04-02 15:37:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-04-03 10:04:26 +0100 |
commit | d5d5fd8f2552f6b9c50d3937c77b6783f99fbe83 (patch) | |
tree | dc288ec8c389bc8f86591450fdf4f79b7be69755 /block | |
parent | 4ee58e1e56800b589afe31c34547e2bc0c59f586 (diff) |
net: move copy_from_user() out of net_hwtstamp_validate()
The kernel will want to start using the more meaningful struct
hwtstamp_config pointer in more places, so move the copy_from_user() at
the beginning of dev_set_hwtstamp() in order to get to that, and pass
this argument to net_hwtstamp_validate().
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions