Thread (30 messages) 30 messages, 3 authors, 2012-02-28

Re: [PATCH 20/21] Introduce struct eeh_stats for EEH

From: Gavin Shan <hidden>
Date: 2012-02-28 01:23:03

 
quoted
+/*
+ * The struct is used to maintain the EEH global statistic
+ * information. Besides, the EEH global statistics will be
+ * exported to user space through procfs
+ */
+struct eeh_stats {
+	unsigned long no_device;	/* PCI device not found
*/
quoted
+	unsigned long no_dn;		/* OF node not found
*/
quoted
+	unsigned long no_cfg_addr;	/* Config address not  found
*/
quoted
+	unsigned long ignored_check;	/* EEH check skipped
*/
quoted
+	unsigned long total_mmio_ffs;	/* Total EEH checks
*/
quoted
+	unsigned long false_positives;	/* Unnecessary EEH checks
*/
quoted
+	unsigned long slot_resets;	/* PE reset
*/
quoted
+};
Why 'unsigned long', surely either 'unsigned int'
or a fixed-width type.
Thanks, David. Could you pls give more information on
how the fixed-width types benefits us?

Thanks,
Gavin
 
	David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help