OpenCloudOS-Kernel/kernel/irq
Yang Weijiang c9ad1a605c drivers/idxd: Fixup errors reported during DSA device migration
commit opencloudos.

When there's no MSI generated during LM, device dev_msi_list is
actually empty. Add empty check before process the list to prevent
returning an invalid entry pointer, therefore avoiding parsing
invalid memory and eventually eliminating induced error messages.

Signed-off-by: Yang Weijiang <weijiang.yang@intel.com>
Signed-off-by: Chen Zhuo <sagazchen@tencent.com>
Signed-off-by: Xinghui Li <korantli@tencent.com>
2024-06-11 21:18:02 +08:00
..
Kconfig platform-msi: Add device MSI infrastructure 2024-06-11 21:16:06 +08:00
Makefile genirq/timings: Add selftest for circular array 2019-06-12 10:47:04 +02:00
affinity.c genirq/affinity: Remove const qualifier from node_to_cpumask argument 2019-08-28 12:20:43 +02:00
autoprobe.c genirq: Delay deactivation in free_irq() 2019-07-03 10:12:28 +02:00
chip.c genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP 2024-06-11 21:07:38 +08:00
cpuhotplug.c genirq: Delay deactivation in free_irq() 2019-07-03 10:12:28 +02:00
debug.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk 2018-02-01 13:36:15 -08:00
debugfs.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
devres.c genirq/devres: Use struct_size() in devm_kzalloc() 2019-04-16 21:54:03 +02:00
dummychip.c genirq: Add missing SPDX identifiers 2018-03-20 14:23:28 +01:00
generic-chip.c genirq: Add missing SPDX identifiers 2018-03-20 14:23:28 +01:00
handle.c treewide: Switch printk users from %pf and %pF to %ps and %pS, respectively 2019-04-09 14:19:06 +02:00
internals.h genirq/chip: Use the first chip in irq_chip_compose_msi_msg() 2024-06-11 21:07:20 +08:00
ipi.c genirq: Fix various typos in comments 2018-12-18 14:22:28 +01:00
irq_sim.c irq/irq_sim: add irq_set_type() callback 2019-02-19 17:42:28 +01:00
irqdesc.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
irqdomain.c genirq/irqdomain: Implement get_name() method on irqchip fwnodes 2024-06-11 21:11:49 +08:00
manage.c genirq: Set auxiliary data for an interrupt 2024-06-11 21:16:08 +08:00
matrix.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
migration.c genirq/migration: Avoid out of line call if pending is not set 2018-06-06 15:18:20 +02:00
msi.c drivers/idxd: Fixup errors reported during DSA device migration 2024-06-11 21:18:02 +08:00
pm.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
proc.c tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
resend.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
settings.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
spurious.c treewide: Switch printk users from %pf and %pF to %ps and %pS, respectively 2019-04-09 14:19:06 +02:00
timings.c genirq/timings: Add selftest for next event computation 2019-06-12 10:47:05 +02:00