Skip to contentSkip to conversation

s390 (5/7): kmalloc arguments.

PATCH Pete Zaitcev 1 participant 1 message Mar 7, 2003 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Review

Quoted 6 lines

Add missing GFP_KERNEL to kmallocs with GFP_DMA.

(quoted diff) +1 -1
-	sch = kmalloc (sizeof (*sch), GFP_DMA);
+	sch = kmalloc (sizeof (*sch), GFP_KERNEL | GFP_DMA);
 	if (sch == NULL)
 		return -ENOMEM;

Would you mind explaining why you are doing this?
What does GFP_DMA do on s390 and s390x?

-- Pete