* [next:master 2912/2956] fs/autofs4/root.c:466:25: sparse: incompatible types in comparison expression (different address spaces)
@ 2014-09-02 0:38 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2014-09-02 0:38 UTC (permalink / raw)
To: NeilBrown
Cc: Linux Memory Management List, Andrew Morton, Mark Brown, kbuild-all
tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 03af78748485f63e8ed21d2e2585b5d1ec862ba6
commit: 1e55998017283d2f630d00f5ebc8b75202edc120 [2912/2956] autofs4: d_manage() should return -EISDIR when appropriate in rcu-walk mode.
reproduce: make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> fs/autofs4/root.c:466:25: sparse: incompatible types in comparison expression (different address spaces)
vim +466 fs/autofs4/root.c
450 if (status)
451 return status;
452
453 if (rcu_walk) {
454 /* We don't need fs_lock in rcu_walk mode,
455 * just testing 'AUTOFS_INFO_NO_RCU' is enough.
456 * simple_empty() takes a spinlock, so leave it
457 * to last.
458 * We only return -EISDIR when certain this isn't
459 * a mount-trap.
460 */
461 struct inode *inode;
462 if (ino->flags & (AUTOFS_INF_EXPIRING | AUTOFS_INF_NO_RCU))
463 return 0;
464 if (d_mountpoint(dentry))
465 return 0;
> 466 inode = rcu_dereference(dentry->d_inode);
467 if (inode && S_ISLNK(inode->i_mode))
468 return -EISDIR;
469 if (list_empty(&dentry->d_subdirs))
470 return 0;
471 if (!simple_empty(dentry))
472 return -EISDIR;
473 return 0;
474 }
---
0-DAY kernel build testing backend Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-09-02 0:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-02 0:38 [next:master 2912/2956] fs/autofs4/root.c:466:25: sparse: incompatible types in comparison expression (different address spaces) kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox