[Bugme-new] [Bug 419] New: Bad use of GFP_DMA in S390 drivers
bugme-daemon at smtp.osdl.org
bugme-daemon at smtp.osdl.org
Thu Feb 27 21:18:06 PST 2003
http://bugme.osdl.org/show_bug.cgi?id=419
Summary: Bad use of GFP_DMA in S390 drivers
Kernel Version: 2.5.63
Status: NEW
Severity: normal
Owner: com.ibm at arndb.de
Submitter: willy at debian.org
GFP_DMA should always be ORed with GFP_ATOMIC or GFP_KERNEL, not used
by itself:
./drivers/s390/cio/css.c: sch = kmalloc (sizeof (*sch), GFP_DMA);
./drivers/s390/cio/device.c: cdev->private = kmalloc(sizeof(struct
ccw_device_private), GFP_DMA);
./drivers/s390/cio/device_ops.c: rcd_buf = kmalloc(ciw->count, GFP_DMA);
./drivers/s390/cio/qdio.c: irq_ptr=kmalloc(sizeof(struct
qdio_irq),GFP_DMA);
./drivers/s390/cio/qdio.c: irq_ptr->qdr=kmalloc(sizeof(struct
qdr),GFP_DMA);
./drivers/s390/net/netiucv.c: conn->rx_buff =
alloc_skb(NETIUCV_BUFSIZE_DEFAULT, GFP_DMA);
./drivers/s390/net/netiucv.c: conn->tx_buff =
alloc_skb(NETIUCV_BUFSIZE_DEFAULT, GFP_DMA);
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Bugme-new
mailing list