[PATCH] Clear up GFP confusion in rcpci45.c
[ Jeff, Pete: looks correct. Please check. --RR ] From: Matthew Wilcox <willy@debian.org> - Move PCI ID definitions to pci_ids.h - The GFP_DMA in rcpci45_init_one should be GFP_KERNEL because it's a pci_driver ->probe method, so it can sleep. - The GFP_DMA in RC_allocate_and_post_buffers should be GFP_ATOMIC because it's called from a timer function, so it must not sleep.
Showing
Please register or sign in to comment