openwrt/target/linux/generic/files/include/linux
Thibaut VARENE c30a70fc9f generic: make switch_port_stats tx/rx_bytes long long
This generic structure defines tx_bytes and rx_bytes as unsigned long (u32),
while several devices would typically report unsigned long long (u64).

The code can work as is, but there's a chance that with a sufficiently fast
interface the overflow might happen too fast to be correctly noticed by the
consumers of this data.

This patch makes both field unsigned long long and updates the only known
consumer of this data: swconfig_leds.c

Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
2017-09-01 09:30:35 +02:00
..
platform_data brcm47xx: resolve GPIO conflict for WRT54GSv1 2017-07-02 22:44:06 +02:00
ar8216_platform.h ar8216: rework/fix AR8337 MAC swap handling 2015-12-20 14:25:45 +00:00
ath5k_platform.h generic: move ath5k_platform.h from ar71xx to generic files 2010-07-15 07:36:58 +00:00
ath9k_platform.h ath9k: drop obsolete patch 2017-04-08 14:30:00 +02:00
myloader.h ar71xx: Revert "added board support for compex wpj558" 2015-02-02 10:32:04 +00:00
routerboot.h kernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.h 2013-12-16 10:11:00 +00:00
rt2x00_platform.h mac80211: rt2x00: fold patches 2016-11-09 20:02:18 +01:00
rtl8366.h generic: rtl836x: add hw_reset field to struct rtl8366_smi 2012-08-02 09:54:21 +00:00
rtl8367.h generic: add driver for the the RTL8367R{B,-VB} switches 2012-10-18 07:22:56 +00:00
switch.h generic: make switch_port_stats tx/rx_bytes long long 2017-09-01 09:30:35 +02:00