Tiezhu Yang
00a9d1a860
MIPS: Loongson: Fix return value of loongson_hwmon_init
...
[ Upstream commit dece3c2a320b0a6d891da6ff774ab763969b6860 ]
When call function hwmon_device_register failed, use the actual
return value instead of always -ENOMEM.
Fixes: 64f09aa967 ("MIPS: Loongson-3: Add CPU Hwmon platform driver")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-29 10:24:35 +01:00
..
accessibility
acpi
ACPI: PM: Avoid attaching ACPI PM domain to certain devices
2019-12-21 10:42:06 +01:00
amba
android
ANDROID: binder: synchronize_rcu() when using POLLFREE.
2019-10-07 18:53:19 +02:00
ata
ahci: Do not export local variable ahci_em_messages
2020-01-29 10:24:30 +01:00
atm
atm: zatm: Fix empty body Clang warnings
2019-11-28 18:28:32 +01:00
auxdisplay
base
drivers/base/platform.c: kmemleak ignore a known leak
2019-12-05 15:35:04 +01:00
bcma
bcma: fix incorrect update of BCMA_CORE_PCI_MDIO_DATA
2020-01-29 10:24:31 +01:00
block
signal: Allow cifs and drbd to receive their terminating signals
2020-01-29 10:24:30 +01:00
bluetooth
Bluetooth: btusb: fix PM leak in error case of setup
2020-01-12 11:24:16 +01:00
bus
cdrom
cdrom: respect device capabilities during opening action
2020-01-04 13:41:02 +01:00
char
hwrng: omap3-rom - Call clk_disable_unprepare() on exit only if not idled
2020-01-04 13:39:15 +01:00
clk
clk: qcom: Fix -Wunused-const-variable
2020-01-29 10:24:27 +01:00
clocksource
clocksource/drivers/exynos_mct: Fix error path in timer resources initialization
2020-01-29 10:24:17 +01:00
connector
cpufreq
cpufreq: Register drivers only after CPU devices have been registered
2020-01-04 13:39:56 +01:00
cpuidle
cpuidle: Do not unset the driver if it is there already
2019-12-21 10:42:04 +01:00
crypto
crypto: caam - free resources in case caam_rng registration failed
2020-01-29 10:24:29 +01:00
dax
dca
devfreq
PM / devfreq: Check NULL governor in available_governors_show
2020-01-12 11:24:15 +01:00
dio
dma
dmaengine: imx-sdma: fix size check for sdma script_number
2020-01-29 10:24:34 +01:00
dma-buf
dma-buf: Fix memory leak in sync_file_merge()
2019-12-21 10:42:32 +01:00
edac
EDAC/ghes: Fix grain calculation
2020-01-04 13:39:51 +01:00
eisa
extcon
extcon: sm5502: Reset registers during initialization
2020-01-04 13:39:22 +01:00
firewire
net: add annotations on hh->hh_len lockless accesses
2020-01-12 11:24:19 +01:00
firmware
efi/gop: Fix memory leak in __gop_query32/64()
2020-01-12 11:24:21 +01:00
fmc
fpga
gpio
gpio: mpc8xxx: Add platform device to gpiochip->parent
2020-01-23 08:19:37 +01:00
gpu
drm/msm/dsi: Implement reset correctly
2020-01-29 10:24:34 +01:00
hid
HID: hidraw, uhid: Always report EPOLLOUT
2020-01-23 08:19:33 +01:00
hsi
hv
hwmon
hwmon: (shtc1) fix shtc1 and shtw1 id mask
2020-01-29 10:24:31 +01:00
hwspinlock
hwtracing
coresight: etm4x: Fix input validation for sysfs.
2019-12-21 10:41:33 +01:00
i2c
i2c: imx: don't print error message on probe defer
2019-12-21 10:41:11 +01:00
ide
idle
x86/cpu: Sanitize FAM6_ATOM naming
2019-05-14 19:19:34 +02:00
iio
iio: dac: ad5380: fix incorrect assignment to val
2020-01-29 10:24:31 +01:00
infiniband
RDMA/hns: Fixs hw access invalid dma memory error
2020-01-29 10:24:28 +01:00
input
Input: nomadik-ske-keypad - fix a loop timeout test
2020-01-29 10:24:07 +01:00
iommu
iommu/amd: Wait for completion of IOTLB flush in attach_device
2020-01-29 10:24:32 +01:00
ipack
irqchip
irqchip: ingenic: Error out if IRQ domain creation failed
2020-01-04 13:40:50 +01:00
isdn
staging: gigaset: add endpoint-type sanity check
2019-12-21 10:41:50 +01:00
leds
leds: leds-lp5562 allow firmware files up to the maximum length
2019-10-05 12:30:17 +02:00
lguest
lightnvm
macintosh
macintosh/windfarm_smu_sat: Fix debug output
2019-11-28 18:28:30 +01:00
mailbox
mailbox: handle failed named mailbox channel request
2019-08-04 09:33:41 +02:00
mcb
md
block: fix an integer overflow in logical block size
2020-01-23 08:19:38 +01:00
media
media: ov6650: Fix .get_fmt() V4L2_SUBDEV_FORMAT_TRY support
2020-01-29 10:24:35 +01:00
memory
memory: tegra: Fix integer overflow on tick value calculation
2019-05-25 18:26:49 +02:00
memstick
memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()'
2019-10-29 09:15:25 +01:00
message
scsi: mptfusion: Fix double fetch bug in ioctl
2020-01-23 08:19:39 +01:00
mfd
mfd: intel-lpss: Release IDA resources
2020-01-29 10:24:27 +01:00
misc
mic: avoid statically declaring a 'struct device'.
2020-01-29 10:24:29 +01:00
mmc
mmc: sdhci-brcmstb: handle mmc_of_parse() errors during probe
2020-01-29 10:24:17 +01:00
mtd
mtd: spi-nor: fix silent truncation in spi_nor_read()
2020-01-23 08:19:36 +01:00
net
net: qca_spi: Move reset_count to struct qcaspi
2020-01-29 10:24:34 +01:00
nfc
NFC: nxp-nci: Fix NULL pointer dereference after I2C communication error
2019-12-21 10:40:48 +01:00
ntb
ntb: intel: fix return value for ndev_vec_mask()
2019-11-28 18:28:52 +01:00
nubus
nvdimm
libnvdimm/pfn: fix fsdax-mode namespace info-block zero-fields
2019-08-04 09:33:29 +02:00
nvme
nvme: retain split access workaround for capability reads
2020-01-29 10:24:33 +01:00
nvmem
nvmem: core: return error code instead of NULL from nvmem_device_get
2019-11-25 09:52:16 +01:00
of
of: mdio: Fix a signedness bug in of_phy_get_and_connect()
2020-01-29 10:24:32 +01:00
oprofile
parisc
parisc: Disable HP HSC-PCI Cards to prevent kernel crash
2019-10-05 12:30:31 +02:00
parport
parport: load lowlevel driver if ports not found
2020-01-04 13:39:55 +01:00
pci
PCI/PTM: Remove spurious "d" from granularity message
2020-01-23 08:19:36 +01:00
pcmcia
perf
drivers/perf: arm_pmu: Fix failure path in PM notifier
2019-08-06 18:29:41 +02:00
phy
phy: phy-twl4030-usb: fix denied runtime access
2019-11-25 09:52:50 +01:00
pinctrl
pinctrl: sh-pfc: sh73a0: Fix fsic_spdif pin groups
2020-01-29 10:24:15 +01:00
platform
MIPS: Loongson: Fix return value of loongson_hwmon_init
2020-01-29 10:24:35 +01:00
pnp
power
power: supply: Init device wakeup after device_add()
2020-01-29 10:24:31 +01:00
powercap
x86/cpu: Sanitize FAM6_ATOM naming
2019-05-14 19:19:34 +02:00
pps
drivers/pps/pps.c: clear offset flags in PPS_SETPARAMS ioctl
2019-08-04 09:33:45 +02:00
ps3
ptp
pwm
pwm: meson: Don't disable PWM when setting duty repeatedly
2020-01-29 10:24:24 +01:00
rapidio
drivers/rapidio/rio_cm.c: fix potential oops in riocm_ch_listen()
2020-01-29 10:24:18 +01:00
ras
regulator
regulator: tps65086: Fix tps65086_ldoa1_ranges for selector 0xB
2020-01-29 10:24:19 +01:00
remoteproc
reset
reset: Fix potential use-after-free in __of_reset_control_get()
2019-11-25 09:53:42 +01:00
rpmsg
rtc
rtc: pcf8563: Clear event flags and disable interrupts before requesting irq
2020-01-29 10:24:26 +01:00
s390
scsi: zfcp: trace channel log even for FCP command responses
2019-12-21 10:42:10 +01:00
sbus
scsi
scsi: libfc: fix null pointer dereference on a null lport
2020-01-29 10:24:28 +01:00
sfi
sh
sn
soc
soc/fsl/qe: Fix an error code in qe_pin_request()
2020-01-29 10:24:20 +01:00
spi
spi: spi-fsl-spi: call spi_finalize_current_message() at the end
2020-01-29 10:24:25 +01:00
spmi
ssb
ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit
2019-05-31 06:48:12 -07:00
staging
staging: greybus: light: fix a couple double frees
2020-01-29 10:24:31 +01:00
target
scsi: target: core: Fix a pr_debug() argument
2020-01-23 08:19:43 +01:00
tc
thermal
thermal: cpu_cooling: Actually trace CPU load in thermal_power_cpu_get_power
2020-01-29 10:24:24 +01:00
thunderbolt
thunderbolt: Use 32-bit writes when writing ring producer/consumer
2019-11-06 12:18:14 +01:00
tty
serial: stm32: fix transmit_chars when tx is stopped
2020-01-29 10:24:25 +01:00
uio
usb
usb: host: xhci-hub: fix extra endianness conversion
2020-01-29 10:24:28 +01:00
uwb
vfio
vfio_pci: Enable memory accesses before calling pci_map_rom
2020-01-29 10:24:16 +01:00
vhost
vhost/vsock: accept only packets with the right dst_cid
2020-01-04 13:41:12 +01:00
video
backlight: lm3630a: Return 0 on success in update_status functions
2020-01-29 10:24:24 +01:00
virt
drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
2019-05-16 19:43:47 +02:00
virtio
virtio-balloon: fix managed page counts when migrating pages between zones
2019-12-21 10:41:57 +01:00
vlynq
vme
w1
w1: fix the resume command API
2019-05-31 06:48:15 -07:00
watchdog
watchdog: meson: Fix the wrong value of left time
2019-12-05 15:34:10 +01:00
xen
xen, cpu_hotplug: Prevent an out of bounds access
2020-01-29 10:24:18 +01:00
zorro
Kconfig
Makefile