Barry Song wrote: >>> + dev_dbg(dev->dev.parent, "%s enter\n", __func__); >>> + >>> + skb = dev_alloc_skb(sizeof(struct can_frame)); >> Use alloc_can_skb() please. > > I find alloc_can_skb() is not in mainline yet. It's still in > SocketCAN's local SVN tree. I'd like to place "can: provide library > functions for skb allocation" to blackfin's tree, but there is no git > hash for this patch yet. It will cause troubles to blackfin > maintenance. So what's the way for SocketCAN tree to be pulled by > upstream tree? What's the way Socket CAN tree sync with mainline? >
It's already in David Millers net-next-2.6 tree intended for 2.6.33 . http://git.kernel.org/?p=linux/kernel/git/davem/net-next-2.6.git;a=history;f=drivers/net/can;hb=HEAD You driver needs to be posted against net-next-2.6 anyway, so you can just pull it from git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6.git Regards, Oliver ps. Please reduce your replies to the relevant section of the discussion. Tnx. _______________________________________________ Socketcan-core mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-core
