linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [next:master 103/113] arch/powerpc/platforms/52xx/efika.c:210:2: error: 'ISA_DMA_THRESHOLD' undeclared
@ 2014-04-16  7:57 kbuild test robot
  2014-04-16 16:28 ` Laura Abbott
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2014-04-16  7:57 UTC (permalink / raw)
  To: Laura Abbott; +Cc: Linux Memory Management List, Andrew Morton, kbuild-all

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   2db08cc65391d73dc8cbcaefdb55c42a774d9e1a
commit: ff35bd54456e18878c361a8a2deeb41c9688458f [103/113] lib/scatterlist: make ARCH_HAS_SG_CHAIN an actual Kconfig
config: make ARCH=powerpc ppc6xx_defconfig

All error/warnings:

   arch/powerpc/platforms/52xx/efika.c: In function 'efika_probe':
>> arch/powerpc/platforms/52xx/efika.c:210:2: error: 'ISA_DMA_THRESHOLD' undeclared (first use in this function)
     ISA_DMA_THRESHOLD = ~0L;
     ^
   arch/powerpc/platforms/52xx/efika.c:210:2: note: each undeclared identifier is reported only once for each function it appears in
>> arch/powerpc/platforms/52xx/efika.c:211:2: error: 'DMA_MODE_READ' undeclared (first use in this function)
     DMA_MODE_READ = 0x44;
     ^
>> arch/powerpc/platforms/52xx/efika.c:212:2: error: 'DMA_MODE_WRITE' undeclared (first use in this function)
     DMA_MODE_WRITE = 0x48;
     ^

vim +/ISA_DMA_THRESHOLD +210 arch/powerpc/platforms/52xx/efika.c

9724b86f Sylvain Munaut 2007-02-12  204  
9724b86f Sylvain Munaut 2007-02-12  205  	if (model == NULL)
9724b86f Sylvain Munaut 2007-02-12  206  		return 0;
9724b86f Sylvain Munaut 2007-02-12  207  	if (strcmp(model, "EFIKA5K2"))
9724b86f Sylvain Munaut 2007-02-12  208  		return 0;
9724b86f Sylvain Munaut 2007-02-12  209  
9724b86f Sylvain Munaut 2007-02-12 @210  	ISA_DMA_THRESHOLD = ~0L;
9724b86f Sylvain Munaut 2007-02-12 @211  	DMA_MODE_READ = 0x44;
9724b86f Sylvain Munaut 2007-02-12 @212  	DMA_MODE_WRITE = 0x48;
9724b86f Sylvain Munaut 2007-02-12  213  
9724b86f Sylvain Munaut 2007-02-12  214  	return 1;
9724b86f Sylvain Munaut 2007-02-12  215  }

:::::: The code at line 210 was first introduced by commit
:::::: 9724b86f0706ca9b552d82e013cb0c208b4f5529 [POWERPC] Small cleanup of EFIKA platform

:::::: TO: Sylvain Munaut <tnt@246tNt.com>
:::::: CC: Paul Mackerras <paulus@samba.org>

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [next:master 103/113] arch/powerpc/platforms/52xx/efika.c:210:2: error: 'ISA_DMA_THRESHOLD' undeclared
  2014-04-16  7:57 [next:master 103/113] arch/powerpc/platforms/52xx/efika.c:210:2: error: 'ISA_DMA_THRESHOLD' undeclared kbuild test robot
@ 2014-04-16 16:28 ` Laura Abbott
  0 siblings, 0 replies; 2+ messages in thread
From: Laura Abbott @ 2014-04-16 16:28 UTC (permalink / raw)
  To: kbuild test robot, Benjamin Herrenschmidt
  Cc: Linux Memory Management List, Andrew Morton, kbuild-all

On 4/16/2014 12:57 AM, kbuild test robot wrote:
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   2db08cc65391d73dc8cbcaefdb55c42a774d9e1a
> commit: ff35bd54456e18878c361a8a2deeb41c9688458f [103/113] lib/scatterlist: make ARCH_HAS_SG_CHAIN an actual Kconfig
> config: make ARCH=powerpc ppc6xx_defconfig
> 
> All error/warnings:
> 
>    arch/powerpc/platforms/52xx/efika.c: In function 'efika_probe':
>>> arch/powerpc/platforms/52xx/efika.c:210:2: error: 'ISA_DMA_THRESHOLD' undeclared (first use in this function)
>      ISA_DMA_THRESHOLD = ~0L;
>      ^
>    arch/powerpc/platforms/52xx/efika.c:210:2: note: each undeclared identifier is reported only once for each function it appears in
>>> arch/powerpc/platforms/52xx/efika.c:211:2: error: 'DMA_MODE_READ' undeclared (first use in this function)
>      DMA_MODE_READ = 0x44;
>      ^
>>> arch/powerpc/platforms/52xx/efika.c:212:2: error: 'DMA_MODE_WRITE' undeclared (first use in this function)
>      DMA_MODE_WRITE = 0x48;
>      ^

Another fixup needed (should cover errors from other generated config as well)

---- 8< ----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-16 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-16  7:57 [next:master 103/113] arch/powerpc/platforms/52xx/efika.c:210:2: error: 'ISA_DMA_THRESHOLD' undeclared kbuild test robot
2014-04-16 16:28 ` Laura Abbott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).