linux/drivers
Su Hui af618f0fd9 wifi: rtlwifi: rtl8192c: using calculate_bit_shift()
[ Upstream commit 1dedc3a669 ]

Using calculate_bit_shift() to replace _rtl92c_phy_calculate_bit_shift().
And fix the undefined bitwise shift behavior problem.

Fixes: 4295cd254a ("rtlwifi: Move common parts of rtl8192ce/phy.c")
Signed-off-by: Su Hui <suhui@nfschina.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20231219065739.1895666-5-suhui@nfschina.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-01-25 15:44:54 -08:00
..
accel accel/qaic: Implement quirk for SOC_HW_VERSION 2023-12-15 10:40:37 -07:00
accessibility accessibility: speakup: refactor deprecated strncpy 2023-10-05 13:34:05 +02:00
acpi ACPI: extlog: Clear Extended Error Log status when RAS_CEC handled the error 2024-01-25 15:44:40 -08:00
amba amba: bus: balance firmware node reference counting 2023-10-17 13:37:35 -05:00
android binder: fix comment on binder_alloc_new_buf() return value 2024-01-20 11:53:01 +01:00
ata SCSI fixes on 20231130 2023-12-02 06:27:20 +09:00
atm atm: solos-pci: Fix potential deadlock on &tx_queue_lock 2023-12-09 21:17:45 +00:00
auxdisplay auxdisplay: panel: Replace deprecated strncpy() with strtomem_pad() 2023-09-29 14:48:31 -07:00
base Char/Misc driver fixes for 6.7-rc5 2023-12-09 12:44:10 -08:00
bcma bcma: Add explicit of_device.h include 2023-04-14 15:32:56 +03:00
block virtio_blk: fix snprintf truncation compiler warning 2023-12-04 09:43:53 -05:00
bluetooth Bluetooth: Fix deadlock in vhci_send_frame 2023-12-15 11:29:16 -05:00
bus bus: moxtet: Add spi device table 2024-01-20 11:53:01 +01:00
cache riscv: RISCV_NONSTANDARD_CACHE_OPS shouldn't depend on RISCV_DMA_NONCOHERENT 2023-10-26 09:42:37 +02:00
cdrom cdrom: Remove now superfluous sentinel element from ctl_table array 2023-10-02 20:04:58 -06:00
cdx Char/Misc and other driver changes for 6.7-rc1 2023-11-03 14:51:08 -10:00
char hwrng: stm32 - add missing clk_disable_unprepare() in stm32_rng_init() 2024-01-25 15:44:41 -08:00
clk Fixes for a wrong clockname, a wrong clock-parent, a wrong clock-gate 2023-12-13 15:26:24 -08:00
clocksource RISC-V Patches for the 6.7 Merge Window, Part 2 2023-11-10 09:23:17 -08:00
comedi comedi: add HAS_IOPORT dependencies again 2023-10-05 13:34:05 +02:00
connector connector: Fix proc_event_num_listeners count not cleared 2024-01-02 14:13:48 +00:00
counter First set of Counter fixes for 6.6 2023-10-02 13:13:15 +02:00
cpufreq cpufreq: scmi: process the result of devm_of_clk_add_hw_provider() 2024-01-25 15:44:39 -08:00
cpuidle cpuidle: haltpoll: Do not enable interrupts when entering idle 2024-01-25 15:44:40 -08:00
crypto crypto: sahara - do not resize req->src when doing hash operations 2024-01-25 15:44:43 -08:00
cxl cxl/pmu: Ensure put_device on pmu devices 2023-12-14 21:54:45 -08:00
dax Many singleton patches against the MM code. The patch series which are 2023-11-02 19:38:47 -10:00
dca Mainly singleton patches all over the place. Series of note are: 2023-04-27 19:57:00 -07:00
devfreq PM / devfreq: rockchip-dfi: add support for RK3588 2023-10-19 21:21:16 +09:00
dio drivers: dio: fix possible memory leak in dio_init() 2022-11-09 15:12:37 +01:00
dma dmaengine: fsl-edma: fix DMA channel leak in eDMAv4 2023-12-11 20:14:29 +05:30
dma-buf dma-buf: fix check in dma_resv_add_fence 2023-11-27 20:00:47 +01:00
dpll dpll: sanitize possible null pointer dereference in dpll_pin_parent_pin_set() 2023-12-12 16:20:54 -08:00
edac EDAC/thunderx: Fix possible out-of-bounds string access 2024-01-25 15:44:37 -08:00
eisa EISA: Replace all non-returning strlcpy with strscpy 2023-07-27 10:04:42 -07:00
extcon extcon: realtek: add the error handler for nvmem_cell_read 2023-10-17 17:38:57 +09:00
firewire firewire: ohci: suppress unexpected system reboot in AMD Ryzen machines and ASM108x/VT630x PCIe cards 2024-01-05 21:28:08 +09:00
firmware firmware: qcom: qseecom: fix memory leaks in error paths 2024-01-25 15:44:53 -08:00
fpga Char/Misc and other driver changes for 6.7-rc1 2023-11-03 14:51:08 -10:00
fsi fsi: i2cr: Switch to use struct i2c_driver's .probe() 2023-08-22 15:51:33 +02:00
gnss driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
gpio gpio: dwapb: mask/unmask IRQ when disable/enale it 2023-12-21 11:19:01 +01:00
gpu drm/amd/display: Pass pwrseq inst for backlight and ABM 2024-01-20 11:53:01 +01:00
greybus Revert "greybus: gb-beagleplay: Ensure le for values in transport" 2023-12-05 09:10:01 +09:00
hid hid-for-linus-2023121901 2023-12-18 16:47:21 -08:00
hsi hsi: omap_ssi: Explicitly include correct DT includes 2023-07-31 23:17:57 +02:00
hte hte: Changes for v6.7-rc1 2023-10-31 18:32:51 -10:00
hv TTY/Serial changes for 6.7-rc1 2023-11-03 15:44:25 -10:00
hwmon hwmon: (corsair-psu) Fix probe when built-in 2023-12-08 10:36:02 -08:00
hwspinlock hwspinlock: qcom: add missing regmap config for SFPB MMIO implementation 2023-07-17 11:49:18 -07:00
hwtracing coresight: etm4x: Fix width of CCITMIN field 2024-01-20 11:53:02 +01:00
i2c i2c: core: Fix atomic xfer check for non-preempt config 2024-01-06 14:10:10 +01:00
i3c I3C for 6.7 2023-11-04 16:25:36 -10:00
idle x86: Fix CPUIDLE_FLAG_IRQ_ENABLE leaking timer reprogram 2024-01-25 15:44:37 -08:00
iio Revert "iio: hid-sensor-als: Add light color temperature support" 2023-12-19 08:08:20 +01:00
infiniband RDMA/irdma: Avoid free the non-cqp_request scratch 2023-12-04 20:02:41 -04:00
input Input updates for v6.7-rc6 2023-12-23 11:16:58 -08:00
interconnect interconnect: qcom: icc-rpm: Fix peak rate calculation 2023-12-06 17:00:42 +02:00
iommu iommufd 6.7 first rc pull request 2023-12-05 06:54:52 +09:00
ipack tty: make tty_operations::write()'s count size_t 2023-08-11 21:12:46 +02:00
irqchip - Flush the translation service tables to prevent unpredictable behavior 2023-11-19 13:49:32 -08:00
isdn hardening updates for v6.7-rc1 2023-10-30 19:09:55 -10:00
leds leds: ledtrig-tty: Free allocated ttyname buffer on deactivate 2024-01-20 11:53:02 +01:00
macintosh powerpc updates for 6.7 2023-11-03 10:07:39 -10:00
mailbox Moving repo 2023-11-05 18:45:32 -08:00
mcb mcb: fix error handling for different scenarios when parsing 2023-10-21 23:04:02 +02:00
md md: synchronize flush io with array reconfiguration 2024-01-25 15:44:46 -08:00
media Renesas R-Car VSP1 driver regression fix 2023-11-16 14:28:44 +01:00
memory IOMMU Updates for Linux v6.7 2023-11-09 13:37:28 -08:00
memstick memstick: jmb38x_ms: Annotate struct jmb38x_ms with __counted_by 2023-09-27 12:13:18 +02:00
message scsi: message: fusion: Initialize return value in mptfc_bus_reset() 2023-10-24 22:36:39 -04:00
mfd - Core Frameworks 2023-11-02 14:40:51 -10:00
misc misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write 2023-11-27 13:38:29 +00:00
mmc mmc: sdhci-sprd: Fix eMMC init failure after hw reset 2024-01-03 11:24:03 +01:00
most staging: most: Replace all non-returning strlcpy with strscpy 2023-06-01 07:07:37 -07:00
mtd mtd: Fix gluebi NULL pointer dereference caused by ftl notifier 2024-01-25 15:44:40 -08:00
mux mux: Explicitly include correct DT includes 2023-08-28 13:36:24 -05:00
net wifi: rtlwifi: rtl8192c: using calculate_bit_shift() 2024-01-25 15:44:54 -08:00
nfc nfc: virtual_ncidev: Add variable to check if ndev is running 2023-11-22 10:55:48 +00:00
ntb ntb: Check tx descriptors outstanding instead of head/tail for tx queue 2023-08-22 12:38:19 -04:00
nubus nubus: Don't list slot resources by default 2023-05-22 13:51:56 +02:00
nvdimm libnvdimm: remove kernel-doc warnings: 2023-10-18 09:48:05 -07:00
nvme nvme-pci: fix sleeping function called from interrupt context 2023-12-19 12:41:05 -08:00
nvmem nvmem: brcm_nvram: store a copy of NVRAM content 2023-12-15 13:15:02 +01:00
of Devicetree fixes for v6.7, take 1: 2023-12-07 12:22:36 -08:00
opp OPP: No need to defer probe from _opp_attach_genpd() 2023-10-17 11:11:28 +05:30
parisc parisc/power: Fix power soft-off when running on qemu 2023-11-18 18:59:30 +01:00
parport parport: parport_serial: Add Brainboxes device IDs and geometry 2024-01-20 11:53:02 +01:00
pci PCI: Add ACS quirk for more Zhaoxin Root Ports 2024-01-20 11:53:02 +01:00
pcmcia PCMCIA odd cleanups and fixes for v6.7-rc1 2023-11-07 16:40:42 -08:00
peci Update peci-next for v6.6-rc1 2023-08-08 10:53:30 +02:00
perf drivers/perf: hisi: Fix some event id for HiSilicon UC pmu 2024-01-25 15:44:38 -08:00
phy phy fixes for 6.7 2023-12-17 09:19:27 -08:00
pinctrl pinctrl: at91-pio4: use dedicated lock class for IRQ 2023-12-21 09:05:02 +01:00
platform platform/x86/intel/vsec: Fix xa_alloc memory leak 2024-01-25 15:44:39 -08:00
pmdomain Power management fixes for 6.7-rc4 2023-12-02 09:01:00 +09:00
pnp PNP: replace deprecated strncpy() with memcpy() 2023-10-20 19:50:40 +02:00
power USB/Thunderbolt changes for 6.7-rc1 2023-11-03 16:00:42 -10:00
powercap powercap: DTPM: Fix missing cpufreq_cpu_put() calls 2023-12-05 20:51:24 +01:00
pps driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
ps3 driver/ps3: Include <video/cmdline.h> for mode parsing 2023-02-20 14:56:51 +01:00
ptp ptp: ocp: fix bug in unregistering the DPLL subsystem 2023-12-29 08:37:23 +00:00
pwm pwm: bcm2835: Fix NPD in suspend/resume 2023-11-21 11:09:32 +01:00
rapidio rapidio: make all 'class' structures const 2023-10-05 13:51:35 +02:00
ras ras/debugfs: Fix error checking for debugfs_create_dir() 2023-05-16 21:12:23 +02:00
regulator regulator: Merge up pending fix 2023-10-30 13:14:27 +00:00
remoteproc remoteproc: st: Fix sometimes uninitialized ret in st_rproc_probe() 2023-10-16 11:24:34 -06:00
reset reset: Fix crash when freeing non-existent optional resets 2023-11-30 15:02:21 +01:00
rpmsg rpmsg: virtio: Replace deprecated strncpy with strscpy/_pad 2023-10-23 13:11:07 -06:00
rtc RTC for 6.7 2023-11-05 18:49:40 -08:00
s390 s390 updates for 6.7-rc7 2023-12-20 16:12:39 -08:00
sbus sbus: Explicitly include correct DT includes 2023-08-28 13:36:24 -05:00
scsi scsi: hisi_sas: Correct the number of global debugfs registers 2024-01-25 15:44:52 -08:00
sh sh: Remove superhyway bus support 2023-10-25 16:50:11 +02:00
siox siox: fix possible memory leak in siox_device_add() 2022-11-09 15:40:14 +01:00
slimbus driver core: make struct bus_type.uevent() take a const * 2023-01-27 13:45:52 +01:00
soc soc: qcom: llcc: Fix LLCC_TRP_ATTR2_CFGn offset 2024-01-25 15:44:53 -08:00
soundwire soundwire: intel_ace2x: fix AC timing setting for ACE2.x 2023-11-28 15:27:27 +05:30
spi spi: sh-msiof: Enforce fixed DTDL for R-Car H3 2024-01-25 15:44:39 -08:00
spmi spmi: rename spmi device lookup helper 2023-11-01 10:02:18 +00:00
ssb ssb: relax SSB_EMBEDDED dependencies 2023-10-19 10:26:26 +03:00
staging pwm: Changes for v6.7-rc1 2023-11-09 13:47:52 -08:00
target SCSI misc on 20231102 2023-11-02 15:13:50 -10:00
tc The main MIPS changes for 5.6: 2020-01-31 11:28:31 -08:00
tee OP-TEE fix for supplicant based device enumeration 2023-12-06 16:15:26 +01:00
thermal drivers/thermal/loongson2_thermal: Fix incorrect PTR_ERR() judgment 2024-01-25 15:44:40 -08:00
thunderbolt thunderbolt: Fix minimum allocated USB 3.x and PCIe bandwidth 2023-12-08 09:03:49 +02:00
tty serial: 8250_dw: Add ACPI ID for Granite Rapids-D UART 2023-12-07 10:48:56 +09:00
ufs scsi: ufs: qcom: Fix the return value when platform_get_resource_byname() fails 2024-01-25 15:44:52 -08:00
uio uio: Fix use-after-free in uio_open 2024-01-20 11:53:01 +01:00
usb USB-serial device ids for 6.7-rc6 2023-12-22 09:59:30 +01:00
vdpa pds_vdpa: set features order 2023-12-01 09:55:01 -05:00
vfio vfio/pds: Fix possible sleep while in atomic context 2023-11-27 09:29:03 -07:00
vhost virtio/vsock: send credit update during setting SO_RCVLOWAT 2024-01-25 15:44:52 -08:00
video fbdev: fsl-diu-fb: mark wr_reg_wa() static 2023-11-10 09:16:02 +01:00
virt configfs-tsm for v6.7 2023-11-04 15:58:13 -10:00
virtio virtio_ring: fix syncs DMA memory with different direction 2023-12-04 08:36:25 -05:00
w1 nvmem: add explicit config option to read old syntax fixed OF cells 2023-10-21 19:19:06 +02:00
watchdog - removed AR7 platform support 2023-11-10 09:19:46 -08:00
xen xen/events: fix error code in xen_bind_pirq_msi_to_irq() 2023-11-28 12:48:27 +01:00
zorro zorro: Include zorro.h in names.c 2023-08-21 13:27:44 +02:00
Kconfig - removed AR7 platform support 2023-11-10 09:19:46 -08:00
Makefile - removed AR7 platform support 2023-11-10 09:19:46 -08:00