Skip to content

Commit 791833f

Browse files
committed
s390/hypfs_sprp: remove unneeded DMA zone allocation
Remove GFP_DMA flag when allocating memory to be used for diagnose 304. Diagnose 304 can access memory beyond the DMA zone. Suggested-by: Alexander Gordeev <[email protected]> Reviewed-by: Alexander Gordeev <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
1 parent eec5610 commit 791833f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/s390/hypfs/hypfs_sprp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ static int __hypfs_sprp_ioctl(void __user *user_area)
7474
int rc;
7575

7676
rc = -ENOMEM;
77-
data = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
77+
data = (void *)get_zeroed_page(GFP_KERNEL);
7878
diag304 = kzalloc(sizeof(*diag304), GFP_KERNEL);
7979
if (!data || !diag304)
8080
goto out;

0 commit comments

Comments
 (0)