lkml.org 
[lkml]   [2017]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[rcu:rcu/dev 46/46] kernel/rcu/tree.c:2785:2: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/dev
head: f09c1acfaa4b198694a31ba3e454c7d17c4fa680
commit: f09c1acfaa4b198694a31ba3e454c7d17c4fa680 [46/46] rcu: Add consistency checks for uses of segmented callback lists
config: tile-allmodconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout f09c1acfaa4b198694a31ba3e454c7d17c4fa680
# save the attached .config to linux build tree
make.cross ARCH=tile

All errors (new ones prefixed by >>):

kernel/rcu/tree.c: In function 'rcu_do_batch':
kernel/rcu/tree.c:2785:2: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2785:2: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2819:2: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2819:2: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
>> kernel/rcu/tree.c:2785:2: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
>> kernel/rcu/tree.c:2785:2: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:2819:2: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:2819:2: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c: In function 'rcu_start_future_gp':
kernel/rcu/tree.c:1745:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:1745:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:1747:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:1747:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:1745:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:1745:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:1747:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:1747:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c: In function 'rcu_start_gp':
kernel/rcu/tree.c:2374:2: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2374:2: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2376:2: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2376:2: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2374:2: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:2374:2: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:2376:2: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:2376:2: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c: In function '__note_gp_changes':
kernel/rcu/tree.c:1897:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:1897:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:1899:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:1899:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:1904:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:1904:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:1906:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:1906:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:1897:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:1897:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:1899:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:1899:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:1904:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:1904:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:1906:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:1906:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c: In function 'rcu_gp_cleanup':
kernel/rcu/tree.c:2195:2: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2195:2: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2197:2: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2197:2: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2195:2: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:2195:2: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:2197:2: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:2197:2: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c: In function 'rcu_report_qs_rdp':
kernel/rcu/tree.c:2539:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2539:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2541:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2541:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:2539:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:2539:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:2541:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:2541:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
In file included from kernel/rcu/tree.c:4255:0:
kernel/rcu/tree_plugin.h: In function 'init_nocb_callback_list':
kernel/rcu/tree_plugin.h:2408:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree_plugin.h:2408:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
>> kernel/rcu/tree_plugin.h:2408:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
>> kernel/rcu/tree_plugin.h:2408:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c: In function 'rcu_init_percpu_data':
kernel/rcu/tree.c:3793:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:3793:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:3793:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:3793:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c: In function '__call_rcu':
kernel/rcu/tree.c:3154:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:3154:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:3183:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:3183:3: warning: '__x' may be used uninitialized in this function [-Wuninitialized]
kernel/rcu/tree.c:3154:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:3154:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:3183:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg
kernel/rcu/tree.c:3183:3: error: call to '__xchg_called_with_bad_pointer' declared with attribute error: Bad argument size for xchg

vim +/__xchg_called_with_bad_pointer +2785 kernel/rcu/tree.c

2779 * Extract the list of ready callbacks, disabling to prevent
2780 * races with call_rcu() from interrupt handlers. Leave the
2781 * callback counts, as rcu_barrier() needs to be conservative.
2782 */
2783 local_irq_save(flags);
2784 WARN_ON_ONCE(cpu_is_offline(smp_processor_id()));
> 2785 rcu_segcblist_fsck(&rdp->cblist, 100);
2786 bl = rdp->blimit;
2787 trace_rcu_batch_start(rsp->name, rcu_segcblist_n_lazy_cbs(&rdp->cblist),
2788 rcu_segcblist_n_cbs(&rdp->cblist), bl);

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-02-15 02:36    [W:0.042 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site