diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2024-12-09 17:43:48 +0100 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2024-12-11 18:05:49 +0100 |
commit | 5fa49dd8e521a42379e5e41fcf2c92edaaec0a8b (patch) | |
tree | 813368bbddc40b95c782bb456533655f70c31117 /drivers/platform/x86/intel/pmt/class.c | |
parent | 41856638e6c4ed51d8aa9e54f70059d1e357b46e (diff) | |
download | linux-5fa49dd8e521a42379e5e41fcf2c92edaaec0a8b.tar.gz linux-5fa49dd8e521a42379e5e41fcf2c92edaaec0a8b.tar.bz2 linux-5fa49dd8e521a42379e5e41fcf2c92edaaec0a8b.zip |
s390/ipl: Fix never less than zero warning
DEFINE_IPL_ATTR_STR_RW() macro produces "unsigned 'len' is never less
than zero." warning when sys_vmcmd_on_*_store() callbacks are defined.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412081614.5uel8F6W-lkp@intel.com/
Fixes: 247576bf624a ("s390/ipl: Do not accept z/VM CP diag X'008' cmds longer than max length")
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions