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

Commit 46335119 authored by Dimitris Papastamos's avatar Dimitris Papastamos Committed by Mark Brown
Browse files

regmap: Fix incorrect arguments to kzalloc() call

parent 1044c180
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ static struct regmap_mmio_context *regmap_mmio_gen_context(void __iomem *regs,
		return ERR_PTR(-EINVAL);
	}

	ctx = kzalloc(GFP_KERNEL, sizeof(*ctx));
	ctx = kzalloc(sizeof(*ctx), GFP_KERNEL);
	if (!ctx)
		return ERR_PTR(-ENOMEM);