[PATCH] fs/afs: Remove unnecessary integer promotion in format strings

Dipendra Khadka kdipendra88 at gmail.com
Sat Jan 3 01:05:00 PST 2026


>Fairly pointless churn for existing code.
>
>The message isn't really right either, 'short integers' are always
>promoted to 'int' whenever they are used.
>There is nothing special about variadic functions.

Yeah , I accept that but this patch is for consistency.
Other subsytems are migrating. There are very small 
printk statements with "%hd","%hx" and "%hu".

root at ubuntu:/home/ubuntu/linux# git grep "%hd" . | wc -l
48
root at ubuntu:/home/ubuntu/linux# git log --oneline 
b69053dd3ffb (HEAD -> master, origin/master, origin/HEAD) wifi: mt76: Remove blank line after mt792x firmware version dmesg
af7809f037e6 Revert "wifi: mt76: Strip whitespace from build ddate"
9528d5c091c5 Merge tag 'platform-drivers-x86-v6.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
349bd28a86f2 Merge tag 'vfio-v6.19-rc4' of https://github.com/awilliam/linux-vfio


Best Regards,
Dipendra




More information about the linux-afs mailing list