summaryrefslogtreecommitdiff
path: root/sound/oss/vidc.h
diff options
context:
space:
mode:
authorNetanel Belgazal <netanel@annapurnalabs.com>2017-02-09 15:21:35 +0200
committerDavid S. Miller <davem@davemloft.net>2017-02-09 22:27:06 -0500
commita8496eb81342393e4c8280a5ec27e1872a3fb9fd (patch)
tree204e1ce4b2e26fe971a06b11565204cb618b8cbc /sound/oss/vidc.h
parentb1669c9f5ac9d50651889e22e4a82f1b34af32d3 (diff)
net/ena: use READ_ONCE to access completion descriptors
Completion descriptors are accessed from the driver and from the device. To avoid reading the old value, use READ_ONCE macro. Signed-off-by: Netanel Belgazal <netanel@annapurnalabs.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/oss/vidc.h')
0 files changed, 0 insertions, 0 deletions
erspace will result in a SIGKILL and also cause the offending pages to be claimed so they are no longer used in future tasks. SIGKILL is used to ensure that the process does not try to coredump and result in an attempt to read the memory again from within kernel space. Although there is a HV call to scrub the memory (mem_scrub), there is no easy way to guarantee that the real memory address(es) are not used by other tasks. Clearing the error with mem_scrub would zero the memory and cause the other processes to proceed with bad data. The handling of other non-resumable errors remain unchanged and will cause a panic. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/gadget/function/u_uvc.h')