* by stat.
  */
 bool proc_fill_cache(struct file *file, struct dir_context *ctx,
-       const char *name, int len,
+       const char *name, unsigned int len,
        instantiate_t instantiate, struct task_struct *task, const void *ptr)
 {
        struct dentry *child, *dir = file->f_path.dentry;
             iter.task;
             iter.tgid += 1, iter = next_tgid(ns, iter)) {
                char name[10 + 1];
-               int len;
+               unsigned int len;
 
                cond_resched();
                if (!has_pid_permissions(ns, iter.task, HIDEPID_INVISIBLE))
             task;
             task = next_tid(task), ctx->pos++) {
                char name[10 + 1];
-               int len;
+               unsigned int len;
                tid = task_pid_nr_ns(task, ns);
                len = snprintf(name, sizeof(name), "%u", tid);
                if (!proc_fill_cache(file, ctx, name, len,
 
 /* Lookups */
 typedef struct dentry *instantiate_t(struct dentry *,
                                     struct task_struct *, const void *);
-extern bool proc_fill_cache(struct file *, struct dir_context *, const char *, int,
+bool proc_fill_cache(struct file *, struct dir_context *, const char *, unsigned int,
                           instantiate_t, struct task_struct *, const void *);
 
 /*