]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rtc: armada38x: zalloc + calloc to single allocation
authorRosen Penev <rosenp@gmail.com>
Wed, 4 Mar 2026 22:53:29 +0000 (14:53 -0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 13 Mar 2026 10:22:04 +0000 (11:22 +0100)
commit5827fe59745dc717e878177f104f0c1a96cfcb7f
tree43946566f5296f30d8458d098409082f8ded7443
parent5ff89ef425d17a43b1a48173482f8bfe2ce4fcd1
rtc: armada38x: zalloc + calloc to single allocation

Use a flexible array member to simplify allocation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Link: https://patch.msgid.link/20260304225329.24510-1-rosenp@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-armada38x.c