twx-linux/drivers
Tom Rix 33b5bc9e70 octeontx2-af: initialize action variable
Clang static analysis reports this representative issue
rvu_npc.c:898:15: warning: Assigned value is garbage
  or undefined
  req.match_id = action.match_id;
               ^ ~~~~~~~~~~~~~~~

The initial setting of action is conditional on
 if (is_mcam_entry_enabled(...))
The later check of action.op will sometimes be garbage.
So initialize action.

Reduce setting of
  *(u64 *)&action = 0x00;
to
  *(u64 *)&action = 0;

Fixes: 967db3529eca ("octeontx2-af: add support for multicast/promisc packet replication feature")
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-03-26 14:14:04 -07:00
..
accessibility
acpi sound updates for 5.18 2022-03-23 15:11:12 -07:00
amba ARM: 9174/1: amba: Move EXPORT_SYMBOL() closer to definition 2022-02-28 13:59:18 +00:00
android
ata ata changes for 5.18-rc1 2022-03-23 14:35:59 -07:00
atm Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-03-17 13:56:58 -07:00
auxdisplay auxdisplay: lcd2s: Use proper API to free the instance of charlcd object 2022-03-03 00:30:31 +01:00
base Merge branch 'akpm' (patches from Andrew) 2022-03-22 16:11:53 -07:00
bcma bcma: gpio: remove redundant re-assignment of chip->owner 2022-03-10 18:17:53 +02:00
block Folio changes for 5.18 2022-03-22 17:03:12 -07:00
bluetooth Bluetooth: ath3k: remove superfluous header files 2022-03-18 17:12:09 +01:00
bus ARM driver updates for 5.18 2022-03-23 18:23:13 -07:00
cdrom
char ARM driver updates for 5.18 2022-03-23 18:23:13 -07:00
clk ARM driver updates for 5.18 2022-03-23 18:23:13 -07:00
clocksource asm-generic updates for 5.18 2022-03-23 18:03:08 -07:00
comedi
connector
counter counter: Stop using dev_get_drvdata() to get the counter device 2022-03-15 19:24:13 +01:00
cpufreq Merge branch 'pm-tools' 2022-03-18 18:46:15 +01:00
cpuidle ARM driver updates for 5.18 2022-03-23 18:23:13 -07:00
crypto VFIO updates for v5.18-rc1 2022-03-24 12:35:59 -07:00
cxl
dax Filesystem folio changes for 5.18 2022-03-22 18:26:56 -07:00
dca
devfreq
dio
dma ARM development updates for 5.18: 2022-03-21 10:55:18 -07:00
dma-buf
edac Merge branch 'edac-amd64' into edac-updates-for-v5.18 2022-03-21 10:34:57 +01:00
eisa
extcon
firewire
firmware ARM driver updates for 5.18 2022-03-23 18:23:13 -07:00
fpga
fsi
gnss
gpio spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
gpu flexible-array transformations for 5.18-rc1 2022-03-24 11:39:32 -07:00
greybus
hid asm-generic updates for 5.18 2022-03-23 18:03:08 -07:00
hsi
hv hyperv-next for 5.18 2022-03-24 12:30:37 -07:00
hwmon spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
hwspinlock
hwtracing flexible-array transformations for 5.18-rc1 2022-03-24 11:39:32 -07:00
i2c i2c: brcmstb: fix support for DSL and CM variants 2022-02-18 10:37:33 +01:00
i3c
idle cpuidle: intel_idle: Drop redundant backslash at line end 2022-03-17 14:32:59 +01:00
iio spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
infiniband Networking changes for 5.18. 2022-03-24 13:13:26 -07:00
input media updates for v5.18-rc1 2022-03-23 14:51:35 -07:00
interconnect
iommu media updates for v5.18-rc1 2022-03-23 14:51:35 -07:00
ipack
irqchip asm-generic updates for 5.18 2022-03-23 18:03:08 -07:00
isdn mISDN: fix typo "frame to short" -> "frame too short" 2022-03-21 13:26:38 +00:00
leds
macintosh
mailbox
mcb
md for-5.18/drivers-2022-03-18 2022-03-21 17:16:01 -07:00
media media updates for v5.18-rc1 2022-03-23 14:51:35 -07:00
memory ARM driver updates for 5.18 2022-03-23 18:23:13 -07:00
memstick memstick/mspro_block: simplify refcounting 2022-02-16 19:44:24 -07:00
message
mfd spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
misc Networking changes for 5.18. 2022-03-24 13:13:26 -07:00
mmc MMC core: 2022-03-23 14:39:51 -07:00
most
mtd spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
mux
net octeontx2-af: initialize action variable 2022-03-26 14:14:04 -07:00
nfc spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
ntb
nubus
nvdimm Folio changes for 5.18 2022-03-22 17:03:12 -07:00
nvme Folio changes for 5.18 2022-03-22 17:03:12 -07:00
nvmem nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property 2022-02-21 17:59:25 +01:00
of cma: factor out minimum alignment requirement 2022-03-22 15:57:05 -07:00
opp
parisc
parport
pci VFIO updates for v5.18-rc1 2022-03-24 12:35:59 -07:00
pcmcia ARM: pxa: remove Intel Imote2 and Stargate 2 boards 2022-02-28 15:08:14 +01:00
perf perf/marvell: Fix !CONFIG_OF build for CN10K DDR PMU driver 2022-03-09 12:31:00 +00:00
phy phy: Remove duplicated include in phy-fsl-lynx-28g.c 2022-03-16 19:34:34 -07:00
pinctrl ARM: DT updates for 5.18 2022-03-23 18:37:22 -07:00
platform sound updates for 5.18 2022-03-23 15:11:12 -07:00
pnp PNP update for 5.18-rc1 2022-03-21 14:46:01 -07:00
power
powercap powercap: DTPM: Fix spelling mistake "initialze" -> "initialize" 2022-03-01 18:59:35 +01:00
pps
ps3
ptp ptp: ocp: use snprintf() in ptp_ocp_verify() 2022-03-18 21:42:09 -07:00
pwm
rapidio
ras
regulator regulator: Updates for v5.18 2022-03-21 18:27:05 -07:00
remoteproc Qualcomm driver updates for v5.18 2022-03-01 19:24:21 +01:00
reset
rpmsg
rtc
s390 Networking changes for 5.18. 2022-03-24 13:13:26 -07:00
sbus
scsi flexible-array transformations for 5.18-rc1 2022-03-24 11:39:32 -07:00
sh
siox
slimbus
soc Networking changes for 5.18. 2022-03-24 13:13:26 -07:00
soundwire ASoC: Intel: sof_sdw: fix quirks for 2022 HP Spectre x360 13" 2022-03-07 13:13:15 +00:00
spi spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
spmi
ssb
staging Networking changes for 5.18. 2022-03-24 13:13:26 -07:00
target
tc
tee ARM driver updates for 5.18 2022-03-23 18:23:13 -07:00
thermal Merge branch 'thermal-hfi' 2022-03-18 19:00:26 +01:00
thunderbolt
tty Merge branch 'akpm' (patches from Andrew) 2022-03-22 16:11:53 -07:00
uio
usb media updates for v5.18-rc1 2022-03-23 14:51:35 -07:00
vdpa vdpa: fix use-after-free on vp_vdpa_remove 2022-03-06 06:06:50 -05:00
vfio hisi_acc_vfio_pci: Use its own PCI reset_done error handler 2022-03-15 11:41:32 -06:00
vhost Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-03-17 13:56:58 -07:00
video asm-generic updates for 5.18 2022-03-23 18:03:08 -07:00
virt virt: vmgenid: notify RNG of VM fork and supply generation ID 2022-03-12 18:00:56 -07:00
virtio mm: enforce pageblock_order < MAX_ORDER 2022-03-22 15:57:06 -07:00
visorbus treewide: Replace zero-length arrays with flexible-array members 2022-02-17 07:00:39 -06:00
vlynq
vme
w1
watchdog
xen xen/gnttab: fix gnttab_end_foreign_access() without page specified 2022-03-07 09:48:55 +01:00
zorro
Kconfig
Makefile