android_kernel_motorola_sm6225/drivers
Sagi Grimberg 268b3c6089 nvmet: don't check iosqes,iocqes for discovery controllers
commit d218a8a3003e84ab136e69a4e30dd4ec7dab2d22 upstream.

From the base spec, Figure 78:

  "Controller Configuration, these fields are defined as parameters to
   configure an "I/O Controller (IOC)" and not to configure a "Discovery
   Controller (DC).

   ...
   If the controller does not support I/O queues, then this field shall
   be read-only with a value of 0h

Just perform this check for I/O controllers.

Fixes: a07b4970f4 ("nvmet: add a generic NVMe target")
Reported-by: Belanger, Martin <Martin.Belanger@dell.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-24 11:07:33 +01:00
..
accessibility
acpi ACPI: configfs: add missing check after configfs_register_default_group() 2021-03-04 09:39:51 +01:00
amba amba: Fix resource leak for drivers without .remove 2021-03-04 09:39:46 +01:00
android binder: fix UAF when releasing todo list 2020-10-29 09:54:56 +01:00
ata ata: ahci_brcm: Add back regulators management 2021-03-04 09:39:40 +01:00
atm atm: idt77252: call pci_disable_device() on error path 2021-01-12 20:10:17 +01:00
auxdisplay auxdisplay: ht16k33: Fix refresh rate handling 2021-03-04 09:39:45 +01:00
base Revert "PM: runtime: Update device status before letting suppliers suspend" 2021-03-24 11:07:31 +01:00
bcma
block block: rsxx: fix error return code of rsxx_pci_probe() 2021-03-17 16:43:51 +01:00
bluetooth Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl 2021-03-07 12:18:57 +01:00
bus bus: fsl-mc: fix error return code in fsl_mc_object_allocate() 2020-12-30 11:26:02 +01:00
cdrom
char tpm_tis: Clean up locality release 2021-03-04 09:39:53 +01:00
clk clk: qcom: gcc-msm8998: Fix Alpha PLL type for all GPLLs 2021-03-04 09:39:47 +01:00
clocksource clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined 2021-03-04 09:39:44 +01:00
connector
cpufreq cpufreq: intel_pstate: Get per-CPU max freq via MSR_HWP_CAPABILITIES if available 2021-03-04 09:39:57 +01:00
cpuidle
crypto crypto: sun4i-ss - handle BigEndian for cipher 2021-03-04 09:39:54 +01:00
dax
dca
devfreq PM / devfreq: tegra30: Fix integer overflow on CPU's freq max out 2020-10-01 13:14:26 +02:00
dio
dma dmaengine: hsu: disable spurious interrupt 2021-03-04 09:39:43 +01:00
dma-buf dma-fence: Serialise signal enabling (dma_fence_enable_sw_signaling) 2020-10-01 13:14:24 +02:00
edac EDAC/amd64: Fix PCI component registration 2020-12-30 11:26:10 +01:00
eisa
extcon extcon: max77693: Fix modalias string 2020-12-30 11:26:03 +01:00
firewire
firmware firmware: arm_sdei: Use cpus_read_lock() to avoid races with cpuhp 2020-10-01 13:14:35 +02:00
fmc
fpga
fsi
gnss
gpio gpio: pcf857x: Fix missing first interrupt 2021-03-04 09:39:56 +01:00
gpu drm: meson_drv add shutdown function 2021-03-17 16:43:45 +01:00
hid HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter 2021-03-11 14:05:01 +01:00
hsi HSI: omap_ssi: Don't jump to free ID in ssi_add_controller() 2020-12-30 11:25:57 +01:00
hv Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind() 2021-03-04 09:39:41 +01:00
hwmon hwmon: (lm90) Fix max6658 sporadic wrong temperature reading 2021-03-17 16:43:51 +01:00
hwspinlock
hwtracing stm class: Fix module init return on allocation failure 2021-01-27 11:05:40 +01:00
i2c i2c: rcar: optimize cacheline to minimize HW race condition 2021-03-17 16:43:45 +01:00
ide block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
idle
iio iio: ad5504: Fix setting power-down state 2021-01-27 11:05:39 +01:00
infiniband RDMA/rxe: Fix missing kconfig dependency on CRYPTO 2021-03-11 14:05:00 +01:00
input Input: i8042 - add ASUS Zenbook Flip to noselftest list 2021-03-04 09:39:51 +01:00
iommu iommu/amd: Fix sleeping in atomic in increase_address_space() 2021-03-11 14:05:01 +01:00
ipack
irqchip irqchip/mips-cpu: Set IPI domain parent chip 2021-01-27 11:05:40 +01:00
isdn misdn: dsp: select CONFIG_BITREVERSE 2021-01-19 18:22:36 +01:00
leds leds: trigger: fix potential deadlock with libata 2021-02-03 23:23:25 +01:00
lightnvm lightnvm: select CONFIG_CRC32 2021-01-17 14:04:22 +01:00
macintosh
mailbox mailbox: avoid timer start from callback 2020-10-30 10:38:21 +01:00
mcb
md dm table: fix zoned iterate_devices based device capability checks 2021-03-11 14:05:01 +01:00
media media: v4l: vsp1: Fix bru null pointer access 2021-03-17 16:43:45 +01:00
memory memory: ti-aemif: Drop child node when jumping out loop 2021-03-04 09:39:34 +01:00
memstick block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
message scsi: mptfusion: Fix null pointer dereferences in mptscsih_remove() 2020-11-05 11:08:47 +01:00
mfd mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq() 2021-03-04 09:39:46 +01:00
misc lkdtm: don't move ctors to .rodata 2021-03-24 11:07:31 +01:00
mmc mmc: cqhci: Fix random crash when remove mmc module/card 2021-03-17 16:43:47 +01:00
mtd block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
mux
net net: dsa: b53: Support setting learning on port 2021-03-20 10:38:35 +01:00
nfc nfc: s3fwrn5: Release the nfc firmware 2020-12-30 11:26:04 +01:00
ntb NTB: hw: amd: fix an issue about leak system resources 2020-10-30 10:38:25 +01:00
nubus
nvdimm block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
nvme nvmet: don't check iosqes,iocqes for discovery controllers 2021-03-24 11:07:33 +01:00
nvmem
of of/fdt: Make sure no-map does not remove already reserved regions 2021-03-04 09:39:43 +01:00
opp
oprofile
parisc
parport
pci PCI: Fix pci_register_io_range() memory leak 2021-03-17 16:43:46 +01:00
pcmcia
perf drivers/perf: xgene_pmu: Fix uninitialized resource struct 2020-10-29 09:55:00 +01:00
phy phy: cpcap-usb: Fix warning for missing regulator_disable 2021-02-07 14:48:37 +01:00
pinctrl pinctrl: sunxi: Always call chained_irq_{enter, exit} in sunxi_pinctrl_irq_handler 2020-12-30 11:26:16 +01:00
platform platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016 2021-03-11 14:05:01 +01:00
pnp
power power: reset: at91-sama5d2_shdwc: fix wkupdbc mask 2021-03-04 09:39:43 +01:00
powercap powercap: restrict energy meter to root access 2020-11-10 21:11:27 +01:00
pps
ps3 powerpc/ps3: use dma_mapping_error() 2020-12-30 11:26:04 +01:00
ptp
pwm pwm: rockchip: rockchip_pwm_probe(): Remove superfluous clk_unprepare() 2021-03-04 09:39:48 +01:00
rapidio rapidio: fix the missed put_device() for rio_mport_add_riodev 2020-10-30 10:38:21 +01:00
ras
regulator regulator: s5m8767: Drop regulators OF node reference 2021-03-04 09:39:44 +01:00
remoteproc remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load 2021-02-13 13:51:14 +01:00
reset
rpmsg rpmsg: glink: Use complete_all for open states 2020-11-05 11:08:43 +01:00
rtc rtc: s5m: select REGMAP_I2C 2021-03-04 09:39:44 +01:00
s390 s390/dasd: fix hanging IO request during DASD driver unbind 2021-03-17 16:43:47 +01:00
sbus
scsi scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling 2021-03-17 16:43:46 +01:00
sfi
sh
siox
slimbus slimbus: qcom-ngd-ctrl: Avoid sending power requests without QMI 2020-12-30 11:25:57 +01:00
sn
soc drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[] 2021-02-03 23:23:24 +01:00
soundwire
spi spi: pxa2xx: Fix the controller numbering for Wildcat Point 2021-03-04 09:39:47 +01:00
spmi
ssb
staging staging: comedi: pcl818: Fix endian problem for AI command data 2021-03-17 16:43:50 +01:00
target scsi: target: core: Prevent underflow for service actions 2021-03-17 16:43:47 +01:00
tc
tee optee: add writeback to valid memory type 2020-12-02 08:48:12 +01:00
thermal thermal: rcar_thermal: Handle probe error gracefully 2020-10-01 13:14:39 +02:00
thunderbolt thunderbolt: Add the missed ida_simple_remove() in ring_request_msix() 2020-11-18 19:18:49 +01:00
tty vt/consolemap: do font sum unsigned 2021-03-07 12:18:57 +01:00
uio uio: Fix use-after-free in uio_unregister_device() 2020-11-18 19:18:49 +01:00
usb usbip: fix vudc usbip_sockfd_store races leading to gpf 2021-03-17 16:43:49 +01:00
uwb
vfio vfio/pci: Move dummy_resources_list init in vfio_pci_probe() 2021-01-06 14:44:59 +01:00
vhost vhost_net: fix ubuf refcount incorrectly when sendmsg fails 2021-01-12 20:10:19 +01:00
video udlfb: Fix memory leak in dlfb_usb_probe 2021-03-07 12:18:55 +01:00
virt drivers/virt/fsl_hypervisor: Fix error handling path 2020-10-29 09:55:09 +01:00
virtio
visorbus
vlynq
vme
w1 w1: mxc_w1: Fix timeout resolution problem leading to bus error 2020-11-05 11:08:47 +01:00
watchdog watchdog: mei_wdt: request stop on unregister 2021-03-04 09:39:55 +01:00
xen xen/events: avoid handling the same event on two cpus at the same time 2021-03-17 16:43:52 +01:00
zorro
Kconfig
Makefile