can: fix bfin_can build error after alloc_candev() change
PATCH 1/1 can: fix bfin_can build error after alloc_candev() change
From: Barry Song <[email protected]>
Looks like commit a6e4bc530403 didn't include updates to drivers so the Blackfin CAN driver fails to build now.
--- drivers/net/can/bfin_can.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/can/bfin_can.c +2 -1
@@ -27,6 +27,7 @@#define DRV_NAME "bfin_can"#define BFIN_CAN_TIMEOUT 100 +#define TX_ECHO_SKB_MAX 1/* * bfin can private data
@@ -507,7 +508,7 @@ struct net_device *alloc_bfin_candev(void)struct net_device *dev;struct bfin_can_priv *priv; - dev =alloc_candev (sizeof (*priv)); + dev =alloc_candev (sizeof (*priv),TX_ECHO_SKB_MAX );if (!dev)return NULL ;
Signature · 1 line
1.7.0
Quoted 7 lines · Mike Frysinger
From: Barry Song <[email protected]>
Looks like commit
a6e4bc530403didn't include updates to drivers so the Blackfin CAN driver fails to build now.Signed-off-by Barry Song <[email protected]>Signed-off-by Mike Frysinger <[email protected]>
Oops, it did include updates for the drivers but at that time the bfin driver was not yet mainline but somewhere in the patch pipeline.
David Miller
AppliedFrom: Wolfgang Grandegger <[email protected]>
Date: Mon, 08 Mar 2010 20:47:44 +0100
Quoted 6 lines
Quoted 5 lines · Mike Frysinger
From: Barry Song <[email protected]>
Looks like commit
a6e4bc530403didn't include updates to drivers so the Blackfin CAN driver fails to build now.
Quoted 7 lines
Quoted 2 lines
Signed-off-by Barry Song <[email protected]>Signed-off-by Mike Frysinger <[email protected]>Oops, it did include updates for the drivers but at that time the bfin driver was not yet mainline but somewhere in the patch pipeline.
Applied.
Wolfgang et al., can we add netdev to the MAINTAINERS entry for CAN stuff so that I don't miss stuff like this?
Quoted 14 lines · David Miller
From: Wolfgang Grandegger <[email protected]>
Date: Mon, 08 Mar 2010 20:47:44 +0100Quoted 11 lines
Quoted 7 lines · Mike Frysinger
From: Barry Song <[email protected]>
Looks like commit
a6e4bc530403didn't include updates to drivers so the Blackfin CAN driver fails to build now.Signed-off-by Barry Song <[email protected]>Signed-off-by Mike Frysinger <[email protected]>Oops, it did include updates for the drivers but at that time the bfin driver was not yet mainline but somewhere in the patch pipeline.
Quoted 6 lines
Quoted 1 line
Applied.
Wolfgang et al., can we add netdev to the
MAINTAINERSentry for CAN stuff so that I don't miss stuff like this?
I see. Just sent a patch for net-2.6 adding "L: [email protected]".
Wolfgang.