linux_dsm_epyc7002/drivers/net/wimax/i2400m
Colin Ian King 1a914990ff wimax/i2400m: remove debug containing bogus calculation of index
The subtraction of the two pointers is automatically scaled by the
size of the size of the object the pointers point to, so the division
by sizeof(*i2400m->barker) is incorrect.  This has been broken since
day one of the driver and is only debug, so remove the debug completely.

Also move && in condition to clean up a checkpatch warning.

Addresses-Coverity: ("Extra sizeof expression")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-30 12:31:52 -07:00
..
control.c wimax/i2400m/control: Mark expected switch fall-through 2019-04-26 11:28:47 -04:00
debug-levels.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 268 2019-06-05 17:30:29 +02:00
debugfs.c wimax: no need to check return value of debugfs_create functions 2019-08-10 15:25:47 -07:00
driver.c wimax: no need to check return value of debugfs_create functions 2019-08-10 15:25:47 -07:00
fw.c wimax/i2400m: remove debug containing bogus calculation of index 2019-08-30 12:31:52 -07:00
i2400m-usb.h drivers: net: wimax: i2400m: i2400m-usb: Use time_after for time comparison 2017-05-09 09:40:33 -04:00
i2400m.h wimax: no need to check return value of debugfs_create functions 2019-08-10 15:25:47 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
netdev.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 268 2019-06-05 17:30:29 +02:00
op-rfkill.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 268 2019-06-05 17:30:29 +02:00
rx.c wimax/i2400m: remove redundant assignment to variable result 2019-08-28 14:49:37 -07:00
sysfs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 268 2019-06-05 17:30:29 +02:00
tx.c wimax/i2400m: use struct_size() helper 2019-05-04 00:04:31 -04:00
usb-debug-levels.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 268 2019-06-05 17:30:29 +02:00
usb-fw.c wimax: usb-fw: mark expected switch fall-through 2018-08-11 11:29:36 -07:00
usb-notif.c net: wimax: i2400m: usb-notif: don't print error when allocating urb fails 2016-08-13 14:53:40 -07:00
usb-rx.c net: drivers/net: Remove unnecessary skb_copy_expand OOM messages 2018-03-15 14:28:03 -04:00
usb-tx.c wimax: usb-tx: mark expected switch fall-through 2018-08-11 11:29:36 -07:00
usb.c wimax: no need to check return value of debugfs_create functions 2019-08-10 15:25:47 -07:00