summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorwangdicheng <wangdicheng@kylinos.cn>2026-06-03 12:11:02 +0300
committerTakashi Iwai <tiwai@suse.de>2026-06-04 11:15:10 +0300
commitf1f16e1809c8f9e4a3c39f165efe114e0e292d8e (patch)
tree7c1d68bd6c4a6b2a54215b23c5b6f33326befe0e /scripts/stackusage
parent9beb7dbbc567bb6ad7741140dd359d805734e664 (diff)
downloadlinux-f1f16e1809c8f9e4a3c39f165efe114e0e292d8e.tar.xz
ALSA: usb-audio: qcom: Use PAGE_ALIGN macro for buffer size calculation
Use the kernel's PAGE_ALIGN() macro instead of open-coding the page alignment calculation. This improves code readability and follows kernel coding style. The manual calculation: mult = len / PAGE_SIZE; remainder = len % PAGE_SIZE; len = mult * PAGE_SIZE; len += remainder ? PAGE_SIZE : 0; is equivalent to: len = PAGE_ALIGN(len); Signed-off-by: wangdicheng <wangdicheng@kylinos.cn> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20260603091102.231370-4-wangdich9700@163.com
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions