linux/drivers/net/can
Grant Likely b1608d69cb drivercore: revert addition of of_match to struct device
Commit b826291c, "drivercore/dt: add a match table pointer to struct
device" added an of_match pointer to struct device to cache the
of_match_table entry discovered at driver match time.  This was unsafe
because matching is not an atomic operation with probing a driver.  If
two or more drivers are attempted to be matched to a driver at the
same time, then the cached matching entry pointer could get
overwritten.

This patch reverts the of_match cache pointer and reworks all users to
call of_match_device() directly instead.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-05-18 12:32:23 -06:00
..
c_can Fix common misspellings 2011-03-31 11:26:23 -03:00
mscan drivercore: revert addition of of_match to struct device 2011-05-18 12:32:23 -06:00
sja1000 can: fix SJA1000 dlc for RTR packets 2011-05-05 11:02:22 -07:00
softing Fix common misspellings 2011-03-31 11:26:23 -03:00
usb Fix common misspellings 2011-03-31 11:26:23 -03:00
Kconfig can: c_can: Added support for Bosch C_CAN controller 2011-02-13 22:51:44 -08:00
Makefile can: c_can: Added support for Bosch C_CAN controller 2011-02-13 22:51:44 -08:00
at91_can.c Fix common misspellings 2011-03-31 11:26:23 -03:00
bfin_can.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
dev.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
flexcan.c can: flexcan: fix use after free of priv 2010-10-26 10:48:58 -07:00
janz-ican3.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mcp251x.c can: mcp251x: Allow pass IRQ flags through platform data. 2011-04-06 12:24:26 -07:00
pch_can.c pch_can: fix tseg1/tseg2 setting issue 2011-02-09 16:46:21 -08:00
slcan.c slcan: fix ldisc->open retval 2011-05-10 15:04:07 -07:00
ti_hecc.c Fix common misspellings 2011-03-31 11:26:23 -03:00
vcan.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00