Message ID | alpine.DEB.2.21.1911030955460.2744@hadrien (mailing list archive) |
---|---|
State | Deferred |
Headers | show |
Series | scsi: ufs: fix call_kern.cocci warnings | expand |
--- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -117,7 +117,7 @@ int ufshcd_dump_regs(struct ufs_hba *hba if (offset % 4 != 0 || len % 4 != 0) /* keep readl happy */ return -EINVAL; - regs = kzalloc(len, GFP_KERNEL); + regs = kzalloc(len, GFP_ATOMIC); if (!regs) return -ENOMEM;