mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[PATCH] update two drivers for poison.h
Update two drivers to use poison.h. Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
c9cf55285e
commit
b3c681e091
3 changed files with 11 additions and 3 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include <linux/kernel.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/pci.h>
|
||||
#include <linux/poison.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/atm.h>
|
||||
#include <linux/atmdev.h>
|
||||
|
|
@ -754,7 +755,7 @@ static void process_txdone_queue (struct fs_dev *dev, struct queue *q)
|
|||
fs_kfree_skb (skb);
|
||||
|
||||
fs_dprintk (FS_DEBUG_ALLOC, "Free trans-d: %p\n", td);
|
||||
memset (td, 0x12, sizeof (struct FS_BPENTRY));
|
||||
memset (td, ATM_POISON_FREE, sizeof(struct FS_BPENTRY));
|
||||
kfree (td);
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue