linux-stable/drivers
Colin Ian King 074e30a3fc dma-buf: remove redundant initialization of sg_table
commit 531beb067c upstream.

sg_table is being initialized and is never read before it is updated
again later on, hence making the initialization redundant. Remove
the initialization.

Detected by clang scan-build:
"warning: Value stored to 'sg_table' during its initialization is
never read"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20170914230516.6056-1-colin.king@canonical.com
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-05 11:41:57 +02:00
..
accessibility
acpi ACPICA: acpi: acpica: fix acpi operand cache leak in nseval.c 2018-05-30 07:52:31 +02:00
amba ARM: amba: Don't read past the end of sysfs "driver_override" buffer 2018-05-01 12:58:21 -07:00
android ANDROID: binder: prevent transactions into own process. 2018-05-01 12:58:20 -07:00
ata libata: Fix compile warning with ATA_DEBUG enabled 2018-05-30 07:51:54 +02:00
atm atm: zatm: Fix potential Spectre v1 2018-05-16 10:10:29 +02:00
auxdisplay auxdisplay: img-ascii-lcd: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 2018-02-07 11:12:20 -08:00
base regmap: Correct comparison in regmap_cached 2018-05-30 07:52:41 +02:00
bcma
block block: null_blk: fix 'Invalid parameters' when loading module 2018-05-30 07:52:36 +02:00
bluetooth Bluetooth: btusb: Add device ID for RTL8822BE 2018-05-25 16:17:42 +02:00
bus
cdrom cdrom: do not call check_disk_change() inside cdrom_open() 2018-05-30 07:52:34 +02:00
char hwrng: stm32 - add reset during probe 2018-05-30 07:52:36 +02:00
clk clk: samsung: exynos3250: Fix PLL rates 2018-05-25 16:17:55 +02:00
clocksource clocksource/drivers/mips-gic-timer: Use correct shift count to extract data 2018-05-30 07:52:06 +02:00
connector
cpufreq cpufreq: Reorder cpufreq_online() error code path 2018-05-30 07:52:38 +02:00
cpuidle
crypto crypto: inside-secure - fix the invalidation step during cra_exit 2018-05-25 16:17:46 +02:00
dax
dca
devfreq PM / devfreq: Fix potential NULL pointer dereference in governor_store 2018-04-12 12:32:13 +02:00
dio
dma dmaengine: qcom: bam_dma: get num-channels and num-ees from dt 2018-05-30 07:52:37 +02:00
dma-buf dma-buf: remove redundant initialization of sg_table 2018-06-05 11:41:57 +02:00
edac x86/mce/AMD, EDAC/mce_amd: Enumerate Reserved SMCA bank type 2018-04-19 08:56:20 +02:00
eisa
extcon extcon: intel-cht-wc: Set direction and drv flags for V5 boost GPIO 2018-04-24 09:36:29 +02:00
firewire firewire-ohci: work around oversized DMA reads on JMicron controllers 2018-04-26 11:02:03 +02:00
firmware efi/arm*: Only register page tables when they exist 2018-05-30 07:52:34 +02:00
fmc
fpga fpga-manager: altera-ps-spi: preserve nCONFIG state 2018-05-01 12:58:24 -07:00
fsi
gpio gpio: fix error path in lineevent_create 2018-05-16 10:10:26 +02:00
gpu drm/i915: Always sanity check engine state upon idling 2018-06-05 11:41:57 +02:00
hid HID: roccat: prevent an out of bounds read in kovaplus_profile_activated() 2018-04-26 11:02:10 +02:00
hsi
hv Drivers: hv: vmbus: do not mark HV_PCIE as perf_device 2018-04-19 08:56:16 +02:00
hwmon hwmon: (pmbus/adm1275) Accept negative page register values 2018-05-30 07:52:34 +02:00
hwspinlock
hwtracing coresight: Use %px to print pcsr instead of %p 2018-05-30 07:52:32 +02:00
i2c i2c: mv64xxx: Apply errata delay only in standard mode 2018-05-30 07:52:31 +02:00
ide cdrom: do not call check_disk_change() inside cdrom_open() 2018-05-30 07:52:34 +02:00
idle
iio iio: imu: st_lsm6dsx: fix endianness in st_lsm6dsx_read_oneshot() 2018-03-28 18:24:49 +02:00
infiniband IB/core: Honor port_num while resolving GID for IB link layer 2018-05-30 07:52:32 +02:00
input Input: elan_i2c_smbus - fix corrupted stack 2018-06-05 11:41:56 +02:00
iommu iommu/mediatek: Fix protect memory setting 2018-05-30 07:52:30 +02:00
ipack
irqchip irqchip/qcom: Fix check for spurious interrupts 2018-05-09 09:51:56 +02:00
isdn
leds leds: pm8058: Silence pointer to integer size warning 2018-03-19 08:42:50 +01:00
lightnvm
macintosh drivers: macintosh: rack-meter: really fix bogus memsets 2018-05-30 07:52:27 +02:00
mailbox
mcb
md bcache: quit dc->writeback_thread when BCACHE_DEV_DETACHING is set 2018-05-30 07:52:30 +02:00
media media: cx25821: prevent out-of-bounds read on array card 2018-05-25 16:17:58 +02:00
memory
memstick
message scsi: mptfusion: Add bounds check in mptctl_hp_targetinfo() 2018-05-25 16:17:47 +02:00
mfd
misc cxl: Check if PSL data-cache is available before issue flush request 2018-05-30 07:52:33 +02:00
mmc mmc: sdhci-iproc: add SDHCI_QUIRK2_HOST_OFF_CARD_ON for cygnus 2018-05-30 07:51:48 +02:00
mtd mtd: rawnand: tango: Fix struct clk memory leak 2018-05-01 12:58:19 -07:00
mux mux: core: fix double get_device() 2018-01-17 09:45:27 +01:00
net i40e: Add delay after EMP reset for firmware to recover 2018-05-30 07:52:41 +02:00
nfc
ntb ntb_transport: Fix bug with max_mw_size parameter 2018-04-26 11:02:13 +02:00
nubus
nvdimm libnvdimm, namespace: use a safe lookup for dimm device name 2018-04-24 09:36:32 +02:00
nvme nvme-pci: disable APST for Samsung NVMe SSD 960 EVO + ASUS PRIME Z370-A 2018-05-30 07:52:29 +02:00
nvmem
of earlycon: Use a pointer table to fix __earlycon_table stride 2018-05-01 12:58:24 -07:00
oprofile
parisc parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode 2018-05-30 07:52:28 +02:00
parport parport_pc: Add support for WCH CH382L PCI-E single parallel port card. 2018-04-08 14:26:31 +02:00
pci PCI: hv: Fix 2 hang issues in hv_compose_msi_msg() 2018-06-05 11:41:55 +02:00
pcmcia PCMCIA / PM: Avoid noirq suspend aborts during suspend-to-idle 2018-05-30 07:52:39 +02:00
perf
phy phy: qcom-qmp: Fix phy pipe clock gating 2018-05-30 07:52:36 +02:00
pinctrl Revert "pinctrl: msm: Use dynamic GPIO numbering" 2018-06-05 11:41:55 +02:00
platform platform/x86: asus-wireless: Fix NULL pointer dereference 2018-05-09 09:51:55 +02:00
pnp
power power: supply: ltc2941-battery-gauge: Fix temperature units 2018-05-30 07:52:38 +02:00
powercap
pps
ps3
ptp
pwm pwm: rcar: Fix a condition to prevent mismatch value setting to duty 2018-04-24 09:36:34 +02:00
rapidio
ras
regulator regulator: of: Add a missing 'of_node_put()' in an error handling path of 'of_regulator_match()' 2018-05-30 07:52:41 +02:00
remoteproc remoteproc: imx_rproc: Fix an error handling path in 'imx_rproc_probe()' 2018-05-30 07:52:30 +02:00
reset
rpmsg
rtc rtc: goldfish: Add missing MODULE_LICENSE 2018-05-25 16:18:02 +02:00
s390 vfio-ccw: fence off transport mode 2018-05-30 07:52:37 +02:00
sbus
scsi cdrom: do not call check_disk_change() inside cdrom_open() 2018-05-30 07:52:34 +02:00
sfi
sh
sn
soc soc: qcom: wcnss_ctrl: Fix increment in NV upload 2018-05-30 07:52:35 +02:00
spi spi: bcm-qspi: fIX some error handling paths 2018-05-30 07:52:32 +02:00
spmi
ssb
staging staging: lustre: lmv: correctly iput lmo_root 2018-05-25 16:17:44 +02:00
target scsi: target: Fix fortify_panic kernel exception 2018-05-09 09:51:51 +02:00
tc
tee tee: shm: fix use-after-free via temporarily dropped reference 2018-05-22 18:53:57 +02:00
thermal thermal: exynos: Propagate error value from tmu_read() 2018-05-16 10:10:30 +02:00
thunderbolt thunderbolt: Prevent crash when ICM firmware is not running 2018-04-24 09:36:29 +02:00
tty serial: altera: ensure port->regshift is honored consistently 2018-05-25 16:18:00 +02:00
uio uio_hv_generic: check that host supports monitor page 2018-04-12 12:32:19 +02:00
usb xhci: workaround for AMD Promontory disabled ports wakeup 2018-05-30 07:51:56 +02:00
uwb
vfio vfio/pci: Virtualize Maximum Read Request Size 2018-04-24 09:36:34 +02:00
vhost vhost: Fix vhost_copy_to_user() 2018-04-19 08:56:16 +02:00
video fbdev: Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper(). 2018-05-30 07:52:12 +02:00
virt
virtio virtio_ring: fix num_free handling in error case 2018-03-15 10:54:32 +01:00
vlynq
vme
w1
watchdog watchdog: asm9260_wdt: fix error handling in asm9260_wdt_probe() 2018-05-30 07:52:36 +02:00
xen xen/acpi: off by one in read_acpi_id() 2018-05-30 07:52:26 +02:00
zorro zorro: Set up z->dev.dma_mask for the DMA API 2018-05-30 07:52:30 +02:00
Kconfig
Makefile usb: build drivers/usb/common/ when USB_SUPPORT is set 2018-02-25 11:07:53 +01:00