aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/socfpga-a10.c
diff options
context:
space:
mode:
authorMichal Luczaj <[email protected]>2024-11-19 13:31:43 +0000
committerPaolo Abeni <[email protected]>2024-11-28 07:57:42 +0000
commit49b2b973325add467270e906d4d794aa6679b38b (patch)
tree60dc45d6d52ff90178d5b51b5824531dd454d011 /drivers/fpga/socfpga-a10.c
parentrxrpc: Improve setsockopt() handling of malformed user input (diff)
downloadkernel-49b2b973325add467270e906d4d794aa6679b38b.tar.gz
kernel-49b2b973325add467270e906d4d794aa6679b38b.zip
net: Comment copy_from_sockptr() explaining its behaviour
copy_from_sockptr() has a history of misuse. Add a comment explaining that the function follows API of copy_from_user(), i.e. returns 0 for success, or number of bytes not copied on error. Signed-off-by: Michal Luczaj <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/fpga/socfpga-a10.c')
0 files changed, 0 insertions, 0 deletions