linux/drivers/cxl
Dave Jiang cdafa67c02 cxl: Remove always true condition for cxlctl_validate_hw_command()
smatch warnings:
drivers/cxl/core/features.c:441 cxlctl_validate_hw_command() warn: always true condition '(scope >= 0) => (0-u32max >= 0)'

Remove the check entirely as it has no effect. Expectation is both of these
operations should be allowed for all check levels. They are read only and
have no change effects.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202504041033.2HBboAZR-lkp@intel.com/
Reviewed-by: Li Ming <ming.li@zohomail.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://patch.msgid.link/20250404165418.3032414-1-dave.jiang@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
2025-04-28 08:48:30 -07:00
..
core cxl: Remove always true condition for cxlctl_validate_hw_command() 2025-04-28 08:48:30 -07:00
acpi.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
cxl.h cxl/pci: Drop the parameter is_port of cxl_gpf_get_dvsec() 2025-04-09 12:48:18 -07:00
cxlmem.h Merge branch 'for-6.15/features' into cxl-for-next 2025-03-17 09:22:59 -07:00
cxlpci.h cxl/pci: Support Global Persistent Flush (GPF) 2025-03-14 15:50:22 -07:00
Kconfig cxl for v6.15 2025-04-02 20:04:43 -07:00
Makefile cxl/port: Fix CXL port initialization order when the subsystem is built-in 2024-10-25 16:06:49 -05:00
mem.c cxl: Introduce to_{ram,pmem}_{res,perf}() helpers 2025-02-04 13:48:18 -07:00
pci.c cxl: Fix devm host device for CXL fwctl initialization 2025-04-18 09:33:04 -07:00
pmem.c cxl/pci: Drop the parameter is_port of cxl_gpf_get_dvsec() 2025-04-09 12:48:18 -07:00
pmu.h cxl/pci: Find and register CXL PMU devices 2023-05-30 11:20:35 -07:00
port.c cxl/port: Constify 'struct bin_attribute' 2025-02-21 09:20:30 +01:00
security.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00