anolis-cloud-kernel/drivers
Bart Van Assche b72f475f84 scsi: libsas: Introduce more SAM status code aliases in enum exec_status
ANBZ: #11194

commit cbc0f6b8be73fdaa60777343ce27ff93ebef2814 openeuler

mainline inclusion
from mainline-master
commit d377f415dd
category: bugfix
bugzilla: 175270
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d377f415dddc18b33c88dcd41cfe4fe6d9db82fb

------------------------------------------------------------------------

This patch prepares for converting SAM status codes into an enum. Without
this patch converting SAM status codes into an enumeration type would
trigger complaints about enum type mismatches for the SAS code.

Link: https://lore.kernel.org/r/20210524025457.11299-2-bvanassche@acm.org
Cc: Hannes Reinecke <hare@suse.com>
Cc: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Cc: Jason Yan <yanaijie@huawei.com>
Reviewed-by: John Garry <john.garry@huawei.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Ouyangdelong <ouyangdelong@huawei.com>
Signed-off-by: Nifujia <nifujia1@hisilicon.com>
Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com>
Signed-off-by: Slim6882 <yangjunshuo@huawei.com>
Signed-off-by: Min Li <gumi@linux.alibaba.com>
Reviewed-by: Guixin Liu <kanie@linux.alibaba.com>
Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: Xunlei Pang <xlpang@linux.alibaba.com>
Link: https://gitee.com/anolis/cloud-kernel/pulls/4229
2024-12-17 08:57:08 +00:00
..
accessibility tty: the rest, stop using tty_schedule_flip() 2022-07-29 17:19:28 +02:00
acpi anolis: sw64: topology: support initializing topology via DT or ACPI 2024-11-18 07:24:46 +00:00
amba
android binder: fix use-after-free in shinker's callback 2024-03-06 13:59:30 +00:00
ata anolis: Update Zhaoxin AHCI SGPIO driver 2024-11-18 18:53:34 +08:00
atm atm: idt77252: fix use-after-free bugs caused by tst_timer 2022-12-02 05:59:03 +00:00
auxdisplay
base scsi: remove unused kobj map for sd devie to avoid memleak 2024-12-17 08:57:08 +00:00
bcma
block virtio-blk: set req->state to MQ_RQ_COMPLETE after polling I/O is finished 2024-12-16 08:39:13 +00:00
bluetooth Bluetooth: hci_ldisc: check HCI_UART_PROTO_READY flag in HCIUARTGETPROTO 2023-10-25 07:33:45 +00:00
bus bus: ti-sysc: Fix warnings for unbind for serial 2022-06-14 18:32:34 +02:00
cdrom block: remove unnecessary argument from blk_execute_rq 2024-11-26 01:40:15 +00:00
char anolis: hwrng: zhaoxin-rng - remove redundant log information 2024-10-23 09:37:24 +00:00
clk clk: Fix clk_core_get NULL dereference 2024-08-16 09:09:17 +00:00
clocksource anolis: sw64: cpu: refactor cpuinfo related code 2024-11-18 07:24:46 +00:00
connector
counter
cpufreq cpufreq: intel_pstate: Update Balance-performance EPP for Granite Rapids 2024-11-25 09:16:50 +08:00
cpuidle anolis: cpuidle: Do not call default idle in idle=halt and haltpoll 2024-09-14 09:53:12 +08:00
crypto anolis: hct: Use open_device()/close_device() instead of open()/release(). 2024-11-12 13:28:27 +00:00
dax dax: Introduce alloc_dev_dax_id() 2024-08-05 02:12:42 +00:00
dca
devfreq PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events 2022-07-07 17:52:18 +02:00
dio
dma vfio/pci: Introduce vfio_pci_core.ko 2024-11-12 13:28:27 +00:00
dma-buf dma-buf/sw_sync: Avoid recursive lock during fence signal 2024-08-09 06:40:17 +00:00
edac EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper() 2024-08-07 03:51:15 +00:00
eisa
extcon extcon: Modify extcon device to be created after driver data is set 2022-06-14 18:32:43 +02:00
firewire firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region 2023-03-31 03:47:55 +00:00
firmware anolis: arm64: fix compiler warning in cper_print_proc_generic_zdi_zpi 2024-08-22 09:11:03 +00:00
fpga
fsi
gnss
gpio gpio: prevent potential speculation leaks in gpio_device_get_desc() 2024-11-13 02:00:39 +00:00
gpu vfio/gvt: Fix open/close when multiple device FDs are open 2024-11-12 13:28:27 +00:00
greybus
hid HID: logitech-hidpp: Fix kernel crash on receiver USB disconnect 2024-05-22 11:51:36 +00:00
hsi
hv mm/memory_hotplug: MEMHP_MERGE_RESOURCE -> MHP_MERGE_RESOURCE 2022-08-01 12:21:25 +00:00
hwmon hwmon: (adc128d818) Fix underflows seen when writing limit attributes 2024-11-13 02:08:55 +00:00
hwspinlock
hwtracing intel_th: pci: Add Sapphire Rapids SOC support 2024-09-05 02:06:43 +00:00
i2c anolis: sw_64: drive i2c for sw_64-8a 2024-10-30 15:51:51 +08:00
i3c
ide block: remove unnecessary argument from blk_execute_rq 2024-11-26 01:40:15 +00:00
idle intel_idle: fix ACPI _CST matching for newer Xeon platforms 2024-11-08 07:03:29 +00:00
iio driver: iio: add missing checks on iio_info's callback access 2024-10-10 02:25:41 +00:00
infiniband PCI: Add Alibaba Vendor ID to linux/pci_ids.h 2024-12-03 05:41:21 +00:00
input Input: synaptics-rmi4 - fix use after free in rmi_unregister_function() 2023-12-18 09:43:16 +00:00
interconnect interconnect: Restore sync state by ignoring ipa-virt in provider count 2022-06-14 18:32:47 +02:00
iommu iommu/arm-smmu-v3: Enable iotlb_sync_map according to SMMU_IIDR 2024-12-17 08:54:59 +00:00
ipack
irqchip irqchip/gic-v3: Always trust the managed affinity provided by the core code 2024-12-17 08:57:08 +00:00
isdn mISDN: Fix a use after free in hfcmulti_tx() 2024-11-01 03:14:12 +00:00
leds
lightnvm block: switch polling to be bio based 2024-11-26 01:40:15 +00:00
macintosh macintosh: via-pmu and via-cuda need RTC_LIB 2022-06-09 10:21:18 +02:00
mailbox mailbox: arm_mhuv2: Fix return value check in mhuv2_probe() 2024-03-01 06:26:34 +00:00
mcb
md dm cache: fix potential out-of-bounds access on the first resume 2024-12-12 02:36:39 +00:00
media anolis: Revert "dmaengine: Remove the last, used parameters in dma_async_is_tx_complete" 2024-06-03 11:32:38 +00:00
memory memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings 2022-06-29 08:59:54 +02:00
memstick memstick: r592: Fix UAF bug in r592_remove due to race condition 2023-07-04 01:37:28 +00:00
message scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition 2024-08-15 06:20:33 +00:00
mfd anolis: sw64: lpc: fix ast2400 driver error for C4 2024-09-06 17:11:52 +08:00
misc VMCI: Fix use-after-free when removing resource in vmci_resource_remove() 2024-10-15 07:43:57 +00:00
mmc block: remove unnecessary argument from blk_execute_rq 2024-11-26 01:40:15 +00:00
most
mtd spi: intel-pci: Add support for Granite Rapids SPI serial flash 2024-03-07 02:16:42 +00:00
mux
net net: geneve: add missing netlink policy and size for IFLA_GENEVE_INNER_PROTO_INHERIT 2024-12-12 11:00:01 +08:00
nfc nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition 2023-06-27 03:29:15 +00:00
ntb ntb: intel: add GNR support for Intel PCIe gen5 NTB 2023-12-05 13:28:12 +00:00
nubus
nvdimm block: switch polling to be bio based 2024-11-26 01:40:15 +00:00
nvme anolis: nvme: simultaneously change blkcg when set new bio bi_disk 2024-12-11 05:38:20 +00:00
nvmem
of of/irq: Prevent device address out-of-bounds read in interrupt map walk 2024-12-09 06:12:50 +00:00
opp OPP: call of_node_put() on error path in _bandwidth_supported() 2022-06-09 10:21:18 +02:00
oprofile
parisc anolis: platform: Support loongson laptop generic driver 2023-07-27 01:36:36 +00:00
parport
pci PCI: Move pci_clear_and_set_dword() helper to PCI header 2024-12-03 05:41:21 +00:00
pcmcia pcmcia: db1xxx_ss: restrict to MIPS_DB1XXX boards 2022-06-14 18:32:30 +02:00
perf perf/dwc_pcie: Fix typos in event names 2024-12-17 02:25:10 +00:00
phy anolis: riscv: remove unused T-HEAD Light file 2023-04-26 12:49:30 +00:00
pinctrl anolis: pinctrl: Add support Zhaoxin GPIO pinctrl 2024-08-09 19:32:32 +08:00
platform platform/x86: ISST: Fix the KASAN report slab-out-of-bounds bug 2024-12-12 02:31:44 +00:00
pnp
power power: supply: bq24190: Fix use after free bug in bq24190_remove due to race condition 2023-06-27 06:47:07 +00:00
powercap powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain 2024-08-07 05:55:44 +00:00
pps
ps3
ptp ptp: Fix ptp_kvm_getcrosststamp issue for x86 ptp_kvm 2023-10-18 10:25:06 +08:00
pwm anolis: riscv: pwm: add T-HEAD Light support 2023-02-26 01:51:05 +00:00
rapidio anolis: Revert "dmaengine: Remove the last, used parameters in dma_async_is_tx_complete" 2024-06-03 11:32:38 +00:00
ras RAS/AMD/ATL: Fix bit overflow in denorm_addr_df4_np2() 2024-05-20 15:36:16 +00:00
regulator anolis: riscv: regulator: add thead c910 aon virt driver 2023-02-26 01:51:05 +00:00
remoteproc remoteproc: Fix dma_mem leak after rproc_shutdown 2024-08-09 06:40:17 +00:00
reset reset: tegra-bpmp: Restore Handle errors in BPMP response 2022-04-27 13:53:52 +02:00
rpmsg rpmsg: qcom_smd: Fix returning 0 if irq_of_parse_and_map() fails 2022-06-14 18:32:32 +02:00
rtc rtc: mc146818-lib: fix locking in mc146818_set_time 2024-08-06 10:58:20 +00:00
s390 block: switch polling to be bio based 2024-11-26 01:40:15 +00:00
sbus
scsi scsi: libsas: Introduce more SAM status code aliases in enum exec_status 2024-12-17 08:57:08 +00:00
sfi
sh
siox
slimbus slimbus: qcom: Fix IRQ check in qcom_slim_probe 2022-05-18 10:23:47 +02:00
soc soc: kunpeng_hccs: fix some sparse warnings about incorrect type 2024-12-17 08:54:59 +00:00
soundwire
spi anolis: sw64: match platform device by acpi method 2024-04-23 06:15:52 +00:00
spmi
ssb
staging media: rkvdec: fix use after free bug in rkvdec_remove 2023-07-24 05:57:57 +00:00
target block: remove unnecessary argument from blk_execute_rq_nowait 2024-11-26 01:40:15 +00:00
tc
tee
thermal thermal: sysfs: Fix cooling_device_stats_setup() error code path 2024-07-18 03:51:51 +00:00
thunderbolt
tty vc_screen: reload load of struct vc_data pointer in vcs_write() to avoid UAF 2024-09-10 03:08:53 +00:00
uio uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind 2024-09-29 02:11:03 +00:00
usb usb: dwc3: st: fix probed platform device ref count on probe error path 2024-12-09 06:42:27 +00:00
vdpa vdpa/mlx5: Use the correct dma device when registering memory 2023-07-04 11:10:18 +00:00
vfio anolis: vfio-pci: expose the vfio_device->open_count to user. 2024-11-21 12:17:36 +00:00
vhost vhost: Add smp_rmb() in vhost_enable_notify() 2024-12-17 08:54:59 +00:00
video anolis: fbdev: Fix panic when booting with ls2k500 BMC 2023-11-10 15:40:44 +08:00
virt virt: tdx-guest: Add RTMR update interface 2024-10-25 02:05:42 +00:00
virtio virtio: reenable config if freezing device failed 2024-08-20 05:56:36 +00:00
visorbus
vlynq
vme
w1 w1: w1_therm: fixes w1_seq for ds28ea00 sensors 2022-04-13 21:01:01 +02:00
watchdog watchdog: set cdev owner before adding 2024-08-19 02:14:32 +00:00
xen xen/pvcalls-back: fix double frees with pvcalls_new_active_socket() 2023-08-08 01:40:46 +00:00
zorro
Kconfig
Makefile