lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1e2c4ad2-94e9-5541-cdbe-5817bf33e757@infradead.org>
Date:   Mon, 24 Jul 2023 16:37:50 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Stephen Rothwell <sfr@...b.auug.org.au>,
        Linux Next Mailing List <linux-next@...r.kernel.org>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>
Subject: Re: linux-next: Tree for Jul 24
 (arch/powerpc/platforms/embedded6xx/mvme5100.c)



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
Download attachment "config-r3694.gz" of type "application/gzip" (27535 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ