Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-Wincompatible-pointer-types in arch/powerpc/platforms/embedded6xx/mvme5100.c #990

Closed
nickdesaulniers opened this issue Apr 13, 2020 · 3 comments
Assignees
Labels
-Wincompatible-pointer-types [ARCH] powerpc This bug impacts ARCH=powerpc [BUG] linux A bug that should be fixed in the mainline kernel. Inquiry sent An email to the maintainer/author has been sent [Reported-by] kbuild test robot Reported-by: kbuild test robot <lkp@intel.com>

Comments

@nickdesaulniers
Copy link
Member

nickdesaulniers commented Apr 13, 2020

via 0day bot:

>> arch/powerpc/platforms/embedded6xx/mvme5100.c:135:58: error: incompatible pointer types passing 'phys_addr_t *' (aka 'unsigned long long *') to parameter of type 'u32 *' (aka 'unsigned int *') [-Werror,-Wincompatible-pointer-types]
           early_read_config_dword(hose, 0, 0, PCI_BASE_ADDRESS_1, &pci_membase);
                                                                   ^~~~~~~~~~~~
   arch/powerpc/include/asm/pci-bridge.h:139:32: note: passing argument to parameter 'val' here
                           int dev_fn, int where, u32 *val);
                                                       ^
@nickdesaulniers nickdesaulniers added [BUG] linux A bug that should be fixed in the mainline kernel. [ARCH] powerpc This bug impacts ARCH=powerpc -Wincompatible-pointer-types [Reported-by] kbuild test robot Reported-by: kbuild test robot <lkp@intel.com> labels Apr 13, 2020
@nathanchance nathanchance self-assigned this Apr 13, 2020
@nathanchance
Copy link
Member

nathanchance commented Apr 13, 2020

Not clang related but inquiry sent since this seems to require knowledge of the architecture/hardware: https://lore.kernel.org/linuxppc-dev/20200413201034.GA18373@ubuntu-s3-xlarge-x86/

@nathanchance nathanchance added the Inquiry sent An email to the maintainer/author has been sent label Apr 13, 2020
@nathanchance
Copy link
Member

nathanchance commented Apr 28, 2021

This has not been fixed but given that it is not a clang specific issue, it has never resurfaced from 0day, and the maintainer indicated that these are pretty old files, I am going to close this up.

@nickdesaulniers
Copy link
Member Author

nickdesaulniers commented Apr 28, 2021

$ curl -L https://groups.google.com/group/clang-built-linux/attach/180fe4e504b92/.config.gz\?part\=0.1 | gunzip > .config
$ ARCH=powerpc CROSS_COMPILE=powerpc64le-linux-gnu- make CC=clang -j71 olddefconfig
$ ARCH=powerpc CROSS_COMPILE=powerpc64le-linux-gnu- make CC=clang -j71 arch/powerpc/platforms/embedded6xx/mvme5100.o

still reproducible.

I am going to close this up.

ok sgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-Wincompatible-pointer-types [ARCH] powerpc This bug impacts ARCH=powerpc [BUG] linux A bug that should be fixed in the mainline kernel. Inquiry sent An email to the maintainer/author has been sent [Reported-by] kbuild test robot Reported-by: kbuild test robot <lkp@intel.com>
Projects
None yet
Development

No branches or pull requests

2 participants