RE: [PATCH 20/21] Introduce struct eeh_stats for EEH
From: David Laight <hidden> Date: 2012-02-28 10:04:50
=20
+struct eeh_stats {
+ unsigned int no_device; /* PCI device not found */
...
+ "no device =3D%d\n"
...
Use %u (for all the stats), you really don't want negative
values printed.
I've NFI how long wrapping these counters might take!
If it is feasable (maybe much above 100Hz) then you
need 64bit counters.
David