Re: [PATCH 1/9] vmbus: use rcu for per-cpu channel list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stephen,

[auto build test WARNING on next-20170216]
[cannot apply to linus/master linux/master tip/x86/core v4.9-rc8 v4.9-rc7 v4.9-rc6 v4.10-rc8]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Stephen-Hemminger/vmbus-cleanup-and-small-fixes/20170217-070713
reproduce:
        # apt-get install sparse
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

   include/linux/compiler.h:264:8: sparse: attribute 'no_sanitize_address': unknown attribute
>> drivers/hv/vmbus_drv.c:943:17: sparse: incompatible types in comparison expression (different modifiers)

vim +943 drivers/hv/vmbus_drv.c

   927		if (unlikely(!recv_int_page))
   928			return;
   929	
   930		for_each_set_bit(relid, recv_int_page, maxbits) {
   931			struct vmbus_channel *channel;
   932	
   933			if (!sync_test_and_clear_bit(relid, recv_int_page))
   934				continue;
   935	
   936			/* Special case - vmbus channel protocol msg */
   937			if (relid == 0)
   938				continue;
   939	
   940			rcu_read_lock();
   941	
   942			/* Find channel based on relid */
 > 943			list_for_each_entry_rcu(channel, &hv_cpu->chan_list, percpu_list) {
   944				if (channel->offermsg.child_relid != relid)
   945					continue;
   946	
   947				switch (channel->callback_mode) {
   948				case HV_CALL_ISR:
   949					vmbus_channel_isr(channel);
   950					break;
   951	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux