From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8916870883794434171==" MIME-Version: 1.0 From: Biju Das To: kbuild-all@lists.01.org Subject: Re: [PATCH v5 3/3] drivers: dma: sh: Add DMAC driver for RZ/G2L SoC Date: Thu, 29 Jul 2021 14:08:09 +0000 Message-ID: < > In-Reply-To: List-Id: --===============8916870883794434171== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi All, Sorry for the noise. Please ignore my previous mails. %pad with reference t= o dma_addr_t type fixed the issue. Tested with aarch64 and nios2 tool chain. diff --git a/drivers/dma/sh/rz-dmac.c b/drivers/dma/sh/rz-dmac.c index db4e0a539906..ef82af06a3f3 100644 --- a/drivers/dma/sh/rz-dmac.c +++ b/drivers/dma/sh/rz-dmac.c @@ -475,8 +475,8 @@ rz_dmac_prep_dma_memcpy(struct dma_chan *chan, dma_addr= _t dest, dma_addr_t src, struct rz_dmac *dmac =3D to_rz_dmac(chan->device); struct rz_dmac_desc *desc; = - dev_dbg(dmac->dev, "%s channel: %d src=3D0x%llx dst=3D0x%llx len=3D= %ld\n", - __func__, channel->index, src, dest, len); + dev_dbg(dmac->dev, "%s channel: %d src=3D%pad dst=3D%pad len=3D%zx\= n", + __func__, channel->index, &src, &dest, len); = if (list_empty(&channel->ld_free)) return NULL; Regards, Biju > -----Original Message----- > From: Biju Das > Sent: 29 July 2021 14:51 > To: kernel test robot ; Vinod Koul > Cc: kbuild-all(a)lists.01.org; Prabhakar Mahadev Lad lad.rj(a)bp.renesas.com>; Chris Paterson ; > Geert Uytterhoeven ; dmaengine(a)vger.kernel.o= rg; > Chris Brandt ; linux-renesas-soc(a)vger.kerne= l.org > Subject: RE: [PATCH v5 3/3] drivers: dma: sh: Add DMAC driver for RZ/G2L > SoC > = > If I make format specifier %lld for dma_addr_t then ARM64 compiler is > happy, but nios compiler complains > = > If I make format specifier %d for dma_addr_t then ARM compiler complains, > but nios2 is happy > = > So what is the best way to handle format specifier for dma_addr_t for all > architectures? > = > Regards, > Biju > = > > Subject: RE: [PATCH v5 3/3] drivers: dma: sh: Add DMAC driver for > > RZ/G2L SoC > > > > Hi All, > > > > Looks like there is compiler issue with nios2 cross compilation > toolchain. > > > > As per the kernel documentation %pad is the format specifier for > > dma_addr_t. > > > > This toolchain does not like it. Please let me know if I am missing > > any thing here. > > > > The changes I made to fix the issue reported by bot:- > > ------------------- > > +++ b/drivers/dma/sh/rz-dmac.c > > @@ -475,7 +475,7 @@ rz_dmac_prep_dma_memcpy(struct dma_chan *chan, > > dma_addr_t dest, dma_addr_t src, > > struct rz_dmac *dmac =3D to_rz_dmac(chan->device); > > struct rz_dmac_desc *desc; > > > > - dev_dbg(dmac->dev, "%s channel: %d src=3D0x%llx dst=3D0x%llx > > len=3D%ld\n", > > + dev_dbg(dmac->dev, "%s channel: %d src=3D%lld dst=3D%lld > > + len=3D%zx\n", > > __func__, channel->index, src, dest, len); > > > > if (list_empty(&channel->ld_free)) > > > > compilation logs:- > > ------------------ > > dasb(a)ree-du1sdd5:~/dmaengine$ COMPILER_INSTALL_PATH=3D$HOME/0day > > COMPILER=3Dgcc-10.3.0 ~/bin/make.cross ARCH=3Dnios2 Compiler will be > > installed in /data/dasb/0day make --keep-going CONFIG_OF_ALL_DTBS=3Dy > > CONFIG_DTC=3Dy > > CROSS_COMPILE=3D/data/dasb/0day/gcc-10.3.0-nolibc/nios2-linux/bin/nios2- > > linux- --jobs=3D48 ARCH=3Dnios2 > > CALL scripts/atomic/check-atomics.sh > > CALL scripts/checksyscalls.sh > > :1515:2: warning: #warning syscall clone3 not implemented [-Wcpp] > > CHK include/generated/compile.h > > make[1]: *** No rule to make target 'arch/nios2/boot/dts/""', needed > > by 'arch/nios2/boot/dts/built-in.a'. > > make[1]: Target '__build' not remade because of errors. > > make: *** [Makefile:1842: arch/nios2/boot/dts] Error 2 > > CC drivers/dma/sh/rz-dmac.o > > In file included from ./include/linux/printk.h:456, > > from ./include/asm-generic/bug.h:22, > > from ./arch/nios2/include/generated/asm/bug.h:1, > > from ./include/linux/bug.h:5, > > from ./include/linux/thread_info.h:13, > > from ./include/asm-generic/current.h:5, > > from ./arch/nios2/include/generated/asm/current.h:1, > > from ./include/linux/sched.h:12, > > from ./include/linux/ratelimit.h:6, > > from ./include/linux/dev_printk.h:16, > > from ./include/linux/device.h:15, > > from ./include/linux/dma-mapping.h:7, > > from drivers/dma/sh/rz-dmac.c:12: > > drivers/dma/sh/rz-dmac.c: In function 'rz_dmac_prep_dma_memcpy': > > drivers/dma/sh/rz-dmac.c:478:21: warning: format '%p' expects argument > > of type 'void *', but argument 6 has type 'dma_addr_t' {aka 'unsigned > > int'} [-Wformat=3D] > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D%pad dst=3D%pad > len=3D%zx\n", > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ./include/linux/dynamic_debug.h:134:15: note: in definition of macro > > '__dynamic_func_call' > > 134 | func(&id, ##__VA_ARGS__); \ > > | ^~~~~~~~~~~ > > ./include/linux/dynamic_debug.h:166:2: note: in expansion of macro > > '_dynamic_func_call' > > 166 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \ > > | ^~~~~~~~~~~~~~~~~~ > > ./include/linux/dev_printk.h:123:2: note: in expansion of macro > > 'dynamic_dev_dbg' > > 123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) > > | ^~~~~~~~~~~~~~~ > > ./include/linux/dev_printk.h:123:23: note: in expansion of macro > 'dev_fmt' > > 123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) > > | ^~~~~~~ > > drivers/dma/sh/rz-dmac.c:478:2: note: in expansion of macro 'dev_dbg' > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D%pad dst=3D%pad > len=3D%zx\n", > > | ^~~~~~~ > > drivers/dma/sh/rz-dmac.c:478:42: note: format string is defined here > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D%pad dst=3D%pad > len=3D%zx\n", > > | ~^ > > | | > > | void * > > | %d > > In file included from ./include/linux/printk.h:456, > > from ./include/asm-generic/bug.h:22, > > from ./arch/nios2/include/generated/asm/bug.h:1, > > from ./include/linux/bug.h:5, > > from ./include/linux/thread_info.h:13, > > from ./include/asm-generic/current.h:5, > > from ./arch/nios2/include/generated/asm/current.h:1, > > from ./include/linux/sched.h:12, > > from ./include/linux/ratelimit.h:6, > > from ./include/linux/dev_printk.h:16, > > from ./include/linux/device.h:15, > > from ./include/linux/dma-mapping.h:7, > > from drivers/dma/sh/rz-dmac.c:12: > > drivers/dma/sh/rz-dmac.c:478:21: warning: format '%p' expects argument > > of type 'void *', but argument 7 has type 'dma_addr_t' {aka 'unsigned > > int'} [-Wformat=3D] > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D%pad dst=3D%pad > len=3D%zx\n", > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ./include/linux/dynamic_debug.h:134:15: note: in definition of macro > > '__dynamic_func_call' > > 134 | func(&id, ##__VA_ARGS__); \ > > | ^~~~~~~~~~~ > > ./include/linux/dynamic_debug.h:166:2: note: in expansion of macro > > '_dynamic_func_call' > > 166 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \ > > | ^~~~~~~~~~~~~~~~~~ > > ./include/linux/dev_printk.h:123:2: note: in expansion of macro > > 'dynamic_dev_dbg' > > 123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) > > | ^~~~~~~~~~~~~~~ > > ./include/linux/dev_printk.h:123:23: note: in expansion of macro > 'dev_fmt' > > 123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) > > | ^~~~~~~ > > drivers/dma/sh/rz-dmac.c:478:2: note: in expansion of macro 'dev_dbg' > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D%pad dst=3D%pad > len=3D%zx\n", > > | ^~~~~~~ > > drivers/dma/sh/rz-dmac.c:478:51: note: format string is defined here > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D%pad dst=3D%pad > len=3D%zx\n", > > | ~^ > > | | > > | void * > > | %d > > CHK kernel/kheaders_data.tar.xz > > AR drivers/dma/sh/built-in.a > > AR drivers/dma/built-in.a > > AR drivers/built-in.a > > make: Target '__all' not remade because of errors. > > > > Regards, > > Biju > > > > > -----Original Message----- > > > From: kernel test robot > > > Sent: 29 July 2021 12:34 > > > To: Biju Das ; Vinod Koul > > > > > > Cc: kbuild-all(a)lists.01.org; Biju Das ; > > > Prabhakar Mahadev Lad ; > > > Chris Paterson ; Geert Uytterhoeven > > > ; dmaengine(a)vger.kernel.org; Chris Brandt > > > ; linux-renesas-soc(a)vger.kernel.org > > > Subject: Re: [PATCH v5 3/3] drivers: dma: sh: Add DMAC driver for > > > RZ/G2L SoC > > > > > > Hi Biju, > > > > > > Thank you for the patch! Perhaps something to improve: > > > > > > [auto build test WARNING on vkoul-dmaengine/next] [also build test > > > WARNING on robh/for-next v5.14-rc3 next-20210728] [If your patch is > > > applied to the wrong git tree, kindly drop us a note. > > > And when submitting patch, we suggest to use '--base' as documented > > > in > > > https://jpn01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgi > > > t- > > > scm.com%2Fdocs%2Fgit-format- > > > patch&data=3D04%7C01%7Cbiju.das.jz%40bp.renesas.com%7C542bfff2887f > > > 48 > > > 8c2f > > > ef08d95284c66f%7C53d82571da1947e49cb4625a166a4a2a%7C0%7C0%7C63763155 > > > 51 > > > 6672 > > > 5253%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJ > > > BT > > > iI6I > > > k1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DTJFcD19oJIJ3tWbNwldGo4xy2aaAo > > > uJ > > > nopP > > > yZQ2tixo%3D&reserved=3D0] > > > > > > url: > > > https://jpn01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgi > > > th > > > ub.c > > > om%2F0day-ci%2Flinux%2Fcommits%2FBiju-Das%2FAdd-RZ-G2L-DMAC- > > > support%2F20210729- > > > 162632&data=3D04%7C01%7Cbiju.das.jz%40bp.renesas.com%7C542bfff2887 > > > f4 > > > 88c2 > > > fef08d95284c66f%7C53d82571da1947e49cb4625a166a4a2a%7C0%7C0%7C6376315 > > > 55 > > > 1667 > > > 25253%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLC > > > JB > > > TiI6 > > > Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3D%2Bg8o5Ec95AfQ5n39E6cJ6lnszi > > > AR > > > XpVw > > > g%2BRoQgBYQks%3D&reserved=3D0 > > > base: > > > https://jpn01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fg= it. > > > kern > > > el.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fvkoul%2Fdmaengine.git&am > > > p; > > > data > > > =3D04%7C01%7Cbiju.das.jz%40bp.renesas.com%7C542bfff2887f488c2fef08d952 > > > 84 > > > c66f > > > %7C53d82571da1947e49cb4625a166a4a2a%7C0%7C0%7C637631555166725253%7CU > > > nk > > > nown > > > %7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiL > > > CJ > > > XVCI > > > 6Mn0%3D%7C1000&sdata=3DPLRxI4C7cMH0H4QS6Dv045x8zx%2BIlFeb0mV0QLwfN > > > bQ > > > %3D& > > > amp;reserved=3D0 next > > > config: nios2-allyesconfig (attached as .config) > > > compiler: nios2-linux-gcc (GCC) 10.3.0 reproduce (this is a W=3D1 > > > build): > > > wget > > > https://jpn01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fr= aw. > > > gith > > > ubusercontent.com%2Fintel%2Flkp- > > > tests%2Fmaster%2Fsbin%2Fmake.cross&data=3D04%7C01%7Cbiju.das.jz%40 > > > bp > > > .ren > > > esas.com%7C542bfff2887f488c2fef08d95284c66f%7C53d82571da1947e49cb462 > > > 5a > > > 166a > > > 4a2a%7C0%7C0%7C637631555166725253%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC > > > 4w > > > LjAw > > > MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata= =3D > > > mR > > > WtzY > > > YmV9%2B8br%2BnBcClZz1roSj4GAxaesZbrtMNjYw%3D&reserved=3D0 -O > > > ~/bin/make.cross > > > chmod +x ~/bin/make.cross > > > # > > > https://jpn01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgi > > > th > > > ub.c > > > om%2F0day- > > > ci%2Flinux%2Fcommit%2Fcfd03e1dedb6793c62ca9acb9642dd314d44ac8e&d > > > at > > > a=3D04 > > > %7C01%7Cbiju.das.jz%40bp.renesas.com%7C542bfff2887f488c2fef08d95284c > > > 66 > > > f%7C > > > 53d82571da1947e49cb4625a166a4a2a%7C0%7C0%7C637631555166725253%7CUnkn > > > ow > > > n%7C > > > TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX > > > VC > > > I6Mn > > > 0%3D%7C1000&sdata=3DrVtsa8DjyZ4TY2hpwlKz%2F6e3kBSubO6VM58rh8ioiNA% > > > 3D > > > & > > > ;reserved=3D0 > > > git remote add linux-review > > > https://jpn01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgi > > > th > > > ub.c > > > om%2F0day- > > > ci%2Flinux&data=3D04%7C01%7Cbiju.das.jz%40bp.renesas.com%7C542bfff > > > 28 > > > 87f4 > > > 88c2fef08d95284c66f%7C53d82571da1947e49cb4625a166a4a2a%7C0%7C0%7C637 > > > 63 > > > 1555 > > > 166735210%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMz > > > Ii > > > LCJB > > > TiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DJb9197GDbxvSzKoZHxgDzTAX > > > nL > > > AqPL > > > 8KrH%2Bp7xJHu1A%3D&reserved=3D0 > > > git fetch --no-tags linux-review Biju-Das/Add-RZ-G2L-DMAC- > > > support/20210729-162632 > > > git checkout cfd03e1dedb6793c62ca9acb9642dd314d44ac8e > > > # save the attached .config to linux build tree > > > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-10.3.0 > > > make.cross > > > ARCH=3Dnios2 > > > > > > If you fix the issue, kindly add following tag as appropriate > > > Reported-by: kernel test robot > > > > > > All warnings (new ones prefixed by >>): > > > > > > In file included from include/linux/printk.h:456, > > > from include/asm-generic/bug.h:22, > > > from ./arch/nios2/include/generated/asm/bug.h:1, > > > from include/linux/bug.h:5, > > > from include/linux/thread_info.h:13, > > > from include/asm-generic/current.h:5, > > > from > ./arch/nios2/include/generated/asm/current.h:1, > > > from include/linux/sched.h:12, > > > from include/linux/ratelimit.h:6, > > > from include/linux/dev_printk.h:16, > > > from include/linux/device.h:15, > > > from include/linux/dma-mapping.h:7, > > > from drivers/dma/sh/rz-dmac.c:12: > > > drivers/dma/sh/rz-dmac.c: In function 'rz_dmac_prep_dma_memcpy': > > > >> drivers/dma/sh/rz-dmac.c:478:21: warning: format '%llx' expects > > > >> argument of type 'long long unsigned int', but argument 6 has > > > >> type 'dma_addr_t' {aka 'unsigned int'} [-Wformat=3D] > > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D0x%llx dst=3D0x%= llx > > > len=3D%ld\n", > > > | > > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > include/linux/dynamic_debug.h:134:15: note: in definition of > > > macro '__dynamic_func_call' > > > 134 | func(&id, ##__VA_ARGS__); \ > > > | ^~~~~~~~~~~ > > > include/linux/dynamic_debug.h:166:2: note: in expansion of macro > > > '_dynamic_func_call' > > > 166 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \ > > > | ^~~~~~~~~~~~~~~~~~ > > > include/linux/dev_printk.h:123:2: note: in expansion of macro > > > 'dynamic_dev_dbg' > > > 123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) > > > | ^~~~~~~~~~~~~~~ > > > include/linux/dev_printk.h:123:23: note: in expansion of macro > > > 'dev_fmt' > > > 123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) > > > | ^~~~~~~ > > > drivers/dma/sh/rz-dmac.c:478:2: note: in expansion of macro > 'dev_dbg' > > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D0x%llx dst=3D0x%= llx > > > len=3D%ld\n", > > > | ^~~~~~~ > > > drivers/dma/sh/rz-dmac.c:478:46: note: format string is defined > here > > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D0x%llx dst=3D0x%= llx > > > len=3D%ld\n", > > > | ~~~^ > > > | | > > > | long long > > unsigned > > > int > > > | %x > > > In file included from include/linux/printk.h:456, > > > from include/asm-generic/bug.h:22, > > > from ./arch/nios2/include/generated/asm/bug.h:1, > > > from include/linux/bug.h:5, > > > from include/linux/thread_info.h:13, > > > from include/asm-generic/current.h:5, > > > from > ./arch/nios2/include/generated/asm/current.h:1, > > > from include/linux/sched.h:12, > > > from include/linux/ratelimit.h:6, > > > from include/linux/dev_printk.h:16, > > > from include/linux/device.h:15, > > > from include/linux/dma-mapping.h:7, > > > from drivers/dma/sh/rz-dmac.c:12: > > > drivers/dma/sh/rz-dmac.c:478:21: warning: format '%llx' expects > > > argument of type 'long long unsigned int', but argument 7 has type > > > 'dma_addr_t' {aka 'unsigned int'} [-Wformat=3D] > > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D0x%llx dst=3D0x%= llx > > > len=3D%ld\n", > > > | > > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > include/linux/dynamic_debug.h:134:15: note: in definition of > > > macro '__dynamic_func_call' > > > 134 | func(&id, ##__VA_ARGS__); \ > > > | ^~~~~~~~~~~ > > > include/linux/dynamic_debug.h:166:2: note: in expansion of macro > > > '_dynamic_func_call' > > > 166 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \ > > > | ^~~~~~~~~~~~~~~~~~ > > > include/linux/dev_printk.h:123:2: note: in expansion of macro > > > 'dynamic_dev_dbg' > > > 123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) > > > | ^~~~~~~~~~~~~~~ > > > include/linux/dev_printk.h:123:23: note: in expansion of macro > > > 'dev_fmt' > > > 123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) > > > | ^~~~~~~ > > > drivers/dma/sh/rz-dmac.c:478:2: note: in expansion of macro > 'dev_dbg' > > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D0x%llx dst=3D0x%= llx > > > len=3D%ld\n", > > > | ^~~~~~~ > > > drivers/dma/sh/rz-dmac.c:478:57: note: format string is defined > here > > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D0x%llx dst=3D0x%= llx > > > len=3D%ld\n", > > > | ~~~^ > > > | | > > > | > long > > > long unsigned int > > > | %x > > > In file included from include/linux/printk.h:456, > > > from include/asm-generic/bug.h:22, > > > from ./arch/nios2/include/generated/asm/bug.h:1, > > > from include/linux/bug.h:5, > > > from include/linux/thread_info.h:13, > > > from include/asm-generic/current.h:5, > > > from > ./arch/nios2/include/generated/asm/current.h:1, > > > from include/linux/sched.h:12, > > > from include/linux/ratelimit.h:6, > > > from include/linux/dev_printk.h:16, > > > from include/linux/device.h:15, > > > from include/linux/dma-mapping.h:7, > > > from drivers/dma/sh/rz-dmac.c:12: > > > >> drivers/dma/sh/rz-dmac.c:478:21: warning: format '%ld' expects > > > >> argument of type 'long int', but argument 8 has type 'size_t' > > > >> {aka 'unsigned int'} [-Wformat=3D] > > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D0x%llx dst=3D0x%= llx > > > len=3D%ld\n", > > > | > > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > include/linux/dynamic_debug.h:134:15: note: in definition of > > > macro '__dynamic_func_call' > > > 134 | func(&id, ##__VA_ARGS__); \ > > > | ^~~~~~~~~~~ > > > include/linux/dynamic_debug.h:166:2: note: in expansion of macro > > > '_dynamic_func_call' > > > 166 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \ > > > | ^~~~~~~~~~~~~~~~~~ > > > include/linux/dev_printk.h:123:2: note: in expansion of macro > > > 'dynamic_dev_dbg' > > > 123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) > > > | ^~~~~~~~~~~~~~~ > > > include/linux/dev_printk.h:123:23: note: in expansion of macro > > > 'dev_fmt' > > > 123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) > > > | ^~~~~~~ > > > drivers/dma/sh/rz-dmac.c:478:2: note: in expansion of macro > 'dev_dbg' > > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D0x%llx dst=3D0x%= llx > > > len=3D%ld\n", > > > | ^~~~~~~ > > > drivers/dma/sh/rz-dmac.c:478:65: note: format string is defined > here > > > 478 | dev_dbg(dmac->dev, "%s channel: %d src=3D0x%llx dst=3D0x%= llx > > > len=3D%ld\n", > > > | > > > ~~^ > > > | > > > | > > > | > > > long int > > > | > > > %d > > > > > > > > > vim +478 drivers/dma/sh/rz-dmac.c > > > > > > 469 > > > 470 static struct dma_async_tx_descriptor * > > > 471 rz_dmac_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t > > > dest, dma_addr_t src, > > > 472 size_t len, unsigned long flags) > > > 473 { > > > 474 struct rz_dmac_chan *channel =3D to_rz_dmac_chan(chan); > > > 475 struct rz_dmac *dmac =3D to_rz_dmac(chan->device); > > > 476 struct rz_dmac_desc *desc; > > > 477 > > > > 478 dev_dbg(dmac->dev, "%s channel: %d src=3D0x%llx dst=3D0x%llx > > > len=3D%ld\n", > > > 479 __func__, channel->index, src, dest, len); > > > 480 > > > 481 if (list_empty(&channel->ld_free)) > > > 482 return NULL; > > > 483 > > > 484 desc =3D list_first_entry(&channel->ld_free, struct > > > rz_dmac_desc, node); > > > 485 > > > 486 desc->type =3D RZ_DMAC_DESC_MEMCPY; > > > 487 desc->src =3D src; > > > 488 desc->dest =3D dest; > > > 489 desc->len =3D len; > > > 490 desc->direction =3D DMA_MEM_TO_MEM; > > > 491 > > > 492 list_move_tail(channel->ld_free.next, &channel- > > > >ld_queue); > > > 493 return vchan_tx_prep(&channel->vc, &desc->vd, flags); > > > 494 } > > > 495 > > > > > > --- > > > 0-DAY CI Kernel Test Service, Intel Corporation > > > https://jpn01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fli > > > st > > > s.01 > > > .org%2Fhyperkitty%2Flist%2Fkbuild- > > > all%40lists.01.org&data=3D04%7C01%7Cbiju.das.jz%40bp.renesas.com%7 > > > C5 > > > 42bf > > > ff2887f488c2fef08d95284c66f%7C53d82571da1947e49cb4625a166a4a2a%7C0%7 > > > C0 > > > %7C6 > > > 37631555166735210%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIj > > > oi > > > V2lu > > > MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DIaa%2FyiTehgWr7y > > > gH > > > m6xV > > > 0xspg7HWa79nPlkqUH0HVj0%3D&reserved=3D0 --===============8916870883794434171==--