Loading drivers/scsi/ufs/ufshcd.c +1 −3 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ int ufshcd_dump_regs(struct ufs_hba *hba, size_t offset, size_t len, 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; Loading Loading @@ -431,8 +431,6 @@ static void ufshcd_print_host_regs(struct ufs_hba *hba) ufshcd_print_clk_freqs(hba); if (hba->vops && hba->vops->dbg_register_dump) hba->vops->dbg_register_dump(hba); } static Loading Loading
drivers/scsi/ufs/ufshcd.c +1 −3 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ int ufshcd_dump_regs(struct ufs_hba *hba, size_t offset, size_t len, 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; Loading Loading @@ -431,8 +431,6 @@ static void ufshcd_print_host_regs(struct ufs_hba *hba) ufshcd_print_clk_freqs(hba); if (hba->vops && hba->vops->dbg_register_dump) hba->vops->dbg_register_dump(hba); } static Loading