#!/bin/sh # Runs printf infrastructure using test_printf kernel module if /sbin/modprobe -q test_printf; then /sbin/modprobe -q -r test_printf echo "printf: ok" else echo "printf: [FAIL]" exit 1 fi ink rel='alternate' title='Atom feed' href='https://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
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
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>