I reported this earlier. Bob Peterson said he would write a fix. regards, dan carpenter
On Fri, Jul 31, 2015 at 04:51:38PM +0800, kbuild test robot wrote: > TO: Bob Peterson <rpete...@redhat.com> > CC: kbuild-...@01.org > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > master > head: 37bd1ea52d362219b1882814cb75bb365736890f > commit: 6afe4c76af372a6b453f33888e664beddc4647b4 [1529/5676] GFS2: Use > resizable hash table for glocks > :::::: branch date: 3 hours ago > :::::: commit date: 3 weeks ago > > fs/gfs2/glock.c:1798 gfs2_glock_iter_next() error: 'gi->gl' dereferencing > possible ERR_PTR() > > git remote add linux-next > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git remote update linux-next > git checkout 6afe4c76af372a6b453f33888e664beddc4647b4 > vim +1798 fs/gfs2/glock.c > > 85d1da67 Steven Whitehouse 2006-09-07 1782 return 0; > 85d1da67 Steven Whitehouse 2006-09-07 1783 } > 85d1da67 Steven Whitehouse 2006-09-07 1784 > 8fbbfd21 Steven Whitehouse 2007-08-01 1785 void gfs2_glock_exit(void) > 8fbbfd21 Steven Whitehouse 2007-08-01 1786 { > 97cc1025 Steven Whitehouse 2008-11-20 1787 > unregister_shrinker(&glock_shrinker); > 6afe4c76 Bob Peterson 2015-03-16 1788 > rhashtable_destroy(&gl_hash_table); > c4f68a13 Benjamin Marzinski 2007-08-23 1789 > destroy_workqueue(glock_workqueue); > b94a170e Benjamin Marzinski 2009-07-23 1790 > destroy_workqueue(gfs2_delete_workqueue); > 8fbbfd21 Steven Whitehouse 2007-08-01 1791 } > 8fbbfd21 Steven Whitehouse 2007-08-01 1792 > 6afe4c76 Bob Peterson 2015-03-16 1793 static void > gfs2_glock_iter_next(struct gfs2_glock_rht_iter *gi) > 7c52b166 Robert Peterson 2007-03-16 1794 { > bc015cb8 Steven Whitehouse 2011-01-19 1795 do { > 6afe4c76 Bob Peterson 2015-03-16 1796 gi->gl = > rhashtable_walk_next(&gi->hti); > bc015cb8 Steven Whitehouse 2011-01-19 1797 /* Skip entries for > other sb and dead entries */ > 6afe4c76 Bob Peterson 2015-03-16 @1798 } while ((gi->gl) && > ((gi->sdp != gi->gl->gl_name.ln_sbd) || > 6afe4c76 Bob Peterson 2015-03-16 1799 > __lockref_is_dead(&gi->gl->gl_lockref))); > 7c52b166 Robert Peterson 2007-03-16 1800 } > 7c52b166 Robert Peterson 2007-03-16 1801 > 6802e340 Steven Whitehouse 2008-05-21 1802 static void > *gfs2_glock_seq_start(struct seq_file *seq, loff_t *pos) > 7c52b166 Robert Peterson 2007-03-16 1803 { > 6afe4c76 Bob Peterson 2015-03-16 1804 struct > gfs2_glock_rht_iter *gi = seq->private; > 7c52b166 Robert Peterson 2007-03-16 1805 loff_t n = *pos; > 6afe4c76 Bob Peterson 2015-03-16 1806 int ret; > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation _______________________________________________ kbuild mailing list kbuild@lists.01.org https://lists.01.org/mailman/listinfo/kbuild