aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorDavidlohr Bueso <[email protected]>2019-02-16 04:15:52 -0800
committerJason Gunthorpe <[email protected]>2019-02-20 14:42:41 -0700
commitec95e0fa21628ed25f12187fb1067b8b10ad7c9a (patch)
tree8bb2c7af451c445d3f72ec7994c91de477db4747 /drivers/usb/cdns3/cdns3-debug.h
parentd0e02bf6cd6da339a31f7ef6a10aba9ad362a4d9 (diff)
drivers/IB,qib: Fix pinned/locked limit check in qib_get_user_pages()
The current check does not take into account the previous value of pinned_vm; thus it is quite bogus as is. Fix this by checking the new value after the (optimistic) atomic inc. Signed-off-by: Davidlohr Bueso <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions