tree: git://git.cmpxchg.org/linux-mmotm.git master head: e077e8e0158533bb824f3e2d9c0eaaaf4679b0ca commit: cc63e257a83a56646e129827378db2184690f675 [326/458] kernel.h: implement DIV_ROUND_CLOSEST_ULL config: microblaze-allyesconfig (attached as .config) 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 cc63e257a83a56646e129827378db2184690f675 # save the attached .config to linux build tree make.cross ARCH=microblaze All warnings: >> sound/soc/codecs/pcm512x.c:34:0: warning: "DIV_ROUND_CLOSEST_ULL" redefined #define DIV_ROUND_CLOSEST_ULL(ll, d) \ ^ In file included from include/linux/list.h:8:0, from include/linux/module.h:9, from sound/soc/codecs/pcm512x.c:19: include/linux/kernel.h:110:0: note: this is the location of the previous definition #define DIV_ROUND_CLOSEST_ULL(x, divisor)( \ ^ >> sound/soc/codecs/pcm512x.c:34:0: warning: "DIV_ROUND_CLOSEST_ULL" redefined #define DIV_ROUND_CLOSEST_ULL(ll, d) \ ^ In file included from include/linux/list.h:8:0, from include/linux/module.h:9, from sound/soc/codecs/pcm512x.c:19: include/linux/kernel.h:110:0: note: this is the location of the previous definition #define DIV_ROUND_CLOSEST_ULL(x, divisor)( \ ^ vim +/DIV_ROUND_CLOSEST_ULL +34 sound/soc/codecs/pcm512x.c 5a3af129 Mark Brown 2014-02-06 18 #include 5a3af129 Mark Brown 2014-02-06 19 #include 5a3af129 Mark Brown 2014-02-06 20 #include 5a3af129 Mark Brown 2014-02-06 21 #include 5a3af129 Mark Brown 2014-02-06 22 #include 5a3af129 Mark Brown 2014-02-06 23 #include f086ba9d Peter Rosin 2015-01-28 24 #include 5a3af129 Mark Brown 2014-02-06 25 #include 5a3af129 Mark Brown 2014-02-06 26 #include 81249307 Peter Rosin 2015-01-28 27 #include 5a3af129 Mark Brown 2014-02-06 28 #include 5a3af129 Mark Brown 2014-02-06 29 5a3af129 Mark Brown 2014-02-06 30 #include "pcm512x.h" 5a3af129 Mark Brown 2014-02-06 31 f086ba9d Peter Rosin 2015-01-28 32 #define DIV_ROUND_DOWN_ULL(ll, d) \ f086ba9d Peter Rosin 2015-01-28 33 ({ unsigned long long _tmp = (ll); do_div(_tmp, d); _tmp; }) f086ba9d Peter Rosin 2015-01-28 @34 #define DIV_ROUND_CLOSEST_ULL(ll, d) \ f086ba9d Peter Rosin 2015-01-28 35 ({ unsigned long long _tmp = (ll)+(d)/2; do_div(_tmp, d); _tmp; }) f086ba9d Peter Rosin 2015-01-28 36 5a3af129 Mark Brown 2014-02-06 37 #define PCM512x_NUM_SUPPLIES 3 06d0ffcc Mark Brown 2014-02-06 38 static const char * const pcm512x_supply_names[PCM512x_NUM_SUPPLIES] = { 5a3af129 Mark Brown 2014-02-06 39 "AVDD", 5a3af129 Mark Brown 2014-02-06 40 "DVDD", 5a3af129 Mark Brown 2014-02-06 41 "CPVDD", 5a3af129 Mark Brown 2014-02-06 42 }; :::::: The code at line 34 was first introduced by commit :::::: f086ba9d5389cc9a309958c9e7c92460f1cfca5e ASoC: pcm512x: Support mastering BCLK/LRCLK using the PLL :::::: TO: Peter Rosin :::::: CC: Mark Brown --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation