[josef-btrfs:io-weight 6/9] block/blk-stat.c:37:5: error: 'struct blk_rq_stat' has no member named 'batch'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git io-weight
head:   7be3c576c00ecabac39a2a79a6e7b46e2aa7edc6
commit: 05875feadc8c151a002adbb5c6066008cb79fc4f [6/9] blk-ioweight
config: i386-randconfig-x079-201850 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 05875feadc8c151a002adbb5c6066008cb79fc4f
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the josef-btrfs/io-weight HEAD 7be3c576c00ecabac39a2a79a6e7b46e2aa7edc6 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   block/blk-stat.c: In function 'blk_rq_stat_sum':
>> block/blk-stat.c:37:5: error: 'struct blk_rq_stat' has no member named 'batch'
     dst->batch += src->batch;
        ^~
   block/blk-stat.c:37:19: error: 'struct blk_rq_stat' has no member named 'batch'
     dst->batch += src->batch;
                      ^~

vim +37 block/blk-stat.c

    28	
    29	/* src is a per-cpu stat, mean isn't initialized */
    30	void blk_rq_stat_sum(struct blk_rq_stat *dst, struct blk_rq_stat *src)
    31	{
    32		if (!src->nr_samples)
    33			return;
    34	
    35		dst->min = min(dst->min, src->min);
    36		dst->max = max(dst->max, src->max);
  > 37		dst->batch += src->batch;
    38	
    39		dst->mean = div_u64(src->time + dst->mean * dst->nr_samples,
    40					dst->nr_samples + src->nr_samples);
    41	
    42		dst->nr_samples += src->nr_samples;
    43		dst->size += src->size;
    44		dst->start_ns = min(dst->start_ns, src->start_ns);
    45		dst->end_ns = max(dst->end_ns, src->end_ns);
    46	}
    47	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux