Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ffd066c authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: core: Use GFP_NOIO and GFP_NOFAIL for memory allocation"

parents b0a99ce0 2047e7a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -366,7 +366,7 @@ int mmc_get_ext_csd(struct mmc_card *card, u8 **new_ext_csd)
	 * As the ext_csd is so large and mostly unused, we don't store the
	 * raw block in mmc_card.
	 */
	ext_csd = kzalloc(512, GFP_KERNEL);
	ext_csd = kzalloc(512, GFP_NOIO | __GFP_NOFAIL);
	if (!ext_csd)
		return -ENOMEM;