summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-04-12 04:50:38 +0300
committerPaolo Abeni <pabeni@redhat.com>2023-04-13 14:30:22 +0300
commit9a714997386ba110154dc444cdd0279f966151b2 (patch)
tree9269f15ccde69661ceecafbb02bac705b14d7b3f /drivers/usb
parent36647b206c014a0bf3ab17bc88f2c840eefd796c (diff)
downloadlinux-9a714997386ba110154dc444cdd0279f966151b2.tar.xz
mlx4: use READ_ONCE/WRITE_ONCE for ring indexes
Eric points out that we should make sure that ring index updates are wrapped in the appropriate READ_ONCE/WRITE_ONCE macros. Suggested-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions