diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-02-10 22:34:12 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-02-14 12:32:02 +0300 |
commit | 1623ced247f7cb1b48a27cca6b0f17fe5ab5942b (patch) | |
tree | c6b5b07eaa29f4845dbeb033fcb34801517ab689 /scripts/lib/kdoc/kdoc_re.py | |
parent | e02e9b0374c378aab016ae8ace60d9d98ab8caa6 (diff) | |
download | linux-1623ced247f7cb1b48a27cca6b0f17fe5ab5942b.tar.xz |
x86/events/amd/iommu: Increase IOMMU_NAME_SIZE
The init_one_iommu() takes an unsigned int argument that can't be checked for
the boundaries at compile time and GCC complains about that when build with
`make W=1`:
arch/x86/events/amd/iommu.c:441:53: note: directive argument in the range [0, 4294967294]
arch/x86/events/amd/iommu.c:441:9: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 16
Increase the size to cover all possible cases.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20250210193412.483233-1-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions