all of those should be umode_t...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
        void __iomem *base;
     };
 
-    struct dentry *debugfs_create_regset32(const char *name, mode_t mode,
+    struct dentry *debugfs_create_regset32(const char *name, umode_t mode,
                                     struct dentry *parent,
                                     struct debugfs_regset32 *regset);
 
 
 
        if ((md->area_type & MMC_BLK_DATA_AREA_BOOT) &&
             card->ext_csd.boot_ro_lockable) {
-               mode_t mode;
+               umode_t mode;
 
                if (card->ext_csd.boot_ro_lock & EXT_CSD_BOOT_WP_B_PWR_WP_DIS)
                        mode = S_IRUGO;
 
 
 struct bnad_debugfs_entry {
        const char *name;
-       mode_t  mode;
+       umode_t  mode;
        const struct file_operations *fops;
 };
 
 
  * %NULL or !%NULL instead as to eliminate the need for #ifdef in the calling
  * code.
  */
-struct dentry *debugfs_create_regset32(const char *name, mode_t mode,
+struct dentry *debugfs_create_regset32(const char *name, umode_t mode,
                                       struct dentry *parent,
                                       struct debugfs_regset32 *regset)
 {
 
 {
        unsigned int i;
        struct nfsd_fault_inject_op *op;
-       mode_t mode = S_IFREG | S_IRUSR | S_IWUSR;
+       umode_t mode = S_IFREG | S_IRUSR | S_IWUSR;
 
        debug_dir = debugfs_create_dir("nfsd", NULL);
        if (!debug_dir)
 
                                  struct dentry *parent,
                                  struct debugfs_blob_wrapper *blob);
 
-struct dentry *debugfs_create_regset32(const char *name, mode_t mode,
+struct dentry *debugfs_create_regset32(const char *name, umode_t mode,
                                     struct dentry *parent,
                                     struct debugfs_regset32 *regset);
 
 }
 
 static inline struct dentry *debugfs_create_regset32(const char *name,
-                                  mode_t mode, struct dentry *parent,
+                                  umode_t mode, struct dentry *parent,
                                   struct debugfs_regset32 *regset)
 {
        return ERR_PTR(-ENODEV);