summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2025-03-24 22:46:51 +0300
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-03-26 16:31:49 +0300
commit623c3015d8c9b7d7c6b9796f6e3667428ab6327a (patch)
tree70d6b7e2a4b5bfcfef0cc0416db3c75979e6014d /scripts/generate_rust_target.rs
parentc3d944a367c0d9e4e125c7006e52f352e75776dc (diff)
downloadlinux-623c3015d8c9b7d7c6b9796f6e3667428ab6327a.tar.xz
ARM: 9445/1: clkdev: Mark some functions with __printf() attribute
Some of the functions are using printf() type of format, and compiler is not happy about them as is: clkdev.c:185:17: error: function ‘vclkdev_alloc’ might be a candidate for gnu_printf’ format attribute [-Werror=suggest-attribute=format] clkdev.c:224:9: error: function ‘vclkdev_create’ might be a candidate for gnu_printf’ format attribute [-Werror=suggest-attribute=format] clkdev.c:314:9: error: function ‘__clk_register_clkdev’ might be a candidate for ‘gnu_printf’ format attribute [-Werror=suggest-attribute=format] Fix the compilation errors by adding __printf() attributes. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions