coreboot-kgpe-d16/src/drivers
John Zhao 83aac13590 drivers/usb: Replace return value -10 with variable
Coverity detects that value assigned to variable "ret" is overwritten
before it is used. Fix the issue by returning right value.

Found-by: Coverity CID 1255942, 1241836
TEST=None

Signed-off-by: John Zhao <john.zhao@intel.com>
Change-Id: I2e1fb5400ff64c6178bb30601896780f8d67b5c6
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44185
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-08-17 06:21:10 +00:00
..
amd drivers/amd/i2s_machine_dev: return if scope is NULL 2020-08-03 05:08:39 +00:00
ams
analogix/anx7625 src: Remove unused '#include <timer.h>' 2020-06-02 07:39:05 +00:00
asmedia src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
aspeed aspeed/ast2050: Fix when resources are added 2020-05-14 21:25:59 +00:00
broadcom src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
crb
elog ACPI,drivers/: Do not guard <acpi/acpi.h> 2020-06-18 12:56:01 +00:00
emulation/qemu drivers/emulation/qemu/bochs: Rewrite driver 2020-05-20 09:50:29 +00:00
generic drivers/generic/generic: Drop dead code 2020-07-09 23:54:30 +00:00
genesyslogic/gl9763e drivers/genesyslogic/gl9763e: Add driver for Genesys Logic GL9763E 2020-08-05 15:16:16 +00:00
gfx/generic src: Remove unused '#include <stdint.h>' 2020-05-13 08:48:17 +00:00
gic
i2c drivers/i2c/max98373: fix error message formatting 2020-07-28 19:18:28 +00:00
intel drivers/intel/fsp2_0: don't select FSP_USES_CB_STACK on FSP 2.0 platform 2020-08-13 16:45:25 +00:00
ipmi drivers/ipmi/ocp: Add ipmi set processor information 2020-08-03 05:24:27 +00:00
lenovo src: Remove unused 'include <types.h>' 2020-07-14 16:10:17 +00:00
maxim src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
mrc_cache drivers/mrc_cache: Avoid unused variable assignment 2020-07-26 21:26:04 +00:00
net drivers: Use SPDX identifiers 2020-05-25 22:19:21 +00:00
ocp/dmi drivers/ocp/dmi: Add OCP_DMI driver for populating SMBIOS from IPMI FRU data 2020-07-04 11:31:16 +00:00
parade src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
pc80 src: Change BOOL CONFIG_ to CONFIG() in comments & strings 2020-07-26 21:20:30 +00:00
ricoh/rce822
secunet/dmi
siemens/nc_fpga src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
sil/3114
smmstore Revert "src: Remove unused include <cpu/x86/smm.h>" 2020-07-28 06:05:20 +00:00
soundwire drivers/soundwire/alc5682: Support Realtek ALC5682 SoundWire device 2020-05-22 01:48:59 +00:00
spi src: Update bare access to BOOL CONFIG_ vals to CONFIG() 2020-07-26 21:21:03 +00:00
ti drivers/ti/tps65090: Drop dead code 2020-07-09 23:51:41 +00:00
tpm src: Remove unused 'include <types.h>' 2020-07-14 16:10:17 +00:00
uart src: Remove extra lines in license header 2020-07-26 20:57:18 +00:00
usb drivers/usb: Replace return value -10 with variable 2020-08-17 06:21:10 +00:00
vpd drivers/vpd: add VPD region VPD_RW_THEN_RO 2020-06-02 07:18:40 +00:00
wifi/generic drivers/wifi: Adapt generic wifi driver into a chip driver 2020-07-28 16:07:47 +00:00