Loading drivers/mmc/core/block.c +1 −4 Original line number Diff line number Diff line Loading @@ -957,7 +957,6 @@ static int mmc_sd_num_wr_blocks(struct mmc_card *card, u32 *written_blocks) u32 result; __be32 *blocks; u8 resp_sz = mmc_card_ult_capacity(card) ? 8 : 4; unsigned int noio_flag; struct mmc_request mrq = {}; struct mmc_command cmd = {}; Loading @@ -982,9 +981,7 @@ static int mmc_sd_num_wr_blocks(struct mmc_card *card, u32 *written_blocks) mrq.cmd = &cmd; mrq.data = &data; noio_flag = memalloc_noio_save(); blocks = kmalloc(resp_sz, GFP_KERNEL); memalloc_noio_restore(noio_flag); blocks = kmalloc(resp_sz, GFP_NOIO); if (!blocks) return -ENOMEM; Loading Loading
drivers/mmc/core/block.c +1 −4 Original line number Diff line number Diff line Loading @@ -957,7 +957,6 @@ static int mmc_sd_num_wr_blocks(struct mmc_card *card, u32 *written_blocks) u32 result; __be32 *blocks; u8 resp_sz = mmc_card_ult_capacity(card) ? 8 : 4; unsigned int noio_flag; struct mmc_request mrq = {}; struct mmc_command cmd = {}; Loading @@ -982,9 +981,7 @@ static int mmc_sd_num_wr_blocks(struct mmc_card *card, u32 *written_blocks) mrq.cmd = &cmd; mrq.data = &data; noio_flag = memalloc_noio_save(); blocks = kmalloc(resp_sz, GFP_KERNEL); memalloc_noio_restore(noio_flag); blocks = kmalloc(resp_sz, GFP_NOIO); if (!blocks) return -ENOMEM; Loading