summaryrefslogtreecommitdiff
path: root/Documentation/controllers/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-03-19 17:53:38 -0700
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-03-23 10:55:58 +0100
commit9a5bf2f53b76b1619c602f9e751fe4c0e64713ca (patch)
treea4511e70adae38a5a223424c8fda038226ef47fe /Documentation/controllers/git@git.tavy.me:linux.git
parenta6e53d05ab849779d55ca985566a1da7f22435b9 (diff)
gpio: dwapb: reduce allocation to single kzalloc
Instead of kzalloc + kcalloc, Combine the two using a flexible array member. Allows using __counted_by for extra runtime analysis. Move counting variable to right after allocation as required by __counted_by. Signed-off-by: Rosen Penev <rosenp@gmail.com> Reviewed-by: Linus Walleij <linusw@kernel.org> Link: https://patch.msgid.link/20260320005338.30355-1-rosenp@gmail.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'Documentation/controllers/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions