aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorStefan Wahren <[email protected]>2015-05-09 07:58:09 +0000
committerDavid S. Miller <[email protected]>2015-05-11 11:01:20 -0400
commit268be0f7a7d9b3644bcb99568efba13cb208b627 (patch)
tree831fbcf9535f2394b7f66c8ffb2a7a7a672bf9d1 /drivers/mtd/lpddr/lpddr_cmds.c
parent7c0c82682873354490a5b67c77331bd65a356236 (diff)
net: qca_spi: Fix possible race during probe
Registering the netdev before setting the priv data is unsafe. So fix this possible race by setting the priv data first. Signed-off-by: Stefan Wahren <[email protected]> Cc: <[email protected]> # v3.18+ Fixes: 291ab06e (net: qualcomm: new Ethernet over SPI driver for QCA7000) Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions