Skip to contentSkip to conversation

use __u64 rather than u64 in parisc statfs structs

PATCH In review Mike Frysinger 2 participants 3 messages Jan 28, 2007 – Jan 31, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 use __u64 rather than u64 in parisc statfs structs

the statfs header exports some structs to userspace ... the parisc statfs64 struct currently uses u64 so the trivial attached patch fixes it to use __u64 -mike

Use __u64 rather than u64 in the struct statfs64 exported to userspace.

include/asm-parisc/statfs.h +5 -5
@@ -30,11 +30,11 @@ struct statfs {
 struct statfs64 {
 	long f_type;
 	long f_bsize;
-	u64 f_blocks;
-	u64 f_bfree;
-	u64 f_bavail;
-	u64 f_files;
-	u64 f_ffree;
+	__u64 f_blocks;
+	__u64 f_bfree;
+	__u64 f_bavail;
+	__u64 f_files;
+	__u64 f_ffree;
 	__kernel_fsid_t f_fsid;
 	long f_namelen;
 	long f_frsize;
#1 lore raw
Quoted 3 lines · Mike Frysinger

the statfs header exports some structs to userspace ... the parisc statfs64 struct currently uses u64 so the trivial attached patch fixes it to use __u64 -mike

ack'd and merged. can you please not attach patches but properly send them inline so i don't have to edit them before applying them to my tree?
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#2 lore raw
In reply to Mike Frysinger
Quoted 3 lines · Mike Frysinger

the statfs header exports some structs to userspace ... the parisc statfs64 struct currently uses u64 so the trivial attached patch fixes it to use __u64 -mike

ack'd and merged. can you please not attach patches but properly send them inline so i don't have to edit them before applying them to my tree?