linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: linux-next: Tree for Jul 24 (arch/powerpc/platforms/embedded6xx/mvme5100.c)
       [not found] <20230724140819.4ae24e17@canb.auug.org.au>
@ 2023-07-24 23:37 ` Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2023-07-24 23:37 UTC (permalink / raw)
  To: Stephen Rothwell, Linux Next Mailing List
  Cc: linuxppc-dev, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 3023 bytes --]



On 7/23/23 21:08, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20230721:
> 

on ppc32:

../arch/powerpc/platforms/embedded6xx/mvme5100.c: In function 'mvme5100_add_bridge':
../arch/powerpc/platforms/embedded6xx/mvme5100.c:135:65: error: passing argument 5 of 'early_read_config_dword' from incompatible pointer type [-Werror=incompatible-pointer-types]
  135 |         early_read_config_dword(hose, 0, 0, PCI_BASE_ADDRESS_1, &pci_membase);
      |                                                                 ^~~~~~~~~~~~
      |                                                                 |
      |                                                                 phys_addr_t * {aka long long unsigned int *}
In file included from ../arch/powerpc/platforms/embedded6xx/mvme5100.c:19:
../arch/powerpc/include/asm/pci-bridge.h:150:53: note: expected 'u32 *' {aka 'unsigned int *'} but argument is of type 'phys_addr_t *' {aka 'long long unsigned int *'}
  150 |                         int dev_fn, int where, u32 *val);
      |                                                ~~~~~^~~
In file included from ../include/asm-generic/bug.h:22,
                 from ../arch/powerpc/include/asm/bug.h:116,
                 from ../include/linux/bug.h:5,
                 from ../include/linux/thread_info.h:13,
                 from ../include/asm-generic/preempt.h:5,
                 from ./arch/powerpc/include/generated/asm/preempt.h:1,
                 from ../include/linux/preempt.h:79,
                 from ../include/linux/spinlock.h:56,
                 from ../include/linux/irq.h:14,
                 from ../include/linux/of_irq.h:7,
                 from ../arch/powerpc/platforms/embedded6xx/mvme5100.c:15:
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'phys_addr_t' {aka 'long long unsigned int'} [-Wformat=]
    5 | #define KERN_SOH        "\001"          /* ASCII Start Of Header */
      |                         ^~~~~~
../include/linux/printk.h:427:25: note: in definition of macro 'printk_index_wrap'
  427 |                 _p_func(_fmt, ##__VA_ARGS__);                           \
      |                         ^~~~
../include/linux/printk.h:528:9: note: in expansion of macro 'printk'
  528 |         printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
      |         ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
   14 | #define KERN_INFO       KERN_SOH "6"    /* informational */
      |                         ^~~~~~~~
../include/linux/printk.h:528:16: note: in expansion of macro 'KERN_INFO'
  528 |         printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
      |                ^~~~~~~~~
../arch/powerpc/platforms/embedded6xx/mvme5100.c:142:9: note: in expansion of macro 'pr_info'
  142 |         pr_info("mvme5100_pic_init: pci_membase: %x\n", pci_membase);
      |         ^~~~~~~
cc1: some warnings being treated as errors


Full randconfig file is attached.

-- 
~Randy

[-- Attachment #2: config-r3694.gz --]
[-- Type: application/gzip, Size: 27535 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-24 23:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20230724140819.4ae24e17@canb.auug.org.au>
2023-07-24 23:37 ` linux-next: Tree for Jul 24 (arch/powerpc/platforms/embedded6xx/mvme5100.c) Randy Dunlap

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).