summaryrefslogtreecommitdiff
path: root/sound/oss/swarm_cs4297a.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-10-21 10:24:14 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-02-15 10:34:18 +0100
commit14a179f8e2735b51cb86c36dd95e8524b8419820 (patch)
tree4a971a1210a4c7104afb6235332d2e7dccbe2e19 /sound/oss/swarm_cs4297a.c
parent728fcf4a00854debfe25a7fa110b5c1e471b7027 (diff)
net: sunhme: Use net_device_stats from struct net_device
Instead of using a private copy of struct net_device_stats in struct happy_meal, use stats from struct net_device. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'sound/oss/swarm_cs4297a.c')
0 files changed, 0 insertions, 0 deletions
in the kernel. This patch series addresses both of these issues. The queues are fixed by simply zeroing the memory before use. PIO errors from userspace will result in a SIGBUS being sent to the user process. The MEM errors form userspace 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 'sound/soc/davinci/Kconfig')