Skip to content

Commit d0a9329

Browse files
jgunthorpeawilliam
authored andcommitted
vfio/ccw: Remove unneeded GFP_DMA
Since the ccw_io_region was split out of the private the allocation no longer needs the GFP_DMA. Remove it. Reported-by: Christoph Hellwig <[email protected]> Fixes: c98e16b ("s390/cio: Convert ccw_io_region to pointer") Reviewed-by: Matthew Rosato <[email protected]> Reviewed-by: Eric Farman <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alex Williamson <[email protected]>
1 parent 9cef739 commit d0a9329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/s390/cio/vfio_ccw_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ static int vfio_ccw_sch_probe(struct subchannel *sch)
161161
return -ENODEV;
162162
}
163163

164-
private = kzalloc(sizeof(*private), GFP_KERNEL | GFP_DMA);
164+
private = kzalloc(sizeof(*private), GFP_KERNEL);
165165
if (!private)
166166
return -ENOMEM;
167167

0 commit comments

Comments
 (0)