diff options
| author | Jason Gunthorpe <[email protected]> | 2021-10-26 14:57:30 -0300 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2021-10-28 11:06:30 -0600 |
| commit | d0a9329d460cbc2f8150da520b1b75e397bbef9f (patch) | |
| tree | d6156e6253843c0c8d6ad8b20574d9cf1f5d871d | |
| parent | 9cef73918e15d2284e71022291a8a07901e80bad (diff) | |
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: c98e16b2fa12 ("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]>
| -rw-r--r-- | drivers/s390/cio/vfio_ccw_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/vfio_ccw_drv.c b/drivers/s390/cio/vfio_ccw_drv.c index 76099bcb765b..371558ec9204 100644 --- a/drivers/s390/cio/vfio_ccw_drv.c +++ b/drivers/s390/cio/vfio_ccw_drv.c @@ -161,7 +161,7 @@ static int vfio_ccw_sch_probe(struct subchannel *sch) return -ENODEV; } - private = kzalloc(sizeof(*private), GFP_KERNEL | GFP_DMA); + private = kzalloc(sizeof(*private), GFP_KERNEL); if (!private) return -ENOMEM; |