aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorNan Li <nli@suse.com>2015-03-04 18:48:35 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-03-10 01:03:30 +0100
commit7b1a13228b321ea27bd53070bcd332417069ace8 (patch)
treeb6df03ad0b2d8fc4e184ad1486fd547b58eb9cdb /drivers/net/xen-netback/interface.c
parent9eccca0843205f87c00404b663188b88eb248051 (diff)
ACPI / sysfs: Treat the count field of counter_show() as unsigned
The count field is an unsigned 32bit value, and the counter_show() function should also treat it as a unsigned value. Otherwise the counter may show negative number as we found on a machine: ... gpe23: 0 invalid gpe24: -2071733 enabled gpe25: 0 invalid ... gpe_all: -2070980 sci: -2070949 Signed-off-by: Nan Li <nli@suse.com> Signed-off-by: Lee, Chun-Yi <jlee@suse.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions