+ export BPO_JOB_ID=619623 + BPO_JOB_ID=619623 + pmbootstrap -m http://dl-cdn.alpinelinux.org/alpine/ -mp http://build.postmarketos.org/wip/ -mp http://mirror.postmarketos.org/postmarketos/ --aports=/home/build/pmaports --no-ccache --timeout 900 --details-to-stdout build --no-depends --strict --arch aarch64 --force lk2nd (002291) [23:08:11] % cd /home/build/pmaports; git remote -v origin https://gitlab.com/postmarketOS/pmaports.git/ (fetch) origin https://gitlab.com/postmarketOS/pmaports.git/ (push) (002291) [23:08:11] % cd /home/build/pmaports; git show origin/master:channels.cfg # Reference: https://postmarketos.org/channels.cfg [channels.cfg] recommended=edge [edge] description=Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge branch_pmaports=master branch_aports=master mirrordir_alpine=edge [v21.06] description=Latest release / Recommended for best stability branch_pmaports=v21.06 branch_aports=3.14-stable mirrordir_alpine=v3.14 [v21.03] description=Old release (unsupported) branch_pmaports=v21.03 branch_aports=3.13-stable mirrordir_alpine=v3.13 [v20.05] description=Old release (unsupported) branch_pmaports=v20.05 branch_aports=3.12-stable mirrordir_alpine=v3.12 (002291) [23:08:11] Shutdown complete (002291) [23:08:11] Calculate work folder size (002291) [23:08:11] % sudo du -ks /home/build/.local/var/pmbootstrap 20 /home/build/.local/var/pmbootstrap (002291) [23:08:11] Shutdown complete (002291) [23:08:11] % sudo du -ks /home/build/.local/var/pmbootstrap 20 /home/build/.local/var/pmbootstrap (002291) [23:08:11] Cleared up ~0 MB of space (002291) [23:08:11] APKINDEX outdated (file does not exist yet): http://build.postmarketos.org/wip/master/aarch64/APKINDEX.tar.gz (002291) [23:08:11] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/aarch64/APKINDEX.tar.gz (002291) [23:08:11] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz (002291) [23:08:11] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz (002291) [23:08:11] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz (002291) [23:08:11] Update package index for aarch64 (5 file(s)) (002291) [23:08:11] % mkdir -p /home/build/.local/var/pmbootstrap/cache_http (002291) [23:08:11] Download http://build.postmarketos.org/wip/master/aarch64/APKINDEX.tar.gz (002291) [23:08:11] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_aarch64 (002291) [23:08:11] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0300228b844024552136de60b01e2bfefafac04f5f1b0ed46c2bba3bc6167d95 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.af6ab7cc.tar.gz (002291) [23:08:11] Download http://mirror.postmarketos.org/postmarketos/master/aarch64/APKINDEX.tar.gz (002291) [23:08:12] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_2133489a116f2a4aa3cb24bfb99e043d59160ca5cc7fead69e7c3f2240547e0e /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.bdd0d494.tar.gz (002291) [23:08:12] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz (002291) [23:08:12] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_40cefd388a6f179766303318562db37c94a7e2d75b4d33074c8beaeac080064f /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.066df28d.tar.gz (002291) [23:08:12] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz (002291) [23:08:12] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6e80a381677679c0e83714d2dc6c418e0e0c96a146d9b57fa03839d1b9f5bd40 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.b53994b4.tar.gz (002291) [23:08:12] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz (002291) [23:08:12] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_d6ab3af2c088593f2c66b1286307b98f45cec060b38de2384f33bc9072659c06 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.30e6f5af.tar.gz (002291) [23:08:12] APKINDEX outdated (file does not exist yet): http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz (002291) [23:08:12] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz (002291) [23:08:12] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz (002291) [23:08:12] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz (002291) [23:08:12] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz (002291) [23:08:12] Update package index for x86_64 (5 file(s)) (002291) [23:08:12] Download http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz (002291) [23:08:13] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_x86_64 (002291) [23:08:13] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b5c42e3975be0fe9e47c9d10368cdb12b769d34497838f599f197797ceee4130 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.af6ab7cc.tar.gz (002291) [23:08:13] Download http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz (002291) [23:08:13] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.bdd0d494.tar.gz (002291) [23:08:13] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz (002291) [23:08:13] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b36af8b1d7f948f0d2fcae5bd60c1b876620e69b987bc066e7a90c810687e76f /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.066df28d.tar.gz (002291) [23:08:13] Download http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz (002291) [23:08:13] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0999dbfe3755729bd8aa3997d03dbd36a87187a19b61ce5cea2e01671a6305d6 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.b53994b4.tar.gz (002291) [23:08:13] Download http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz (002291) [23:08:13] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_6ccac8825a1621fb204ad4b3e645b24ffd8fa9acfe97edc265646cafd18d3e4c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.30e6f5af.tar.gz (002291) [23:08:20] Build is necessary for package 'lk2nd': Binary package out of date (binary: 0.10.0-r1, aport: 0.10.0-r2) (002291) [23:08:20] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet! (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev (002291) [23:08:20] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm (002291) [23:08:20] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm (002291) [23:08:20] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3 (002291) [23:08:20] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5 (002291) [23:08:20] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7 (002291) [23:08:20] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8 (002291) [23:08:20] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9 (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc (002291) [23:08:20] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk (002291) [23:08:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache (002291) [23:08:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles (002291) [23:08:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git (002291) [23:08:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-rust (002291) [23:08:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-rust (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config (002291) [23:08:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys (002291) [23:08:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/edge (002291) [23:08:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages (002291) [23:08:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages (002291) [23:08:20] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap (002291) [23:08:20] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.12.7-r3.apk (002291) [23:08:21] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002291) [23:08:21] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002291) [23:08:21] extracted: /tmp/pmbootstrapi0bbi8ujapk (002291) [23:08:21] extracted: /tmp/pmbootstrapb70rkvaxsig (002291) [23:08:21] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002291) [23:08:21] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstrapb70rkvaxsig /tmp/pmbootstrapi0bbi8ujapk Verified OK (002291) [23:08:21] Verify the version reported by the apk.static binary (must match the package version 2.12.7-r3) (002291) [23:08:21] % /tmp/pmbootstrapi0bbi8ujapk --version apk-tools 2.12.7, compiled for x86_64. (002291) [23:08:21] (native) install alpine-base (002291) [23:08:21] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616ac3bc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616ac3bc.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5e69ca50.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-5e69ca50.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616a9724.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616a9724.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616ae350.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616ae350.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616abc23.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616abc23.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/wip.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616db30d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616db30d.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-61666e3f.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-61666e3f.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616adfeb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616adfeb.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/build.postmarketos.org.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub (002291) [23:08:21] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-60ac2099.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-60ac2099.rsa.pub (002291) [23:08:21] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf (002291) [23:08:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk (002291) [23:08:21] (native) update /etc/apk/repositories (002291) [23:08:21] % sudo sh -c echo /mnt/pmbootstrap-packages >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002291) [23:08:21] % sudo sh -c echo http://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002291) [23:08:21] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002291) [23:08:21] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002291) [23:08:21] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002291) [23:08:21] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002291) [23:08:21] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp (002291) [23:08:21] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo (002291) [23:08:21] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo (002291) [23:08:21] % sudo sh -c exec 3>/home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo; /home/build/.local/var/pmbootstrap/apk.static --no-progress --progress-fd 3 --root /home/build/.local/var/pmbootstrap/chroot_native --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_x86_64 --initdb --arch x86_64 add alpine-base (002291) [23:08:21] New background process: pid=2376, output=background WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory (1/20) Installing musl (1.2.2-r7) (2/20) Installing busybox (1.34.1-r2) Executing busybox-1.34.1-r2.post-install (3/20) Installing alpine-baselayout (3.2.0-r18) Executing alpine-baselayout-3.2.0-r18.pre-install Executing alpine-baselayout-3.2.0-r18.post-install (4/20) Installing ifupdown-ng (0.11.3-r0) (5/20) Installing openrc (0.44.7-r0) Executing openrc-0.44.7-r0.post-install (6/20) Installing alpine-conf (3.12.0-r1) (7/20) Installing ca-certificates-bundle (20191127-r7) (8/20) Installing libcrypto1.1 (1.1.1l-r4) (9/20) Installing libssl1.1 (1.1.1l-r4) (10/20) Installing libretls (3.3.4-r2) (11/20) Installing ssl_client (1.34.1-r2) (12/20) Installing zlib (1.2.11-r3) (13/20) Installing apk-tools (2.12.7-r3) (14/20) Installing busybox-suid (1.34.1-r2) (15/20) Installing busybox-initscripts (3.3-r1) Executing busybox-initscripts-3.3-r1.post-install (16/20) Installing scanelf (1.3.3-r0) (17/20) Installing musl-utils (1.2.2-r7) (18/20) Installing libc-utils (0.7.2-r3) (19/20) Installing alpine-keys (2.4-r1) (20/20) Installing alpine-base (3.15.0_alpha20210804-r0) Executing busybox-1.34.1-r2.trigger OK: 9 MiB in 20 packages (002291) [23:08:22] (native) % adduser -D pmos -u 12345 (002291) [23:08:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild (002291) [23:08:22] (native) % chown pmos:pmos /mnt/pmbootstrap-abuild-config (002291) [23:08:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache (002291) [23:08:22] (native) % chown pmos:pmos /mnt/pmbootstrap-ccache (002291) [23:08:22] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages (002291) [23:08:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos (002291) [23:08:22] (native) % chown pmos:pmos /mnt/pmbootstrap-packages (002291) [23:08:22] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry (002291) [23:08:22] (native) % mkdir -p /mnt/pmbootstrap-rust/registry/index (002291) [23:08:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/index /home/pmos/.cargo/registry/index (002291) [23:08:22] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/index (002291) [23:08:22] (native) % mkdir -p /mnt/pmbootstrap-rust/registry/cache (002291) [23:08:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/cache /home/pmos/.cargo/registry/cache (002291) [23:08:22] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/cache (002291) [23:08:22] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git (002291) [23:08:22] (native) % mkdir -p /mnt/pmbootstrap-rust/git/db (002291) [23:08:22] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/git/db /home/pmos/.cargo/git/db (002291) [23:08:23] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/git/db (002291) [23:08:23] (native) calculate depends of abuild, build-base, ccache, git (pmbootstrap -v for details) (002291) [23:08:23] (native) install abuild build-base ccache git (002291) [23:08:23] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo (002291) [23:08:23] (native) % cat /tmp/apk_progress_fifo (002291) [23:08:23] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add -u --virtual .pmbootstrap abuild build-base ccache git fakeroot openssl attr tar pkgconf patch lzip curl binutils file gcc g++ make libc-dev fortify-headers libgcc libstdc++ zstd-libs libcurl expat pcre2 libcrypto3 libssl3 libattr libacl ca-certificates libmagic libgomp libatomic libgphobos gmp isl22 mpc1 mpfr4 musl-dev brotli-libs nghttp2-libs (002291) [23:08:23] New background process: pid=2414, output=background WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory (1/42) Installing fakeroot (1.25.3-r3) (2/42) Installing libcrypto3 (3.0.0-r2) (3/42) Installing libssl3 (3.0.0-r2) (4/42) Installing openssl (3.0.0-r2) (5/42) Installing libattr (2.5.1-r1) (6/42) Installing attr (2.5.1-r1) (7/42) Installing libacl (2.2.53-r0) (8/42) Installing tar (1.34-r0) (9/42) Installing pkgconf (1.8.0-r0) (10/42) Installing patch (2.7.6-r7) (11/42) Installing libgcc (10.3.1_git20211027-r0) (12/42) Installing libstdc++ (10.3.1_git20211027-r0) (13/42) Installing lzip (1.22-r1) (14/42) Installing ca-certificates (20191127-r7) (15/42) Installing brotli-libs (1.0.9-r5) (16/42) Installing nghttp2-libs (1.46.0-r0) (17/42) Installing libcurl (7.79.1-r0) (18/42) Installing curl (7.79.1-r0) (19/42) Installing abuild (3.9.0_rc2-r1) Executing abuild-3.9.0_rc2-r1.pre-install (20/42) Installing binutils (2.37-r3) (21/42) Installing libmagic (5.41-r0) (22/42) Installing file (5.41-r0) (23/42) Installing libgomp (10.3.1_git20211027-r0) (24/42) Installing libatomic (10.3.1_git20211027-r0) (25/42) Installing libgphobos (10.3.1_git20211027-r0) (26/42) Installing gmp (6.2.1-r0) (27/42) Installing isl22 (0.22-r0) (28/42) Installing mpfr4 (4.1.0-r0) (29/42) Installing mpc1 (1.2.1-r0) (30/42) Installing gcc (10.3.1_git20211027-r0) (31/42) Installing musl-dev (1.2.2-r7) (32/42) Installing libc-dev (0.7.2-r3) (33/42) Installing g++ (10.3.1_git20211027-r0) (34/42) Installing make (4.3-r0) (35/42) Installing fortify-headers (1.1-r1) (36/42) Installing build-base (0.5-r2) (37/42) Installing zstd-libs (1.5.0-r0) (38/42) Installing ccache (4.3-r1) (39/42) Installing expat (2.4.1-r0) (40/42) Installing pcre2 (10.39-r0) (41/42) Installing git (2.33.1-r0) (42/42) Installing .pmbootstrap (20211101.230823) Executing busybox-1.34.1-r2.trigger Executing ca-certificates-20191127-r7.trigger OK: 221 MiB in 62 packages (002291) [23:08:32] (native) % apk --no-progress add abuild build-base ccache git WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory OK: 221 MiB in 62 packages (002291) [23:08:32] (native) % apk --no-progress del .pmbootstrap WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory (1/1) Purging .pmbootstrap (20211101.230823) OK: 221 MiB in 61 packages (002291) [23:08:32] (native) % chown root:abuild /var/cache/distfiles (002291) [23:08:32] (native) % chmod g+w /var/cache/distfiles (002291) [23:08:32] (native) generate abuild keys (002291) [23:08:32] (native) % busybox su pmos -c PACKAGER='pmos ' HOME=/home/pmos abuild-keygen -n -q -a writing RSA key (002291) [23:08:33] (native) % cp /mnt/pmbootstrap-abuild-config/pmos@local-61807370.rsa.pub /etc/apk/keys/ (002291) [23:08:33] (native) % cp /tmp/gzip_wrapper.sh /usr/local/bin/gzip (002291) [23:08:33] (native) % chmod +x /usr/local/bin/gzip (002291) [23:08:33] (native) % adduser pmos abuild (002291) [23:08:33] (native) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf (002291) [23:08:33] (native) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf (002291) [23:08:33] (native) % touch /var/local/pmbootstrap_chroot_build_init_done (002291) [23:08:33] (native) % sed -i -e s/^export JOBS=.*/export JOBS=3/ /etc/abuild.conf (002291) [23:08:33] (native) % busybox su pmos -c HOME=/home/pmos ccache --max-size 5G Set cache size limit to 5.0 GB (002291) [23:08:33] (native) calculate depends of ccache-cross-symlinks, gcc-aarch64, g++-aarch64 (pmbootstrap -v for details) (002291) [23:08:33] (native) install ccache-cross-symlinks gcc-aarch64 g++-aarch64 (002291) [23:08:33] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo (002291) [23:08:33] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo (002291) [23:08:33] (native) % cat /tmp/apk_progress_fifo (002291) [23:08:33] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add -u --virtual .pmbootstrap ccache-cross-symlinks gcc-aarch64 g++-aarch64 isl binutils-aarch64 (002291) [23:08:33] New background process: pid=2461, output=background WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory (1/6) Installing ccache-cross-symlinks (3-r0) (2/6) Installing isl (0.18-r1) (3/6) Installing binutils-aarch64 (2.37-r3) (4/6) Installing gcc-aarch64 (10.3.1_git20211027-r0) (5/6) Installing g++-aarch64 (10.3.1_git20211027-r0) (6/6) Installing .pmbootstrap (20211101.230833) Executing busybox-1.34.1-r2.trigger OK: 400 MiB in 67 packages (002291) [23:08:58] (native) % apk --no-progress add ccache-cross-symlinks gcc-aarch64 g++-aarch64 WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory OK: 400 MiB in 67 packages (002291) [23:08:58] (native) % apk --no-progress del .pmbootstrap WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory (1/1) Purging .pmbootstrap (20211101.230833) OK: 400 MiB in 66 packages (002291) [23:08:59] (native) build aarch64/lk2nd-0.10.0-r2.apk (002291) [23:08:59] % sudo cp -rL /home/build/pmaports/main/lk2nd/ /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build (002291) [23:08:59] (native) % chown -R pmos:pmos /home/pmos/build (002291) [23:08:59] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports (002291) [23:08:59] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports (002291) [23:08:59] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build (002291) [23:08:59] (native) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git (002291) [23:08:59] (native) % cd /home/pmos/build; busybox su pmos -c CARCH=aarch64 SUDO_APK='abuild-apk --no-progress' CROSS_COMPILE=aarch64-alpine-linux-musl- CC=aarch64-alpine-linux-musl-gcc CCACHE_DISABLE=1 HOME=/home/pmos abuild -D postmarketOS -r -f ]0;abuild-aarch64: lk2nd>>> lk2nd: Building pmos/lk2nd 0.10.0-r2 (using abuild 3.9.0_rc2-r1) started Mon, 01 Nov 2021 23:08:59 +0000 >>> lk2nd: Checking sanity of /home/pmos/build/APKBUILD... >>> lk2nd: Analyzing dependencies... >>> lk2nd: Installing for build: build-base dtc dtc-dev gcc-arm-none-eabi python3 py3-libfdt WARNING: Ignoring /home/pmos/packages//pmos: No such file or directory WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory (1/17) Installing libfdt (1.6.1-r0) (2/17) Installing dtc (1.6.1-r0) (3/17) Installing dtc-dev (1.6.1-r0) (4/17) Installing binutils-arm-none-eabi (2.37-r0) (5/17) Installing gcc-arm-none-eabi (10.3.0-r0) (6/17) Installing libbz2 (1.0.8-r1) (7/17) Installing libffi (3.4.2-r1) (8/17) Installing gdbm (1.20-r2) (9/17) Installing xz-libs (5.2.5-r0) (10/17) Installing mpdecimal (2.5.1-r1) (11/17) Installing ncurses-terminfo-base (6.3_p20211030-r0) (12/17) Installing ncurses-libs (6.3_p20211030-r0) (13/17) Installing readline (8.1.1-r0) (14/17) Installing sqlite-libs (9999-r0) (15/17) Installing python3 (3.9.7-r3) (16/17) Installing py3-libfdt (1.6.1-r0) (17/17) Installing .makedepends-lk2nd (20211101.230900) Executing busybox-1.34.1-r2.trigger OK: 789 MiB in 83 packages ]0;>>> lk2nd: Cleaning up srcdir ]0;>>> lk2nd: Cleaning up pkgdir >>> lk2nd: Fetching lk2nd-0.10.0.tar.gz::https://github.com/msm8916-mainline/lk2nd/archive/refs/tags/0.10.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 140 100 140 0 0 2420 0 --:--:-- --:--:-- --:--:-- 2456 100 3908k 100 3908k 0 0 6814k 0 --:--:-- --:--:-- --:--:-- 6814k >>> lk2nd: Fetching lk2nd-0.10.0.tar.gz::https://github.com/msm8916-mainline/lk2nd/archive/refs/tags/0.10.0.tar.gz >>> lk2nd: Checking sha512sums... lk2nd-0.10.0.tar.gz: OK >>> lk2nd: Unpacking /var/cache/distfiles/lk2nd-0.10.0.tar.gz... make[1]: Entering directory '/home/pmos/build/src/lk2nd-0.10.0' including app/aboot dev/fbcon dev/gcdb/display dev/keys dev/pmic/pm8x41 dev/vib lib/debug lib/heap lib/libc lib/libfdt lib/ptable lk2nd including lib/bio lib/fs lib/partition lib/zlib_inflate lk2nd/regmap lk2nd/smb1360 including dev/gpio_i2c lib/fs/ext2 including lib/bcache generating build-msm8916-secondary/config.h generating build-msm8916-secondary/system-onesegment.ld compiling dts/msm8916/apq8016-samsung-r02.dts compiling dts/msm8916/apq8016-samsung-r07.dts compiling dts/msm8916/apq8016-sbc.dts compiling dts/msm8916/msm8216-samsung-r05.dts compiling dts/msm8916/msm8916-asus-z00l.dts compiling dts/msm8916/msm8916-huawei-g7-l01.dts compiling dts/msm8916/msm8916-huawei-hwt1a21l.dts compiling dts/msm8916/msm8916-lg.dts compiling dts/msm8916/msm8916-motorola-harpia-p1b-4d.dts compiling dts/msm8916/msm8916-motorola-harpia-p1b-4e.dts compiling dts/msm8916/msm8916-motorola-osprey.dts compiling dts/msm8916/msm8916-motorola-surnia.dts compiling dts/msm8916/msm8916-mtp.dts compiling dts/msm8916/msm8916-mtp-smb1360.dts compiling dts/msm8916/msm8916-qrd5-v1.dts compiling dts/msm8916/msm8916-qrd7+12-v1.dts compiling dts/msm8916/msm8916-qrd8-v1.dts compiling dts/msm8916/msm8916-qrd9-v1.dts compiling dts/msm8916/msm8916-samsung-r00.dts compiling dts/msm8916/msm8916-samsung-r01.dts compiling dts/msm8916/msm8916-samsung-r02.dts compiling dts/msm8916/msm8916-samsung-r03.dts compiling dts/msm8916/msm8916-samsung-r04.dts compiling dts/msm8916/msm8916-samsung-r05.dts compiling dts/msm8916/msm8916-samsung-r06.dts compiling dts/msm8916/msm8916-samsung-r08.dts compiling dts/msm8916/msm8929-samsung-r00.dts compiling dts/msm8916/msm8929-samsung-r04.dts compiling dts/msm8916/msm8939-asus-z00t.dts compiling dts/msm8916/msm8939-huawei-kiwi.dts compiling dts/msm8916/msm8939-mtp.dts compiling dts/msm8916/msm8939-qrd-skuk.dts compiling arch/arm/crt0.S compiling target/msm8916/init.c compiling target/msm8916/qhypstub_loader.c compiling target/msm8916/meminfo.c target/msm8916/init.c: In function 'target_volume_up_old': target/msm8916/init.c:185:6: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] 185 | udelay(10000); | ^~~~~~ target/msm8916/init.c: In function 'target_init': target/msm8916/init.c:234:2: warning: implicit declaration of function 'spmi_init'; did you mean 'rpmb_init'? [-Wimplicit-function-declaration] 234 | spmi_init(PMIC_ARB_CHANNEL_NUM, PMIC_ARB_OWNER_ID); | ^~~~~~~~~ | rpmb_init target/msm8916/init.c: In function 'target_uninit': target/msm8916/init.c:517:3: warning: implicit declaration of function 'sdhci_mode_disable' [-Wimplicit-function-declaration] 517 | sdhci_mode_disable(&emmc_dev->host); | ^~~~~~~~~~~~~~~~~~ target/msm8916/init.c:526:3: warning: implicit declaration of function 'crypto_eng_cleanup'; did you mean 'crypto5_cleanup'? [-Wimplicit-function-declaration] 526 | crypto_eng_cleanup(); | ^~~~~~~~~~~~~~~~~~ | crypto5_cleanup compiling platform/msm8916/platform.c In file included from target/msm8916/include/target/display.h:35, from platform/msm8916/platform.c:41: ./dev/gcdb/display/include/display_resource.h:72:1: warning: useless storage class specifier in empty declaration 72 | }; | ^ ./dev/gcdb/display/include/display_resource.h:86:1: warning: useless storage class specifier in empty declaration 86 | }; | ^ platform/msm8916/platform.c: In function 'platform_early_init': platform/msm8916/platform.c:86:2: warning: implicit declaration of function 'platform_clock_init'; did you mean 'platform_early_init'? [-Wimplicit-function-declaration] 86 | platform_clock_init(); | ^~~~~~~~~~~~~~~~~~~ | platform_early_init compiling platform/msm8916/acpuclock.c platform/msm8916/acpuclock.c: In function 'mdp_clock_enable': platform/msm8916/acpuclock.c:208:6: warning: implicit declaration of function 'platform_is_msm8939' [-Wimplicit-function-declaration] 208 | if (platform_is_msm8939() || platform_is_msm8929()) | ^~~~~~~~~~~~~~~~~~~ platform/msm8916/acpuclock.c:208:31: warning: implicit declaration of function 'platform_is_msm8929' [-Wimplicit-function-declaration] 208 | if (platform_is_msm8939() || platform_is_msm8929()) | ^~~~~~~~~~~~~~~~~~~ compiling platform/msm8916/msm8916-clock.c In file included from platform/msm8916/msm8916-clock.c:35: platform/msm8916/include/platform/clock.h:37:41: warning: initialization of 'uint32_t *' {aka 'unsigned int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 37 | #define REG_MM(off) (CLK_CTL_BASE + (off)) | ^ platform/msm8916/include/platform/clock.h:47:41: note: in expansion of macro 'REG_MM' 47 | #define MDSS_VSYNC_CBCR REG_MM(0x4D090) | ^~~~~~ platform/msm8916/msm8916-clock.c:509:17: note: in expansion of macro 'MDSS_VSYNC_CBCR' 509 | .cbcr_reg = MDSS_VSYNC_CBCR, | ^~~~~~~~~~~~~~~ platform/msm8916/include/platform/clock.h:37:41: note: (near initialization for 'mdss_vsync_clk.cbcr_reg') 37 | #define REG_MM(off) (CLK_CTL_BASE + (off)) | ^ platform/msm8916/include/platform/clock.h:47:41: note: in expansion of macro 'REG_MM' 47 | #define MDSS_VSYNC_CBCR REG_MM(0x4D090) | ^~~~~~ platform/msm8916/msm8916-clock.c:509:17: note: in expansion of macro 'MDSS_VSYNC_CBCR' 509 | .cbcr_reg = MDSS_VSYNC_CBCR, | ^~~~~~~~~~~~~~~ In file included from platform/msm8916/msm8916-clock.c:36: platform/msm8916/include/platform/iomap.h:110:37: warning: initialization of 'uint32_t *' {aka 'unsigned int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 110 | #define GCC_BLSP1_QUP2_APPS_CBCR (CLK_CTL_BASE + 0x3010) | ^ platform/msm8916/msm8916-clock.c:586:14: note: in expansion of macro 'GCC_BLSP1_QUP2_APPS_CBCR' 586 | .cbcr_reg = GCC_BLSP1_QUP2_APPS_CBCR, | ^~~~~~~~~~~~~~~~~~~~~~~~ platform/msm8916/include/platform/iomap.h:110:37: note: (near initialization for 'gcc_blsp1_qup2_i2c_apps_clk.cbcr_reg') 110 | #define GCC_BLSP1_QUP2_APPS_CBCR (CLK_CTL_BASE + 0x3010) | ^ platform/msm8916/msm8916-clock.c:586:14: note: in expansion of macro 'GCC_BLSP1_QUP2_APPS_CBCR' 586 | .cbcr_reg = GCC_BLSP1_QUP2_APPS_CBCR, | ^~~~~~~~~~~~~~~~~~~~~~~~ platform/msm8916/msm8916-clock.c: In function 'platform_clock_init': platform/msm8916/msm8916-clock.c:637:6: warning: implicit declaration of function 'platform_is_msm8939' [-Wimplicit-function-declaration] 637 | if (platform_is_msm8939() || platform_is_msm8929()) | ^~~~~~~~~~~~~~~~~~~ platform/msm8916/msm8916-clock.c:637:31: warning: implicit declaration of function 'platform_is_msm8929' [-Wimplicit-function-declaration] 637 | if (platform_is_msm8939() || platform_is_msm8929()) | ^~~~~~~~~~~~~~~~~~~ compiling platform/msm8916/gpio.c In file included from platform/msm8916/gpio.c:30: platform/msm8916/gpio.c: In function 'gpio_set_value': platform/msm8916/gpio.c:59:16: warning: implicit declaration of function 'GPIO_OUT_SET_ADDR'; did you mean 'GPIO_IN_OUT_ADDR'? [-Wimplicit-function-declaration] 59 | (uint32_t *)GPIO_OUT_SET_ADDR(gpio)); | ^~~~~~~~~~~~~~~~~ include/reg.h:30:44: note: in definition of macro 'REG32' 30 | #define REG32(addr) ((volatile uint32_t *)(addr)) | ^~~~ platform/msm8916/gpio.c:58:3: note: in expansion of macro 'writel' 58 | writel(GPIO_OUT_VAL(gpio), | ^~~~~~ In file included from platform/msm8916/gpio.c:30: platform/msm8916/gpio.c:58:10: warning: implicit declaration of function 'GPIO_OUT_VAL'; did you mean 'GPIO_OUTPUT'? [-Wimplicit-function-declaration] 58 | writel(GPIO_OUT_VAL(gpio), | ^~~~~~~~~~~~ include/reg.h:39:36: note: in definition of macro 'writel' 39 | #define writel(v, a) (*REG32(a) = (v)) | ^ In file included from platform/msm8916/gpio.c:30: platform/msm8916/gpio.c:62:16: warning: implicit declaration of function 'GPIO_OUT_CLR_ADDR' [-Wimplicit-function-declaration] 62 | (uint32_t *)GPIO_OUT_CLR_ADDR(gpio)); | ^~~~~~~~~~~~~~~~~ include/reg.h:30:44: note: in definition of macro 'REG32' 30 | #define REG32(addr) ((volatile uint32_t *)(addr)) | ^~~~ platform/msm8916/gpio.c:61:3: note: in expansion of macro 'writel' 61 | writel(GPIO_OUT_VAL(gpio), | ^~~~~~ platform/msm8916/gpio.c:66:16: warning: implicit declaration of function 'GPIO_OUT_OE_SET_ADDR'; did you mean 'GPIO_IN_OUT_ADDR'? [-Wimplicit-function-declaration] 66 | (uint32_t *)GPIO_OUT_OE_SET_ADDR(gpio)); | ^~~~~~~~~~~~~~~~~~~~ include/reg.h:30:44: note: in definition of macro 'REG32' 30 | #define REG32(addr) ((volatile uint32_t *)(addr)) | ^~~~ platform/msm8916/gpio.c:65:2: note: in expansion of macro 'writel' 65 | writel(GPIO_OUT_OE_VAL(gpio), | ^~~~~~ In file included from platform/msm8916/gpio.c:30: platform/msm8916/gpio.c:65:9: warning: implicit declaration of function 'GPIO_OUT_OE_VAL' [-Wimplicit-function-declaration] 65 | writel(GPIO_OUT_OE_VAL(gpio), | ^~~~~~~~~~~~~~~ include/reg.h:39:36: note: in definition of macro 'writel' 39 | #define writel(v, a) (*REG32(a) = (v)) | ^ compiling platform/msm_shared/debug.c compiling platform/msm_shared/smem.c platform/msm_shared/smem.c: In function 'smem_get_alloc_entry': platform/msm_shared/smem.c:139:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 139 | return 1; | ^ platform/msm_shared/smem.c:143:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 143 | return 1; | ^ platform/msm_shared/smem.c:151:7: warning: assignment to 'void *' from 'uint32_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 151 | ret = base_ext + offset; | ^ compiling platform/msm_shared/smem_ptable.c compiling platform/msm_shared/jtag_hook.S compiling platform/msm_shared/jtag.c compiling platform/msm_shared/partition_parser.c platform/msm_shared/partition_parser.c: In function 'patch_gpt': platform/msm_shared/partition_parser.c:687:30: warning: assignment to 'unsigned int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] 687 | partition_entry_array_start = primary_gpt_header + block_size; | ^ platform/msm_shared/partition_parser.c:688:30: warning: passing argument 1 of 'calculate_crc32' makes pointer from integer without a cast [-Wint-conversion] 688 | crc_value = calculate_crc32(partition_entry_array_start, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int platform/msm_shared/partition_parser.c:575:45: note: expected 'unsigned char *' but argument is of type 'unsigned int' 575 | unsigned int calculate_crc32(unsigned char *buffer, int len) | ~~~~~~~~~~~~~~~^~~~~~ platform/msm_shared/partition_parser.c:692:58: warning: passing argument 1 of 'calculate_crc32' makes pointer from integer without a cast [-Wint-conversion] 692 | crc_value = calculate_crc32(partition_entry_array_start + array_size, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | unsigned int platform/msm_shared/partition_parser.c:575:45: note: expected 'unsigned char *' but argument is of type 'unsigned int' 575 | unsigned int calculate_crc32(unsigned char *buffer, int len) | ~~~~~~~~~~~~~~~^~~~~~ platform/msm_shared/partition_parser.c: In function 'write_gpt': platform/msm_shared/partition_parser.c:799:30: warning: assignment to 'unsigned int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] 799 | partition_entry_array_start = primary_gpt_header + block_size; | ^ platform/msm_shared/partition_parser.c:810:30: warning: assignment to 'unsigned int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] 810 | partition_entry_array_start = primary_gpt_header + block_size + | ^ platform/msm_shared/partition_parser.c: In function 'mbr_fill_name': platform/msm_shared/partition_parser.c:880:23: warning: statement will never be executed [-Wswitch-unreachable] 880 | memset(partition_ent->name, 0, MAX_GPT_NAME_SIZE); | ~~~~~~~~~~~~~^~~~~~ compiling platform/msm_shared/hsusb.c compiling platform/msm_shared/boot_stats.c In file included from platform/msm_shared/hsusb.c:36: platform/msm_shared/hsusb.c: In function 'udc_request_queue': platform/msm_shared/hsusb.c:324:26: warning: passing argument 1 of 'platform_get_virt_to_phys_mapping' makes integer from pointer without a cast [-Wint-conversion] 324 | curr_item->next = PA(item); | ^~~~ | | | struct ept_queue_item * include/platform.h:30:49: note: in definition of macro 'PA' 30 | #define PA(x) platform_get_virt_to_phys_mapping(x) | ^ include/platform.h:46:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'struct ept_queue_item *' 46 | addr_t platform_get_virt_to_phys_mapping(addr_t virt_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:329:9: warning: assignment to 'struct ept_queue_item *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 329 | item = VA(curr_item->next); | ^ In file included from platform/msm_shared/hsusb.c:36: platform/msm_shared/hsusb.c:348:26: warning: passing argument 1 of 'platform_get_virt_to_phys_mapping' makes integer from pointer without a cast [-Wint-conversion] 348 | ept->head->next = PA(req->item); | ~~~^~~~~~ | | | struct ept_queue_item * include/platform.h:30:49: note: in definition of macro 'PA' 30 | #define PA(x) platform_get_virt_to_phys_mapping(x) | ^ include/platform.h:46:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'struct ept_queue_item *' 46 | addr_t platform_get_virt_to_phys_mapping(addr_t virt_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:357:56: warning: passing argument 1 of 'platform_get_phys_to_virt_mapping' makes integer from pointer without a cast [-Wint-conversion] 357 | arch_clean_invalidate_cache_range((addr_t) VA(req->req.buf), | ~~~~~~~~^~~~ | | | void * include/platform.h:31:49: note: in definition of macro 'VA' 31 | #define VA(x) platform_get_phys_to_virt_mapping(x) | ^ include/platform.h:47:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'void *' 47 | addr_t platform_get_phys_to_virt_mapping(addr_t phys_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:367:9: warning: assignment to 'struct ept_queue_item *' from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion] 367 | item = curr_item->next; | ^ In file included from platform/msm_shared/hsusb.c:36: platform/msm_shared/hsusb.c: In function 'handle_ept_complete': platform/msm_shared/hsusb.c:394:15: warning: passing argument 1 of 'platform_get_phys_to_virt_mapping' makes integer from pointer without a cast [-Wint-conversion] 394 | req = VA(ept->req); | ~~~^~~~~ | | | struct usb_request * include/platform.h:31:49: note: in definition of macro 'VA' 31 | #define VA(x) platform_get_phys_to_virt_mapping(x) | ^ include/platform.h:47:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'struct usb_request *' 47 | addr_t platform_get_phys_to_virt_mapping(addr_t phys_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:394:7: warning: assignment to 'struct usb_request *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 394 | req = VA(ept->req); | ^ In file included from platform/msm_shared/hsusb.c:36: platform/msm_shared/hsusb.c:400:16: warning: passing argument 1 of 'platform_get_phys_to_virt_mapping' makes integer from pointer without a cast [-Wint-conversion] 400 | item = VA(req->item); | ~~~^~~~~~ | | | struct ept_queue_item * include/platform.h:31:49: note: in definition of macro 'VA' 31 | #define VA(x) platform_get_phys_to_virt_mapping(x) | ^ include/platform.h:47:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'struct ept_queue_item *' 47 | addr_t platform_get_phys_to_virt_mapping(addr_t phys_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:400:8: warning: assignment to 'struct ept_queue_item *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 400 | item = VA(req->item); | ^ platform/msm_shared/hsusb.c:448:10: warning: assignment to 'struct ept_queue_item *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 448 | item = VA(item->next); | ^ platform/msm_shared/boot_stats.c: In function 'bs_set_timestamp': platform/msm_shared/boot_stats.c:37:19: warning: implicit declaration of function 'get_bs_info_addr' [-Wimplicit-function-declaration] 37 | addr_t bs_imem = get_bs_info_addr(); | ^~~~~~~~~~~~~~~~ platform/msm_shared/boot_stats.c:47:24: warning: implicit declaration of function 'platform_get_sclk_count' [-Wimplicit-function-declaration] 47 | kernel_load_start = platform_get_sclk_count(); | ^~~~~~~~~~~~~~~~~~~~~~~ compiling platform/msm_shared/crc32.c compiling platform/msm_shared/sdhci.c In file included from platform/msm_shared/sdhci.c:40: ./platform/msm_shared/include/sdhci_msm.h:137:67: warning: 'struct mmc_card' declared inside parameter list will not be visible outside of this definition or declaration 137 | uint32_t sdhci_msm_execute_tuning(struct sdhci_host *host, struct mmc_card * card, uint32_t bus_width); | ^~~~~~~~ compiling platform/msm_shared/sdhci_msm.c compiling platform/msm_shared/mmc_sdhci.c platform/msm_shared/sdhci_msm.c: In function 'sdhci_msm_init': platform/msm_shared/sdhci_msm.c:192:40: warning: passing argument 2 of 'register_int_handler' from incompatible pointer type [-Wincompatible-pointer-types] 192 | register_int_handler(config->pwr_irq, sdhci_int_handler, (void *)config); | ^~~~~~~~~~~~~~~~~ | | | enum handler_return (*)(struct sdhci_msm_data *) In file included from platform/msm_shared/sdhci_msm.c:31: include/platform/interrupts.h:33:60: note: expected 'int_handler' {aka 'enum handler_return (*)(void *)'} but argument is of type 'enum handler_return (*)(struct sdhci_msm_data *)' 33 | void register_int_handler(unsigned int vector, int_handler handler, void *arg); | ~~~~~~~~~~~~^~~~~~~ platform/msm_shared/sdhci_msm.c: In function 'sdhci_msm_execute_tuning': platform/msm_shared/sdhci_msm.c:642:2: warning: braces around scalar initializer 642 | uint32_t tuned_phases[MAX_PHASES] = {{0}}; | ^~~~~~~~ platform/msm_shared/sdhci_msm.c:642:2: note: (near initialization for 'tuned_phases[0]') platform/msm_shared/sdhci_msm.c:668:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 668 | tuning_block = tuning_block_128; | ^ platform/msm_shared/sdhci_msm.c:673:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 673 | tuning_block = tuning_block_64; | ^ platform/msm_shared/mmc_sdhci.c: In function 'mmc_set_hs200_mode': platform/msm_shared/mmc_sdhci.c:896:3: warning: implicit declaration of function 'sdhci_msm_set_mci_clk' [-Wimplicit-function-declaration] 896 | sdhci_msm_set_mci_clk(host); | ^~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/mmc_sdhci.c: In function 'mmc_host_init': platform/msm_shared/mmc_sdhci.c:1125:3: warning: implicit declaration of function 'clock_config_cdc'; did you mean 'clock_config_mmc'? [-Wimplicit-function-declaration] 1125 | clock_config_cdc(cfg->slot); | ^~~~~~~~~~~~~~~~ | clock_config_mmc compiling platform/msm_shared/mmc_wrapper.c platform/msm_shared/mmc_wrapper.c: In function 'mmc_write': platform/msm_shared/mmc_wrapper.c:132:6: warning: implicit declaration of function 'platform_boot_dev_isemmc' [-Wimplicit-function-declaration] 132 | if (platform_boot_dev_isemmc()) | ^~~~~~~~~~~~~~~~~~~~~~~~ compiling platform/msm_shared/menu_keys_detect.c compiling platform/msm_shared/display_menu.c compiling platform/msm_shared/qgic.c compiling platform/msm_shared/qtimer.c compiling platform/msm_shared/qtimer_mmap.c compiling platform/msm_shared/interrupts.c platform/msm_shared/interrupts.c: In function 'platform_irq': platform/msm_shared/interrupts.c:45:9: warning: implicit declaration of function 'gic_platform_irq'; did you mean 'platform_irq'? [-Wimplicit-function-declaration] 45 | return gic_platform_irq(frame); | ^~~~~~~~~~~~~~~~ | platform_irq platform/msm_shared/interrupts.c: In function 'platform_fiq': platform/msm_shared/interrupts.c:57:2: warning: implicit declaration of function 'gic_platform_fiq'; did you mean 'platform_fiq'? [-Wimplicit-function-declaration] 57 | gic_platform_fiq(frame); | ^~~~~~~~~~~~~~~~ | platform_fiq platform/msm_shared/interrupts.c: In function 'mask_interrupt': platform/msm_shared/interrupts.c:69:9: warning: implicit declaration of function 'gic_mask_interrupt'; did you mean 'unmask_interrupt'? [-Wimplicit-function-declaration] 69 | return gic_mask_interrupt(vector); | ^~~~~~~~~~~~~~~~~~ | unmask_interrupt platform/msm_shared/interrupts.c: In function 'unmask_interrupt': platform/msm_shared/interrupts.c:81:9: warning: implicit declaration of function 'gic_unmask_interrupt'; did you mean 'unmask_interrupt'? [-Wimplicit-function-declaration] 81 | return gic_unmask_interrupt(vector); | ^~~~~~~~~~~~~~~~~~~~ | unmask_interrupt platform/msm_shared/interrupts.c: In function 'register_int_handler': platform/msm_shared/interrupts.c:93:3: warning: implicit declaration of function 'gic_register_int_handler'; did you mean 'register_int_handler'? [-Wimplicit-function-declaration] 93 | gic_register_int_handler(vector, func, arg); | ^~~~~~~~~~~~~~~~~~~~~~~~ | register_int_handler compiling platform/msm_shared/clock.c compiling platform/msm_shared/clock_pll.c compiling platform/msm_shared/clock_lib2.c compiling platform/msm_shared/uart_dm.c compiling platform/msm_shared/board.c platform/msm_shared/clock_lib2.c: In function 'clock_lib2_branch_clk_reset': platform/msm_shared/clock_lib2.c:273:43: warning: passing argument 1 of '__clock_lib2_branch_clk_reset' makes integer from pointer without a cast [-Wint-conversion] 273 | return __clock_lib2_branch_clk_reset(bclk->bcr_reg, action); | ~~~~^~~~~~~~~ | | | uint32_t * const {aka unsigned int * const} platform/msm_shared/clock_lib2.c:230:51: note: expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'uint32_t * const' {aka 'unsigned int * const'} 230 | static int __clock_lib2_branch_clk_reset(uint32_t bcr_reg, enum clk_reset_action action) | ~~~~~~~~~^~~~~~~ platform/msm_shared/board.c: In function 'platform_detect': platform/msm_shared/board.c:157:67: warning: implicit declaration of function 'platform_get_boot_dev' [-Wimplicit-function-declaration] 157 | board.platform_hlos_subtype = (board_get_ddr_subtype() << 8) | (platform_get_boot_dev() << 16) | (platform_detect_panel() << 11); | ^~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/board.c:157:101: warning: implicit declaration of function 'platform_detect_panel'; did you mean 'platform_detect'? [-Wimplicit-function-declaration] 157 | board.platform_hlos_subtype = (board_get_ddr_subtype() << 8) | (platform_get_boot_dev() << 16) | (platform_detect_panel() << 11); | ^~~~~~~~~~~~~~~~~~~~~ | platform_detect compiling platform/msm_shared/spmi.c compiling platform/msm_shared/bam.c platform/msm_shared/spmi.c: In function 'spmi_lookup_chnl_number': platform/msm_shared/spmi.c:56:25: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 56 | chnl_tbl = (uint8_t *) malloc(chnl_tbl_sz); | ^~~~~~ platform/msm_shared/spmi.c:36:1: note: 'malloc' is defined in header ''; did you forget to '#include '? 35 | #include +++ |+#include 36 | compiling platform/msm_shared/scm.c platform/msm_shared/spmi.c: In function 'pmic_arb_write_cmd': platform/msm_shared/spmi.c:157:56: warning: passing argument 4 of 'write_wdata_from_array' from incompatible pointer type [-Wincompatible-pointer-types] 157 | write_wdata_from_array(param->buffer, 0, param->size, &bytes_written); | ^~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} platform/msm_shared/spmi.c:94:42: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint32_t *' {aka 'unsigned int *'} 94 | uint8_t* bytes_written) | ~~~~~~~~~^~~~~~~~~~~~~ platform/msm_shared/spmi.c:162:57: warning: passing argument 4 of 'write_wdata_from_array' from incompatible pointer type [-Wincompatible-pointer-types] 162 | write_wdata_from_array(param->buffer, 1, param->size, &bytes_written); | ^~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} platform/msm_shared/spmi.c:94:42: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint32_t *' {aka 'unsigned int *'} 94 | uint8_t* bytes_written) | ~~~~~~~~~^~~~~~~~~~~~~ platform/msm_shared/spmi.c: In function 'spmi_enable_periph_interrupts': platform/msm_shared/spmi.c:385:56: warning: passing argument 2 of 'register_int_handler' from incompatible pointer type [-Wincompatible-pointer-types] 385 | register_int_handler(EE0_KRAIT_HLOS_SPMI_PERIPH_IRQ , spmi_irq, 0); | ^~~~~~~~ | | | void (*)() In file included from platform/msm_shared/spmi.c:35: include/platform/interrupts.h:33:60: note: expected 'int_handler' {aka 'enum handler_return (*)(void *)'} but argument is of type 'void (*)()' 33 | void register_int_handler(unsigned int vector, int_handler handler, void *arg); | ~~~~~~~~~~~~^~~~~~~ platform/msm_shared/scm.c: In function 'scm_call_atomic': platform/msm_shared/scm.c:195:39: warning: initialization of 'uint32_t' {aka 'unsigned int'} from 'uint32_t *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Wint-conversion] 195 | register uint32_t r1 __asm__("r1") = &context_id; | ^ platform/msm_shared/scm.c: In function 'scm_call_atomic2': platform/msm_shared/scm.c:224:39: warning: initialization of 'uint32_t' {aka 'unsigned int'} from 'int *' makes integer from pointer without a cast [-Wint-conversion] 224 | register uint32_t r1 __asm__("r1") = &context_id; | ^ platform/msm_shared/scm.c: In function 'ssd_image_is_encrypted': platform/msm_shared/scm.c:446:15: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'uint32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Wint-conversion] 446 | scm_arg.x3 = parse_req.md; | ^ platform/msm_shared/scm.c: In function 'decrypt_scm_v2': platform/msm_shared/scm.c:532:19: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'uint32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Wint-conversion] 532 | scm_arg.x5[0] = decrypt_req.frag; | ^ platform/msm_shared/scm.c: In function 'scm_protect_keystore': platform/msm_shared/scm.c:675:14: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'uint32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Wint-conversion] 675 | scm_arg.x2 = protect_req.keystore_ptr; | ^ platform/msm_shared/scm.c: In function 'set_tamper_fuse_cmd': platform/msm_shared/scm.c:726:15: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 726 | scm_arg.x2 = cmd_buf; | ^ platform/msm_shared/scm.c: In function 'get_tamper_fuse_cmd': platform/msm_shared/scm.c:766:15: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 766 | scm_arg.x2 = cmd_buf; | ^ platform/msm_shared/scm.c: In function 'save_kernel_hash_cmd': platform/msm_shared/scm.c:818:14: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'uint8_t *' {aka 'unsigned char *'} makes integer from pointer without a cast [-Wint-conversion] 818 | scm_arg.x3 = (uint8_t *)&req.digest; | ^ platform/msm_shared/scm.c: In function 'scm_elexec_call': platform/msm_shared/scm.c:1049:14: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 1049 | scm_arg.x2 = (void *)¶m; | ^ platform/msm_shared/scm.c: In function 'get_canary': platform/msm_shared/scm.c:1119:13: warning: implicit declaration of function 'rand' [-Wimplicit-function-declaration] 1119 | canary = rand(); | ^~~~ platform/msm_shared/scm.c: In function 'is_secure_boot_enable': platform/msm_shared/scm.c:1282:66: warning: passing argument 3 of 'scm_call_atomic2' makes integer from pointer without a cast [-Wint-conversion] 1282 | ret = scm_call_atomic2(TZBSP_SVC_INFO, IS_SECURE_BOOT_ENABLED, resp, (2 * sizeof(uint32_t))); | ^~~~ | | | uint32_t * {aka unsigned int *} platform/msm_shared/scm.c:220:59: note: expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'uint32_t *' {aka 'unsigned int *'} 220 | int scm_call_atomic2(uint32_t svc, uint32_t cmd, uint32_t arg1, uint32_t arg2) | ~~~~~~~~~^~~~ compiling platform/msm_shared/qpic_nand.c platform/msm_shared/qpic_nand.c: In function 'qpic_nand_read_page': platform/msm_shared/qpic_nand.c:1497:17: warning: assignment to 'uint32_t *' {aka 'unsigned int *'} from incompatible pointer type 'struct cmd_element *' [-Wincompatible-pointer-types] 1497 | cmd_list_temp = cmd_list_ptr; | ^ platform/msm_shared/qpic_nand.c:1497:3: warning: converting a packed 'struct cmd_element' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1497 | cmd_list_temp = cmd_list_ptr; | ^~~~~~~~~~~~~ In file included from platform/msm_shared/qpic_nand.c:30: ./platform/msm_shared/include/bam.h:246:8: note: defined here 246 | struct cmd_element { | ^~~~~~~~~~~ compiling platform/msm_shared/dload_util.c compiling platform/msm_shared/gpio.c compiling platform/msm_shared/dev_tree.c platform/msm_shared/dev_tree.c: In function 'dev_tree_appended': platform/msm_shared/dev_tree.c:544:16: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 544 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ platform/msm_shared/dev_tree.c: In function 'platform_dt_absolute_match': platform/msm_shared/dev_tree.c:648:24: warning: implicit declaration of function 'target_get_hlos_subtype' [-Wimplicit-function-declaration] 648 | (cur_dt_hlos_ddr == (target_get_hlos_subtype() & 0x700)) && | ^~~~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/dev_tree.c: In function 'platform_dt_absolute_compat_match': platform/msm_shared/dev_tree.c:795:17: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 795 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ compiling platform/msm_shared/qseecom_lk.c platform/msm_shared/dev_tree.c: In function 'update_dtb_entry_node': platform/msm_shared/dev_tree.c:869:17: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 869 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ platform/msm_shared/dev_tree.c:913:17: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 913 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ platform/msm_shared/dev_tree.c: In function 'dev_tree_get_entry_info': platform/msm_shared/dev_tree.c:1138:16: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 1138 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ compiling platform/msm_shared/mdp5.c In file included from target/msm8916/include/target/display.h:35, from platform/msm_shared/mdp5.c:31: ./dev/gcdb/display/include/display_resource.h:72:1: warning: useless storage class specifier in empty declaration 72 | }; | ^ ./dev/gcdb/display/include/display_resource.h:86:1: warning: useless storage class specifier in empty declaration 86 | }; | ^ In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:187: warning: "MDP_HW_REV" redefined 187 | #define MDP_HW_REV REG_MDP(0x1000) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:89: note: this is the location of the previous definition 89 | #define MDP_HW_REV REG_MDP(0x0100) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:196: warning: "MDP_DISP_INTF_SEL" redefined 196 | #define MDP_DISP_INTF_SEL REG_MDP(0x1004) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:94: note: this is the location of the previous definition 94 | #define MDP_DISP_INTF_SEL REG_MDP(0x0104) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:197: warning: "MDP_VIDEO_INTF_UNDERFLOW_CTL" redefined 197 | #define MDP_VIDEO_INTF_UNDERFLOW_CTL REG_MDP(0x12E0) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:95: note: this is the location of the previous definition 95 | #define MDP_VIDEO_INTF_UNDERFLOW_CTL REG_MDP(0x03E0) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:198: warning: "MDP_UPPER_NEW_ROI_PRIOR_RO_START" redefined 198 | #define MDP_UPPER_NEW_ROI_PRIOR_RO_START REG_MDP(0x11EC) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:96: note: this is the location of the previous definition 96 | #define MDP_UPPER_NEW_ROI_PRIOR_RO_START REG_MDP(0x02EC) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:199: warning: "MDP_LOWER_NEW_ROI_PRIOR_TO_START" redefined 199 | #define MDP_LOWER_NEW_ROI_PRIOR_TO_START REG_MDP(0x13F8) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:97: note: this is the location of the previous definition 97 | #define MDP_LOWER_NEW_ROI_PRIOR_TO_START REG_MDP(0x04F8) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:200: warning: "MDP_CTL_0_BASE" redefined 200 | #define MDP_CTL_0_BASE REG_MDP(0x2000) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:103: note: this is the location of the previous definition 103 | #define MDP_CTL_0_BASE REG_MDP(0x600) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:201: warning: "MDP_CTL_1_BASE" redefined 201 | #define MDP_CTL_1_BASE REG_MDP(0x2200) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:104: note: this is the location of the previous definition 104 | #define MDP_CTL_1_BASE REG_MDP(0x700) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:202: warning: "MDP_CLK_CTRL0" redefined 202 | #define MDP_CLK_CTRL0 REG_MDP(0x012AC) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:147: note: this is the location of the previous definition 147 | #define MDP_CLK_CTRL0 REG_MDP(0x03AC) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:203: warning: "MDP_CLK_CTRL1" redefined 203 | #define MDP_CLK_CTRL1 REG_MDP(0x012B4) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:148: note: this is the location of the previous definition 148 | #define MDP_CLK_CTRL1 REG_MDP(0x03B4) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:204: warning: "MDP_CLK_CTRL2" redefined 204 | #define MDP_CLK_CTRL2 REG_MDP(0x012BC) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:149: note: this is the location of the previous definition 149 | #define MDP_CLK_CTRL2 REG_MDP(0x03BC) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:205: warning: "MDP_CLK_CTRL3" redefined 205 | #define MDP_CLK_CTRL3 REG_MDP(0x013A8) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:150: note: this is the location of the previous definition 150 | #define MDP_CLK_CTRL3 REG_MDP(0x04A8) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:206: warning: "MDP_CLK_CTRL4" redefined 206 | #define MDP_CLK_CTRL4 REG_MDP(0x013B0) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:151: note: this is the location of the previous definition 151 | #define MDP_CLK_CTRL4 REG_MDP(0x04B0) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:207: warning: "MDP_CLK_CTRL5" redefined 207 | #define MDP_CLK_CTRL5 REG_MDP(0x013B8) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:152: note: this is the location of the previous definition 152 | #define MDP_CLK_CTRL5 REG_MDP(0x04B8) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:209: warning: "MDP_INTF_0_BASE" redefined 209 | #define MDP_INTF_0_BASE REG_MDP(0x11F00) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:122: note: this is the location of the previous definition 122 | #define MDP_INTF_0_BASE REG_MDP(0x12500) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:211: warning: "MDP_INTF_2_BASE" redefined 211 | #define MDP_INTF_2_BASE REG_MDP(0x12F00) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:124: note: this is the location of the previous definition 124 | #define MDP_INTF_2_BASE REG_MDP(0x12900) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:213: warning: "MDP_REG_SPLIT_DISPLAY_EN" redefined 213 | #define MDP_REG_SPLIT_DISPLAY_EN REG_MDP(0x12f4) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:115: note: this is the location of the previous definition 115 | #define MDP_REG_SPLIT_DISPLAY_EN REG_MDP(0x3F4) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:214: warning: "MDP_REG_SPLIT_DISPLAY_UPPER_PIPE_CTL" redefined 214 | #define MDP_REG_SPLIT_DISPLAY_UPPER_PIPE_CTL REG_MDP(0x12F8) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:116: note: this is the location of the previous definition 116 | #define MDP_REG_SPLIT_DISPLAY_UPPER_PIPE_CTL REG_MDP(0x3F8) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:215: warning: "MDP_REG_SPLIT_DISPLAY_LOWER_PIPE_CTL" redefined 215 | #define MDP_REG_SPLIT_DISPLAY_LOWER_PIPE_CTL REG_MDP(0x13F0) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:117: note: this is the location of the previous definition 117 | #define MDP_REG_SPLIT_DISPLAY_LOWER_PIPE_CTL REG_MDP(0x4F0) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:220: warning: "MMSS_MDP_SMP_ALLOC_W_BASE" redefined 220 | #define MMSS_MDP_SMP_ALLOC_W_BASE REG_MDP(0x1080) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:156: note: this is the location of the previous definition 156 | #define MMSS_MDP_SMP_ALLOC_W_BASE REG_MDP(0x0180) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:221: warning: "MMSS_MDP_SMP_ALLOC_R_BASE" redefined 221 | #define MMSS_MDP_SMP_ALLOC_R_BASE REG_MDP(0x1130) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:157: note: this is the location of the previous definition 157 | #define MMSS_MDP_SMP_ALLOC_R_BASE REG_MDP(0x0230) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:223: warning: "MDP_QOS_REMAPPER_CLASS_0" redefined 223 | #define MDP_QOS_REMAPPER_CLASS_0 REG_MDP(0x11E0) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:163: note: this is the location of the previous definition 163 | #define MDP_QOS_REMAPPER_CLASS_0 REG_MDP(0x02E0) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:225: warning: "VBIF_VBIF_DDR_FORCE_CLK_ON" redefined 225 | #define VBIF_VBIF_DDR_FORCE_CLK_ON REG_MDP(0xc8004) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:167: note: this is the location of the previous definition 167 | #define VBIF_VBIF_DDR_FORCE_CLK_ON REG_MDP(0x24004) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:226: warning: "VBIF_VBIF_DDR_OUT_MAX_BURST" redefined 226 | #define VBIF_VBIF_DDR_OUT_MAX_BURST REG_MDP(0xc80D8) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:168: note: this is the location of the previous definition 168 | #define VBIF_VBIF_DDR_OUT_MAX_BURST REG_MDP(0x240D8) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:227: warning: "VBIF_VBIF_DDR_ARB_CTRL" redefined 227 | #define VBIF_VBIF_DDR_ARB_CTRL REG_MDP(0xc80F0) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:169: note: this is the location of the previous definition 169 | #define VBIF_VBIF_DDR_ARB_CTRL REG_MDP(0x240F0) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:228: warning: "VBIF_VBIF_DDR_RND_RBN_QOS_ARB" redefined 228 | #define VBIF_VBIF_DDR_RND_RBN_QOS_ARB REG_MDP(0xc8124) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:170: note: this is the location of the previous definition 170 | #define VBIF_VBIF_DDR_RND_RBN_QOS_ARB REG_MDP(0x24124) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:229: warning: "VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF0" redefined 229 | #define VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF0 REG_MDP(0xc8160) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:171: note: this is the location of the previous definition 171 | #define VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF0 REG_MDP(0x24160) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:230: warning: "VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF1" redefined 230 | #define VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF1 REG_MDP(0xc8164) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:172: note: this is the location of the previous definition 172 | #define VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF1 REG_MDP(0x24164) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:231: warning: "VBIF_VBIF_DDR_OUT_AOOO_AXI_EN" redefined 231 | #define VBIF_VBIF_DDR_OUT_AOOO_AXI_EN REG_MDP(0xc8178) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:173: note: this is the location of the previous definition 173 | #define VBIF_VBIF_DDR_OUT_AOOO_AXI_EN REG_MDP(0x24178) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:232: warning: "VBIF_VBIF_DDR_OUT_AX_AOOO" redefined 232 | #define VBIF_VBIF_DDR_OUT_AX_AOOO REG_MDP(0xc817C) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:174: note: this is the location of the previous definition 174 | #define VBIF_VBIF_DDR_OUT_AX_AOOO REG_MDP(0x2417C) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:233: warning: "VBIF_VBIF_IN_RD_LIM_CONF0" redefined 233 | #define VBIF_VBIF_IN_RD_LIM_CONF0 REG_MDP(0xc80B0) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:175: note: this is the location of the previous definition 175 | #define VBIF_VBIF_IN_RD_LIM_CONF0 REG_MDP(0x240B0) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:234: warning: "VBIF_VBIF_IN_RD_LIM_CONF1" redefined 234 | #define VBIF_VBIF_IN_RD_LIM_CONF1 REG_MDP(0xc80B4) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:176: note: this is the location of the previous definition 176 | #define VBIF_VBIF_IN_RD_LIM_CONF1 REG_MDP(0x240B4) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:235: warning: "VBIF_VBIF_IN_RD_LIM_CONF2" redefined 235 | #define VBIF_VBIF_IN_RD_LIM_CONF2 REG_MDP(0xc80B8) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:177: note: this is the location of the previous definition 177 | #define VBIF_VBIF_IN_RD_LIM_CONF2 REG_MDP(0x240B8) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:236: warning: "VBIF_VBIF_IN_RD_LIM_CONF3" redefined 236 | #define VBIF_VBIF_IN_RD_LIM_CONF3 REG_MDP(0xc80BC) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:178: note: this is the location of the previous definition 178 | #define VBIF_VBIF_IN_RD_LIM_CONF3 REG_MDP(0x240BC) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:237: warning: "VBIF_VBIF_IN_WR_LIM_CONF0" redefined 237 | #define VBIF_VBIF_IN_WR_LIM_CONF0 REG_MDP(0xc80C0) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:179: note: this is the location of the previous definition 179 | #define VBIF_VBIF_IN_WR_LIM_CONF0 REG_MDP(0x240C0) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:238: warning: "VBIF_VBIF_IN_WR_LIM_CONF1" redefined 238 | #define VBIF_VBIF_IN_WR_LIM_CONF1 REG_MDP(0xc80C4) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:180: note: this is the location of the previous definition 180 | #define VBIF_VBIF_IN_WR_LIM_CONF1 REG_MDP(0x240C4) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:239: warning: "VBIF_VBIF_IN_WR_LIM_CONF2" redefined 239 | #define VBIF_VBIF_IN_WR_LIM_CONF2 REG_MDP(0xc80C8) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:181: note: this is the location of the previous definition 181 | #define VBIF_VBIF_IN_WR_LIM_CONF2 REG_MDP(0x240C8) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:240: warning: "VBIF_VBIF_IN_WR_LIM_CONF3" redefined 240 | #define VBIF_VBIF_IN_WR_LIM_CONF3 REG_MDP(0xc80CC) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:182: note: this is the location of the previous definition 182 | #define VBIF_VBIF_IN_WR_LIM_CONF3 REG_MDP(0x240CC) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:241: warning: "VBIF_VBIF_ABIT_SHORT" redefined 241 | #define VBIF_VBIF_ABIT_SHORT REG_MDP(0xc8070) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:183: note: this is the location of the previous definition 183 | #define VBIF_VBIF_ABIT_SHORT REG_MDP(0x24070) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:242: warning: "VBIF_VBIF_ABIT_SHORT_CONF" redefined 242 | #define VBIF_VBIF_ABIT_SHORT_CONF REG_MDP(0xc8074) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:184: note: this is the location of the previous definition 184 | #define VBIF_VBIF_ABIT_SHORT_CONF REG_MDP(0x24074) | In file included from platform/msm_shared/mdp5.c:33: platform/msm8916/include/platform/iomap.h:243: warning: "VBIF_VBIF_GATE_OFF_WRREQ_EN" redefined 243 | #define VBIF_VBIF_GATE_OFF_WRREQ_EN REG_MDP(0xc80A8) | In file included from platform/msm_shared/mdp5.c:28: ./platform/msm_shared/include/mdp5.h:185: note: this is the location of the previous definition 185 | #define VBIF_VBIF_GATE_OFF_WRREQ_EN REG_MDP(0x240A8) | In file included from platform/msm_shared/mdp5.c:38: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ In file included from platform/msm_shared/mdp5.c:30: platform/msm_shared/mdp5.c: In function 'mdss_source_pipe_config': include/reg.h:39:33: warning: assignment to 'uint32_t' {aka 'volatile unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 39 | #define writel(v, a) (*REG32(a) = (v)) | ^ platform/msm_shared/mdp5.c:175:2: note: in expansion of macro 'writel' 175 | writel(fb->base, pipe_base + PIPE_SSPP_SRC0_ADDR); | ^~~~~~ In file included from platform/msm_shared/mdp5.c:39: platform/msm_shared/mdp5.c: In function 'mdss_intf_tg_setup': include/err.h:36:26: warning: 'return' with a value, in function returning void 36 | #define ERR_INVALID_ARGS -8 | ^ platform/msm_shared/mdp5.c:390:10: note: in expansion of macro 'ERR_INVALID_ARGS' 390 | return ERR_INVALID_ARGS; | ^~~~~~~~~~~~~~~~ platform/msm_shared/mdp5.c:378:6: note: declared here 378 | void mdss_intf_tg_setup(struct msm_panel_info *pinfo, uint32_t intf_base) | ^~~~~~~~~~~~~~~~~~ In file included from platform/msm_shared/mdp5.c:39: include/err.h:36:26: warning: 'return' with a value, in function returning void 36 | #define ERR_INVALID_ARGS -8 | ^ platform/msm_shared/mdp5.c:394:10: note: in expansion of macro 'ERR_INVALID_ARGS' 394 | return ERR_INVALID_ARGS; | ^~~~~~~~~~~~~~~~ platform/msm_shared/mdp5.c:378:6: note: declared here 378 | void mdss_intf_tg_setup(struct msm_panel_info *pinfo, uint32_t intf_base) | ^~~~~~~~~~~~~~~~~~ platform/msm_shared/mdp5.c: In function 'mdp_dsi_video_off': platform/msm_shared/mdp5.c:964:6: warning: implicit declaration of function 'target_cont_splash_screen' [-Wimplicit-function-declaration] 964 | if(!target_cont_splash_screen()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ compiling platform/msm_shared/display.c In file included from platform/msm_shared/display.c:33: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ platform/msm_shared/display.c: In function 'msm_fb_alloc': platform/msm_shared/display.c:46:14: warning: implicit declaration of function 'memalign' [-Wimplicit-function-declaration] 46 | fb->base = memalign(4096, fb->width | ^~~~~~~~ platform/msm_shared/display.c:46:12: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 46 | fb->base = memalign(4096, fb->width | ^ platform/msm_shared/display.c: In function 'msm_display_config': platform/msm_shared/display.c:108:9: warning: implicit declaration of function 'mdp_dsi_cmd_config'; did you mean 'mipi_dsi_cmd_config'? [-Wimplicit-function-declaration] 108 | ret = mdp_dsi_cmd_config(pinfo, &(panel->fb)); | ^~~~~~~~~~~~~~~~~~ | mipi_dsi_cmd_config platform/msm_shared/display.c:120:9: warning: implicit declaration of function 'mdss_hdmi_config'; did you mean 'mdss_dsi_config'? [-Wimplicit-function-declaration] 120 | ret = mdss_hdmi_config(pinfo, &(panel->fb)); | ^~~~~~~~~~~~~~~~ | mdss_dsi_config platform/msm_shared/display.c: In function 'msm_display_on': platform/msm_shared/display.c:176:9: warning: implicit declaration of function 'mdss_dsi_post_on' [-Wimplicit-function-declaration] 176 | ret = mdss_dsi_post_on(panel); | ^~~~~~~~~~~~~~~~ platform/msm_shared/display.c:186:9: warning: implicit declaration of function 'mdp_dma_on'; did you mean 'mdp_edp_on'? [-Wimplicit-function-declaration] 186 | ret = mdp_dma_on(pinfo); | ^~~~~~~~~~ | mdp_edp_on platform/msm_shared/display.c:192:10: warning: implicit declaration of function 'mipi_cmd_trigger' [-Wimplicit-function-declaration] 192 | ret = mipi_cmd_trigger(); | ^~~~~~~~~~~~~~~~ platform/msm_shared/display.c:210:9: warning: implicit declaration of function 'mdss_hdmi_init'; did you mean 'mdss_dsi_phy_init'? [-Wimplicit-function-declaration] 210 | ret = mdss_hdmi_init(); | ^~~~~~~~~~~~~~ | mdss_dsi_phy_init platform/msm_shared/display.c:214:9: warning: implicit declaration of function 'mdss_hdmi_on' [-Wimplicit-function-declaration] 214 | ret = mdss_hdmi_on(); | ^~~~~~~~~~~~ platform/msm_shared/display.c: In function 'msm_display_init': platform/msm_shared/display.c:285:2: warning: implicit declaration of function 'display_image_on_screen' [-Wimplicit-function-declaration] 285 | display_image_on_screen(); | ^~~~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/display.c: In function 'msm_display_off': platform/msm_shared/display.c:338:9: warning: implicit declaration of function 'mdp_dsi_cmd_off'; did you mean 'mdp_dsi_video_off'? [-Wimplicit-function-declaration] 338 | ret = mdp_dsi_cmd_off(); | ^~~~~~~~~~~~~~~ | mdp_dsi_video_off platform/msm_shared/display.c:359:6: warning: implicit declaration of function 'target_cont_splash_screen' [-Wimplicit-function-declaration] 359 | if (target_cont_splash_screen()) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ compiling platform/msm_shared/mipi_dsi.c In file included from platform/msm_shared/mipi_dsi.c:32: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ In file included from target/msm8916/include/target/display.h:35, from platform/msm_shared/mipi_dsi.c:37: ./dev/gcdb/display/include/display_resource.h:72:1: warning: useless storage class specifier in empty declaration 72 | }; | ^ ./dev/gcdb/display/include/display_resource.h:86:1: warning: useless storage class specifier in empty declaration 86 | }; | ^ platform/msm_shared/mipi_dsi.c: In function 'mdss_dsi_read_panel_signature': platform/msm_shared/mipi_dsi.c:85:7: warning: implicit declaration of function 'mdss_dsi_cmds_rx'; did you mean 'mipi_dsi_cmds_rx'? [-Wimplicit-function-declaration] 85 | if (!mdss_dsi_cmds_rx(&lp, 1, 1)) | ^~~~~~~~~~~~~~~~ | mipi_dsi_cmds_rx platform/msm_shared/mipi_dsi.c: In function 'mdss_dual_dsi_cmds_tx': platform/msm_shared/mipi_dsi.c:201:6: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion] 201 | off = pload; | ^ platform/msm_shared/mipi_dsi.c:205:6: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion] 205 | off += pload; | ^~ platform/msm_shared/mipi_dsi.c: In function 'mdss_dsi_cmds_rx': platform/msm_shared/mipi_dsi.c:283:7: warning: assignment to 'char *' from incompatible pointer type 'uint32_t *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] 283 | dp = *rp; | ^ platform/msm_shared/mipi_dsi.c: In function 'mipi_dsi_cmds_tx': platform/msm_shared/mipi_dsi.c:299:6: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion] 299 | off = pload; | ^ platform/msm_shared/mipi_dsi.c:303:6: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion] 303 | off += pload; | ^~ compiling platform/msm_shared/mipi_dsi_phy.c platform/msm_shared/mipi_dsi.c: In function 'mdss_dsi_panel_initialize': platform/msm_shared/mipi_dsi.c:535:19: warning: implicit declaration of function 'target_panel_auto_detect_enabled' [-Wimplicit-function-declaration] 535 | if (!status && target_panel_auto_detect_enabled()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/mipi_dsi.c: In function 'mipi_dsi_shutdown': platform/msm_shared/mipi_dsi.c:597:6: warning: implicit declaration of function 'target_cont_splash_screen' [-Wimplicit-function-declaration] 597 | if(!target_cont_splash_screen()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from platform/msm_shared/mipi_dsi.c:30: platform/msm_shared/mipi_dsi.c:605:13: warning: implicit declaration of function 'DSIPHY_PLL_CTRL'; did you mean 'DSIPHY_PLL_RDY'? [-Wimplicit-function-declaration] 605 | writel(0, DSIPHY_PLL_CTRL(0)); | ^~~~~~~~~~~~~~~ include/reg.h:30:44: note: in definition of macro 'REG32' 30 | #define REG32(addr) ((volatile uint32_t *)(addr)) | ^~~~ platform/msm_shared/mipi_dsi.c:605:3: note: in expansion of macro 'writel' 605 | writel(0, DSIPHY_PLL_CTRL(0)); | ^~~~~~ platform/msm_shared/mipi_dsi.c: In function 'mipi_config': platform/msm_shared/mipi_dsi.c:641:2: warning: implicit declaration of function 'mipi_dsi_phy_init'; did you mean 'mdss_dsi_phy_init'? [-Wimplicit-function-declaration] 641 | mipi_dsi_phy_init(&mipi_pinfo); | ^~~~~~~~~~~~~~~~~ | mdss_dsi_phy_init platform/msm_shared/mipi_dsi.c: In function 'mdss_dsi_video_mode_config': platform/msm_shared/mipi_dsi.c:690:5: warning: implicit declaration of function 'mdp_get_revision' [-Wimplicit-function-declaration] 690 | mdp_get_revision() != MDP_REV_305) | ^~~~~~~~~~~~~~~~ In file included from platform/msm_shared/mipi_dsi_phy.c:31: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ platform/msm_shared/mipi_dsi_phy.c: In function 'mipi_dsi_phy_init': platform/msm_shared/mipi_dsi_phy.c:100:12: warning: implicit declaration of function 'mdp_get_revision' [-Wimplicit-function-declaration] 100 | mdp_rev = mdp_get_revision(); | ^~~~~~~~~~~~~~~~ platform/msm_shared/mipi_dsi_phy.c:193:4: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] 193 | udelay(1); | ^~~~~~ platform/msm_shared/mipi_dsi_phy.c: In function 'mdss_dsi_phy_regulator_init': platform/msm_shared/mipi_dsi_phy.c:247:3: warning: implicit declaration of function 'dmb' [-Wimplicit-function-declaration] 247 | dmb(); | ^~~ compiling platform/msm_shared/mipi_dsi_autopll.c In file included from platform/msm_shared/mipi_dsi_autopll.c:33: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ platform/msm_shared/mipi_dsi_autopll.c:45:1: warning: useless storage class specifier in empty declaration 45 | }; | ^ platform/msm_shared/mipi_dsi_autopll.c: In function 'mdss_dsi_uniphy_pll_lock_detect_setting': platform/msm_shared/mipi_dsi_autopll.c:70:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] 70 | udelay(100); | ^~~~~~ platform/msm_shared/mipi_dsi_autopll.c:72:2: warning: implicit declaration of function 'mdelay' [-Wimplicit-function-declaration] 72 | mdelay(1); | ^~~~~~ platform/msm_shared/mipi_dsi_autopll.c: In function 'mdss_dsi_auto_pll_config': platform/msm_shared/mipi_dsi_autopll.c:105:2: warning: implicit declaration of function 'mdss_dsi_phy_sw_reset'; did you mean 'mdss_dsi_uniphy_pll_sw_reset'? [-Wimplicit-function-declaration] 105 | mdss_dsi_phy_sw_reset(ctl_base); | ^~~~~~~~~~~~~~~~~~~~~ | mdss_dsi_uniphy_pll_sw_reset compiling platform/msm_shared/shutdown_detect.c compiling platform/msm_shared/i2c_qup.c In file included from platform/msm_shared/i2c_qup.c:46: platform/msm8916/include/platform/gpio.h:36: warning: "GPIO_INPUT" redefined 36 | #define GPIO_INPUT 0 | In file included from platform/msm_shared/i2c_qup.c:38: include/dev/gpio.h:33: note: this is the location of the previous definition 33 | #define GPIO_INPUT 0x0000 | In file included from platform/msm_shared/i2c_qup.c:46: platform/msm8916/include/platform/gpio.h:37: warning: "GPIO_OUTPUT" redefined 37 | #define GPIO_OUTPUT 1 | In file included from platform/msm_shared/i2c_qup.c:38: include/dev/gpio.h:36: note: this is the location of the previous definition 36 | #define GPIO_OUTPUT 0x0001 | platform/msm_shared/i2c_qup.c: In function 'qup_i2c_init': platform/msm_shared/i2c_qup.c:723:17: warning: implicit declaration of function 'GSBI_QUP_IRQ'; did you mean 'BLSP_QUP_IRQ'? [-Wimplicit-function-declaration] 723 | dev->qup_irq = GSBI_QUP_IRQ(gsbi_id); | ^~~~~~~~~~~~ | BLSP_QUP_IRQ platform/msm_shared/i2c_qup.c:724:18: warning: implicit declaration of function 'QUP_BASE'; did you mean 'MDP_BASE'? [-Wimplicit-function-declaration] 724 | dev->qup_base = QUP_BASE(gsbi_id); | ^~~~~~~~ | MDP_BASE platform/msm_shared/i2c_qup.c:725:19: warning: implicit declaration of function 'GSBI_BASE'; did you mean 'SPMI_BASE'? [-Wimplicit-function-declaration] 725 | dev->gsbi_base = GSBI_BASE(gsbi_id); | ^~~~~~~~~ | SPMI_BASE platform/msm_shared/i2c_qup.c:732:2: warning: implicit declaration of function 'gpio_config_i2c'; did you mean 'gpio_config'? [-Wimplicit-function-declaration] 732 | gpio_config_i2c(dev->gsbi_number); | ^~~~~~~~~~~~~~~ | gpio_config platform/msm_shared/shutdown_detect.c: In function 'is_pwrkey_time_expired': platform/msm_shared/shutdown_detect.c:55:24: warning: implicit declaration of function 'platform_get_sclk_count' [-Wimplicit-function-declaration] 55 | uint32_t sclk_count = platform_get_sclk_count(); | ^~~~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/shutdown_detect.c: In function 'long_press_pwrkey_timer_func': platform/msm_shared/shutdown_detect.c:105:5: warning: passing argument 3 of 'timer_set_oneshot' from incompatible pointer type [-Wincompatible-pointer-types] 105 | long_press_pwrkey_timer_func, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | enum handler_return (*)(struct timer *, void *) In file included from platform/msm_shared/shutdown_detect.c:34: include/kernel/timer.h:54:49: note: expected 'timer_callback' {aka 'enum handler_return (*)(struct timer *, long unsigned int, void *)'} but argument is of type 'enum handler_return (*)(struct timer *, void *)' 54 | void timer_set_oneshot(timer_t *, time_t delay, timer_callback, void *arg); | ^~~~~~~~~~~~~~ platform/msm_shared/shutdown_detect.c:107:4: warning: implicit declaration of function 'shutdown_device'; did you mean 'shutdown_detect'? [-Wimplicit-function-declaration] 107 | shutdown_device(); | ^~~~~~~~~~~~~~~ | shutdown_detect platform/msm_shared/shutdown_detect.c: In function 'shutdown_detect': platform/msm_shared/shutdown_detect.c:149:36: warning: passing argument 3 of 'timer_set_oneshot' from incompatible pointer type [-Wincompatible-pointer-types] 149 | timer_set_oneshot(&pon_timer, 0, long_press_pwrkey_timer_func, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | enum handler_return (*)(struct timer *, void *) In file included from platform/msm_shared/shutdown_detect.c:34: include/kernel/timer.h:54:49: note: expected 'timer_callback' {aka 'enum handler_return (*)(struct timer *, long unsigned int, void *)'} but argument is of type 'enum handler_return (*)(struct timer *, void *)' 54 | void timer_set_oneshot(timer_t *, time_t delay, timer_callback, void *arg); | ^~~~~~~~~~~~~~ compiling platform/msm_shared/reboot.c compiling arch/arm/arch.c platform/msm_shared/reboot.c: In function 'reboot_device': platform/msm_shared/reboot.c:131:2: warning: implicit declaration of function 'pmic_reset_configure'; did you mean 'pm8x41_reset_configure'? [-Wimplicit-function-declaration] 131 | pmic_reset_configure(reset_type); | ^~~~~~~~~~~~~~~~~~~~ | pm8x41_reset_configure compiling arch/arm/asm.S compiling arch/arm/cache.c compiling arch/arm/cache-ops.S compiling arch/arm/ops.S compiling arch/arm/exceptions.S arch/arm/ops.S: Assembler messages: arch/arm/ops.S:45: swp{b} use is deprecated for ARMv6 and ARMv7 compiling arch/arm/faults.c compiling arch/arm/mmu.c arch/arm/mmu.c: In function 'arm_mmu_init': arch/arm/mmu.c:72:6: warning: implicit declaration of function 'platform_use_identity_mmu_mappings' [-Wimplicit-function-declaration] 72 | if (platform_use_identity_mmu_mappings()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mmu.c:84:2: warning: implicit declaration of function 'platform_init_mmu_mappings' [-Wimplicit-function-declaration] 84 | platform_init_mmu_mappings(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mmu.c: In function 'arm_mmu_flush': arch/arm/mmu.c:98:2: warning: implicit declaration of function 'arch_clean_cache_range' [-Wimplicit-function-declaration] 98 | arch_clean_cache_range((vaddr_t) &tt, sizeof(tt)); | ^~~~~~~~~~~~~~~~~~~~~~ compiling arch/arm/thread.c compiling arch/arm/dcc.S compiling platform/debug.c compiling platform/init.c platform/init.c: In function 'get_bs_info_addr': platform/init.c:106:9: warning: returning 'void *' from a function with return type 'addr_t' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] 106 | return NULL; | ^~~~ compiling target/init.c In file included from target/init.c:30: ./platform/msm_shared/include/sdhci_msm.h:136:28: warning: 'struct sdhci_host' declared inside parameter list will not be visible outside of this definition or declaration 136 | void sdhci_msm_init(struct sdhci_host *host, struct sdhci_msm_data *data); | ^~~~~~~~~~ ./platform/msm_shared/include/sdhci_msm.h:137:67: warning: 'struct mmc_card' declared inside parameter list will not be visible outside of this definition or declaration 137 | uint32_t sdhci_msm_execute_tuning(struct sdhci_host *host, struct mmc_card * card, uint32_t bus_width); | ^~~~~~~~ ./platform/msm_shared/include/sdhci_msm.h:137:42: warning: 'struct sdhci_host' declared inside parameter list will not be visible outside of this definition or declaration 137 | uint32_t sdhci_msm_execute_tuning(struct sdhci_host *host, struct mmc_card * card, uint32_t bus_width); | ^~~~~~~~~~ ./platform/msm_shared/include/sdhci_msm.h:138:32: warning: 'struct sdhci_host' declared inside parameter list will not be visible outside of this definition or declaration 138 | void sdhci_mode_disable(struct sdhci_host *host); | ^~~~~~~~~~ ./platform/msm_shared/include/sdhci_msm.h:140:34: warning: 'struct sdhci_host' declared inside parameter list will not be visible outside of this definition or declaration 140 | void sdhci_msm_toggle_cdr(struct sdhci_host *host, bool enable); | ^~~~~~~~~~ compiling target/target_display.c compiling target/target_keys_lk2nd.c target/target_display.c:65:51: warning: 'struct msm_panel_info' declared inside parameter list will not be visible outside of this definition or declaration 65 | __WEAK int target_ldo_ctrl(uint8_t enable, struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~ target/target_display.c:70:42: warning: 'struct msm_panel_info' declared inside parameter list will not be visible outside of this definition or declaration 70 | __WEAK void target_edp_panel_init(struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~ target/target_display.c:75:58: warning: 'struct msm_panel_info' declared inside parameter list will not be visible outside of this definition or declaration 75 | __WEAK int target_edp_panel_clock(uint8_t enable, struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~ target/target_display.c:95:59: warning: 'struct msm_panel_info' declared inside parameter list will not be visible outside of this definition or declaration 95 | __WEAK int target_hdmi_panel_clock(uint8_t enable, struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~ compiling target/target_display_cont_splash_mdp5.c In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:187: warning: "MDP_HW_REV" redefined 187 | #define MDP_HW_REV REG_MDP(0x1000) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:89: note: this is the location of the previous definition 89 | #define MDP_HW_REV REG_MDP(0x0100) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:196: warning: "MDP_DISP_INTF_SEL" redefined 196 | #define MDP_DISP_INTF_SEL REG_MDP(0x1004) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:94: note: this is the location of the previous definition 94 | #define MDP_DISP_INTF_SEL REG_MDP(0x0104) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:197: warning: "MDP_VIDEO_INTF_UNDERFLOW_CTL" redefined 197 | #define MDP_VIDEO_INTF_UNDERFLOW_CTL REG_MDP(0x12E0) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:95: note: this is the location of the previous definition 95 | #define MDP_VIDEO_INTF_UNDERFLOW_CTL REG_MDP(0x03E0) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:198: warning: "MDP_UPPER_NEW_ROI_PRIOR_RO_START" redefined 198 | #define MDP_UPPER_NEW_ROI_PRIOR_RO_START REG_MDP(0x11EC) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:96: note: this is the location of the previous definition 96 | #define MDP_UPPER_NEW_ROI_PRIOR_RO_START REG_MDP(0x02EC) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:199: warning: "MDP_LOWER_NEW_ROI_PRIOR_TO_START" redefined 199 | #define MDP_LOWER_NEW_ROI_PRIOR_TO_START REG_MDP(0x13F8) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:97: note: this is the location of the previous definition 97 | #define MDP_LOWER_NEW_ROI_PRIOR_TO_START REG_MDP(0x04F8) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:200: warning: "MDP_CTL_0_BASE" redefined 200 | #define MDP_CTL_0_BASE REG_MDP(0x2000) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:103: note: this is the location of the previous definition 103 | #define MDP_CTL_0_BASE REG_MDP(0x600) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:201: warning: "MDP_CTL_1_BASE" redefined 201 | #define MDP_CTL_1_BASE REG_MDP(0x2200) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:104: note: this is the location of the previous definition 104 | #define MDP_CTL_1_BASE REG_MDP(0x700) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:202: warning: "MDP_CLK_CTRL0" redefined 202 | #define MDP_CLK_CTRL0 REG_MDP(0x012AC) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:147: note: this is the location of the previous definition 147 | #define MDP_CLK_CTRL0 REG_MDP(0x03AC) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:203: warning: "MDP_CLK_CTRL1" redefined 203 | #define MDP_CLK_CTRL1 REG_MDP(0x012B4) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:148: note: this is the location of the previous definition 148 | #define MDP_CLK_CTRL1 REG_MDP(0x03B4) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:204: warning: "MDP_CLK_CTRL2" redefined 204 | #define MDP_CLK_CTRL2 REG_MDP(0x012BC) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:149: note: this is the location of the previous definition 149 | #define MDP_CLK_CTRL2 REG_MDP(0x03BC) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:205: warning: "MDP_CLK_CTRL3" redefined 205 | #define MDP_CLK_CTRL3 REG_MDP(0x013A8) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:150: note: this is the location of the previous definition 150 | #define MDP_CLK_CTRL3 REG_MDP(0x04A8) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:206: warning: "MDP_CLK_CTRL4" redefined 206 | #define MDP_CLK_CTRL4 REG_MDP(0x013B0) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:151: note: this is the location of the previous definition 151 | #define MDP_CLK_CTRL4 REG_MDP(0x04B0) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:207: warning: "MDP_CLK_CTRL5" redefined 207 | #define MDP_CLK_CTRL5 REG_MDP(0x013B8) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:152: note: this is the location of the previous definition 152 | #define MDP_CLK_CTRL5 REG_MDP(0x04B8) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:209: warning: "MDP_INTF_0_BASE" redefined 209 | #define MDP_INTF_0_BASE REG_MDP(0x11F00) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:122: note: this is the location of the previous definition 122 | #define MDP_INTF_0_BASE REG_MDP(0x12500) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:211: warning: "MDP_INTF_2_BASE" redefined 211 | #define MDP_INTF_2_BASE REG_MDP(0x12F00) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:124: note: this is the location of the previous definition 124 | #define MDP_INTF_2_BASE REG_MDP(0x12900) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:213: warning: "MDP_REG_SPLIT_DISPLAY_EN" redefined 213 | #define MDP_REG_SPLIT_DISPLAY_EN REG_MDP(0x12f4) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:115: note: this is the location of the previous definition 115 | #define MDP_REG_SPLIT_DISPLAY_EN REG_MDP(0x3F4) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:214: warning: "MDP_REG_SPLIT_DISPLAY_UPPER_PIPE_CTL" redefined 214 | #define MDP_REG_SPLIT_DISPLAY_UPPER_PIPE_CTL REG_MDP(0x12F8) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:116: note: this is the location of the previous definition 116 | #define MDP_REG_SPLIT_DISPLAY_UPPER_PIPE_CTL REG_MDP(0x3F8) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:215: warning: "MDP_REG_SPLIT_DISPLAY_LOWER_PIPE_CTL" redefined 215 | #define MDP_REG_SPLIT_DISPLAY_LOWER_PIPE_CTL REG_MDP(0x13F0) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:117: note: this is the location of the previous definition 117 | #define MDP_REG_SPLIT_DISPLAY_LOWER_PIPE_CTL REG_MDP(0x4F0) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:220: warning: "MMSS_MDP_SMP_ALLOC_W_BASE" redefined 220 | #define MMSS_MDP_SMP_ALLOC_W_BASE REG_MDP(0x1080) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:156: note: this is the location of the previous definition 156 | #define MMSS_MDP_SMP_ALLOC_W_BASE REG_MDP(0x0180) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:221: warning: "MMSS_MDP_SMP_ALLOC_R_BASE" redefined 221 | #define MMSS_MDP_SMP_ALLOC_R_BASE REG_MDP(0x1130) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:157: note: this is the location of the previous definition 157 | #define MMSS_MDP_SMP_ALLOC_R_BASE REG_MDP(0x0230) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:223: warning: "MDP_QOS_REMAPPER_CLASS_0" redefined 223 | #define MDP_QOS_REMAPPER_CLASS_0 REG_MDP(0x11E0) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:163: note: this is the location of the previous definition 163 | #define MDP_QOS_REMAPPER_CLASS_0 REG_MDP(0x02E0) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:225: warning: "VBIF_VBIF_DDR_FORCE_CLK_ON" redefined 225 | #define VBIF_VBIF_DDR_FORCE_CLK_ON REG_MDP(0xc8004) | compiling kernel/debug.c In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:167: note: this is the location of the previous definition 167 | #define VBIF_VBIF_DDR_FORCE_CLK_ON REG_MDP(0x24004) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:226: warning: "VBIF_VBIF_DDR_OUT_MAX_BURST" redefined 226 | #define VBIF_VBIF_DDR_OUT_MAX_BURST REG_MDP(0xc80D8) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:168: note: this is the location of the previous definition 168 | #define VBIF_VBIF_DDR_OUT_MAX_BURST REG_MDP(0x240D8) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:227: warning: "VBIF_VBIF_DDR_ARB_CTRL" redefined 227 | #define VBIF_VBIF_DDR_ARB_CTRL REG_MDP(0xc80F0) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:169: note: this is the location of the previous definition 169 | #define VBIF_VBIF_DDR_ARB_CTRL REG_MDP(0x240F0) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:228: warning: "VBIF_VBIF_DDR_RND_RBN_QOS_ARB" redefined 228 | #define VBIF_VBIF_DDR_RND_RBN_QOS_ARB REG_MDP(0xc8124) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:170: note: this is the location of the previous definition 170 | #define VBIF_VBIF_DDR_RND_RBN_QOS_ARB REG_MDP(0x24124) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:229: warning: "VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF0" redefined 229 | #define VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF0 REG_MDP(0xc8160) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:171: note: this is the location of the previous definition 171 | #define VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF0 REG_MDP(0x24160) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:230: warning: "VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF1" redefined 230 | #define VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF1 REG_MDP(0xc8164) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:172: note: this is the location of the previous definition 172 | #define VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF1 REG_MDP(0x24164) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:231: warning: "VBIF_VBIF_DDR_OUT_AOOO_AXI_EN" redefined 231 | #define VBIF_VBIF_DDR_OUT_AOOO_AXI_EN REG_MDP(0xc8178) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:173: note: this is the location of the previous definition 173 | #define VBIF_VBIF_DDR_OUT_AOOO_AXI_EN REG_MDP(0x24178) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:232: warning: "VBIF_VBIF_DDR_OUT_AX_AOOO" redefined 232 | #define VBIF_VBIF_DDR_OUT_AX_AOOO REG_MDP(0xc817C) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:174: note: this is the location of the previous definition 174 | #define VBIF_VBIF_DDR_OUT_AX_AOOO REG_MDP(0x2417C) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:233: warning: "VBIF_VBIF_IN_RD_LIM_CONF0" redefined 233 | #define VBIF_VBIF_IN_RD_LIM_CONF0 REG_MDP(0xc80B0) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:175: note: this is the location of the previous definition 175 | #define VBIF_VBIF_IN_RD_LIM_CONF0 REG_MDP(0x240B0) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:234: warning: "VBIF_VBIF_IN_RD_LIM_CONF1" redefined 234 | #define VBIF_VBIF_IN_RD_LIM_CONF1 REG_MDP(0xc80B4) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:176: note: this is the location of the previous definition 176 | #define VBIF_VBIF_IN_RD_LIM_CONF1 REG_MDP(0x240B4) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:235: warning: "VBIF_VBIF_IN_RD_LIM_CONF2" redefined 235 | #define VBIF_VBIF_IN_RD_LIM_CONF2 REG_MDP(0xc80B8) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:177: note: this is the location of the previous definition 177 | #define VBIF_VBIF_IN_RD_LIM_CONF2 REG_MDP(0x240B8) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:236: warning: "VBIF_VBIF_IN_RD_LIM_CONF3" redefined 236 | #define VBIF_VBIF_IN_RD_LIM_CONF3 REG_MDP(0xc80BC) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:178: note: this is the location of the previous definition 178 | #define VBIF_VBIF_IN_RD_LIM_CONF3 REG_MDP(0x240BC) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:237: warning: "VBIF_VBIF_IN_WR_LIM_CONF0" redefined 237 | #define VBIF_VBIF_IN_WR_LIM_CONF0 REG_MDP(0xc80C0) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:179: note: this is the location of the previous definition 179 | #define VBIF_VBIF_IN_WR_LIM_CONF0 REG_MDP(0x240C0) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:238: warning: "VBIF_VBIF_IN_WR_LIM_CONF1" redefined 238 | #define VBIF_VBIF_IN_WR_LIM_CONF1 REG_MDP(0xc80C4) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:180: note: this is the location of the previous definition 180 | #define VBIF_VBIF_IN_WR_LIM_CONF1 REG_MDP(0x240C4) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:239: warning: "VBIF_VBIF_IN_WR_LIM_CONF2" redefined 239 | #define VBIF_VBIF_IN_WR_LIM_CONF2 REG_MDP(0xc80C8) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:181: note: this is the location of the previous definition 181 | #define VBIF_VBIF_IN_WR_LIM_CONF2 REG_MDP(0x240C8) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:240: warning: "VBIF_VBIF_IN_WR_LIM_CONF3" redefined 240 | #define VBIF_VBIF_IN_WR_LIM_CONF3 REG_MDP(0xc80CC) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:182: note: this is the location of the previous definition 182 | #define VBIF_VBIF_IN_WR_LIM_CONF3 REG_MDP(0x240CC) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:241: warning: "VBIF_VBIF_ABIT_SHORT" redefined 241 | #define VBIF_VBIF_ABIT_SHORT REG_MDP(0xc8070) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:183: note: this is the location of the previous definition 183 | #define VBIF_VBIF_ABIT_SHORT REG_MDP(0x24070) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:242: warning: "VBIF_VBIF_ABIT_SHORT_CONF" redefined 242 | #define VBIF_VBIF_ABIT_SHORT_CONF REG_MDP(0xc8074) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:184: note: this is the location of the previous definition 184 | #define VBIF_VBIF_ABIT_SHORT_CONF REG_MDP(0x24074) | In file included from ./platform/msm_shared/include/dload_util.h:33, from include/platform.h:28, from target/target_display_cont_splash_mdp5.c:10: platform/msm8916/include/platform/iomap.h:243: warning: "VBIF_VBIF_GATE_OFF_WRREQ_EN" redefined 243 | #define VBIF_VBIF_GATE_OFF_WRREQ_EN REG_MDP(0xc80A8) | In file included from target/target_display_cont_splash_mdp5.c:9: ./platform/msm_shared/include/mdp5.h:185: note: this is the location of the previous definition 185 | #define VBIF_VBIF_GATE_OFF_WRREQ_EN REG_MDP(0x240A8) | compiling kernel/dpc.c compiling kernel/event.c compiling kernel/main.c compiling kernel/mutex.c kernel/main.c: In function 'bootstrap2': kernel/main.c:130:2: warning: implicit declaration of function 'bio_init' [-Wimplicit-function-declaration] 130 | bio_init(); | ^~~~~~~~ kernel/main.c:133:2: warning: implicit declaration of function 'fs_init' [-Wimplicit-function-declaration] 133 | fs_init(); | ^~~~~~~ compiling kernel/thread.c compiling kernel/timer.c compiling dev/dev.c kernel/thread.c: In function 'thread_exit': kernel/thread.c:265:1: warning: 'noreturn' function does return 265 | } | ^ compiling app/app.c compiling app/aboot/aboot.c compiling app/aboot/fastboot.c In file included from app/aboot/aboot.c:50: app/aboot/aboot.c: In function 'boot_linux': app/aboot/aboot.c:810:15: warning: passing argument 1 of 'platform_get_virt_to_phys_mapping' makes integer from pointer without a cast [-Wint-conversion] 810 | ramdisk = PA(ramdisk); | ^~~~~~~ | | | void * include/platform.h:30:49: note: in definition of macro 'PA' 30 | #define PA(x) platform_get_virt_to_phys_mapping(x) | ^ include/platform.h:46:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'void *' 46 | addr_t platform_get_virt_to_phys_mapping(addr_t virt_addr); | ~~~~~~~^~~~~~~~~ app/aboot/aboot.c:810:10: warning: assignment to 'void *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 810 | ramdisk = PA(ramdisk); | ^ app/aboot/aboot.c: In function 'verify_signed_bootimg': app/aboot/aboot.c:971:8: warning: implicit declaration of function 'image_verify' [-Wimplicit-function-declaration] 971 | ret = image_verify((unsigned char *)bootimg_addr, | ^~~~~~~~~~~~ app/aboot/fastboot.c: In function 'hsusb_usb_read': app/aboot/fastboot.c:291:12: warning: assignment to 'void *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 291 | req->buf = PA((addr_t)buf); | ^ app/aboot/fastboot.c:317:30: warning: passing argument 1 of 'arch_invalidate_cache_range' makes integer from pointer without a cast [-Wint-conversion] 317 | arch_invalidate_cache_range(_buf, count); | ^~~~ | | | void * In file included from include/kernel/thread.h:29, from app/aboot/fastboot.c:36: include/arch/ops.h:56:41: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'void *' 56 | void arch_invalidate_cache_range(addr_t start, size_t len); | ~~~~~~~^~~~~ app/aboot/fastboot.c: In function 'hsusb_usb_write': app/aboot/fastboot.c:337:12: warning: assignment to 'void *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 337 | req->buf = PA((addr_t)_buf); | ^ app/aboot/aboot.c: In function 'read_allow_oem_unlock': app/aboot/aboot.c:1927:29: warning: passing argument 2 of 'mmc_read' from incompatible pointer type [-Wincompatible-pointer-types] 1927 | if (mmc_read(ptn + offset, buf, sizeof(buf))) | ^~~ | | | char * In file included from ./platform/msm_shared/include/mmc.h:34, from app/aboot/aboot.c:48: ./platform/msm_shared/include/mmc_wrapper.h:40:49: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'char *' 40 | uint32_t mmc_read(uint64_t data_addr, uint32_t *out, uint32_t data_len); | ~~~~~~~~~~^~~ app/aboot/aboot.c: In function 'write_allow_oem_unlock': app/aboot/aboot.c:1962:29: warning: passing argument 2 of 'mmc_read' from incompatible pointer type [-Wincompatible-pointer-types] 1962 | if (mmc_read(ptn + offset, buf, sizeof(buf))) | ^~~ | | | char * In file included from ./platform/msm_shared/include/mmc.h:34, from app/aboot/aboot.c:48: ./platform/msm_shared/include/mmc_wrapper.h:40:49: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'char *' 40 | uint32_t mmc_read(uint64_t data_addr, uint32_t *out, uint32_t data_len); | ~~~~~~~~~~^~~ app/aboot/aboot.c: In function 'cmd_boot': app/aboot/aboot.c:2393:16: warning: implicit declaration of function 'read_der_message_length' [-Wimplicit-function-declaration] 2393 | sig_actual = read_der_message_length( | ^~~~~~~~~~~~~~~~~~~~~~~ app/aboot/aboot.c: In function 'aboot_save_boot_hash_mmc': app/aboot/aboot.c:4108:2: warning: implicit declaration of function 'hash_find' [-Wimplicit-function-declaration] 4108 | hash_find(image_addr, image_size, (unsigned char *)&digest, auth_algo); | ^~~~~~~~~ app/aboot/aboot.c:4110:2: warning: implicit declaration of function 'save_kernel_hash_cmd' [-Wimplicit-function-declaration] 4110 | save_kernel_hash_cmd(digest); | ^~~~~~~~~~~~~~~~~~~~ compiling app/aboot/fs_boot.c compiling app/aboot/fastboot-extra.c compiling app/aboot/fastboot-lk2nd.c compiling app/aboot/fastboot-msm8916.c compiling dev/fbcon/fbcon.c compiling dev/gcdb/display/gcdb_display.c In file included from dev/gcdb/display/gcdb_display.c:39: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ In file included from dev/gcdb/display/gcdb_display.c:41: dev/gcdb/display/include/display_resource.h:72:1: warning: useless storage class specifier in empty declaration 72 | }; | ^ dev/gcdb/display/include/display_resource.h:86:1: warning: useless storage class specifier in empty declaration 86 | }; | ^ In file included from dev/gcdb/display/gcdb_display.c:42: dev/gcdb/display/include/panel.h:79:1: warning: useless storage class specifier in empty declaration 79 | }; | ^ dev/gcdb/display/include/panel.h:101:1: warning: useless storage class specifier in empty declaration 101 | }; | ^ dev/gcdb/display/include/panel.h:110:1: warning: useless storage class specifier in empty declaration 110 | }; | ^ dev/gcdb/display/include/panel.h:115:1: warning: useless storage class specifier in empty declaration 115 | }; | ^ dev/gcdb/display/include/panel.h:127:1: warning: useless storage class specifier in empty declaration 127 | }; | ^ dev/gcdb/display/include/panel.h:142:1: warning: useless storage class specifier in empty declaration 142 | }; | ^ dev/gcdb/display/include/panel.h:152:1: warning: useless storage class specifier in empty declaration 152 | }; | ^ dev/gcdb/display/include/panel.h:159:1: warning: useless storage class specifier in empty declaration 159 | }; | ^ dev/gcdb/display/include/panel.h:171:1: warning: useless storage class specifier in empty declaration 171 | }; | ^ dev/gcdb/display/include/panel.h:180:1: warning: useless storage class specifier in empty declaration 180 | }; | ^ dev/gcdb/display/include/panel.h:200:1: warning: useless storage class specifier in empty declaration 200 | }; | ^ In file included from dev/gcdb/display/gcdb_display.c:43: dev/gcdb/display/panel_display.h:67:1: warning: useless storage class specifier in empty declaration 67 | }; | ^ dev/gcdb/display/gcdb_display.c: In function 'mdss_dsi_panel_pre_init': dev/gcdb/display/gcdb_display.c:146:3: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] 146 | udelay(panelstruct.paneldata->panel_init_delay); | ^~~~~~ dev/gcdb/display/gcdb_display.c: In function 'gcdb_display_cmdline_arg': dev/gcdb/display/gcdb_display.c:208:32: warning: implicit declaration of function 'target_cont_splash_screen' [-Wimplicit-function-declaration] 208 | if (panelstruct.paneldata && target_cont_splash_screen()) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/gcdb_display.c:217:8: warning: implicit declaration of function 'target_is_edp' [-Wimplicit-function-declaration] 217 | if (target_is_edp()) | ^~~~~~~~~~~~~ dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_panel_init': dev/gcdb/display/gcdb_display.c:303:9: warning: implicit declaration of function 'target_edp_panel_init'; did you mean 'mdss_edp_panel_init'? [-Wimplicit-function-declaration] 303 | return target_edp_panel_init(pinfo); | ^~~~~~~~~~~~~~~~~~~~~ | mdss_edp_panel_init dev/gcdb/display/gcdb_display.c:303:9: warning: 'return' with a value, in function returning void 303 | return target_edp_panel_init(pinfo); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/gcdb_display.c:301:13: note: declared here 301 | static void mdss_edp_panel_init(struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~~~~~~ dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_panel_clock': dev/gcdb/display/gcdb_display.c:309:9: warning: implicit declaration of function 'target_edp_panel_clock'; did you mean 'target_panel_clock'? [-Wimplicit-function-declaration] 309 | return target_edp_panel_clock(enable, pinfo); | ^~~~~~~~~~~~~~~~~~~~~~ | target_panel_clock dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_panel_enable': dev/gcdb/display/gcdb_display.c:314:9: warning: implicit declaration of function 'target_edp_panel_enable'; did you mean 'mdss_edp_panel_enable'? [-Wimplicit-function-declaration] 314 | return target_edp_panel_enable(); | ^~~~~~~~~~~~~~~~~~~~~~~ | mdss_edp_panel_enable dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_panel_disable': dev/gcdb/display/gcdb_display.c:319:9: warning: implicit declaration of function 'target_edp_panel_disable'; did you mean 'mdss_edp_panel_disable'? [-Wimplicit-function-declaration] 319 | return target_edp_panel_disable(); | ^~~~~~~~~~~~~~~~~~~~~~~~ | mdss_edp_panel_disable dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_bl_enable': dev/gcdb/display/gcdb_display.c:363:8: warning: implicit declaration of function 'target_edp_bl_ctrl'; did you mean 'target_ldo_ctrl'? [-Wimplicit-function-declaration] 363 | ret = target_edp_bl_ctrl(enable); | ^~~~~~~~~~~~~~~~~~ | target_ldo_ctrl dev/gcdb/display/gcdb_display.c: In function 'gcdb_display_init': dev/gcdb/display/gcdb_display.c:375:13: warning: implicit declaration of function 'oem_panel_select'; did you mean 'oem_panel_off'? [-Wimplicit-function-declaration] 375 | pan_type = oem_panel_select(panel_name, &panelstruct, &(panel.panel_info), | ^~~~~~~~~~~~~~~~ | oem_panel_off dev/gcdb/display/gcdb_display.c:387:22: warning: assignment to 'int (*)(int, struct msm_panel_info *)' from incompatible pointer type 'uint32_t (*)(uint8_t, struct msm_panel_info *)' {aka 'unsigned int (*)(unsigned char, struct msm_panel_info *)'} [-Wincompatible-pointer-types] 387 | panel.pll_clk_func = mdss_dsi_panel_clock; | ^ dev/gcdb/display/gcdb_display.c:388:20: warning: assignment to 'int (*)(int, struct msm_panel_info *)' from incompatible pointer type 'int (*)(uint8_t, struct msm_panel_info *)' {aka 'int (*)(unsigned char, struct msm_panel_info *)'} [-Wincompatible-pointer-types] 388 | panel.power_func = mdss_dsi_panel_power; | ^ dev/gcdb/display/gcdb_display.c:390:17: warning: assignment to 'int (*)(int)' from incompatible pointer type 'int (*)(uint8_t)' {aka 'int (*)(unsigned char)'} [-Wincompatible-pointer-types] 390 | panel.bl_func = mdss_dsi_bl_enable; | ^ dev/gcdb/display/gcdb_display.c:400:32: warning: assignment to 'int (*)(int)' from incompatible pointer type 'uint32_t (*)(uint8_t, struct msm_panel_info *)' {aka 'unsigned int (*)(unsigned char, struct msm_panel_info *)'} [-Wincompatible-pointer-types] 400 | panel.clk_func = mdss_edp_panel_clock; | ^ dev/gcdb/display/gcdb_display.c:401:34: warning: assignment to 'int (*)(int, struct msm_panel_info *)' from incompatible pointer type 'int (*)(uint8_t, struct msm_panel_info *)' {aka 'int (*)(unsigned char, struct msm_panel_info *)'} [-Wincompatible-pointer-types] 401 | panel.power_func = mdss_edp_panel_power; | ^ dev/gcdb/display/gcdb_display.c:402:17: warning: assignment to 'int (*)(int)' from incompatible pointer type 'int (*)(uint8_t)' {aka 'int (*)(unsigned char)'} [-Wincompatible-pointer-types] 402 | panel.bl_func = mdss_edp_bl_enable; | ^ compiling dev/gcdb/display/panel_display.c In file included from dev/gcdb/display/panel_display.c:35: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:89: warning: "MDP_HW_REV" redefined 89 | #define MDP_HW_REV REG_MDP(0x0100) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:187: note: this is the location of the previous definition 187 | #define MDP_HW_REV REG_MDP(0x1000) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:94: warning: "MDP_DISP_INTF_SEL" redefined 94 | #define MDP_DISP_INTF_SEL REG_MDP(0x0104) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:196: note: this is the location of the previous definition 196 | #define MDP_DISP_INTF_SEL REG_MDP(0x1004) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:95: warning: "MDP_VIDEO_INTF_UNDERFLOW_CTL" redefined 95 | #define MDP_VIDEO_INTF_UNDERFLOW_CTL REG_MDP(0x03E0) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:197: note: this is the location of the previous definition 197 | #define MDP_VIDEO_INTF_UNDERFLOW_CTL REG_MDP(0x12E0) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:96: warning: "MDP_UPPER_NEW_ROI_PRIOR_RO_START" redefined 96 | #define MDP_UPPER_NEW_ROI_PRIOR_RO_START REG_MDP(0x02EC) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:198: note: this is the location of the previous definition 198 | #define MDP_UPPER_NEW_ROI_PRIOR_RO_START REG_MDP(0x11EC) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:97: warning: "MDP_LOWER_NEW_ROI_PRIOR_TO_START" redefined 97 | #define MDP_LOWER_NEW_ROI_PRIOR_TO_START REG_MDP(0x04F8) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:199: note: this is the location of the previous definition 199 | #define MDP_LOWER_NEW_ROI_PRIOR_TO_START REG_MDP(0x13F8) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:103: warning: "MDP_CTL_0_BASE" redefined 103 | #define MDP_CTL_0_BASE REG_MDP(0x600) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:200: note: this is the location of the previous definition 200 | #define MDP_CTL_0_BASE REG_MDP(0x2000) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:104: warning: "MDP_CTL_1_BASE" redefined 104 | #define MDP_CTL_1_BASE REG_MDP(0x700) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:201: note: this is the location of the previous definition 201 | #define MDP_CTL_1_BASE REG_MDP(0x2200) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:115: warning: "MDP_REG_SPLIT_DISPLAY_EN" redefined 115 | #define MDP_REG_SPLIT_DISPLAY_EN REG_MDP(0x3F4) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:213: note: this is the location of the previous definition 213 | #define MDP_REG_SPLIT_DISPLAY_EN REG_MDP(0x12f4) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:116: warning: "MDP_REG_SPLIT_DISPLAY_UPPER_PIPE_CTL" redefined 116 | #define MDP_REG_SPLIT_DISPLAY_UPPER_PIPE_CTL REG_MDP(0x3F8) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:214: note: this is the location of the previous definition 214 | #define MDP_REG_SPLIT_DISPLAY_UPPER_PIPE_CTL REG_MDP(0x12F8) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:117: warning: "MDP_REG_SPLIT_DISPLAY_LOWER_PIPE_CTL" redefined 117 | #define MDP_REG_SPLIT_DISPLAY_LOWER_PIPE_CTL REG_MDP(0x4F0) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:215: note: this is the location of the previous definition 215 | #define MDP_REG_SPLIT_DISPLAY_LOWER_PIPE_CTL REG_MDP(0x13F0) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:122: warning: "MDP_INTF_0_BASE" redefined 122 | #define MDP_INTF_0_BASE REG_MDP(0x12500) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:209: note: this is the location of the previous definition 209 | #define MDP_INTF_0_BASE REG_MDP(0x11F00) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:124: warning: "MDP_INTF_2_BASE" redefined 124 | #define MDP_INTF_2_BASE REG_MDP(0x12900) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:211: note: this is the location of the previous definition 211 | #define MDP_INTF_2_BASE REG_MDP(0x12F00) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:147: warning: "MDP_CLK_CTRL0" redefined 147 | #define MDP_CLK_CTRL0 REG_MDP(0x03AC) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:202: note: this is the location of the previous definition 202 | #define MDP_CLK_CTRL0 REG_MDP(0x012AC) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:148: warning: "MDP_CLK_CTRL1" redefined 148 | #define MDP_CLK_CTRL1 REG_MDP(0x03B4) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:203: note: this is the location of the previous definition 203 | #define MDP_CLK_CTRL1 REG_MDP(0x012B4) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:149: warning: "MDP_CLK_CTRL2" redefined 149 | #define MDP_CLK_CTRL2 REG_MDP(0x03BC) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:204: note: this is the location of the previous definition 204 | #define MDP_CLK_CTRL2 REG_MDP(0x012BC) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:150: warning: "MDP_CLK_CTRL3" redefined 150 | #define MDP_CLK_CTRL3 REG_MDP(0x04A8) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:205: note: this is the location of the previous definition 205 | #define MDP_CLK_CTRL3 REG_MDP(0x013A8) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:151: warning: "MDP_CLK_CTRL4" redefined 151 | #define MDP_CLK_CTRL4 REG_MDP(0x04B0) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:206: note: this is the location of the previous definition 206 | #define MDP_CLK_CTRL4 REG_MDP(0x013B0) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:152: warning: "MDP_CLK_CTRL5" redefined 152 | #define MDP_CLK_CTRL5 REG_MDP(0x04B8) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:207: note: this is the location of the previous definition 207 | #define MDP_CLK_CTRL5 REG_MDP(0x013B8) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:156: warning: "MMSS_MDP_SMP_ALLOC_W_BASE" redefined 156 | #define MMSS_MDP_SMP_ALLOC_W_BASE REG_MDP(0x0180) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:220: note: this is the location of the previous definition 220 | #define MMSS_MDP_SMP_ALLOC_W_BASE REG_MDP(0x1080) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:157: warning: "MMSS_MDP_SMP_ALLOC_R_BASE" redefined 157 | #define MMSS_MDP_SMP_ALLOC_R_BASE REG_MDP(0x0230) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:221: note: this is the location of the previous definition 221 | #define MMSS_MDP_SMP_ALLOC_R_BASE REG_MDP(0x1130) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:163: warning: "MDP_QOS_REMAPPER_CLASS_0" redefined 163 | #define MDP_QOS_REMAPPER_CLASS_0 REG_MDP(0x02E0) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:223: note: this is the location of the previous definition 223 | #define MDP_QOS_REMAPPER_CLASS_0 REG_MDP(0x11E0) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:167: warning: "VBIF_VBIF_DDR_FORCE_CLK_ON" redefined 167 | #define VBIF_VBIF_DDR_FORCE_CLK_ON REG_MDP(0x24004) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:225: note: this is the location of the previous definition 225 | #define VBIF_VBIF_DDR_FORCE_CLK_ON REG_MDP(0xc8004) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:168: warning: "VBIF_VBIF_DDR_OUT_MAX_BURST" redefined 168 | #define VBIF_VBIF_DDR_OUT_MAX_BURST REG_MDP(0x240D8) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:226: note: this is the location of the previous definition 226 | #define VBIF_VBIF_DDR_OUT_MAX_BURST REG_MDP(0xc80D8) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:169: warning: "VBIF_VBIF_DDR_ARB_CTRL" redefined 169 | #define VBIF_VBIF_DDR_ARB_CTRL REG_MDP(0x240F0) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:227: note: this is the location of the previous definition 227 | #define VBIF_VBIF_DDR_ARB_CTRL REG_MDP(0xc80F0) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:170: warning: "VBIF_VBIF_DDR_RND_RBN_QOS_ARB" redefined 170 | #define VBIF_VBIF_DDR_RND_RBN_QOS_ARB REG_MDP(0x24124) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:228: note: this is the location of the previous definition 228 | #define VBIF_VBIF_DDR_RND_RBN_QOS_ARB REG_MDP(0xc8124) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:171: warning: "VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF0" redefined 171 | #define VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF0 REG_MDP(0x24160) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:229: note: this is the location of the previous definition 229 | #define VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF0 REG_MDP(0xc8160) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:172: warning: "VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF1" redefined 172 | #define VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF1 REG_MDP(0x24164) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:230: note: this is the location of the previous definition 230 | #define VBIF_VBIF_DDR_AXI_AMEMTYPE_CONF1 REG_MDP(0xc8164) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:173: warning: "VBIF_VBIF_DDR_OUT_AOOO_AXI_EN" redefined 173 | #define VBIF_VBIF_DDR_OUT_AOOO_AXI_EN REG_MDP(0x24178) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:231: note: this is the location of the previous definition 231 | #define VBIF_VBIF_DDR_OUT_AOOO_AXI_EN REG_MDP(0xc8178) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:174: warning: "VBIF_VBIF_DDR_OUT_AX_AOOO" redefined 174 | #define VBIF_VBIF_DDR_OUT_AX_AOOO REG_MDP(0x2417C) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:232: note: this is the location of the previous definition 232 | #define VBIF_VBIF_DDR_OUT_AX_AOOO REG_MDP(0xc817C) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:175: warning: "VBIF_VBIF_IN_RD_LIM_CONF0" redefined 175 | #define VBIF_VBIF_IN_RD_LIM_CONF0 REG_MDP(0x240B0) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:233: note: this is the location of the previous definition 233 | #define VBIF_VBIF_IN_RD_LIM_CONF0 REG_MDP(0xc80B0) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:176: warning: "VBIF_VBIF_IN_RD_LIM_CONF1" redefined 176 | #define VBIF_VBIF_IN_RD_LIM_CONF1 REG_MDP(0x240B4) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:234: note: this is the location of the previous definition 234 | #define VBIF_VBIF_IN_RD_LIM_CONF1 REG_MDP(0xc80B4) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:177: warning: "VBIF_VBIF_IN_RD_LIM_CONF2" redefined 177 | #define VBIF_VBIF_IN_RD_LIM_CONF2 REG_MDP(0x240B8) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:235: note: this is the location of the previous definition 235 | #define VBIF_VBIF_IN_RD_LIM_CONF2 REG_MDP(0xc80B8) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:178: warning: "VBIF_VBIF_IN_RD_LIM_CONF3" redefined 178 | #define VBIF_VBIF_IN_RD_LIM_CONF3 REG_MDP(0x240BC) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:236: note: this is the location of the previous definition 236 | #define VBIF_VBIF_IN_RD_LIM_CONF3 REG_MDP(0xc80BC) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:179: warning: "VBIF_VBIF_IN_WR_LIM_CONF0" redefined 179 | #define VBIF_VBIF_IN_WR_LIM_CONF0 REG_MDP(0x240C0) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:237: note: this is the location of the previous definition 237 | #define VBIF_VBIF_IN_WR_LIM_CONF0 REG_MDP(0xc80C0) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:180: warning: "VBIF_VBIF_IN_WR_LIM_CONF1" redefined 180 | #define VBIF_VBIF_IN_WR_LIM_CONF1 REG_MDP(0x240C4) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:238: note: this is the location of the previous definition 238 | #define VBIF_VBIF_IN_WR_LIM_CONF1 REG_MDP(0xc80C4) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:181: warning: "VBIF_VBIF_IN_WR_LIM_CONF2" redefined 181 | #define VBIF_VBIF_IN_WR_LIM_CONF2 REG_MDP(0x240C8) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:239: note: this is the location of the previous definition 239 | #define VBIF_VBIF_IN_WR_LIM_CONF2 REG_MDP(0xc80C8) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:182: warning: "VBIF_VBIF_IN_WR_LIM_CONF3" redefined 182 | #define VBIF_VBIF_IN_WR_LIM_CONF3 REG_MDP(0x240CC) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:240: note: this is the location of the previous definition 240 | #define VBIF_VBIF_IN_WR_LIM_CONF3 REG_MDP(0xc80CC) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:183: warning: "VBIF_VBIF_ABIT_SHORT" redefined 183 | #define VBIF_VBIF_ABIT_SHORT REG_MDP(0x24070) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:241: note: this is the location of the previous definition 241 | #define VBIF_VBIF_ABIT_SHORT REG_MDP(0xc8070) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:184: warning: "VBIF_VBIF_ABIT_SHORT_CONF" redefined 184 | #define VBIF_VBIF_ABIT_SHORT_CONF REG_MDP(0x24074) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:242: note: this is the location of the previous definition 242 | #define VBIF_VBIF_ABIT_SHORT_CONF REG_MDP(0xc8074) | In file included from dev/gcdb/display/panel_display.c:40: ./platform/msm_shared/include/mdp5.h:185: warning: "VBIF_VBIF_GATE_OFF_WRREQ_EN" redefined 185 | #define VBIF_VBIF_GATE_OFF_WRREQ_EN REG_MDP(0x240A8) | In file included from dev/gcdb/display/panel_display.c:37: platform/msm8916/include/platform/iomap.h:243: note: this is the location of the previous definition 243 | #define VBIF_VBIF_GATE_OFF_WRREQ_EN REG_MDP(0xc80A8) | In file included from dev/gcdb/display/panel_display.h:51, from dev/gcdb/display/panel_display.c:47: ./dev/gcdb/display/include/panel.h:79:1: warning: useless storage class specifier in empty declaration 79 | }; | ^ ./dev/gcdb/display/include/panel.h:101:1: warning: useless storage class specifier in empty declaration 101 | }; | ^ ./dev/gcdb/display/include/panel.h:110:1: warning: useless storage class specifier in empty declaration 110 | }; | ^ ./dev/gcdb/display/include/panel.h:115:1: warning: useless storage class specifier in empty declaration 115 | }; | ^ ./dev/gcdb/display/include/panel.h:127:1: warning: useless storage class specifier in empty declaration 127 | }; | ^ ./dev/gcdb/display/include/panel.h:142:1: warning: useless storage class specifier in empty declaration 142 | }; | ^ ./dev/gcdb/display/include/panel.h:152:1: warning: useless storage class specifier in empty declaration 152 | }; | ^ ./dev/gcdb/display/include/panel.h:159:1: warning: useless storage class specifier in empty declaration 159 | }; | ^ ./dev/gcdb/display/include/panel.h:171:1: warning: useless storage class specifier in empty declaration 171 | }; | ^ ./dev/gcdb/display/include/panel.h:180:1: warning: useless storage class specifier in empty declaration 180 | }; | ^ ./dev/gcdb/display/include/panel.h:200:1: warning: useless storage class specifier in empty declaration 200 | }; | ^ In file included from dev/gcdb/display/panel_display.c:47: dev/gcdb/display/panel_display.h:67:1: warning: useless storage class specifier in empty declaration 67 | }; | ^ dev/gcdb/display/panel_display.c: In function 'dsi_panel_pre_on': dev/gcdb/display/panel_display.c:206:9: warning: implicit declaration of function 'target_display_pre_on' [-Wimplicit-function-declaration] 206 | return target_display_pre_on(); | ^~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/panel_display.c: In function 'dsi_panel_pre_off': dev/gcdb/display/panel_display.c:211:9: warning: implicit declaration of function 'target_display_pre_off' [-Wimplicit-function-declaration] 211 | return target_display_pre_off(); | ^~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/panel_display.c: In function 'dsi_panel_post_on': dev/gcdb/display/panel_display.c:218:8: warning: implicit declaration of function 'target_display_post_on' [-Wimplicit-function-declaration] 218 | ret = target_display_post_on(); | ^~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/panel_display.c: In function 'dsi_panel_post_off': dev/gcdb/display/panel_display.c:229:8: warning: implicit declaration of function 'target_display_post_off' [-Wimplicit-function-declaration] 229 | ret = target_display_post_off(); | ^~~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/panel_display.c: In function 'dsi_cmd_panel_config': dev/gcdb/display/panel_display.c:332:8: warning: implicit declaration of function 'mdss_dsi_cmd_mode_config'; did you mean 'mdss_dsi_video_mode_config'? [-Wimplicit-function-declaration] 332 | ret = mdss_dsi_cmd_mode_config((panel_width + plcdc->xres_pad), | ^~~~~~~~~~~~~~~~~~~~~~~~ | mdss_dsi_video_mode_config compiling dev/gcdb/display/gcdb_autopll.c In file included from dev/gcdb/display/gcdb_autopll.c:34: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ compiling dev/keys/keys.c dev/keys/keys.c: In function 'keys_init': dev/keys/keys.c:46:2: warning: implicit declaration of function 'lk2nd_init' [-Wimplicit-function-declaration] 46 | lk2nd_init(); | ^~~~~~~~~~ compiling dev/pmic/pm8x41/pm8x41.c compiling dev/pmic/pm8x41/pm8x41_adc.c compiling dev/pmic/pm8x41/pm8x41_wled.c compiling dev/pmic/pm8x41/pm8x41_regulator.c compiling dev/pmic/pm8x41/pm8x41_vib.c dev/pmic/pm8x41/pm8x41_vib.c: In function 'pm_vib_turn_on': dev/pmic/pm8x41/pm8x41_vib.c:42:8: warning: implicit declaration of function 'pm8x41_reg_read' [-Wimplicit-function-declaration] 42 | val = pm8x41_reg_read(QPNP_VIB_VTG_CTL); | ^~~~~~~~~~~~~~~ dev/pmic/pm8x41/pm8x41_vib.c:45:2: warning: implicit declaration of function 'pm8x41_reg_write'; did you mean 'pm8x41_lpg_write'? [-Wimplicit-function-declaration] 45 | pm8x41_reg_write(QPNP_VIB_VTG_CTL, val); | ^~~~~~~~~~~~~~~~ | pm8x41_lpg_write compiling dev/pmic/pm8x41/pm_pwm.c compiling dev/vib/vibrator.c dev/vib/vibrator.c: In function 'vib_timed_turn_on': dev/vib/vibrator.c:73:46: warning: passing argument 3 of 'timer_set_oneshot' from incompatible pointer type [-Wincompatible-pointer-types] 73 | timer_set_oneshot(&vib_timer, vibrate_time, vib_timer_func, NULL); | ^~~~~~~~~~~~~~ | | | enum handler_return (*)(struct timer *, void *) In file included from dev/vib/vibrator.c:32: include/kernel/timer.h:54:49: note: expected 'timer_callback' {aka 'enum handler_return (*)(struct timer *, long unsigned int, void *)'} but argument is of type 'enum handler_return (*)(struct timer *, void *)' 54 | void timer_set_oneshot(timer_t *, time_t delay, timer_callback, void *arg); | ^~~~~~~~~~~~~~ dev/vib/vibrator.c: In function 'wait_vib_timeout': dev/vib/vibrator.c:81:3: warning: implicit declaration of function 'thread_sleep' [-Wimplicit-function-declaration] 81 | thread_sleep(CHECK_VIB_TIMER_FREQUENCY); | ^~~~~~~~~~~~ compiling lib/debug/debug.c compiling lib/heap/heap.c lib/debug/debug.c: In function '__stack_chk_fail': lib/debug/debug.c:43:1: warning: 'noreturn' function does return 43 | } | ^ compiling lib/libc/atoi.c compiling lib/libc/ctype.c compiling lib/libc/gcd_lcm.c compiling lib/libc/itoa.c compiling lib/libc/printf.c compiling lib/libc/malloc.c compiling lib/libc/rand.c compiling lib/libc/eabi.c compiling lib/libc/string/arch/arm/memcpy.S compiling lib/libc/string/arch/arm/memset.S compiling lib/libc/string/memchr.c compiling lib/libc/string/memcmp.c compiling lib/libc/string/memscpy.c compiling lib/libc/string/strcat.c compiling lib/libc/string/strchr.c compiling lib/libc/string/strcmp.c compiling lib/libc/string/strcoll.c compiling lib/libc/string/strcpy.c compiling lib/libc/string/strdup.c compiling lib/libc/string/strerror.c compiling lib/libc/string/strlcat.c compiling lib/libc/string/strlcpy.c compiling lib/libc/string/strlen.c compiling lib/libc/string/strncat.c compiling lib/libc/string/strncpy.c compiling lib/libc/string/strncmp.c compiling lib/libc/string/strnicmp.c compiling lib/libc/string/strnlen.c compiling lib/libc/string/strpbrk.c compiling lib/libc/string/strrchr.c compiling lib/libc/string/strrev.c compiling lib/libc/string/strspn.c compiling lib/libc/string/strstr.c compiling lib/libc/string/strtok.c compiling lib/libc/string/strxfrm.c compiling lib/libfdt/fdt.c compiling lib/libfdt/fdt_ro.c compiling lib/libfdt/fdt_wip.c compiling lib/libfdt/fdt_sw.c compiling lib/libfdt/fdt_rw.c compiling lib/libfdt/fdt_strerror.c compiling lib/ptable/ptable.c compiling lk2nd/lk2nd-device.c compiling lk2nd/lk2nd-motorola.c compiling lk2nd/lk2nd-samsung.c compiling lib/bio/bio.c compiling lib/bio/debug.c compiling lib/bio/mem.c compiling lib/bio/subdev.c compiling lib/fs/fs.c compiling lib/fs/debug.c compiling lib/partition/partition.c compiling lib/zlib_inflate/zutil.c compiling lib/zlib_inflate/adler32.c compiling lib/zlib_inflate/inftrees.c compiling lib/zlib_inflate/inflate.c compiling lib/zlib_inflate/inffast.c compiling lib/zlib_inflate/decompress.c compiling lk2nd/regmap/regmap.c compiling lk2nd/regmap/regmap-gpio-i2c.c compiling lk2nd/smb1360/smb1360.c compiling lk2nd/smb1360/smb1360-i2c.c compiling lk2nd/smb1360/smb1360-qcom.c compiling lk2nd/smb1360/smb1360-idol347.c compiling lk2nd/smb1360/smb1360-wt88047.c compiling dev/gpio_i2c/gpio_i2c.c compiling lib/fs/ext2/ext2.c compiling lib/fs/ext2/dir.c lib/fs/ext2/dir.c: In function 'ext2_open_directory': lib/fs/ext2/dir.c:228:13: warning: assignment to 'dircookie *' from incompatible pointer type 'ext2_dir_t *' [-Wincompatible-pointer-types] 228 | *dircookie = dir; | ^ compiling lib/fs/ext2/io.c lib/fs/ext2/dir.c: In function 'ext2_close_directory': lib/fs/ext2/dir.c:257:21: warning: passing argument 1 of 'ext2_close_file' from incompatible pointer type [-Wincompatible-pointer-types] 257 | ext2_close_file(dir->file); | ~~~^~~~~~ | | | ext2_file_t * In file included from lib/fs/ext2/dir.c:27: lib/fs/ext2/ext2_priv.h:84:38: note: expected 'filecookie *' but argument is of type 'ext2_file_t *' 84 | status_t ext2_close_file(filecookie *fcookie); | ~~~~~~~~~~~~^~~~~~~ compiling lib/fs/ext2/file.c compiling lib/bcache/bcache.c linking build-msm8916-secondary/lk generating image: build-msm8916-secondary/lk.bin text data bss dec hex filename 188440 103660 131980 424080 67890 build-msm8916-secondary/lk generating listing: build-msm8916-secondary/lk.lst generating listing: build-msm8916-secondary/lk.debug.lst arm-none-eabi-objcopy -O binary build-msm8916-secondary/lk build-msm8916-secondary/lk.bin generating symbols: build-msm8916-secondary/lk.sym generating size map: build-msm8916-secondary/lk.size generating stripped elf: build-msm8916-secondary/lk_s.elf generating image with appended dtb: build-msm8916-secondary/lk.bin-dtb cp -f ./build-msm8916-secondary/lk_s.elf ./build-msm8916-secondary/emmc_appsboot.mbn make[1]: Leaving directory '/home/pmos/build/src/lk2nd-0.10.0' make[1]: Entering directory '/home/pmos/build/src/lk2nd-0.10.0' including app/aboot dev/fbcon dev/gcdb/display dev/keys dev/pmic/pm8x41 lib/debug lib/heap lib/libc lib/libfdt lib/ptable lk2nd including lib/bio lib/fs lib/partition lib/zlib_inflate including lib/fs/ext2 including lib/bcache generating build-msm8974-secondary/config.h generating build-msm8974-secondary/system-onesegment.ld compiling dts/msm8974/msm8974-lge-d855.dts compiling dts/msm8974/msm8974-samsung-klte.dts gcc -DMEMBASE=0x0F900000 target/msm8974/tools/mkheader.c -o ./build-msm8974-secondary/mkheader compiling arch/arm/crt0.S compiling target/msm8974/init.c compiling target/msm8974/meminfo.c compiling platform/msm8974/platform.c target/msm8974/init.c: In function 'target_volume_down_old': target/msm8974/init.c:154:6: warning: implicit declaration of function 'platform_is_8974'; did you mean 'platform_is_msm8909'? [-Wimplicit-function-declaration] 154 | if (platform_is_8974() && (pmic_ver == PM8X41_VERSION_V2)) | ^~~~~~~~~~~~~~~~ | platform_is_msm8909 target/msm8974/init.c: In function 'target_mmc_sdhci_init': target/msm8974/init.c:244:6: warning: implicit declaration of function 'platform_is_8974ac' [-Wimplicit-function-declaration] 244 | if (platform_is_8974ac()) | ^~~~~~~~~~~~~~~~~~ target/msm8974/init.c: In function 'reboot_device': target/msm8974/init.c:548:2: warning: implicit declaration of function 'mdelay' [-Wimplicit-function-declaration] 548 | mdelay(5000); | ^~~~~~ target/msm8974/init.c: In function 'target_uninit': target/msm8974/init.c:700:3: warning: implicit declaration of function 'crypto_eng_cleanup'; did you mean 'crypto5_cleanup'? [-Wimplicit-function-declaration] 700 | crypto_eng_cleanup(); | ^~~~~~~~~~~~~~~~~~ | crypto5_cleanup target/msm8974/init.c:703:2: warning: implicit declaration of function 'sdhci_mode_disable' [-Wimplicit-function-declaration] 703 | sdhci_mode_disable(&dev->host); | ^~~~~~~~~~~~~~~~~~ target/msm8974/init.c: In function 'target_usb_phy_mux_configure': target/msm8974/init.c:828:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 828 | if(!strcmp(target_usb_controller(), "dwc")) | ^~~~~~ target/msm8974/init.c:53:1: note: 'strcmp' is defined in header ''; did you forget to '#include '? 52 | #include +++ |+#include 53 | platform/msm8974/platform.c:41: warning: "MB" redefined 41 | #define MB (1024*1024) | In file included from platform/msm8974/platform.c:38: ./platform/msm_shared/include/board.h:78: note: this is the location of the previous definition 78 | #define MB (1024 * 1024) | platform/msm8974/platform.c: In function 'platform_uninit': platform/msm8974/platform.c:179:2: warning: implicit declaration of function 'display_shutdown' [-Wimplicit-function-declaration] 179 | display_shutdown(); | ^~~~~~~~~~~~~~~~ compiling platform/msm8974/acpuclock.c compiling platform/msm8974/msm8974-clock.c platform/msm8974/acpuclock.c: In function 'clock_config_cdc': platform/msm8974/acpuclock.c:184:6: warning: implicit declaration of function 'platform_is_8974' [-Wimplicit-function-declaration] 184 | if (platform_is_8974()) | ^~~~~~~~~~~~~~~~ In file included from platform/msm8974/msm8974-clock.c:36: platform/msm8974/include/platform/iomap.h:168:37: warning: initialization of 'uint32_t *' {aka 'unsigned int *'} from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion] 168 | #define SDCC1_CDCCAL_SLEEP_CBCR (CLK_CTL_BASE + 0x04E4) | ^ platform/msm8974/msm8974-clock.c:207:14: note: in expansion of macro 'SDCC1_CDCCAL_SLEEP_CBCR' 207 | .cbcr_reg = SDCC1_CDCCAL_SLEEP_CBCR, | ^~~~~~~~~~~~~~~~~~~~~~~ platform/msm8974/include/platform/iomap.h:168:37: note: (near initialization for 'gcc_sdcc1_cdccal_sleep_clk.cbcr_reg') 168 | #define SDCC1_CDCCAL_SLEEP_CBCR (CLK_CTL_BASE + 0x04E4) | ^ platform/msm8974/msm8974-clock.c:207:14: note: in expansion of macro 'SDCC1_CDCCAL_SLEEP_CBCR' 207 | .cbcr_reg = SDCC1_CDCCAL_SLEEP_CBCR, | ^~~~~~~~~~~~~~~~~~~~~~~ platform/msm8974/include/platform/iomap.h:169:37: warning: initialization of 'uint32_t *' {aka 'unsigned int *'} from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion] 169 | #define SDCC1_CDCCAL_FF_CBCR (CLK_CTL_BASE + 0x04E8) | ^ platform/msm8974/msm8974-clock.c:218:14: note: in expansion of macro 'SDCC1_CDCCAL_FF_CBCR' 218 | .cbcr_reg = SDCC1_CDCCAL_FF_CBCR, | ^~~~~~~~~~~~~~~~~~~~ platform/msm8974/include/platform/iomap.h:169:37: note: (near initialization for 'gcc_sdcc1_cdccal_ff_clk.cbcr_reg') 169 | #define SDCC1_CDCCAL_FF_CBCR (CLK_CTL_BASE + 0x04E8) | ^ platform/msm8974/msm8974-clock.c:218:14: note: in expansion of macro 'SDCC1_CDCCAL_FF_CBCR' 218 | .cbcr_reg = SDCC1_CDCCAL_FF_CBCR, | ^~~~~~~~~~~~~~~~~~~~ platform/msm8974/include/platform/iomap.h:210:37: warning: initialization of 'uint32_t *' {aka 'unsigned int *'} from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion] 210 | #define BLSP2_QUP5_I2C_APPS_CBCR (CLK_CTL_BASE + 0xB88) | ^ platform/msm8974/msm8974-clock.c:489:14: note: in expansion of macro 'BLSP2_QUP5_I2C_APPS_CBCR' 489 | .cbcr_reg = BLSP2_QUP5_I2C_APPS_CBCR, | ^~~~~~~~~~~~~~~~~~~~~~~~ platform/msm8974/include/platform/iomap.h:210:37: note: (near initialization for 'gcc_blsp2_qup5_i2c_apps_clk.cbcr_reg') 210 | #define BLSP2_QUP5_I2C_APPS_CBCR (CLK_CTL_BASE + 0xB88) | ^ platform/msm8974/msm8974-clock.c:489:14: note: in expansion of macro 'BLSP2_QUP5_I2C_APPS_CBCR' 489 | .cbcr_reg = BLSP2_QUP5_I2C_APPS_CBCR, | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from platform/msm8974/msm8974-clock.c:35: platform/msm8974/include/platform/clock.h:37:41: warning: initialization of 'uint32_t *' {aka 'unsigned int *'} from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion] 37 | #define REG_MM(off) (MSM_MMSS_CLK_CTL_BASE + (off)) | ^ platform/msm8974/include/platform/clock.h:51:41: note: in expansion of macro 'REG_MM' 51 | #define MDP_LUT_CBCR REG_MM(0x2320) | ^~~~~~ platform/msm8974/msm8974-clock.c:664:17: note: in expansion of macro 'MDP_LUT_CBCR' 664 | .cbcr_reg = MDP_LUT_CBCR, | ^~~~~~~~~~~~ platform/msm8974/include/platform/clock.h:37:41: note: (near initialization for 'mdss_mdp_lut_clk.cbcr_reg') 37 | #define REG_MM(off) (MSM_MMSS_CLK_CTL_BASE + (off)) | ^ platform/msm8974/include/platform/clock.h:51:41: note: in expansion of macro 'REG_MM' 51 | #define MDP_LUT_CBCR REG_MM(0x2320) | ^~~~~~ platform/msm8974/msm8974-clock.c:664:17: note: in expansion of macro 'MDP_LUT_CBCR' 664 | .cbcr_reg = MDP_LUT_CBCR, | ^~~~~~~~~~~~ platform/msm8974/include/platform/clock.h:37:41: warning: initialization of 'uint32_t *' {aka 'unsigned int *'} from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion] 37 | #define REG_MM(off) (MSM_MMSS_CLK_CTL_BASE + (off)) | ^ platform/msm8974/include/platform/clock.h:47:41: note: in expansion of macro 'REG_MM' 47 | #define MDSS_VSYNC_CBCR REG_MM(0x2328) | ^~~~~~ platform/msm8974/msm8974-clock.c:675:17: note: in expansion of macro 'MDSS_VSYNC_CBCR' 675 | .cbcr_reg = MDSS_VSYNC_CBCR, | ^~~~~~~~~~~~~~~ platform/msm8974/include/platform/clock.h:37:41: note: (near initialization for 'mdss_vsync_clk.cbcr_reg') 37 | #define REG_MM(off) (MSM_MMSS_CLK_CTL_BASE + (off)) | ^ platform/msm8974/include/platform/clock.h:47:41: note: in expansion of macro 'REG_MM' 47 | #define MDSS_VSYNC_CBCR REG_MM(0x2328) | ^~~~~~ platform/msm8974/msm8974-clock.c:675:17: note: in expansion of macro 'MDSS_VSYNC_CBCR' 675 | .cbcr_reg = MDSS_VSYNC_CBCR, | ^~~~~~~~~~~~~~~ platform/msm8974/include/platform/clock.h:37:41: warning: initialization of 'uint32_t *' {aka 'unsigned int *'} from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion] 37 | #define REG_MM(off) (MSM_MMSS_CLK_CTL_BASE + (off)) | ^ platform/msm8974/include/platform/clock.h:92:41: note: in expansion of macro 'REG_MM' 92 | #define MDSS_EDPAUX_CBCR REG_MM(0x2334) | ^~~~~~ platform/msm8974/msm8974-clock.c:702:17: note: in expansion of macro 'MDSS_EDPAUX_CBCR' 702 | .cbcr_reg = MDSS_EDPAUX_CBCR, | ^~~~~~~~~~~~~~~~ platform/msm8974/include/platform/clock.h:37:41: note: (near initialization for 'mdss_edpaux_clk.cbcr_reg') 37 | #define REG_MM(off) (MSM_MMSS_CLK_CTL_BASE + (off)) | ^ platform/msm8974/include/platform/clock.h:92:41: note: in expansion of macro 'REG_MM' 92 | #define MDSS_EDPAUX_CBCR REG_MM(0x2334) | ^~~~~~ platform/msm8974/msm8974-clock.c:702:17: note: in expansion of macro 'MDSS_EDPAUX_CBCR' 702 | .cbcr_reg = MDSS_EDPAUX_CBCR, | ^~~~~~~~~~~~~~~~ platform/msm8974/msm8974-clock.c: In function 'platform_clock_init': platform/msm8974/msm8974-clock.c:873:6: warning: implicit declaration of function 'platform_is_8974ac' [-Wimplicit-function-declaration] 873 | if (platform_is_8974ac()) | ^~~~~~~~~~~~~~~~~~ compiling platform/msm8974/gpio.c compiling platform/msm_shared/debug.c compiling platform/msm_shared/smem.c platform/msm_shared/smem.c: In function 'smem_get_alloc_entry': platform/msm_shared/smem.c:139:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 139 | return 1; | ^ platform/msm_shared/smem.c:143:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 143 | return 1; | ^ platform/msm_shared/smem.c:151:7: warning: assignment to 'void *' from 'uint32_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 151 | ret = base_ext + offset; | ^ compiling platform/msm_shared/smem_ptable.c compiling platform/msm_shared/jtag_hook.S compiling platform/msm_shared/jtag.c compiling platform/msm_shared/partition_parser.c platform/msm_shared/partition_parser.c: In function 'patch_gpt': platform/msm_shared/partition_parser.c:687:30: warning: assignment to 'unsigned int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] 687 | partition_entry_array_start = primary_gpt_header + block_size; | ^ platform/msm_shared/partition_parser.c:688:30: warning: passing argument 1 of 'calculate_crc32' makes pointer from integer without a cast [-Wint-conversion] 688 | crc_value = calculate_crc32(partition_entry_array_start, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int platform/msm_shared/partition_parser.c:575:45: note: expected 'unsigned char *' but argument is of type 'unsigned int' 575 | unsigned int calculate_crc32(unsigned char *buffer, int len) | ~~~~~~~~~~~~~~~^~~~~~ platform/msm_shared/partition_parser.c:692:58: warning: passing argument 1 of 'calculate_crc32' makes pointer from integer without a cast [-Wint-conversion] 692 | crc_value = calculate_crc32(partition_entry_array_start + array_size, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | unsigned int platform/msm_shared/partition_parser.c:575:45: note: expected 'unsigned char *' but argument is of type 'unsigned int' 575 | unsigned int calculate_crc32(unsigned char *buffer, int len) | ~~~~~~~~~~~~~~~^~~~~~ platform/msm_shared/partition_parser.c: In function 'write_gpt': platform/msm_shared/partition_parser.c:799:30: warning: assignment to 'unsigned int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] 799 | partition_entry_array_start = primary_gpt_header + block_size; | ^ platform/msm_shared/partition_parser.c:810:30: warning: assignment to 'unsigned int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] 810 | partition_entry_array_start = primary_gpt_header + block_size + | ^ platform/msm_shared/partition_parser.c: In function 'mbr_fill_name': platform/msm_shared/partition_parser.c:880:23: warning: statement will never be executed [-Wswitch-unreachable] 880 | memset(partition_ent->name, 0, MAX_GPT_NAME_SIZE); | ~~~~~~~~~~~~~^~~~~~ compiling platform/msm_shared/hsusb.c In file included from platform/msm_shared/hsusb.c:36: platform/msm_shared/hsusb.c: In function 'udc_request_queue': platform/msm_shared/hsusb.c:324:26: warning: passing argument 1 of 'platform_get_virt_to_phys_mapping' makes integer from pointer without a cast [-Wint-conversion] 324 | curr_item->next = PA(item); | ^~~~ | | | struct ept_queue_item * include/platform.h:30:49: note: in definition of macro 'PA' 30 | #define PA(x) platform_get_virt_to_phys_mapping(x) | ^ include/platform.h:46:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'struct ept_queue_item *' 46 | addr_t platform_get_virt_to_phys_mapping(addr_t virt_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:329:9: warning: assignment to 'struct ept_queue_item *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 329 | item = VA(curr_item->next); | ^ In file included from platform/msm_shared/hsusb.c:36: platform/msm_shared/hsusb.c:348:26: warning: passing argument 1 of 'platform_get_virt_to_phys_mapping' makes integer from pointer without a cast [-Wint-conversion] 348 | ept->head->next = PA(req->item); | ~~~^~~~~~ | | | struct ept_queue_item * include/platform.h:30:49: note: in definition of macro 'PA' 30 | #define PA(x) platform_get_virt_to_phys_mapping(x) | ^ include/platform.h:46:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'struct ept_queue_item *' 46 | addr_t platform_get_virt_to_phys_mapping(addr_t virt_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:357:56: warning: passing argument 1 of 'platform_get_phys_to_virt_mapping' makes integer from pointer without a cast [-Wint-conversion] 357 | arch_clean_invalidate_cache_range((addr_t) VA(req->req.buf), | ~~~~~~~~^~~~ | | | void * include/platform.h:31:49: note: in definition of macro 'VA' 31 | #define VA(x) platform_get_phys_to_virt_mapping(x) | ^ include/platform.h:47:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'void *' 47 | addr_t platform_get_phys_to_virt_mapping(addr_t phys_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:367:9: warning: assignment to 'struct ept_queue_item *' from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion] 367 | item = curr_item->next; | ^ In file included from platform/msm_shared/hsusb.c:36: platform/msm_shared/hsusb.c: In function 'handle_ept_complete': platform/msm_shared/hsusb.c:394:15: warning: passing argument 1 of 'platform_get_phys_to_virt_mapping' makes integer from pointer without a cast [-Wint-conversion] 394 | req = VA(ept->req); | ~~~^~~~~ | | | struct usb_request * include/platform.h:31:49: note: in definition of macro 'VA' 31 | #define VA(x) platform_get_phys_to_virt_mapping(x) | ^ include/platform.h:47:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'struct usb_request *' 47 | addr_t platform_get_phys_to_virt_mapping(addr_t phys_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:394:7: warning: assignment to 'struct usb_request *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 394 | req = VA(ept->req); | ^ In file included from platform/msm_shared/hsusb.c:36: platform/msm_shared/hsusb.c:400:16: warning: passing argument 1 of 'platform_get_phys_to_virt_mapping' makes integer from pointer without a cast [-Wint-conversion] 400 | item = VA(req->item); | ~~~^~~~~~ | | | struct ept_queue_item * include/platform.h:31:49: note: in definition of macro 'VA' 31 | #define VA(x) platform_get_phys_to_virt_mapping(x) | ^ include/platform.h:47:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'struct ept_queue_item *' 47 | addr_t platform_get_phys_to_virt_mapping(addr_t phys_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:400:8: warning: assignment to 'struct ept_queue_item *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 400 | item = VA(req->item); | ^ platform/msm_shared/hsusb.c:448:10: warning: assignment to 'struct ept_queue_item *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 448 | item = VA(item->next); | ^ compiling platform/msm_shared/boot_stats.c platform/msm_shared/boot_stats.c: In function 'bs_set_timestamp': platform/msm_shared/boot_stats.c:37:19: warning: implicit declaration of function 'get_bs_info_addr' [-Wimplicit-function-declaration] 37 | addr_t bs_imem = get_bs_info_addr(); | ^~~~~~~~~~~~~~~~ platform/msm_shared/boot_stats.c:47:24: warning: implicit declaration of function 'platform_get_sclk_count' [-Wimplicit-function-declaration] 47 | kernel_load_start = platform_get_sclk_count(); | ^~~~~~~~~~~~~~~~~~~~~~~ compiling platform/msm_shared/crc32.c compiling platform/msm_shared/sdhci.c In file included from platform/msm_shared/sdhci.c:40: ./platform/msm_shared/include/sdhci_msm.h:137:67: warning: 'struct mmc_card' declared inside parameter list will not be visible outside of this definition or declaration 137 | uint32_t sdhci_msm_execute_tuning(struct sdhci_host *host, struct mmc_card * card, uint32_t bus_width); | ^~~~~~~~ compiling platform/msm_shared/sdhci_msm.c platform/msm_shared/sdhci_msm.c: In function 'sdhci_msm_init': platform/msm_shared/sdhci_msm.c:192:40: warning: passing argument 2 of 'register_int_handler' from incompatible pointer type [-Wincompatible-pointer-types] 192 | register_int_handler(config->pwr_irq, sdhci_int_handler, (void *)config); | ^~~~~~~~~~~~~~~~~ | | | enum handler_return (*)(struct sdhci_msm_data *) In file included from platform/msm_shared/sdhci_msm.c:31: include/platform/interrupts.h:33:60: note: expected 'int_handler' {aka 'enum handler_return (*)(void *)'} but argument is of type 'enum handler_return (*)(struct sdhci_msm_data *)' 33 | void register_int_handler(unsigned int vector, int_handler handler, void *arg); | ~~~~~~~~~~~~^~~~~~~ platform/msm_shared/sdhci_msm.c: In function 'sdhci_msm_execute_tuning': platform/msm_shared/sdhci_msm.c:642:2: warning: braces around scalar initializer 642 | uint32_t tuned_phases[MAX_PHASES] = {{0}}; | ^~~~~~~~ platform/msm_shared/sdhci_msm.c:642:2: note: (near initialization for 'tuned_phases[0]') platform/msm_shared/sdhci_msm.c:668:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 668 | tuning_block = tuning_block_128; | ^ platform/msm_shared/sdhci_msm.c:673:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 673 | tuning_block = tuning_block_64; | ^ compiling platform/msm_shared/mmc_sdhci.c platform/msm_shared/mmc_sdhci.c: In function 'mmc_set_hs200_mode': platform/msm_shared/mmc_sdhci.c:896:3: warning: implicit declaration of function 'sdhci_msm_set_mci_clk' [-Wimplicit-function-declaration] 896 | sdhci_msm_set_mci_clk(host); | ^~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/mmc_sdhci.c: In function 'mmc_host_init': platform/msm_shared/mmc_sdhci.c:1125:3: warning: implicit declaration of function 'clock_config_cdc'; did you mean 'clock_config_mmc'? [-Wimplicit-function-declaration] 1125 | clock_config_cdc(cfg->slot); | ^~~~~~~~~~~~~~~~ | clock_config_mmc compiling platform/msm_shared/mmc_wrapper.c platform/msm_shared/mmc_wrapper.c: In function 'mmc_write': platform/msm_shared/mmc_wrapper.c:132:6: warning: implicit declaration of function 'platform_boot_dev_isemmc' [-Wimplicit-function-declaration] 132 | if (platform_boot_dev_isemmc()) | ^~~~~~~~~~~~~~~~~~~~~~~~ compiling platform/msm_shared/menu_keys_detect.c compiling platform/msm_shared/display_menu.c compiling platform/msm_shared/qgic.c compiling platform/msm_shared/qtimer.c compiling platform/msm_shared/qtimer_mmap.c compiling platform/msm_shared/interrupts.c platform/msm_shared/interrupts.c: In function 'platform_irq': platform/msm_shared/interrupts.c:45:9: warning: implicit declaration of function 'gic_platform_irq'; did you mean 'platform_irq'? [-Wimplicit-function-declaration] 45 | return gic_platform_irq(frame); | ^~~~~~~~~~~~~~~~ | platform_irq platform/msm_shared/interrupts.c: In function 'platform_fiq': platform/msm_shared/interrupts.c:57:2: warning: implicit declaration of function 'gic_platform_fiq'; did you mean 'platform_fiq'? [-Wimplicit-function-declaration] 57 | gic_platform_fiq(frame); | ^~~~~~~~~~~~~~~~ | platform_fiq platform/msm_shared/interrupts.c: In function 'mask_interrupt': platform/msm_shared/interrupts.c:69:9: warning: implicit declaration of function 'gic_mask_interrupt'; did you mean 'unmask_interrupt'? [-Wimplicit-function-declaration] 69 | return gic_mask_interrupt(vector); | ^~~~~~~~~~~~~~~~~~ | unmask_interrupt platform/msm_shared/interrupts.c: In function 'unmask_interrupt': platform/msm_shared/interrupts.c:81:9: warning: implicit declaration of function 'gic_unmask_interrupt'; did you mean 'unmask_interrupt'? [-Wimplicit-function-declaration] 81 | return gic_unmask_interrupt(vector); | ^~~~~~~~~~~~~~~~~~~~ | unmask_interrupt platform/msm_shared/interrupts.c: In function 'register_int_handler': platform/msm_shared/interrupts.c:93:3: warning: implicit declaration of function 'gic_register_int_handler'; did you mean 'register_int_handler'? [-Wimplicit-function-declaration] 93 | gic_register_int_handler(vector, func, arg); | ^~~~~~~~~~~~~~~~~~~~~~~~ | register_int_handler compiling platform/msm_shared/clock.c compiling platform/msm_shared/clock_pll.c compiling platform/msm_shared/clock_lib2.c platform/msm_shared/clock_lib2.c: In function 'clock_lib2_branch_clk_reset': platform/msm_shared/clock_lib2.c:273:43: warning: passing argument 1 of '__clock_lib2_branch_clk_reset' makes integer from pointer without a cast [-Wint-conversion] 273 | return __clock_lib2_branch_clk_reset(bclk->bcr_reg, action); | ~~~~^~~~~~~~~ | | | uint32_t * const {aka unsigned int * const} platform/msm_shared/clock_lib2.c:230:51: note: expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'uint32_t * const' {aka 'unsigned int * const'} 230 | static int __clock_lib2_branch_clk_reset(uint32_t bcr_reg, enum clk_reset_action action) | ~~~~~~~~~^~~~~~~ compiling platform/msm_shared/uart_dm.c compiling platform/msm_shared/board.c compiling platform/msm_shared/scm.c platform/msm_shared/board.c: In function 'platform_detect': platform/msm_shared/board.c:157:67: warning: implicit declaration of function 'platform_get_boot_dev' [-Wimplicit-function-declaration] 157 | board.platform_hlos_subtype = (board_get_ddr_subtype() << 8) | (platform_get_boot_dev() << 16) | (platform_detect_panel() << 11); | ^~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/board.c:157:101: warning: implicit declaration of function 'platform_detect_panel'; did you mean 'platform_detect'? [-Wimplicit-function-declaration] 157 | board.platform_hlos_subtype = (board_get_ddr_subtype() << 8) | (platform_get_boot_dev() << 16) | (platform_detect_panel() << 11); | ^~~~~~~~~~~~~~~~~~~~~ | platform_detect platform/msm_shared/scm.c: In function 'scm_call_atomic': platform/msm_shared/scm.c:195:39: warning: initialization of 'uint32_t' {aka 'unsigned int'} from 'uint32_t *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Wint-conversion] 195 | register uint32_t r1 __asm__("r1") = &context_id; | ^ platform/msm_shared/scm.c: In function 'scm_call_atomic2': platform/msm_shared/scm.c:224:39: warning: initialization of 'uint32_t' {aka 'unsigned int'} from 'int *' makes integer from pointer without a cast [-Wint-conversion] 224 | register uint32_t r1 __asm__("r1") = &context_id; | ^ platform/msm_shared/scm.c: In function 'ssd_image_is_encrypted': platform/msm_shared/scm.c:446:15: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'uint32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Wint-conversion] 446 | scm_arg.x3 = parse_req.md; | ^ platform/msm_shared/scm.c: In function 'decrypt_scm_v2': platform/msm_shared/scm.c:532:19: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'uint32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Wint-conversion] 532 | scm_arg.x5[0] = decrypt_req.frag; | ^ platform/msm_shared/scm.c: In function 'scm_protect_keystore': platform/msm_shared/scm.c:675:14: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'uint32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Wint-conversion] 675 | scm_arg.x2 = protect_req.keystore_ptr; | ^ platform/msm_shared/scm.c: In function 'set_tamper_fuse_cmd': platform/msm_shared/scm.c:726:15: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 726 | scm_arg.x2 = cmd_buf; | ^ platform/msm_shared/scm.c: In function 'get_tamper_fuse_cmd': platform/msm_shared/scm.c:766:15: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 766 | scm_arg.x2 = cmd_buf; | ^ platform/msm_shared/scm.c: In function 'save_kernel_hash_cmd': platform/msm_shared/scm.c:818:14: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'uint8_t *' {aka 'unsigned char *'} makes integer from pointer without a cast [-Wint-conversion] 818 | scm_arg.x3 = (uint8_t *)&req.digest; | ^ platform/msm_shared/scm.c: In function 'scm_elexec_call': platform/msm_shared/scm.c:1049:14: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 1049 | scm_arg.x2 = (void *)¶m; | ^ platform/msm_shared/scm.c: In function 'get_canary': platform/msm_shared/scm.c:1119:13: warning: implicit declaration of function 'rand' [-Wimplicit-function-declaration] 1119 | canary = rand(); | ^~~~ platform/msm_shared/scm.c: In function 'is_secure_boot_enable': platform/msm_shared/scm.c:1282:66: warning: passing argument 3 of 'scm_call_atomic2' makes integer from pointer without a cast [-Wint-conversion] 1282 | ret = scm_call_atomic2(TZBSP_SVC_INFO, IS_SECURE_BOOT_ENABLED, resp, (2 * sizeof(uint32_t))); | ^~~~ | | | uint32_t * {aka unsigned int *} platform/msm_shared/scm.c:220:59: note: expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'uint32_t *' {aka 'unsigned int *'} 220 | int scm_call_atomic2(uint32_t svc, uint32_t cmd, uint32_t arg1, uint32_t arg2) | ~~~~~~~~~^~~~ compiling platform/msm_shared/mdp5.c compiling platform/msm_shared/display.c In file included from target/msm8974/include/target/display.h:35, from platform/msm_shared/mdp5.c:31: ./dev/gcdb/display/include/display_resource.h:72:1: warning: useless storage class specifier in empty declaration 72 | }; | ^ ./dev/gcdb/display/include/display_resource.h:86:1: warning: useless storage class specifier in empty declaration 86 | }; | ^ In file included from platform/msm_shared/mdp5.c:38: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ In file included from platform/msm_shared/mdp5.c:30: platform/msm_shared/mdp5.c: In function 'mdss_source_pipe_config': include/reg.h:39:33: warning: assignment to 'uint32_t' {aka 'volatile unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 39 | #define writel(v, a) (*REG32(a) = (v)) | ^ platform/msm_shared/mdp5.c:175:2: note: in expansion of macro 'writel' 175 | writel(fb->base, pipe_base + PIPE_SSPP_SRC0_ADDR); | ^~~~~~ In file included from platform/msm_shared/mdp5.c:39: platform/msm_shared/mdp5.c: In function 'mdss_intf_tg_setup': In file included from platform/msm_shared/display.c:33: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ platform/msm_shared/display.c: In function 'msm_fb_alloc': platform/msm_shared/display.c:46:14: warning: implicit declaration of function 'memalign' [-Wimplicit-function-declaration] 46 | fb->base = memalign(4096, fb->width | ^~~~~~~~ platform/msm_shared/display.c:46:12: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 46 | fb->base = memalign(4096, fb->width | ^ platform/msm_shared/display.c: In function 'msm_display_config': platform/msm_shared/display.c:108:9: warning: implicit declaration of function 'mdp_dsi_cmd_config'; did you mean 'mipi_dsi_cmd_config'? [-Wimplicit-function-declaration] 108 | ret = mdp_dsi_cmd_config(pinfo, &(panel->fb)); | ^~~~~~~~~~~~~~~~~~ | mipi_dsi_cmd_config platform/msm_shared/display.c:120:9: warning: implicit declaration of function 'mdss_hdmi_config'; did you mean 'mdss_dsi_config'? [-Wimplicit-function-declaration] 120 | ret = mdss_hdmi_config(pinfo, &(panel->fb)); | ^~~~~~~~~~~~~~~~ | mdss_dsi_config platform/msm_shared/display.c: In function 'msm_display_on': platform/msm_shared/display.c:176:9: warning: implicit declaration of function 'mdss_dsi_post_on' [-Wimplicit-function-declaration] 176 | ret = mdss_dsi_post_on(panel); | ^~~~~~~~~~~~~~~~ platform/msm_shared/display.c:186:9: warning: implicit declaration of function 'mdp_dma_on'; did you mean 'mdp_edp_on'? [-Wimplicit-function-declaration] 186 | ret = mdp_dma_on(pinfo); | ^~~~~~~~~~ | mdp_edp_on platform/msm_shared/display.c:192:10: warning: implicit declaration of function 'mipi_cmd_trigger' [-Wimplicit-function-declaration] 192 | ret = mipi_cmd_trigger(); | ^~~~~~~~~~~~~~~~ include/err.h:36:26: warning: 'return' with a value, in function returning void 36 | #define ERR_INVALID_ARGS -8 | ^ platform/msm_shared/mdp5.c:390:10: note: in expansion of macro 'ERR_INVALID_ARGS' 390 | return ERR_INVALID_ARGS; | ^~~~~~~~~~~~~~~~ platform/msm_shared/mdp5.c:378:6: note: declared here 378 | void mdss_intf_tg_setup(struct msm_panel_info *pinfo, uint32_t intf_base) | ^~~~~~~~~~~~~~~~~~ In file included from platform/msm_shared/mdp5.c:39: include/err.h:36:26: warning: 'return' with a value, in function returning void 36 | #define ERR_INVALID_ARGS -8 | ^ platform/msm_shared/mdp5.c:394:10: note: in expansion of macro 'ERR_INVALID_ARGS' 394 | return ERR_INVALID_ARGS; | ^~~~~~~~~~~~~~~~ platform/msm_shared/mdp5.c:378:6: note: declared here 378 | void mdss_intf_tg_setup(struct msm_panel_info *pinfo, uint32_t intf_base) | ^~~~~~~~~~~~~~~~~~ platform/msm_shared/display.c:210:9: warning: implicit declaration of function 'mdss_hdmi_init'; did you mean 'mdss_dsi_phy_init'? [-Wimplicit-function-declaration] 210 | ret = mdss_hdmi_init(); | ^~~~~~~~~~~~~~ | mdss_dsi_phy_init platform/msm_shared/display.c:214:9: warning: implicit declaration of function 'mdss_hdmi_on' [-Wimplicit-function-declaration] 214 | ret = mdss_hdmi_on(); | ^~~~~~~~~~~~ platform/msm_shared/display.c: In function 'msm_display_init': platform/msm_shared/display.c:285:2: warning: implicit declaration of function 'display_image_on_screen' [-Wimplicit-function-declaration] 285 | display_image_on_screen(); | ^~~~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/display.c: In function 'msm_display_off': platform/msm_shared/display.c:338:9: warning: implicit declaration of function 'mdp_dsi_cmd_off'; did you mean 'mdp_dsi_video_off'? [-Wimplicit-function-declaration] 338 | ret = mdp_dsi_cmd_off(); | ^~~~~~~~~~~~~~~ | mdp_dsi_video_off platform/msm_shared/display.c:359:6: warning: implicit declaration of function 'target_cont_splash_screen' [-Wimplicit-function-declaration] 359 | if (target_cont_splash_screen()) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/mdp5.c: In function 'mdp_dsi_video_off': platform/msm_shared/mdp5.c:964:6: warning: implicit declaration of function 'target_cont_splash_screen' [-Wimplicit-function-declaration] 964 | if(!target_cont_splash_screen()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ compiling platform/msm_shared/mipi_dsi.c In file included from platform/msm_shared/mipi_dsi.c:32: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ In file included from target/msm8974/include/target/display.h:35, from platform/msm_shared/mipi_dsi.c:37: ./dev/gcdb/display/include/display_resource.h:72:1: warning: useless storage class specifier in empty declaration 72 | }; | ^ ./dev/gcdb/display/include/display_resource.h:86:1: warning: useless storage class specifier in empty declaration 86 | }; | ^ platform/msm_shared/mipi_dsi.c: In function 'mdss_dsi_read_panel_signature': platform/msm_shared/mipi_dsi.c:85:7: warning: implicit declaration of function 'mdss_dsi_cmds_rx'; did you mean 'mipi_dsi_cmds_rx'? [-Wimplicit-function-declaration] 85 | if (!mdss_dsi_cmds_rx(&lp, 1, 1)) | ^~~~~~~~~~~~~~~~ | mipi_dsi_cmds_rx platform/msm_shared/mipi_dsi.c: In function 'mdss_dual_dsi_cmds_tx': platform/msm_shared/mipi_dsi.c:201:6: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion] 201 | off = pload; | ^ platform/msm_shared/mipi_dsi.c:205:6: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion] 205 | off += pload; | ^~ platform/msm_shared/mipi_dsi.c: In function 'mdss_dsi_cmds_rx': platform/msm_shared/mipi_dsi.c:283:7: warning: assignment to 'char *' from incompatible pointer type 'uint32_t *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] 283 | dp = *rp; | ^ platform/msm_shared/mipi_dsi.c: In function 'mipi_dsi_cmds_tx': platform/msm_shared/mipi_dsi.c:299:6: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion] 299 | off = pload; | ^ platform/msm_shared/mipi_dsi.c:303:6: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion] 303 | off += pload; | ^~ platform/msm_shared/mipi_dsi.c: In function 'mdss_dsi_panel_initialize': platform/msm_shared/mipi_dsi.c:535:19: warning: implicit declaration of function 'target_panel_auto_detect_enabled' [-Wimplicit-function-declaration] 535 | if (!status && target_panel_auto_detect_enabled()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/mipi_dsi.c: In function 'mipi_dsi_shutdown': platform/msm_shared/mipi_dsi.c:597:6: warning: implicit declaration of function 'target_cont_splash_screen' [-Wimplicit-function-declaration] 597 | if(!target_cont_splash_screen()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from platform/msm_shared/mipi_dsi.c:30: platform/msm_shared/mipi_dsi.c:605:13: warning: implicit declaration of function 'DSIPHY_PLL_CTRL'; did you mean 'DSIPHY_PLL_RDY'? [-Wimplicit-function-declaration] 605 | writel(0, DSIPHY_PLL_CTRL(0)); | ^~~~~~~~~~~~~~~ include/reg.h:30:44: note: in definition of macro 'REG32' 30 | #define REG32(addr) ((volatile uint32_t *)(addr)) | ^~~~ platform/msm_shared/mipi_dsi.c:605:3: note: in expansion of macro 'writel' 605 | writel(0, DSIPHY_PLL_CTRL(0)); | ^~~~~~ platform/msm_shared/mipi_dsi.c: In function 'mipi_config': platform/msm_shared/mipi_dsi.c:641:2: warning: implicit declaration of function 'mipi_dsi_phy_init'; did you mean 'mdss_dsi_phy_init'? [-Wimplicit-function-declaration] 641 | mipi_dsi_phy_init(&mipi_pinfo); | ^~~~~~~~~~~~~~~~~ | mdss_dsi_phy_init platform/msm_shared/mipi_dsi.c: In function 'mdss_dsi_video_mode_config': platform/msm_shared/mipi_dsi.c:690:5: warning: implicit declaration of function 'mdp_get_revision' [-Wimplicit-function-declaration] 690 | mdp_get_revision() != MDP_REV_305) | ^~~~~~~~~~~~~~~~ compiling platform/msm_shared/mipi_dsi_phy.c In file included from platform/msm_shared/mipi_dsi_phy.c:31: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ platform/msm_shared/mipi_dsi_phy.c: In function 'mipi_dsi_phy_init': platform/msm_shared/mipi_dsi_phy.c:100:12: warning: implicit declaration of function 'mdp_get_revision' [-Wimplicit-function-declaration] 100 | mdp_rev = mdp_get_revision(); | ^~~~~~~~~~~~~~~~ platform/msm_shared/mipi_dsi_phy.c:193:4: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] 193 | udelay(1); | ^~~~~~ platform/msm_shared/mipi_dsi_phy.c: In function 'mdss_dsi_phy_regulator_init': platform/msm_shared/mipi_dsi_phy.c:247:3: warning: implicit declaration of function 'dmb' [-Wimplicit-function-declaration] 247 | dmb(); | ^~~ compiling platform/msm_shared/mipi_dsi_autopll.c compiling platform/msm_shared/spmi.c In file included from platform/msm_shared/mipi_dsi_autopll.c:33: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ compiling platform/msm_shared/bam.c platform/msm_shared/mipi_dsi_autopll.c:45:1: warning: useless storage class specifier in empty declaration 45 | }; | ^ platform/msm_shared/mipi_dsi_autopll.c: In function 'mdss_dsi_uniphy_pll_lock_detect_setting': platform/msm_shared/mipi_dsi_autopll.c:70:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] 70 | udelay(100); | ^~~~~~ platform/msm_shared/mipi_dsi_autopll.c:72:2: warning: implicit declaration of function 'mdelay' [-Wimplicit-function-declaration] 72 | mdelay(1); | ^~~~~~ platform/msm_shared/mipi_dsi_autopll.c: In function 'mdss_dsi_auto_pll_config': platform/msm_shared/mipi_dsi_autopll.c:105:2: warning: implicit declaration of function 'mdss_dsi_phy_sw_reset'; did you mean 'mdss_dsi_uniphy_pll_sw_reset'? [-Wimplicit-function-declaration] 105 | mdss_dsi_phy_sw_reset(ctl_base); | ^~~~~~~~~~~~~~~~~~~~~ | mdss_dsi_uniphy_pll_sw_reset platform/msm_shared/spmi.c: In function 'spmi_lookup_chnl_number': platform/msm_shared/spmi.c:56:25: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 56 | chnl_tbl = (uint8_t *) malloc(chnl_tbl_sz); | ^~~~~~ platform/msm_shared/spmi.c:36:1: note: 'malloc' is defined in header ''; did you forget to '#include '? 35 | #include +++ |+#include 36 | platform/msm_shared/spmi.c: In function 'pmic_arb_write_cmd': platform/msm_shared/spmi.c:157:56: warning: passing argument 4 of 'write_wdata_from_array' from incompatible pointer type [-Wincompatible-pointer-types] 157 | write_wdata_from_array(param->buffer, 0, param->size, &bytes_written); | ^~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} platform/msm_shared/spmi.c:94:42: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint32_t *' {aka 'unsigned int *'} 94 | uint8_t* bytes_written) | ~~~~~~~~~^~~~~~~~~~~~~ platform/msm_shared/spmi.c:162:57: warning: passing argument 4 of 'write_wdata_from_array' from incompatible pointer type [-Wincompatible-pointer-types] 162 | write_wdata_from_array(param->buffer, 1, param->size, &bytes_written); | ^~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} platform/msm_shared/spmi.c:94:42: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint32_t *' {aka 'unsigned int *'} 94 | uint8_t* bytes_written) | ~~~~~~~~~^~~~~~~~~~~~~ platform/msm_shared/spmi.c: In function 'spmi_enable_periph_interrupts': platform/msm_shared/spmi.c:385:56: warning: passing argument 2 of 'register_int_handler' from incompatible pointer type [-Wincompatible-pointer-types] 385 | register_int_handler(EE0_KRAIT_HLOS_SPMI_PERIPH_IRQ , spmi_irq, 0); | ^~~~~~~~ | | | void (*)() In file included from platform/msm_shared/spmi.c:35: include/platform/interrupts.h:33:60: note: expected 'int_handler' {aka 'enum handler_return (*)(void *)'} but argument is of type 'void (*)()' 33 | void register_int_handler(unsigned int vector, int_handler handler, void *arg); | ~~~~~~~~~~~~^~~~~~~ compiling platform/msm_shared/qpic_nand.c platform/msm_shared/qpic_nand.c: In function 'qpic_nand_read_page': platform/msm_shared/qpic_nand.c:1497:17: warning: assignment to 'uint32_t *' {aka 'unsigned int *'} from incompatible pointer type 'struct cmd_element *' [-Wincompatible-pointer-types] 1497 | cmd_list_temp = cmd_list_ptr; | ^ platform/msm_shared/qpic_nand.c:1497:3: warning: converting a packed 'struct cmd_element' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1497 | cmd_list_temp = cmd_list_ptr; | ^~~~~~~~~~~~~ In file included from platform/msm_shared/qpic_nand.c:30: ./platform/msm_shared/include/bam.h:246:8: note: defined here 246 | struct cmd_element { | ^~~~~~~~~~~ compiling platform/msm_shared/dev_tree.c compiling platform/msm_shared/i2c_qup.c platform/msm_shared/dev_tree.c: In function 'dev_tree_appended': platform/msm_shared/dev_tree.c:544:16: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 544 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ platform/msm_shared/dev_tree.c: In function 'platform_dt_absolute_match': platform/msm_shared/dev_tree.c:648:24: warning: implicit declaration of function 'target_get_hlos_subtype' [-Wimplicit-function-declaration] 648 | (cur_dt_hlos_ddr == (target_get_hlos_subtype() & 0x700)) && | ^~~~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/dev_tree.c: In function 'platform_dt_absolute_compat_match': platform/msm_shared/dev_tree.c:795:17: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 795 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ platform/msm_shared/dev_tree.c: In function 'update_dtb_entry_node': platform/msm_shared/dev_tree.c:869:17: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 869 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ platform/msm_shared/dev_tree.c:913:17: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 913 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ platform/msm_shared/dev_tree.c: In function 'dev_tree_get_entry_info': platform/msm_shared/dev_tree.c:1138:16: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 1138 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ In file included from platform/msm_shared/i2c_qup.c:46: platform/msm8974/include/platform/gpio.h:35: warning: "GPIO_INPUT" redefined 35 | #define GPIO_INPUT 0 | In file included from platform/msm_shared/i2c_qup.c:38: include/dev/gpio.h:33: note: this is the location of the previous definition 33 | #define GPIO_INPUT 0x0000 | In file included from platform/msm_shared/i2c_qup.c:46: platform/msm8974/include/platform/gpio.h:36: warning: "GPIO_OUTPUT" redefined 36 | #define GPIO_OUTPUT 1 | In file included from platform/msm_shared/i2c_qup.c:38: include/dev/gpio.h:36: note: this is the location of the previous definition 36 | #define GPIO_OUTPUT 0x0001 | platform/msm_shared/i2c_qup.c: In function 'qup_i2c_init': platform/msm_shared/i2c_qup.c:723:17: warning: implicit declaration of function 'GSBI_QUP_IRQ'; did you mean 'BLSP_QUP_IRQ'? [-Wimplicit-function-declaration] 723 | dev->qup_irq = GSBI_QUP_IRQ(gsbi_id); | ^~~~~~~~~~~~ | BLSP_QUP_IRQ platform/msm_shared/i2c_qup.c:724:18: warning: implicit declaration of function 'QUP_BASE'; did you mean 'EDP_BASE'? [-Wimplicit-function-declaration] 724 | dev->qup_base = QUP_BASE(gsbi_id); | ^~~~~~~~ | EDP_BASE platform/msm_shared/i2c_qup.c:725:19: warning: implicit declaration of function 'GSBI_BASE'; did you mean 'SPMI_BASE'? [-Wimplicit-function-declaration] 725 | dev->gsbi_base = GSBI_BASE(gsbi_id); | ^~~~~~~~~ | SPMI_BASE platform/msm_shared/i2c_qup.c:732:2: warning: implicit declaration of function 'gpio_config_i2c'; did you mean 'gpio_config'? [-Wimplicit-function-declaration] 732 | gpio_config_i2c(dev->gsbi_number); | ^~~~~~~~~~~~~~~ | gpio_config platform/msm_shared/i2c_qup.c: In function 'qup_blsp_i2c_init': platform/msm_shared/i2c_qup.c:768:2: warning: implicit declaration of function 'clock_config_blsp_i2c'; did you mean 'gpio_config_blsp_i2c'? [-Wimplicit-function-declaration] 768 | clock_config_blsp_i2c(blsp_id, qup_id); | ^~~~~~~~~~~~~~~~~~~~~ | gpio_config_blsp_i2c compiling platform/msm_shared/gpio.c compiling platform/msm_shared/dload_util.c compiling platform/msm_shared/edp.c platform/msm_shared/edp.c: In function 'edp_on': platform/msm_shared/edp.c:177:2: warning: implicit declaration of function 'edp_phy_vm_pe_init' [-Wimplicit-function-declaration] 177 | edp_phy_vm_pe_init(); | ^~~~~~~~~~~~~~~~~~ platform/msm_shared/edp.c: In function 'edp_prepare': platform/msm_shared/edp.c:228:2: warning: implicit declaration of function 'edp_aux_enable'; did you mean 'edp_clk_enable'? [-Wimplicit-function-declaration] 228 | edp_aux_enable(); | ^~~~~~~~~~~~~~ | edp_clk_enable compiling platform/msm_shared/edp_util.c compiling platform/msm_shared/edp_aux.c platform/msm_shared/edp_aux.c: In function 'mdss_edp_wait_for_hpd': platform/msm_shared/edp_aux.c:967:3: warning: implicit declaration of function 'edp_isr_poll' [-Wimplicit-function-declaration] 967 | edp_isr_poll(); | ^~~~~~~~~~~~ compiling platform/msm_shared/edp_phy.c platform/msm_shared/edp_phy.c: In function 'edp_phy_pll_reset': platform/msm_shared/edp_phy.c:37:2: warning: implicit declaration of function 'dmb' [-Wimplicit-function-declaration] 37 | dmb(); | ^~~ In file included from ./platform/msm_shared/include/edp.h:33, from platform/msm_shared/edp_phy.c:29: platform/msm_shared/edp_phy.c: In function 'mdss_edp_phy_pll_ready': include/debug.h:58:47: warning: comparison between pointer and integer 58 | #define dprintf(level, x...) do { if ((level) <= DEBUGLEVEL) { _dprintf(x); } } while (0) | ^~ platform/msm_shared/edp_phy.c:228:17: note: in expansion of macro 'dprintf' 228 | dprintf("%s: PLL NOT ready\n", __func__); | ^~~~~~~ compiling platform/msm_shared/usb30_dwc.c compiling platform/msm_shared/usb30_dwc_hw.c compiling platform/msm_shared/usb30_udc.c platform/msm_shared/usb30_udc.c: In function 'udc_handle_setup': platform/msm_shared/usb30_udc.c:651:4: warning: implicit declaration of function 'dwc_ep_cmd_clear_stall' [-Wimplicit-function-declaration] 651 | dwc_ep_cmd_clear_stall(dwc, DWC_EP_PHY_NUM(usb_epnum, dir)); | ^~~~~~~~~~~~~~~~~~~~~~ compiling platform/msm_shared/usb30_wrapper.c compiling arch/arm/arch.c compiling arch/arm/asm.S compiling arch/arm/cache.c compiling arch/arm/cache-ops.S compiling arch/arm/ops.S compiling arch/arm/exceptions.S arch/arm/ops.S: Assembler messages: arch/arm/ops.S:45: swp{b} use is deprecated for ARMv6 and ARMv7 compiling arch/arm/faults.c compiling arch/arm/mmu.c compiling arch/arm/thread.c arch/arm/mmu.c: In function 'arm_mmu_init': arch/arm/mmu.c:72:6: warning: implicit declaration of function 'platform_use_identity_mmu_mappings' [-Wimplicit-function-declaration] 72 | if (platform_use_identity_mmu_mappings()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mmu.c:84:2: warning: implicit declaration of function 'platform_init_mmu_mappings' [-Wimplicit-function-declaration] 84 | platform_init_mmu_mappings(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mmu.c: In function 'arm_mmu_flush': arch/arm/mmu.c:98:2: warning: implicit declaration of function 'arch_clean_cache_range' [-Wimplicit-function-declaration] 98 | arch_clean_cache_range((vaddr_t) &tt, sizeof(tt)); | ^~~~~~~~~~~~~~~~~~~~~~ compiling arch/arm/dcc.S compiling platform/debug.c compiling platform/init.c compiling target/init.c compiling target/target_display.c platform/init.c: In function 'get_bs_info_addr': platform/init.c:106:9: warning: returning 'void *' from a function with return type 'addr_t' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] 106 | return NULL; | ^~~~ In file included from target/init.c:30: ./platform/msm_shared/include/sdhci_msm.h:136:28: warning: 'struct sdhci_host' declared inside parameter list will not be visible outside of this definition or declaration 136 | void sdhci_msm_init(struct sdhci_host *host, struct sdhci_msm_data *data); | ^~~~~~~~~~ ./platform/msm_shared/include/sdhci_msm.h:137:67: warning: 'struct mmc_card' declared inside parameter list will not be visible outside of this definition or declaration 137 | uint32_t sdhci_msm_execute_tuning(struct sdhci_host *host, struct mmc_card * card, uint32_t bus_width); | ^~~~~~~~ ./platform/msm_shared/include/sdhci_msm.h:137:42: warning: 'struct sdhci_host' declared inside parameter list will not be visible outside of this definition or declaration 137 | uint32_t sdhci_msm_execute_tuning(struct sdhci_host *host, struct mmc_card * card, uint32_t bus_width); | ^~~~~~~~~~ ./platform/msm_shared/include/sdhci_msm.h:138:32: warning: 'struct sdhci_host' declared inside parameter list will not be visible outside of this definition or declaration 138 | void sdhci_mode_disable(struct sdhci_host *host); | ^~~~~~~~~~ ./platform/msm_shared/include/sdhci_msm.h:140:34: warning: 'struct sdhci_host' declared inside parameter list will not be visible outside of this definition or declaration 140 | void sdhci_msm_toggle_cdr(struct sdhci_host *host, bool enable); | ^~~~~~~~~~ target/target_display.c:65:51: warning: 'struct msm_panel_info' declared inside parameter list will not be visible outside of this definition or declaration 65 | __WEAK int target_ldo_ctrl(uint8_t enable, struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~ target/target_display.c:70:42: warning: 'struct msm_panel_info' declared inside parameter list will not be visible outside of this definition or declaration 70 | __WEAK void target_edp_panel_init(struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~ target/target_display.c:75:58: warning: 'struct msm_panel_info' declared inside parameter list will not be visible outside of this definition or declaration 75 | __WEAK int target_edp_panel_clock(uint8_t enable, struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~ target/target_display.c:95:59: warning: 'struct msm_panel_info' declared inside parameter list will not be visible outside of this definition or declaration 95 | __WEAK int target_hdmi_panel_clock(uint8_t enable, struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~ compiling target/target_keys_lk2nd.c compiling target/target_display_cont_splash_mdp5.c compiling kernel/debug.c compiling kernel/dpc.c compiling kernel/event.c compiling kernel/main.c compiling kernel/mutex.c kernel/main.c: In function 'bootstrap2': kernel/main.c:130:2: warning: implicit declaration of function 'bio_init' [-Wimplicit-function-declaration] 130 | bio_init(); | ^~~~~~~~ kernel/main.c:133:2: warning: implicit declaration of function 'fs_init' [-Wimplicit-function-declaration] 133 | fs_init(); | ^~~~~~~ compiling kernel/thread.c compiling kernel/timer.c compiling dev/dev.c kernel/thread.c: In function 'thread_exit': kernel/thread.c:265:1: warning: 'noreturn' function does return 265 | } | ^ compiling app/app.c compiling app/aboot/aboot.c compiling app/aboot/fastboot.c In file included from app/aboot/aboot.c:50: app/aboot/aboot.c: In function 'boot_linux': app/aboot/aboot.c:810:15: warning: passing argument 1 of 'platform_get_virt_to_phys_mapping' makes integer from pointer without a cast [-Wint-conversion] 810 | ramdisk = PA(ramdisk); | ^~~~~~~ | | | void * include/platform.h:30:49: note: in definition of macro 'PA' 30 | #define PA(x) platform_get_virt_to_phys_mapping(x) | ^ include/platform.h:46:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'void *' 46 | addr_t platform_get_virt_to_phys_mapping(addr_t virt_addr); | ~~~~~~~^~~~~~~~~ app/aboot/aboot.c:810:10: warning: assignment to 'void *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 810 | ramdisk = PA(ramdisk); | ^ app/aboot/aboot.c: In function 'verify_signed_bootimg': app/aboot/aboot.c:971:8: warning: implicit declaration of function 'image_verify' [-Wimplicit-function-declaration] 971 | ret = image_verify((unsigned char *)bootimg_addr, | ^~~~~~~~~~~~ app/aboot/aboot.c: In function 'read_allow_oem_unlock': app/aboot/aboot.c:1927:29: warning: passing argument 2 of 'mmc_read' from incompatible pointer type [-Wincompatible-pointer-types] 1927 | if (mmc_read(ptn + offset, buf, sizeof(buf))) | ^~~ | | | char * In file included from ./platform/msm_shared/include/mmc.h:34, from app/aboot/aboot.c:48: ./platform/msm_shared/include/mmc_wrapper.h:40:49: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'char *' 40 | uint32_t mmc_read(uint64_t data_addr, uint32_t *out, uint32_t data_len); | ~~~~~~~~~~^~~ app/aboot/aboot.c: In function 'write_allow_oem_unlock': app/aboot/aboot.c:1962:29: warning: passing argument 2 of 'mmc_read' from incompatible pointer type [-Wincompatible-pointer-types] 1962 | if (mmc_read(ptn + offset, buf, sizeof(buf))) | ^~~ | | | char * In file included from ./platform/msm_shared/include/mmc.h:34, from app/aboot/aboot.c:48: ./platform/msm_shared/include/mmc_wrapper.h:40:49: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'char *' 40 | uint32_t mmc_read(uint64_t data_addr, uint32_t *out, uint32_t data_len); | ~~~~~~~~~~^~~ app/aboot/fastboot.c: In function 'hsusb_usb_read': app/aboot/fastboot.c:291:12: warning: assignment to 'void *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 291 | req->buf = PA((addr_t)buf); | ^ app/aboot/fastboot.c:317:30: warning: passing argument 1 of 'arch_invalidate_cache_range' makes integer from pointer without a cast [-Wint-conversion] 317 | arch_invalidate_cache_range(_buf, count); | ^~~~ | | | void * In file included from include/kernel/thread.h:29, from app/aboot/fastboot.c:36: include/arch/ops.h:56:41: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'void *' 56 | void arch_invalidate_cache_range(addr_t start, size_t len); | ~~~~~~~^~~~~ app/aboot/fastboot.c: In function 'hsusb_usb_write': app/aboot/fastboot.c:337:12: warning: assignment to 'void *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 337 | req->buf = PA((addr_t)_buf); | ^ app/aboot/aboot.c: In function 'cmd_boot': app/aboot/aboot.c:2393:16: warning: implicit declaration of function 'read_der_message_length' [-Wimplicit-function-declaration] 2393 | sig_actual = read_der_message_length( | ^~~~~~~~~~~~~~~~~~~~~~~ app/aboot/aboot.c: In function 'aboot_save_boot_hash_mmc': app/aboot/aboot.c:4108:2: warning: implicit declaration of function 'hash_find' [-Wimplicit-function-declaration] 4108 | hash_find(image_addr, image_size, (unsigned char *)&digest, auth_algo); | ^~~~~~~~~ app/aboot/aboot.c:4110:2: warning: implicit declaration of function 'save_kernel_hash_cmd' [-Wimplicit-function-declaration] 4110 | save_kernel_hash_cmd(digest); | ^~~~~~~~~~~~~~~~~~~~ compiling app/aboot/fs_boot.c compiling app/aboot/fastboot-extra.c compiling app/aboot/fastboot-lk2nd.c compiling dev/fbcon/fbcon.c compiling dev/gcdb/display/gcdb_display.c In file included from dev/gcdb/display/gcdb_display.c:39: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ In file included from dev/gcdb/display/gcdb_display.c:41: dev/gcdb/display/include/display_resource.h:72:1: warning: useless storage class specifier in empty declaration 72 | }; | ^ dev/gcdb/display/include/display_resource.h:86:1: warning: useless storage class specifier in empty declaration 86 | }; | ^ In file included from dev/gcdb/display/gcdb_display.c:42: dev/gcdb/display/include/panel.h:79:1: warning: useless storage class specifier in empty declaration 79 | }; | ^ dev/gcdb/display/include/panel.h:101:1: warning: useless storage class specifier in empty declaration 101 | }; | ^ dev/gcdb/display/include/panel.h:110:1: warning: useless storage class specifier in empty declaration 110 | }; | ^ dev/gcdb/display/include/panel.h:115:1: warning: useless storage class specifier in empty declaration 115 | }; | ^ dev/gcdb/display/include/panel.h:127:1: warning: useless storage class specifier in empty declaration 127 | }; | ^ dev/gcdb/display/include/panel.h:142:1: warning: useless storage class specifier in empty declaration 142 | }; | ^ dev/gcdb/display/include/panel.h:152:1: warning: useless storage class specifier in empty declaration 152 | }; | ^ dev/gcdb/display/include/panel.h:159:1: warning: useless storage class specifier in empty declaration 159 | }; | ^ dev/gcdb/display/include/panel.h:171:1: warning: useless storage class specifier in empty declaration 171 | }; | ^ dev/gcdb/display/include/panel.h:180:1: warning: useless storage class specifier in empty declaration 180 | }; | ^ dev/gcdb/display/include/panel.h:200:1: warning: useless storage class specifier in empty declaration 200 | }; | ^ In file included from dev/gcdb/display/gcdb_display.c:43: dev/gcdb/display/panel_display.h:67:1: warning: useless storage class specifier in empty declaration 67 | }; | ^ dev/gcdb/display/gcdb_display.c: In function 'mdss_dsi_panel_pre_init': dev/gcdb/display/gcdb_display.c:146:3: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] 146 | udelay(panelstruct.paneldata->panel_init_delay); | ^~~~~~ dev/gcdb/display/gcdb_display.c: In function 'gcdb_display_cmdline_arg': dev/gcdb/display/gcdb_display.c:208:32: warning: implicit declaration of function 'target_cont_splash_screen' [-Wimplicit-function-declaration] 208 | if (panelstruct.paneldata && target_cont_splash_screen()) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/gcdb_display.c:217:8: warning: implicit declaration of function 'target_is_edp' [-Wimplicit-function-declaration] 217 | if (target_is_edp()) | ^~~~~~~~~~~~~ dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_panel_init': dev/gcdb/display/gcdb_display.c:303:9: warning: implicit declaration of function 'target_edp_panel_init'; did you mean 'mdss_edp_panel_init'? [-Wimplicit-function-declaration] 303 | return target_edp_panel_init(pinfo); | ^~~~~~~~~~~~~~~~~~~~~ | mdss_edp_panel_init dev/gcdb/display/gcdb_display.c:303:9: warning: 'return' with a value, in function returning void 303 | return target_edp_panel_init(pinfo); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/gcdb_display.c:301:13: note: declared here 301 | static void mdss_edp_panel_init(struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~~~~~~ dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_panel_clock': dev/gcdb/display/gcdb_display.c:309:9: warning: implicit declaration of function 'target_edp_panel_clock'; did you mean 'target_panel_clock'? [-Wimplicit-function-declaration] 309 | return target_edp_panel_clock(enable, pinfo); | ^~~~~~~~~~~~~~~~~~~~~~ | target_panel_clock dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_panel_enable': dev/gcdb/display/gcdb_display.c:314:9: warning: implicit declaration of function 'target_edp_panel_enable'; did you mean 'mdss_edp_panel_enable'? [-Wimplicit-function-declaration] 314 | return target_edp_panel_enable(); | ^~~~~~~~~~~~~~~~~~~~~~~ | mdss_edp_panel_enable dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_panel_disable': dev/gcdb/display/gcdb_display.c:319:9: warning: implicit declaration of function 'target_edp_panel_disable'; did you mean 'mdss_edp_panel_disable'? [-Wimplicit-function-declaration] 319 | return target_edp_panel_disable(); | ^~~~~~~~~~~~~~~~~~~~~~~~ | mdss_edp_panel_disable dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_bl_enable': dev/gcdb/display/gcdb_display.c:363:8: warning: implicit declaration of function 'target_edp_bl_ctrl'; did you mean 'target_ldo_ctrl'? [-Wimplicit-function-declaration] 363 | ret = target_edp_bl_ctrl(enable); | ^~~~~~~~~~~~~~~~~~ | target_ldo_ctrl dev/gcdb/display/gcdb_display.c: In function 'gcdb_display_init': dev/gcdb/display/gcdb_display.c:375:13: warning: implicit declaration of function 'oem_panel_select'; did you mean 'oem_panel_off'? [-Wimplicit-function-declaration] 375 | pan_type = oem_panel_select(panel_name, &panelstruct, &(panel.panel_info), | ^~~~~~~~~~~~~~~~ | oem_panel_off dev/gcdb/display/gcdb_display.c:387:22: warning: assignment to 'int (*)(int, struct msm_panel_info *)' from incompatible pointer type 'uint32_t (*)(uint8_t, struct msm_panel_info *)' {aka 'unsigned int (*)(unsigned char, struct msm_panel_info *)'} [-Wincompatible-pointer-types] 387 | panel.pll_clk_func = mdss_dsi_panel_clock; | ^ dev/gcdb/display/gcdb_display.c:388:20: warning: assignment to 'int (*)(int, struct msm_panel_info *)' from incompatible pointer type 'int (*)(uint8_t, struct msm_panel_info *)' {aka 'int (*)(unsigned char, struct msm_panel_info *)'} [-Wincompatible-pointer-types] 388 | panel.power_func = mdss_dsi_panel_power; | ^ dev/gcdb/display/gcdb_display.c:390:17: warning: assignment to 'int (*)(int)' from incompatible pointer type 'int (*)(uint8_t)' {aka 'int (*)(unsigned char)'} [-Wincompatible-pointer-types] 390 | panel.bl_func = mdss_dsi_bl_enable; | ^ dev/gcdb/display/gcdb_display.c:400:32: warning: assignment to 'int (*)(int)' from incompatible pointer type 'uint32_t (*)(uint8_t, struct msm_panel_info *)' {aka 'unsigned int (*)(unsigned char, struct msm_panel_info *)'} [-Wincompatible-pointer-types] 400 | panel.clk_func = mdss_edp_panel_clock; | ^ dev/gcdb/display/gcdb_display.c:401:34: warning: assignment to 'int (*)(int, struct msm_panel_info *)' from incompatible pointer type 'int (*)(uint8_t, struct msm_panel_info *)' {aka 'int (*)(unsigned char, struct msm_panel_info *)'} [-Wincompatible-pointer-types] 401 | panel.power_func = mdss_edp_panel_power; | ^ dev/gcdb/display/gcdb_display.c:402:17: warning: assignment to 'int (*)(int)' from incompatible pointer type 'int (*)(uint8_t)' {aka 'int (*)(unsigned char)'} [-Wincompatible-pointer-types] 402 | panel.bl_func = mdss_edp_bl_enable; | ^ compiling dev/gcdb/display/panel_display.c In file included from dev/gcdb/display/panel_display.c:35: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ In file included from dev/gcdb/display/panel_display.h:51, from dev/gcdb/display/panel_display.c:47: ./dev/gcdb/display/include/panel.h:79:1: warning: useless storage class specifier in empty declaration 79 | }; | ^ ./dev/gcdb/display/include/panel.h:101:1: warning: useless storage class specifier in empty declaration 101 | }; | ^ ./dev/gcdb/display/include/panel.h:110:1: warning: useless storage class specifier in empty declaration 110 | }; | ^ ./dev/gcdb/display/include/panel.h:115:1: warning: useless storage class specifier in empty declaration 115 | }; | ^ ./dev/gcdb/display/include/panel.h:127:1: warning: useless storage class specifier in empty declaration 127 | }; | ^ ./dev/gcdb/display/include/panel.h:142:1: warning: useless storage class specifier in empty declaration 142 | }; | ^ ./dev/gcdb/display/include/panel.h:152:1: warning: useless storage class specifier in empty declaration 152 | }; | ^ ./dev/gcdb/display/include/panel.h:159:1: warning: useless storage class specifier in empty declaration 159 | }; | ^ ./dev/gcdb/display/include/panel.h:171:1: warning: useless storage class specifier in empty declaration 171 | }; | ^ ./dev/gcdb/display/include/panel.h:180:1: warning: useless storage class specifier in empty declaration 180 | }; | ^ ./dev/gcdb/display/include/panel.h:200:1: warning: useless storage class specifier in empty declaration 200 | }; | ^ In file included from dev/gcdb/display/panel_display.c:47: dev/gcdb/display/panel_display.h:67:1: warning: useless storage class specifier in empty declaration 67 | }; | ^ dev/gcdb/display/panel_display.c: In function 'dsi_panel_pre_on': dev/gcdb/display/panel_display.c:206:9: warning: implicit declaration of function 'target_display_pre_on' [-Wimplicit-function-declaration] 206 | return target_display_pre_on(); | ^~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/panel_display.c: In function 'dsi_panel_pre_off': dev/gcdb/display/panel_display.c:211:9: warning: implicit declaration of function 'target_display_pre_off' [-Wimplicit-function-declaration] 211 | return target_display_pre_off(); | ^~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/panel_display.c: In function 'dsi_panel_post_on': dev/gcdb/display/panel_display.c:218:8: warning: implicit declaration of function 'target_display_post_on' [-Wimplicit-function-declaration] 218 | ret = target_display_post_on(); | ^~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/panel_display.c: In function 'dsi_panel_post_off': dev/gcdb/display/panel_display.c:229:8: warning: implicit declaration of function 'target_display_post_off' [-Wimplicit-function-declaration] 229 | ret = target_display_post_off(); | ^~~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/panel_display.c: In function 'dsi_cmd_panel_config': dev/gcdb/display/panel_display.c:332:8: warning: implicit declaration of function 'mdss_dsi_cmd_mode_config'; did you mean 'mdss_dsi_video_mode_config'? [-Wimplicit-function-declaration] 332 | ret = mdss_dsi_cmd_mode_config((panel_width + plcdc->xres_pad), | ^~~~~~~~~~~~~~~~~~~~~~~~ | mdss_dsi_video_mode_config compiling dev/gcdb/display/gcdb_autopll.c In file included from dev/gcdb/display/gcdb_autopll.c:34: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ compiling dev/keys/keys.c dev/keys/keys.c: In function 'keys_init': dev/keys/keys.c:46:2: warning: implicit declaration of function 'lk2nd_init' [-Wimplicit-function-declaration] 46 | lk2nd_init(); | ^~~~~~~~~~ compiling dev/pmic/pm8x41/pm8x41.c compiling dev/pmic/pm8x41/pm8x41_adc.c compiling dev/pmic/pm8x41/pm8x41_wled.c compiling dev/pmic/pm8x41/pm8x41_regulator.c compiling lib/debug/debug.c lib/debug/debug.c: In function '__stack_chk_fail': lib/debug/debug.c:43:1: warning: 'noreturn' function does return 43 | } | ^ compiling lib/heap/heap.c compiling lib/libc/atoi.c compiling lib/libc/ctype.c compiling lib/libc/gcd_lcm.c compiling lib/libc/itoa.c compiling lib/libc/printf.c compiling lib/libc/malloc.c compiling lib/libc/rand.c compiling lib/libc/eabi.c compiling lib/libc/string/arch/arm/memcpy.S compiling lib/libc/string/arch/arm/memset.S compiling lib/libc/string/memchr.c compiling lib/libc/string/memcmp.c compiling lib/libc/string/memscpy.c compiling lib/libc/string/strcat.c compiling lib/libc/string/strchr.c compiling lib/libc/string/strcmp.c compiling lib/libc/string/strcoll.c compiling lib/libc/string/strcpy.c compiling lib/libc/string/strdup.c compiling lib/libc/string/strerror.c compiling lib/libc/string/strlcat.c compiling lib/libc/string/strlcpy.c compiling lib/libc/string/strlen.c compiling lib/libc/string/strncat.c compiling lib/libc/string/strncpy.c compiling lib/libc/string/strncmp.c compiling lib/libc/string/strnicmp.c compiling lib/libc/string/strnlen.c compiling lib/libc/string/strpbrk.c compiling lib/libc/string/strrchr.c compiling lib/libc/string/strrev.c compiling lib/libc/string/strspn.c compiling lib/libc/string/strstr.c compiling lib/libc/string/strtok.c compiling lib/libc/string/strxfrm.c compiling lib/libfdt/fdt.c compiling lib/libfdt/fdt_ro.c compiling lib/libfdt/fdt_wip.c compiling lib/libfdt/fdt_sw.c compiling lib/libfdt/fdt_rw.c compiling lib/libfdt/fdt_strerror.c compiling lib/ptable/ptable.c compiling lk2nd/lk2nd-device.c compiling lk2nd/lk2nd-motorola.c compiling lib/bio/bio.c compiling lib/bio/debug.c compiling lib/bio/mem.c compiling lib/bio/subdev.c compiling lib/fs/fs.c compiling lib/fs/debug.c compiling lib/partition/partition.c compiling lib/zlib_inflate/zutil.c compiling lib/zlib_inflate/adler32.c compiling lib/zlib_inflate/inftrees.c compiling lib/zlib_inflate/inflate.c compiling lib/zlib_inflate/inffast.c compiling lib/zlib_inflate/decompress.c compiling lib/fs/ext2/ext2.c compiling lib/fs/ext2/dir.c lib/fs/ext2/dir.c: In function 'ext2_open_directory': lib/fs/ext2/dir.c:228:13: warning: assignment to 'dircookie *' from incompatible pointer type 'ext2_dir_t *' [-Wincompatible-pointer-types] 228 | *dircookie = dir; | ^ lib/fs/ext2/dir.c: In function 'ext2_close_directory': lib/fs/ext2/dir.c:257:21: warning: passing argument 1 of 'ext2_close_file' from incompatible pointer type [-Wincompatible-pointer-types] 257 | ext2_close_file(dir->file); | ~~~^~~~~~ | | | ext2_file_t * In file included from lib/fs/ext2/dir.c:27: lib/fs/ext2/ext2_priv.h:84:38: note: expected 'filecookie *' but argument is of type 'ext2_file_t *' 84 | status_t ext2_close_file(filecookie *fcookie); | ~~~~~~~~~~~~^~~~~~~ compiling lib/fs/ext2/io.c compiling lib/fs/ext2/file.c compiling lib/bcache/bcache.c linking build-msm8974-secondary/lk generating image: build-msm8974-secondary/lk.bin generating listing: build-msm8974-secondary/lk.lst text data bss dec hex filename generating listing: build-msm8974-secondary/lk.debug.lst 194432 102276 148924 445632 6ccc0 build-msm8974-secondary/lk arm-none-eabi-objcopy -O binary build-msm8974-secondary/lk build-msm8974-secondary/lk.bin generating symbols: build-msm8974-secondary/lk.sym generating size map: build-msm8974-secondary/lk.size generating stripped elf: build-msm8974-secondary/lk_s.elf ./build-msm8974-secondary/mkheader ./build-msm8974-secondary/lk.bin ./build-msm8974-secondary/emmc_appsboothd.mbn Image Destination Pointer: 0xf900000 Done execution cp ./build-msm8974-secondary/lk.bin ./build-msm8974-secondary/emmc_appsboot.raw cat ./build-msm8974-secondary/emmc_appsboothd.mbn ./build-msm8974-secondary/lk.bin > ./build-msm8974-secondary/EMMCBOOT.MBN cat ./build-msm8974-secondary/emmc_appsboothd.mbn ./build-msm8974-secondary/lk.bin > ./build-msm8974-secondary/emmc_appsboot.mbn rm -f ./build-msm8974-secondary/emmc_appsboothd.mbn make[1]: Leaving directory '/home/pmos/build/src/lk2nd-0.10.0' make[1]: Entering directory '/home/pmos/build/src/lk2nd-0.10.0' including app/aboot dev/fbcon dev/gcdb/display dev/keys dev/pmic/pm8x41 dev/vib lib/debug lib/heap lib/libc lib/libfdt lib/ptable lk2nd including lib/bio lib/fs lib/partition lib/zlib_inflate including lib/fs/ext2 including lib/bcache generating build-msm8226-secondary/config.h generating build-msm8226-secondary/system-onesegment.ld compiling dts/msm8226/apq8026-lge-lenok.dts gcc -DMEMBASE=0x07F00000 target/msm8226/tools/mkheader.c -o ./build-msm8226-secondary/mkheader compiling arch/arm/crt0.S compiling target/msm8226/init.c compiling target/msm8226/meminfo.c compiling platform/msm8226/platform.c target/msm8226/init.c: In function 'reboot_device': target/msm8226/init.c:413:2: warning: implicit declaration of function 'mdelay' [-Wimplicit-function-declaration] 413 | mdelay(5000); | ^~~~~~ target/msm8226/init.c: In function 'target_uninit': target/msm8226/init.c:462:3: warning: implicit declaration of function 'crypto_eng_cleanup'; did you mean 'crypto5_cleanup'? [-Wimplicit-function-declaration] 462 | crypto_eng_cleanup(); | ^~~~~~~~~~~~~~~~~~ | crypto5_cleanup target/msm8226/init.c:468:2: warning: implicit declaration of function 'sdhci_mode_disable' [-Wimplicit-function-declaration] 468 | sdhci_mode_disable(&dev->host); | ^~~~~~~~~~~~~~~~~~ compiling platform/msm8226/acpuclock.c platform/msm8226/platform.c:41: warning: "MB" redefined 41 | #define MB (1024*1024) | In file included from platform/msm8226/platform.c:38: ./platform/msm_shared/include/board.h:78: note: this is the location of the previous definition 78 | #define MB (1024 * 1024) | platform/msm8226/platform.c: In function 'platform_uninit': platform/msm8226/platform.c:77:2: warning: implicit declaration of function 'display_shutdown' [-Wimplicit-function-declaration] 77 | display_shutdown(); | ^~~~~~~~~~~~~~~~ compiling platform/msm8226/msm8226-clock.c In file included from platform/msm8226/msm8226-clock.c:35: platform/msm8226/include/platform/clock.h:37:41: warning: initialization of 'uint32_t *' {aka 'unsigned int *'} from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion] 37 | #define REG_MM(off) (MSM_MMSS_CLK_CTL_BASE + (off)) | ^ platform/msm8226/include/platform/clock.h:52:41: note: in expansion of macro 'REG_MM' 52 | #define MDP_LUT_CBCR REG_MM(0x2320) | ^~~~~~ platform/msm8226/msm8226-clock.c:504:17: note: in expansion of macro 'MDP_LUT_CBCR' 504 | .cbcr_reg = MDP_LUT_CBCR, | ^~~~~~~~~~~~ platform/msm8226/include/platform/clock.h:37:41: note: (near initialization for 'mdss_mdp_lut_clk.cbcr_reg') 37 | #define REG_MM(off) (MSM_MMSS_CLK_CTL_BASE + (off)) | ^ platform/msm8226/include/platform/clock.h:52:41: note: in expansion of macro 'REG_MM' 52 | #define MDP_LUT_CBCR REG_MM(0x2320) | ^~~~~~ platform/msm8226/msm8226-clock.c:504:17: note: in expansion of macro 'MDP_LUT_CBCR' 504 | .cbcr_reg = MDP_LUT_CBCR, | ^~~~~~~~~~~~ platform/msm8226/include/platform/clock.h:37:41: warning: initialization of 'uint32_t *' {aka 'unsigned int *'} from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion] 37 | #define REG_MM(off) (MSM_MMSS_CLK_CTL_BASE + (off)) | ^ platform/msm8226/include/platform/clock.h:47:41: note: in expansion of macro 'REG_MM' 47 | #define MDSS_VSYNC_CBCR REG_MM(0x2328) | ^~~~~~ platform/msm8226/msm8226-clock.c:515:17: note: in expansion of macro 'MDSS_VSYNC_CBCR' 515 | .cbcr_reg = MDSS_VSYNC_CBCR, | ^~~~~~~~~~~~~~~ platform/msm8226/include/platform/clock.h:37:41: note: (near initialization for 'mdss_vsync_clk.cbcr_reg') 37 | #define REG_MM(off) (MSM_MMSS_CLK_CTL_BASE + (off)) | ^ platform/msm8226/include/platform/clock.h:47:41: note: in expansion of macro 'REG_MM' 47 | #define MDSS_VSYNC_CBCR REG_MM(0x2328) | ^~~~~~ platform/msm8226/msm8226-clock.c:515:17: note: in expansion of macro 'MDSS_VSYNC_CBCR' 515 | .cbcr_reg = MDSS_VSYNC_CBCR, | ^~~~~~~~~~~~~~~ compiling platform/msm8226/gpio.c compiling platform/msm_shared/debug.c compiling platform/msm_shared/smem.c compiling platform/msm_shared/smem_ptable.c platform/msm_shared/smem.c: In function 'smem_get_alloc_entry': platform/msm_shared/smem.c:139:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 139 | return 1; | ^ platform/msm_shared/smem.c:143:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 143 | return 1; | ^ platform/msm_shared/smem.c:151:7: warning: assignment to 'void *' from 'uint32_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 151 | ret = base_ext + offset; | ^ compiling platform/msm_shared/jtag_hook.S compiling platform/msm_shared/jtag.c compiling platform/msm_shared/partition_parser.c compiling platform/msm_shared/hsusb.c In file included from platform/msm_shared/hsusb.c:36: platform/msm_shared/hsusb.c: In function 'udc_request_queue': platform/msm_shared/hsusb.c:324:26: warning: passing argument 1 of 'platform_get_virt_to_phys_mapping' makes integer from pointer without a cast [-Wint-conversion] 324 | curr_item->next = PA(item); | ^~~~ | | | struct ept_queue_item * include/platform.h:30:49: note: in definition of macro 'PA' 30 | #define PA(x) platform_get_virt_to_phys_mapping(x) | ^ include/platform.h:46:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'struct ept_queue_item *' 46 | addr_t platform_get_virt_to_phys_mapping(addr_t virt_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:329:9: warning: assignment to 'struct ept_queue_item *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 329 | item = VA(curr_item->next); | ^ In file included from platform/msm_shared/hsusb.c:36: platform/msm_shared/hsusb.c:348:26: warning: passing argument 1 of 'platform_get_virt_to_phys_mapping' makes integer from pointer without a cast [-Wint-conversion] 348 | ept->head->next = PA(req->item); | ~~~^~~~~~ | | | struct ept_queue_item * include/platform.h:30:49: note: in definition of macro 'PA' 30 | #define PA(x) platform_get_virt_to_phys_mapping(x) | ^ include/platform.h:46:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'struct ept_queue_item *' 46 | addr_t platform_get_virt_to_phys_mapping(addr_t virt_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:357:56: warning: passing argument 1 of 'platform_get_phys_to_virt_mapping' makes integer from pointer without a cast [-Wint-conversion] 357 | arch_clean_invalidate_cache_range((addr_t) VA(req->req.buf), | ~~~~~~~~^~~~ | | | void * include/platform.h:31:49: note: in definition of macro 'VA' 31 | #define VA(x) platform_get_phys_to_virt_mapping(x) | ^ include/platform.h:47:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'void *' 47 | addr_t platform_get_phys_to_virt_mapping(addr_t phys_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:367:9: warning: assignment to 'struct ept_queue_item *' from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion] 367 | item = curr_item->next; | ^ In file included from platform/msm_shared/hsusb.c:36: platform/msm_shared/hsusb.c: In function 'handle_ept_complete': platform/msm_shared/hsusb.c:394:15: warning: passing argument 1 of 'platform_get_phys_to_virt_mapping' makes integer from pointer without a cast [-Wint-conversion] 394 | req = VA(ept->req); | ~~~^~~~~ | | | struct usb_request * include/platform.h:31:49: note: in definition of macro 'VA' 31 | #define VA(x) platform_get_phys_to_virt_mapping(x) | ^ include/platform.h:47:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'struct usb_request *' 47 | addr_t platform_get_phys_to_virt_mapping(addr_t phys_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:394:7: warning: assignment to 'struct usb_request *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 394 | req = VA(ept->req); | ^ In file included from platform/msm_shared/hsusb.c:36: platform/msm_shared/hsusb.c:400:16: warning: passing argument 1 of 'platform_get_phys_to_virt_mapping' makes integer from pointer without a cast [-Wint-conversion] 400 | item = VA(req->item); | ~~~^~~~~~ | | | struct ept_queue_item * include/platform.h:31:49: note: in definition of macro 'VA' 31 | #define VA(x) platform_get_phys_to_virt_mapping(x) | ^ include/platform.h:47:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'struct ept_queue_item *' 47 | addr_t platform_get_phys_to_virt_mapping(addr_t phys_addr); | ~~~~~~~^~~~~~~~~ platform/msm_shared/hsusb.c:400:8: warning: assignment to 'struct ept_queue_item *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 400 | item = VA(req->item); | ^ platform/msm_shared/hsusb.c:448:10: warning: assignment to 'struct ept_queue_item *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 448 | item = VA(item->next); | ^ platform/msm_shared/partition_parser.c: In function 'patch_gpt': platform/msm_shared/partition_parser.c:687:30: warning: assignment to 'unsigned int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] 687 | partition_entry_array_start = primary_gpt_header + block_size; | ^ platform/msm_shared/partition_parser.c:688:30: warning: passing argument 1 of 'calculate_crc32' makes pointer from integer without a cast [-Wint-conversion] 688 | crc_value = calculate_crc32(partition_entry_array_start, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int platform/msm_shared/partition_parser.c:575:45: note: expected 'unsigned char *' but argument is of type 'unsigned int' 575 | unsigned int calculate_crc32(unsigned char *buffer, int len) | ~~~~~~~~~~~~~~~^~~~~~ platform/msm_shared/partition_parser.c:692:58: warning: passing argument 1 of 'calculate_crc32' makes pointer from integer without a cast [-Wint-conversion] 692 | crc_value = calculate_crc32(partition_entry_array_start + array_size, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | unsigned int platform/msm_shared/partition_parser.c:575:45: note: expected 'unsigned char *' but argument is of type 'unsigned int' 575 | unsigned int calculate_crc32(unsigned char *buffer, int len) | ~~~~~~~~~~~~~~~^~~~~~ platform/msm_shared/partition_parser.c: In function 'write_gpt': platform/msm_shared/partition_parser.c:799:30: warning: assignment to 'unsigned int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] 799 | partition_entry_array_start = primary_gpt_header + block_size; | ^ platform/msm_shared/partition_parser.c:810:30: warning: assignment to 'unsigned int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] 810 | partition_entry_array_start = primary_gpt_header + block_size + | ^ platform/msm_shared/partition_parser.c: In function 'mbr_fill_name': platform/msm_shared/partition_parser.c:880:23: warning: statement will never be executed [-Wswitch-unreachable] 880 | memset(partition_ent->name, 0, MAX_GPT_NAME_SIZE); | ~~~~~~~~~~~~~^~~~~~ compiling platform/msm_shared/boot_stats.c platform/msm_shared/boot_stats.c: In function 'bs_set_timestamp': platform/msm_shared/boot_stats.c:37:19: warning: implicit declaration of function 'get_bs_info_addr' [-Wimplicit-function-declaration] 37 | addr_t bs_imem = get_bs_info_addr(); | ^~~~~~~~~~~~~~~~ platform/msm_shared/boot_stats.c:47:24: warning: implicit declaration of function 'platform_get_sclk_count' [-Wimplicit-function-declaration] 47 | kernel_load_start = platform_get_sclk_count(); | ^~~~~~~~~~~~~~~~~~~~~~~ compiling platform/msm_shared/crc32.c compiling platform/msm_shared/sdhci.c In file included from platform/msm_shared/sdhci.c:40: ./platform/msm_shared/include/sdhci_msm.h:137:67: warning: 'struct mmc_card' declared inside parameter list will not be visible outside of this definition or declaration 137 | uint32_t sdhci_msm_execute_tuning(struct sdhci_host *host, struct mmc_card * card, uint32_t bus_width); | ^~~~~~~~ compiling platform/msm_shared/sdhci_msm.c platform/msm_shared/sdhci_msm.c: In function 'sdhci_msm_init': platform/msm_shared/sdhci_msm.c:192:40: warning: passing argument 2 of 'register_int_handler' from incompatible pointer type [-Wincompatible-pointer-types] 192 | register_int_handler(config->pwr_irq, sdhci_int_handler, (void *)config); | ^~~~~~~~~~~~~~~~~ | | | enum handler_return (*)(struct sdhci_msm_data *) In file included from platform/msm_shared/sdhci_msm.c:31: include/platform/interrupts.h:33:60: note: expected 'int_handler' {aka 'enum handler_return (*)(void *)'} but argument is of type 'enum handler_return (*)(struct sdhci_msm_data *)' 33 | void register_int_handler(unsigned int vector, int_handler handler, void *arg); | ~~~~~~~~~~~~^~~~~~~ platform/msm_shared/sdhci_msm.c: In function 'sdhci_msm_execute_tuning': platform/msm_shared/sdhci_msm.c:642:2: warning: braces around scalar initializer 642 | uint32_t tuned_phases[MAX_PHASES] = {{0}}; | ^~~~~~~~ platform/msm_shared/sdhci_msm.c:642:2: note: (near initialization for 'tuned_phases[0]') platform/msm_shared/sdhci_msm.c:668:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 668 | tuning_block = tuning_block_128; | ^ platform/msm_shared/sdhci_msm.c:673:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 673 | tuning_block = tuning_block_64; | ^ compiling platform/msm_shared/mmc_sdhci.c compiling platform/msm_shared/mmc_wrapper.c platform/msm_shared/mmc_wrapper.c: In function 'mmc_write': platform/msm_shared/mmc_wrapper.c:132:6: warning: implicit declaration of function 'platform_boot_dev_isemmc' [-Wimplicit-function-declaration] 132 | if (platform_boot_dev_isemmc()) | ^~~~~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/mmc_sdhci.c: In function 'mmc_set_hs200_mode': platform/msm_shared/mmc_sdhci.c:896:3: warning: implicit declaration of function 'sdhci_msm_set_mci_clk' [-Wimplicit-function-declaration] 896 | sdhci_msm_set_mci_clk(host); | ^~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/mmc_sdhci.c: In function 'mmc_host_init': platform/msm_shared/mmc_sdhci.c:1125:3: warning: implicit declaration of function 'clock_config_cdc'; did you mean 'clock_config_mmc'? [-Wimplicit-function-declaration] 1125 | clock_config_cdc(cfg->slot); | ^~~~~~~~~~~~~~~~ | clock_config_mmc compiling platform/msm_shared/menu_keys_detect.c compiling platform/msm_shared/display_menu.c compiling platform/msm_shared/qgic.c compiling platform/msm_shared/qtimer.c compiling platform/msm_shared/qtimer_mmap.c compiling platform/msm_shared/interrupts.c platform/msm_shared/interrupts.c: In function 'platform_irq': platform/msm_shared/interrupts.c:45:9: warning: implicit declaration of function 'gic_platform_irq'; did you mean 'platform_irq'? [-Wimplicit-function-declaration] 45 | return gic_platform_irq(frame); | ^~~~~~~~~~~~~~~~ | platform_irq platform/msm_shared/interrupts.c: In function 'platform_fiq': platform/msm_shared/interrupts.c:57:2: warning: implicit declaration of function 'gic_platform_fiq'; did you mean 'platform_fiq'? [-Wimplicit-function-declaration] 57 | gic_platform_fiq(frame); | ^~~~~~~~~~~~~~~~ | platform_fiq platform/msm_shared/interrupts.c: In function 'mask_interrupt': platform/msm_shared/interrupts.c:69:9: warning: implicit declaration of function 'gic_mask_interrupt'; did you mean 'unmask_interrupt'? [-Wimplicit-function-declaration] 69 | return gic_mask_interrupt(vector); | ^~~~~~~~~~~~~~~~~~ | unmask_interrupt platform/msm_shared/interrupts.c: In function 'unmask_interrupt': platform/msm_shared/interrupts.c:81:9: warning: implicit declaration of function 'gic_unmask_interrupt'; did you mean 'unmask_interrupt'? [-Wimplicit-function-declaration] 81 | return gic_unmask_interrupt(vector); | ^~~~~~~~~~~~~~~~~~~~ | unmask_interrupt platform/msm_shared/interrupts.c: In function 'register_int_handler': platform/msm_shared/interrupts.c:93:3: warning: implicit declaration of function 'gic_register_int_handler'; did you mean 'register_int_handler'? [-Wimplicit-function-declaration] 93 | gic_register_int_handler(vector, func, arg); | ^~~~~~~~~~~~~~~~~~~~~~~~ | register_int_handler compiling platform/msm_shared/clock.c compiling platform/msm_shared/clock_pll.c compiling platform/msm_shared/clock_lib2.c platform/msm_shared/clock_lib2.c: In function 'clock_lib2_branch_clk_reset': platform/msm_shared/clock_lib2.c:273:43: warning: passing argument 1 of '__clock_lib2_branch_clk_reset' makes integer from pointer without a cast [-Wint-conversion] 273 | return __clock_lib2_branch_clk_reset(bclk->bcr_reg, action); | ~~~~^~~~~~~~~ | | | uint32_t * const {aka unsigned int * const} platform/msm_shared/clock_lib2.c:230:51: note: expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'uint32_t * const' {aka 'unsigned int * const'} 230 | static int __clock_lib2_branch_clk_reset(uint32_t bcr_reg, enum clk_reset_action action) | ~~~~~~~~~^~~~~~~ compiling platform/msm_shared/uart_dm.c compiling platform/msm_shared/board.c compiling platform/msm_shared/scm.c platform/msm_shared/board.c: In function 'platform_detect': platform/msm_shared/board.c:157:67: warning: implicit declaration of function 'platform_get_boot_dev' [-Wimplicit-function-declaration] 157 | board.platform_hlos_subtype = (board_get_ddr_subtype() << 8) | (platform_get_boot_dev() << 16) | (platform_detect_panel() << 11); | ^~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/board.c:157:101: warning: implicit declaration of function 'platform_detect_panel'; did you mean 'platform_detect'? [-Wimplicit-function-declaration] 157 | board.platform_hlos_subtype = (board_get_ddr_subtype() << 8) | (platform_get_boot_dev() << 16) | (platform_detect_panel() << 11); | ^~~~~~~~~~~~~~~~~~~~~ | platform_detect platform/msm_shared/scm.c: In function 'scm_call_atomic': platform/msm_shared/scm.c:195:39: warning: initialization of 'uint32_t' {aka 'unsigned int'} from 'uint32_t *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Wint-conversion] 195 | register uint32_t r1 __asm__("r1") = &context_id; | ^ platform/msm_shared/scm.c: In function 'scm_call_atomic2': platform/msm_shared/scm.c:224:39: warning: initialization of 'uint32_t' {aka 'unsigned int'} from 'int *' makes integer from pointer without a cast [-Wint-conversion] 224 | register uint32_t r1 __asm__("r1") = &context_id; | ^ platform/msm_shared/scm.c: In function 'ssd_image_is_encrypted': platform/msm_shared/scm.c:446:15: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'uint32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Wint-conversion] 446 | scm_arg.x3 = parse_req.md; | ^ platform/msm_shared/scm.c: In function 'decrypt_scm_v2': platform/msm_shared/scm.c:532:19: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'uint32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Wint-conversion] 532 | scm_arg.x5[0] = decrypt_req.frag; | ^ platform/msm_shared/scm.c: In function 'scm_protect_keystore': platform/msm_shared/scm.c:675:14: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'uint32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Wint-conversion] 675 | scm_arg.x2 = protect_req.keystore_ptr; | ^ platform/msm_shared/scm.c: In function 'set_tamper_fuse_cmd': platform/msm_shared/scm.c:726:15: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 726 | scm_arg.x2 = cmd_buf; | ^ platform/msm_shared/scm.c: In function 'get_tamper_fuse_cmd': platform/msm_shared/scm.c:766:15: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 766 | scm_arg.x2 = cmd_buf; | ^ platform/msm_shared/scm.c: In function 'save_kernel_hash_cmd': platform/msm_shared/scm.c:818:14: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'uint8_t *' {aka 'unsigned char *'} makes integer from pointer without a cast [-Wint-conversion] 818 | scm_arg.x3 = (uint8_t *)&req.digest; | ^ platform/msm_shared/scm.c: In function 'scm_elexec_call': platform/msm_shared/scm.c:1049:14: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 1049 | scm_arg.x2 = (void *)¶m; | ^ platform/msm_shared/scm.c: In function 'get_canary': platform/msm_shared/scm.c:1119:13: warning: implicit declaration of function 'rand' [-Wimplicit-function-declaration] 1119 | canary = rand(); | ^~~~ platform/msm_shared/scm.c: In function 'is_secure_boot_enable': platform/msm_shared/scm.c:1282:66: warning: passing argument 3 of 'scm_call_atomic2' makes integer from pointer without a cast [-Wint-conversion] 1282 | ret = scm_call_atomic2(TZBSP_SVC_INFO, IS_SECURE_BOOT_ENABLED, resp, (2 * sizeof(uint32_t))); | ^~~~ | | | uint32_t * {aka unsigned int *} platform/msm_shared/scm.c:220:59: note: expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'uint32_t *' {aka 'unsigned int *'} 220 | int scm_call_atomic2(uint32_t svc, uint32_t cmd, uint32_t arg1, uint32_t arg2) | ~~~~~~~~~^~~~ compiling platform/msm_shared/mdp5.c compiling platform/msm_shared/display.c In file included from target/msm8226/include/target/display.h:35, from platform/msm_shared/mdp5.c:31: ./dev/gcdb/display/include/display_resource.h:72:1: warning: useless storage class specifier in empty declaration 72 | }; | ^ ./dev/gcdb/display/include/display_resource.h:86:1: warning: useless storage class specifier in empty declaration 86 | }; | ^ In file included from platform/msm_shared/mdp5.c:38: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ In file included from platform/msm_shared/display.c:33: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ platform/msm_shared/display.c: In function 'msm_fb_alloc': platform/msm_shared/display.c:46:14: warning: implicit declaration of function 'memalign' [-Wimplicit-function-declaration] 46 | fb->base = memalign(4096, fb->width | ^~~~~~~~ platform/msm_shared/display.c:46:12: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 46 | fb->base = memalign(4096, fb->width | ^ platform/msm_shared/display.c: In function 'msm_display_config': platform/msm_shared/display.c:108:9: warning: implicit declaration of function 'mdp_dsi_cmd_config'; did you mean 'mipi_dsi_cmd_config'? [-Wimplicit-function-declaration] 108 | ret = mdp_dsi_cmd_config(pinfo, &(panel->fb)); | ^~~~~~~~~~~~~~~~~~ | mipi_dsi_cmd_config platform/msm_shared/display.c:120:9: warning: implicit declaration of function 'mdss_hdmi_config'; did you mean 'mdss_dsi_config'? [-Wimplicit-function-declaration] 120 | ret = mdss_hdmi_config(pinfo, &(panel->fb)); | ^~~~~~~~~~~~~~~~ | mdss_dsi_config platform/msm_shared/display.c: In function 'msm_display_on': platform/msm_shared/display.c:176:9: warning: implicit declaration of function 'mdss_dsi_post_on' [-Wimplicit-function-declaration] 176 | ret = mdss_dsi_post_on(panel); | ^~~~~~~~~~~~~~~~ In file included from platform/msm_shared/mdp5.c:30: platform/msm_shared/mdp5.c: In function 'mdss_source_pipe_config': include/reg.h:39:33: warning: assignment to 'uint32_t' {aka 'volatile unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 39 | #define writel(v, a) (*REG32(a) = (v)) | ^ platform/msm_shared/mdp5.c:175:2: note: in expansion of macro 'writel' 175 | writel(fb->base, pipe_base + PIPE_SSPP_SRC0_ADDR); | ^~~~~~ In file included from platform/msm_shared/mdp5.c:39: platform/msm_shared/mdp5.c: In function 'mdss_intf_tg_setup': platform/msm_shared/display.c:186:9: warning: implicit declaration of function 'mdp_dma_on'; did you mean 'mdp_edp_on'? [-Wimplicit-function-declaration] 186 | ret = mdp_dma_on(pinfo); | ^~~~~~~~~~ | mdp_edp_on platform/msm_shared/display.c:192:10: warning: implicit declaration of function 'mipi_cmd_trigger' [-Wimplicit-function-declaration] 192 | ret = mipi_cmd_trigger(); | ^~~~~~~~~~~~~~~~ platform/msm_shared/display.c:210:9: warning: implicit declaration of function 'mdss_hdmi_init'; did you mean 'mdss_dsi_phy_init'? [-Wimplicit-function-declaration] 210 | ret = mdss_hdmi_init(); | ^~~~~~~~~~~~~~ | mdss_dsi_phy_init platform/msm_shared/display.c:214:9: warning: implicit declaration of function 'mdss_hdmi_on' [-Wimplicit-function-declaration] 214 | ret = mdss_hdmi_on(); | ^~~~~~~~~~~~ platform/msm_shared/display.c: In function 'msm_display_init': platform/msm_shared/display.c:285:2: warning: implicit declaration of function 'display_image_on_screen' [-Wimplicit-function-declaration] 285 | display_image_on_screen(); | ^~~~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/display.c: In function 'msm_display_off': platform/msm_shared/display.c:338:9: warning: implicit declaration of function 'mdp_dsi_cmd_off'; did you mean 'mdp_dsi_video_off'? [-Wimplicit-function-declaration] 338 | ret = mdp_dsi_cmd_off(); | ^~~~~~~~~~~~~~~ | mdp_dsi_video_off include/err.h:36:26: warning: 'return' with a value, in function returning void 36 | #define ERR_INVALID_ARGS -8 | ^ platform/msm_shared/mdp5.c:390:10: note: in expansion of macro 'ERR_INVALID_ARGS' 390 | return ERR_INVALID_ARGS; | ^~~~~~~~~~~~~~~~ platform/msm_shared/mdp5.c:378:6: note: declared here 378 | void mdss_intf_tg_setup(struct msm_panel_info *pinfo, uint32_t intf_base) | ^~~~~~~~~~~~~~~~~~ In file included from platform/msm_shared/mdp5.c:39: include/err.h:36:26: warning: 'return' with a value, in function returning void 36 | #define ERR_INVALID_ARGS -8 | ^ platform/msm_shared/mdp5.c:394:10: note: in expansion of macro 'ERR_INVALID_ARGS' 394 | return ERR_INVALID_ARGS; | ^~~~~~~~~~~~~~~~ platform/msm_shared/mdp5.c:378:6: note: declared here 378 | void mdss_intf_tg_setup(struct msm_panel_info *pinfo, uint32_t intf_base) | ^~~~~~~~~~~~~~~~~~ platform/msm_shared/display.c:359:6: warning: implicit declaration of function 'target_cont_splash_screen' [-Wimplicit-function-declaration] 359 | if (target_cont_splash_screen()) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/mdp5.c: In function 'mdp_dsi_video_off': platform/msm_shared/mdp5.c:964:6: warning: implicit declaration of function 'target_cont_splash_screen' [-Wimplicit-function-declaration] 964 | if(!target_cont_splash_screen()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ compiling platform/msm_shared/mipi_dsi.c In file included from platform/msm_shared/mipi_dsi.c:32: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ In file included from target/msm8226/include/target/display.h:35, from platform/msm_shared/mipi_dsi.c:37: ./dev/gcdb/display/include/display_resource.h:72:1: warning: useless storage class specifier in empty declaration 72 | }; | ^ ./dev/gcdb/display/include/display_resource.h:86:1: warning: useless storage class specifier in empty declaration 86 | }; | ^ platform/msm_shared/mipi_dsi.c: In function 'mdss_dsi_read_panel_signature': platform/msm_shared/mipi_dsi.c:85:7: warning: implicit declaration of function 'mdss_dsi_cmds_rx'; did you mean 'mipi_dsi_cmds_rx'? [-Wimplicit-function-declaration] 85 | if (!mdss_dsi_cmds_rx(&lp, 1, 1)) | ^~~~~~~~~~~~~~~~ | mipi_dsi_cmds_rx compiling platform/msm_shared/mipi_dsi_phy.c platform/msm_shared/mipi_dsi.c: In function 'mdss_dual_dsi_cmds_tx': platform/msm_shared/mipi_dsi.c:201:6: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion] 201 | off = pload; | ^ platform/msm_shared/mipi_dsi.c:205:6: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion] 205 | off += pload; | ^~ platform/msm_shared/mipi_dsi.c: In function 'mdss_dsi_cmds_rx': platform/msm_shared/mipi_dsi.c:283:7: warning: assignment to 'char *' from incompatible pointer type 'uint32_t *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] 283 | dp = *rp; | ^ platform/msm_shared/mipi_dsi.c: In function 'mipi_dsi_cmds_tx': platform/msm_shared/mipi_dsi.c:299:6: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion] 299 | off = pload; | ^ platform/msm_shared/mipi_dsi.c:303:6: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion] 303 | off += pload; | ^~ platform/msm_shared/mipi_dsi.c: In function 'mdss_dsi_panel_initialize': platform/msm_shared/mipi_dsi.c:535:19: warning: implicit declaration of function 'target_panel_auto_detect_enabled' [-Wimplicit-function-declaration] 535 | if (!status && target_panel_auto_detect_enabled()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/mipi_dsi.c: In function 'mipi_dsi_shutdown': platform/msm_shared/mipi_dsi.c:597:6: warning: implicit declaration of function 'target_cont_splash_screen' [-Wimplicit-function-declaration] 597 | if(!target_cont_splash_screen()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from platform/msm_shared/mipi_dsi.c:30: platform/msm_shared/mipi_dsi.c:605:13: warning: implicit declaration of function 'DSIPHY_PLL_CTRL'; did you mean 'DSIPHY_PLL_RDY'? [-Wimplicit-function-declaration] 605 | writel(0, DSIPHY_PLL_CTRL(0)); | ^~~~~~~~~~~~~~~ include/reg.h:30:44: note: in definition of macro 'REG32' 30 | #define REG32(addr) ((volatile uint32_t *)(addr)) | ^~~~ platform/msm_shared/mipi_dsi.c:605:3: note: in expansion of macro 'writel' 605 | writel(0, DSIPHY_PLL_CTRL(0)); | ^~~~~~ platform/msm_shared/mipi_dsi.c: In function 'mipi_config': platform/msm_shared/mipi_dsi.c:641:2: warning: implicit declaration of function 'mipi_dsi_phy_init'; did you mean 'mdss_dsi_phy_init'? [-Wimplicit-function-declaration] 641 | mipi_dsi_phy_init(&mipi_pinfo); | ^~~~~~~~~~~~~~~~~ | mdss_dsi_phy_init platform/msm_shared/mipi_dsi.c: In function 'mdss_dsi_video_mode_config': platform/msm_shared/mipi_dsi.c:690:5: warning: implicit declaration of function 'mdp_get_revision' [-Wimplicit-function-declaration] 690 | mdp_get_revision() != MDP_REV_305) | ^~~~~~~~~~~~~~~~ In file included from platform/msm_shared/mipi_dsi_phy.c:31: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ platform/msm_shared/mipi_dsi_phy.c: In function 'mipi_dsi_phy_init': platform/msm_shared/mipi_dsi_phy.c:100:12: warning: implicit declaration of function 'mdp_get_revision' [-Wimplicit-function-declaration] 100 | mdp_rev = mdp_get_revision(); | ^~~~~~~~~~~~~~~~ platform/msm_shared/mipi_dsi_phy.c:193:4: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] 193 | udelay(1); | ^~~~~~ platform/msm_shared/mipi_dsi_phy.c: In function 'mdss_dsi_phy_regulator_init': platform/msm_shared/mipi_dsi_phy.c:247:3: warning: implicit declaration of function 'dmb' [-Wimplicit-function-declaration] 247 | dmb(); | ^~~ compiling platform/msm_shared/mipi_dsi_autopll.c compiling platform/msm_shared/spmi.c platform/msm_shared/spmi.c: In function 'spmi_lookup_chnl_number': In file included from platform/msm_shared/mipi_dsi_autopll.c:33: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ platform/msm_shared/spmi.c:56:25: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 56 | chnl_tbl = (uint8_t *) malloc(chnl_tbl_sz); | ^~~~~~ platform/msm_shared/spmi.c:36:1: note: 'malloc' is defined in header ''; did you forget to '#include '? 35 | #include +++ |+#include 36 | platform/msm_shared/mipi_dsi_autopll.c:45:1: warning: useless storage class specifier in empty declaration 45 | }; | ^ platform/msm_shared/spmi.c: In function 'pmic_arb_write_cmd': platform/msm_shared/spmi.c:157:56: warning: passing argument 4 of 'write_wdata_from_array' from incompatible pointer type [-Wincompatible-pointer-types] 157 | write_wdata_from_array(param->buffer, 0, param->size, &bytes_written); | ^~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} platform/msm_shared/spmi.c:94:42: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint32_t *' {aka 'unsigned int *'} 94 | uint8_t* bytes_written) | ~~~~~~~~~^~~~~~~~~~~~~ platform/msm_shared/spmi.c:162:57: warning: passing argument 4 of 'write_wdata_from_array' from incompatible pointer type [-Wincompatible-pointer-types] 162 | write_wdata_from_array(param->buffer, 1, param->size, &bytes_written); | ^~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} platform/msm_shared/spmi.c:94:42: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint32_t *' {aka 'unsigned int *'} 94 | uint8_t* bytes_written) | ~~~~~~~~~^~~~~~~~~~~~~ platform/msm_shared/spmi.c: In function 'spmi_enable_periph_interrupts': platform/msm_shared/mipi_dsi_autopll.c: In function 'mdss_dsi_uniphy_pll_lock_detect_setting': platform/msm_shared/mipi_dsi_autopll.c:70:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] 70 | udelay(100); | ^~~~~~ platform/msm_shared/spmi.c:385:56: warning: passing argument 2 of 'register_int_handler' from incompatible pointer type [-Wincompatible-pointer-types] 385 | register_int_handler(EE0_KRAIT_HLOS_SPMI_PERIPH_IRQ , spmi_irq, 0); | ^~~~~~~~ | | | void (*)() platform/msm_shared/mipi_dsi_autopll.c:72:2: warning: implicit declaration of function 'mdelay' [-Wimplicit-function-declaration] 72 | mdelay(1); | ^~~~~~ In file included from platform/msm_shared/spmi.c:35: include/platform/interrupts.h:33:60: note: expected 'int_handler' {aka 'enum handler_return (*)(void *)'} but argument is of type 'void (*)()' 33 | void register_int_handler(unsigned int vector, int_handler handler, void *arg); | ~~~~~~~~~~~~^~~~~~~ platform/msm_shared/mipi_dsi_autopll.c: In function 'mdss_dsi_auto_pll_config': platform/msm_shared/mipi_dsi_autopll.c:105:2: warning: implicit declaration of function 'mdss_dsi_phy_sw_reset'; did you mean 'mdss_dsi_uniphy_pll_sw_reset'? [-Wimplicit-function-declaration] 105 | mdss_dsi_phy_sw_reset(ctl_base); | ^~~~~~~~~~~~~~~~~~~~~ | mdss_dsi_uniphy_pll_sw_reset compiling platform/msm_shared/bam.c compiling platform/msm_shared/qpic_nand.c compiling platform/msm_shared/dev_tree.c platform/msm_shared/qpic_nand.c: In function 'qpic_nand_read_page': platform/msm_shared/qpic_nand.c:1497:17: warning: assignment to 'uint32_t *' {aka 'unsigned int *'} from incompatible pointer type 'struct cmd_element *' [-Wincompatible-pointer-types] 1497 | cmd_list_temp = cmd_list_ptr; | ^ platform/msm_shared/qpic_nand.c:1497:3: warning: converting a packed 'struct cmd_element' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1497 | cmd_list_temp = cmd_list_ptr; | ^~~~~~~~~~~~~ In file included from platform/msm_shared/qpic_nand.c:30: ./platform/msm_shared/include/bam.h:246:8: note: defined here 246 | struct cmd_element { | ^~~~~~~~~~~ platform/msm_shared/dev_tree.c: In function 'dev_tree_appended': platform/msm_shared/dev_tree.c:544:16: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 544 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ platform/msm_shared/dev_tree.c: In function 'platform_dt_absolute_match': platform/msm_shared/dev_tree.c:648:24: warning: implicit declaration of function 'target_get_hlos_subtype' [-Wimplicit-function-declaration] 648 | (cur_dt_hlos_ddr == (target_get_hlos_subtype() & 0x700)) && | ^~~~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/dev_tree.c: In function 'platform_dt_absolute_compat_match': platform/msm_shared/dev_tree.c:795:17: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 795 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ platform/msm_shared/dev_tree.c: In function 'update_dtb_entry_node': platform/msm_shared/dev_tree.c:869:17: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 869 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ platform/msm_shared/dev_tree.c:913:17: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 913 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ platform/msm_shared/dev_tree.c: In function 'dev_tree_get_entry_info': platform/msm_shared/dev_tree.c:1138:16: warning: assignment to 'struct dt_entry_node *' from incompatible pointer type 'struct list_node *' [-Wincompatible-pointer-types] 1138 | dt_node_tmp2 = dt_node_tmp1->node.prev; | ^ compiling platform/msm_shared/gpio.c compiling platform/msm_shared/dload_util.c compiling platform/msm_shared/shutdown_detect.c platform/msm_shared/shutdown_detect.c: In function 'is_pwrkey_time_expired': platform/msm_shared/shutdown_detect.c:55:24: warning: implicit declaration of function 'platform_get_sclk_count' [-Wimplicit-function-declaration] 55 | uint32_t sclk_count = platform_get_sclk_count(); | ^~~~~~~~~~~~~~~~~~~~~~~ platform/msm_shared/shutdown_detect.c: In function 'long_press_pwrkey_timer_func': platform/msm_shared/shutdown_detect.c:105:5: warning: passing argument 3 of 'timer_set_oneshot' from incompatible pointer type [-Wincompatible-pointer-types] 105 | long_press_pwrkey_timer_func, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | enum handler_return (*)(struct timer *, void *) In file included from platform/msm_shared/shutdown_detect.c:34: include/kernel/timer.h:54:49: note: expected 'timer_callback' {aka 'enum handler_return (*)(struct timer *, long unsigned int, void *)'} but argument is of type 'enum handler_return (*)(struct timer *, void *)' 54 | void timer_set_oneshot(timer_t *, time_t delay, timer_callback, void *arg); | ^~~~~~~~~~~~~~ platform/msm_shared/shutdown_detect.c:107:4: warning: implicit declaration of function 'shutdown_device'; did you mean 'shutdown_detect'? [-Wimplicit-function-declaration] 107 | shutdown_device(); | ^~~~~~~~~~~~~~~ | shutdown_detect platform/msm_shared/shutdown_detect.c: In function 'shutdown_detect': platform/msm_shared/shutdown_detect.c:149:36: warning: passing argument 3 of 'timer_set_oneshot' from incompatible pointer type [-Wincompatible-pointer-types] 149 | timer_set_oneshot(&pon_timer, 0, long_press_pwrkey_timer_func, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | enum handler_return (*)(struct timer *, void *) In file included from platform/msm_shared/shutdown_detect.c:34: include/kernel/timer.h:54:49: note: expected 'timer_callback' {aka 'enum handler_return (*)(struct timer *, long unsigned int, void *)'} but argument is of type 'enum handler_return (*)(struct timer *, void *)' 54 | void timer_set_oneshot(timer_t *, time_t delay, timer_callback, void *arg); | ^~~~~~~~~~~~~~ compiling arch/arm/arch.c compiling arch/arm/asm.S compiling arch/arm/cache.c compiling arch/arm/cache-ops.S compiling arch/arm/ops.S arch/arm/ops.S: Assembler messages: arch/arm/ops.S:45: swp{b} use is deprecated for ARMv6 and ARMv7 compiling arch/arm/exceptions.S compiling arch/arm/faults.c compiling arch/arm/mmu.c arch/arm/mmu.c: In function 'arm_mmu_init': arch/arm/mmu.c:72:6: warning: implicit declaration of function 'platform_use_identity_mmu_mappings' [-Wimplicit-function-declaration] 72 | if (platform_use_identity_mmu_mappings()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mmu.c:84:2: warning: implicit declaration of function 'platform_init_mmu_mappings' [-Wimplicit-function-declaration] 84 | platform_init_mmu_mappings(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mmu.c: In function 'arm_mmu_flush': arch/arm/mmu.c:98:2: warning: implicit declaration of function 'arch_clean_cache_range' [-Wimplicit-function-declaration] 98 | arch_clean_cache_range((vaddr_t) &tt, sizeof(tt)); | ^~~~~~~~~~~~~~~~~~~~~~ compiling arch/arm/thread.c compiling arch/arm/dcc.S compiling platform/debug.c compiling platform/init.c compiling target/init.c platform/init.c: In function 'get_bs_info_addr': platform/init.c:106:9: warning: returning 'void *' from a function with return type 'addr_t' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] 106 | return NULL; | ^~~~ In file included from target/init.c:30: ./platform/msm_shared/include/sdhci_msm.h:136:28: warning: 'struct sdhci_host' declared inside parameter list will not be visible outside of this definition or declaration 136 | void sdhci_msm_init(struct sdhci_host *host, struct sdhci_msm_data *data); | ^~~~~~~~~~ ./platform/msm_shared/include/sdhci_msm.h:137:67: warning: 'struct mmc_card' declared inside parameter list will not be visible outside of this definition or declaration 137 | uint32_t sdhci_msm_execute_tuning(struct sdhci_host *host, struct mmc_card * card, uint32_t bus_width); | ^~~~~~~~ ./platform/msm_shared/include/sdhci_msm.h:137:42: warning: 'struct sdhci_host' declared inside parameter list will not be visible outside of this definition or declaration 137 | uint32_t sdhci_msm_execute_tuning(struct sdhci_host *host, struct mmc_card * card, uint32_t bus_width); | ^~~~~~~~~~ ./platform/msm_shared/include/sdhci_msm.h:138:32: warning: 'struct sdhci_host' declared inside parameter list will not be visible outside of this definition or declaration 138 | void sdhci_mode_disable(struct sdhci_host *host); | ^~~~~~~~~~ ./platform/msm_shared/include/sdhci_msm.h:140:34: warning: 'struct sdhci_host' declared inside parameter list will not be visible outside of this definition or declaration 140 | void sdhci_msm_toggle_cdr(struct sdhci_host *host, bool enable); | ^~~~~~~~~~ compiling target/target_display.c compiling target/target_keys_lk2nd.c target/target_display.c:65:51: warning: 'struct msm_panel_info' declared inside parameter list will not be visible outside of this definition or declaration 65 | __WEAK int target_ldo_ctrl(uint8_t enable, struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~ target/target_display.c:70:42: warning: 'struct msm_panel_info' declared inside parameter list will not be visible outside of this definition or declaration 70 | __WEAK void target_edp_panel_init(struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~ target/target_display.c:75:58: warning: 'struct msm_panel_info' declared inside parameter list will not be visible outside of this definition or declaration 75 | __WEAK int target_edp_panel_clock(uint8_t enable, struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~ target/target_display.c:95:59: warning: 'struct msm_panel_info' declared inside parameter list will not be visible outside of this definition or declaration 95 | __WEAK int target_hdmi_panel_clock(uint8_t enable, struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~ compiling target/target_display_cont_splash_mdp5.c compiling kernel/debug.c compiling kernel/dpc.c compiling kernel/event.c compiling kernel/main.c kernel/main.c: In function 'bootstrap2': kernel/main.c:130:2: warning: implicit declaration of function 'bio_init' [-Wimplicit-function-declaration] 130 | bio_init(); | ^~~~~~~~ kernel/main.c:133:2: warning: implicit declaration of function 'fs_init' [-Wimplicit-function-declaration] 133 | fs_init(); | ^~~~~~~ compiling kernel/mutex.c compiling kernel/thread.c compiling kernel/timer.c kernel/thread.c: In function 'thread_exit': kernel/thread.c:265:1: warning: 'noreturn' function does return 265 | } | ^ compiling dev/dev.c compiling app/app.c compiling app/aboot/aboot.c compiling app/aboot/fastboot.c In file included from app/aboot/aboot.c:50: app/aboot/aboot.c: In function 'boot_linux': app/aboot/aboot.c:810:15: warning: passing argument 1 of 'platform_get_virt_to_phys_mapping' makes integer from pointer without a cast [-Wint-conversion] 810 | ramdisk = PA(ramdisk); | ^~~~~~~ | | | void * include/platform.h:30:49: note: in definition of macro 'PA' 30 | #define PA(x) platform_get_virt_to_phys_mapping(x) | ^ include/platform.h:46:49: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'void *' 46 | addr_t platform_get_virt_to_phys_mapping(addr_t virt_addr); | ~~~~~~~^~~~~~~~~ app/aboot/aboot.c:810:10: warning: assignment to 'void *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 810 | ramdisk = PA(ramdisk); | ^ app/aboot/aboot.c: In function 'verify_signed_bootimg': app/aboot/aboot.c:971:8: warning: implicit declaration of function 'image_verify' [-Wimplicit-function-declaration] 971 | ret = image_verify((unsigned char *)bootimg_addr, | ^~~~~~~~~~~~ app/aboot/aboot.c: In function 'read_allow_oem_unlock': app/aboot/aboot.c:1927:29: warning: passing argument 2 of 'mmc_read' from incompatible pointer type [-Wincompatible-pointer-types] 1927 | if (mmc_read(ptn + offset, buf, sizeof(buf))) | ^~~ | | | char * In file included from ./platform/msm_shared/include/mmc.h:34, from app/aboot/aboot.c:48: ./platform/msm_shared/include/mmc_wrapper.h:40:49: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'char *' 40 | uint32_t mmc_read(uint64_t data_addr, uint32_t *out, uint32_t data_len); | ~~~~~~~~~~^~~ app/aboot/aboot.c: In function 'write_allow_oem_unlock': app/aboot/aboot.c:1962:29: warning: passing argument 2 of 'mmc_read' from incompatible pointer type [-Wincompatible-pointer-types] 1962 | if (mmc_read(ptn + offset, buf, sizeof(buf))) | ^~~ | | | char * In file included from ./platform/msm_shared/include/mmc.h:34, from app/aboot/aboot.c:48: ./platform/msm_shared/include/mmc_wrapper.h:40:49: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'char *' 40 | uint32_t mmc_read(uint64_t data_addr, uint32_t *out, uint32_t data_len); | ~~~~~~~~~~^~~ app/aboot/fastboot.c: In function 'hsusb_usb_read': app/aboot/aboot.c: In function 'cmd_boot': app/aboot/aboot.c:2393:16: warning: implicit declaration of function 'read_der_message_length' [-Wimplicit-function-declaration] 2393 | sig_actual = read_der_message_length( | ^~~~~~~~~~~~~~~~~~~~~~~ app/aboot/fastboot.c:291:12: warning: assignment to 'void *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 291 | req->buf = PA((addr_t)buf); | ^ app/aboot/fastboot.c:317:30: warning: passing argument 1 of 'arch_invalidate_cache_range' makes integer from pointer without a cast [-Wint-conversion] 317 | arch_invalidate_cache_range(_buf, count); | ^~~~ | | | void * In file included from include/kernel/thread.h:29, from app/aboot/fastboot.c:36: include/arch/ops.h:56:41: note: expected 'addr_t' {aka 'long unsigned int'} but argument is of type 'void *' 56 | void arch_invalidate_cache_range(addr_t start, size_t len); | ~~~~~~~^~~~~ app/aboot/fastboot.c: In function 'hsusb_usb_write': app/aboot/fastboot.c:337:12: warning: assignment to 'void *' from 'addr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 337 | req->buf = PA((addr_t)_buf); | ^ app/aboot/aboot.c: In function 'aboot_save_boot_hash_mmc': app/aboot/aboot.c:4108:2: warning: implicit declaration of function 'hash_find' [-Wimplicit-function-declaration] 4108 | hash_find(image_addr, image_size, (unsigned char *)&digest, auth_algo); | ^~~~~~~~~ app/aboot/aboot.c:4110:2: warning: implicit declaration of function 'save_kernel_hash_cmd' [-Wimplicit-function-declaration] 4110 | save_kernel_hash_cmd(digest); | ^~~~~~~~~~~~~~~~~~~~ compiling app/aboot/fs_boot.c compiling app/aboot/fastboot-extra.c compiling app/aboot/fastboot-lk2nd.c compiling dev/fbcon/fbcon.c compiling dev/gcdb/display/gcdb_display.c In file included from dev/gcdb/display/gcdb_display.c:39: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ In file included from dev/gcdb/display/gcdb_display.c:41: dev/gcdb/display/include/display_resource.h:72:1: warning: useless storage class specifier in empty declaration 72 | }; | ^ dev/gcdb/display/include/display_resource.h:86:1: warning: useless storage class specifier in empty declaration 86 | }; | ^ In file included from dev/gcdb/display/gcdb_display.c:42: dev/gcdb/display/include/panel.h:79:1: warning: useless storage class specifier in empty declaration 79 | }; | ^ dev/gcdb/display/include/panel.h:101:1: warning: useless storage class specifier in empty declaration 101 | }; | ^ dev/gcdb/display/include/panel.h:110:1: warning: useless storage class specifier in empty declaration 110 | }; | ^ dev/gcdb/display/include/panel.h:115:1: warning: useless storage class specifier in empty declaration 115 | }; | ^ dev/gcdb/display/include/panel.h:127:1: warning: useless storage class specifier in empty declaration 127 | }; | ^ dev/gcdb/display/include/panel.h:142:1: warning: useless storage class specifier in empty declaration 142 | }; | ^ dev/gcdb/display/include/panel.h:152:1: warning: useless storage class specifier in empty declaration 152 | }; | ^ dev/gcdb/display/include/panel.h:159:1: warning: useless storage class specifier in empty declaration 159 | }; | ^ dev/gcdb/display/include/panel.h:171:1: warning: useless storage class specifier in empty declaration 171 | }; | ^ dev/gcdb/display/include/panel.h:180:1: warning: useless storage class specifier in empty declaration 180 | }; | ^ dev/gcdb/display/include/panel.h:200:1: warning: useless storage class specifier in empty declaration 200 | }; | ^ In file included from dev/gcdb/display/gcdb_display.c:43: dev/gcdb/display/panel_display.h:67:1: warning: useless storage class specifier in empty declaration 67 | }; | ^ dev/gcdb/display/gcdb_display.c: In function 'mdss_dsi_panel_pre_init': dev/gcdb/display/gcdb_display.c:146:3: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] 146 | udelay(panelstruct.paneldata->panel_init_delay); | ^~~~~~ dev/gcdb/display/gcdb_display.c: In function 'gcdb_display_cmdline_arg': dev/gcdb/display/gcdb_display.c:208:32: warning: implicit declaration of function 'target_cont_splash_screen' [-Wimplicit-function-declaration] 208 | if (panelstruct.paneldata && target_cont_splash_screen()) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/gcdb_display.c:217:8: warning: implicit declaration of function 'target_is_edp' [-Wimplicit-function-declaration] 217 | if (target_is_edp()) | ^~~~~~~~~~~~~ dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_panel_init': dev/gcdb/display/gcdb_display.c:303:9: warning: implicit declaration of function 'target_edp_panel_init'; did you mean 'mdss_edp_panel_init'? [-Wimplicit-function-declaration] 303 | return target_edp_panel_init(pinfo); | ^~~~~~~~~~~~~~~~~~~~~ | mdss_edp_panel_init dev/gcdb/display/gcdb_display.c:303:9: warning: 'return' with a value, in function returning void 303 | return target_edp_panel_init(pinfo); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/gcdb_display.c:301:13: note: declared here 301 | static void mdss_edp_panel_init(struct msm_panel_info *pinfo) | ^~~~~~~~~~~~~~~~~~~ dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_panel_clock': dev/gcdb/display/gcdb_display.c:309:9: warning: implicit declaration of function 'target_edp_panel_clock'; did you mean 'target_panel_clock'? [-Wimplicit-function-declaration] 309 | return target_edp_panel_clock(enable, pinfo); | ^~~~~~~~~~~~~~~~~~~~~~ | target_panel_clock dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_panel_enable': dev/gcdb/display/gcdb_display.c:314:9: warning: implicit declaration of function 'target_edp_panel_enable'; did you mean 'mdss_edp_panel_enable'? [-Wimplicit-function-declaration] 314 | return target_edp_panel_enable(); | ^~~~~~~~~~~~~~~~~~~~~~~ | mdss_edp_panel_enable dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_panel_disable': dev/gcdb/display/gcdb_display.c:319:9: warning: implicit declaration of function 'target_edp_panel_disable'; did you mean 'mdss_edp_panel_disable'? [-Wimplicit-function-declaration] 319 | return target_edp_panel_disable(); | ^~~~~~~~~~~~~~~~~~~~~~~~ | mdss_edp_panel_disable dev/gcdb/display/gcdb_display.c: In function 'mdss_edp_bl_enable': dev/gcdb/display/gcdb_display.c:363:8: warning: implicit declaration of function 'target_edp_bl_ctrl'; did you mean 'target_ldo_ctrl'? [-Wimplicit-function-declaration] 363 | ret = target_edp_bl_ctrl(enable); | ^~~~~~~~~~~~~~~~~~ | target_ldo_ctrl dev/gcdb/display/gcdb_display.c: In function 'gcdb_display_init': dev/gcdb/display/gcdb_display.c:375:13: warning: implicit declaration of function 'oem_panel_select'; did you mean 'oem_panel_off'? [-Wimplicit-function-declaration] 375 | pan_type = oem_panel_select(panel_name, &panelstruct, &(panel.panel_info), | ^~~~~~~~~~~~~~~~ | oem_panel_off dev/gcdb/display/gcdb_display.c:387:22: warning: assignment to 'int (*)(int, struct msm_panel_info *)' from incompatible pointer type 'uint32_t (*)(uint8_t, struct msm_panel_info *)' {aka 'unsigned int (*)(unsigned char, struct msm_panel_info *)'} [-Wincompatible-pointer-types] 387 | panel.pll_clk_func = mdss_dsi_panel_clock; | ^ dev/gcdb/display/gcdb_display.c:388:20: warning: assignment to 'int (*)(int, struct msm_panel_info *)' from incompatible pointer type 'int (*)(uint8_t, struct msm_panel_info *)' {aka 'int (*)(unsigned char, struct msm_panel_info *)'} [-Wincompatible-pointer-types] 388 | panel.power_func = mdss_dsi_panel_power; | ^ dev/gcdb/display/gcdb_display.c:390:17: warning: assignment to 'int (*)(int)' from incompatible pointer type 'int (*)(uint8_t)' {aka 'int (*)(unsigned char)'} [-Wincompatible-pointer-types] 390 | panel.bl_func = mdss_dsi_bl_enable; | ^ dev/gcdb/display/gcdb_display.c:400:32: warning: assignment to 'int (*)(int)' from incompatible pointer type 'uint32_t (*)(uint8_t, struct msm_panel_info *)' {aka 'unsigned int (*)(unsigned char, struct msm_panel_info *)'} [-Wincompatible-pointer-types] 400 | panel.clk_func = mdss_edp_panel_clock; | ^ dev/gcdb/display/gcdb_display.c:401:34: warning: assignment to 'int (*)(int, struct msm_panel_info *)' from incompatible pointer type 'int (*)(uint8_t, struct msm_panel_info *)' {aka 'int (*)(unsigned char, struct msm_panel_info *)'} [-Wincompatible-pointer-types] 401 | panel.power_func = mdss_edp_panel_power; | ^ dev/gcdb/display/gcdb_display.c:402:17: warning: assignment to 'int (*)(int)' from incompatible pointer type 'int (*)(uint8_t)' {aka 'int (*)(unsigned char)'} [-Wincompatible-pointer-types] 402 | panel.bl_func = mdss_edp_bl_enable; | ^ compiling dev/gcdb/display/panel_display.c In file included from dev/gcdb/display/panel_display.c:35: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ In file included from dev/gcdb/display/panel_display.h:51, from dev/gcdb/display/panel_display.c:47: ./dev/gcdb/display/include/panel.h:79:1: warning: useless storage class specifier in empty declaration 79 | }; | ^ ./dev/gcdb/display/include/panel.h:101:1: warning: useless storage class specifier in empty declaration 101 | }; | ^ ./dev/gcdb/display/include/panel.h:110:1: warning: useless storage class specifier in empty declaration 110 | }; | ^ ./dev/gcdb/display/include/panel.h:115:1: warning: useless storage class specifier in empty declaration 115 | }; | ^ ./dev/gcdb/display/include/panel.h:127:1: warning: useless storage class specifier in empty declaration 127 | }; | ^ ./dev/gcdb/display/include/panel.h:142:1: warning: useless storage class specifier in empty declaration 142 | }; | ^ ./dev/gcdb/display/include/panel.h:152:1: warning: useless storage class specifier in empty declaration 152 | }; | ^ ./dev/gcdb/display/include/panel.h:159:1: warning: useless storage class specifier in empty declaration 159 | }; | ^ ./dev/gcdb/display/include/panel.h:171:1: warning: useless storage class specifier in empty declaration 171 | }; | ^ ./dev/gcdb/display/include/panel.h:180:1: warning: useless storage class specifier in empty declaration 180 | }; | ^ ./dev/gcdb/display/include/panel.h:200:1: warning: useless storage class specifier in empty declaration 200 | }; | ^ In file included from dev/gcdb/display/panel_display.c:47: dev/gcdb/display/panel_display.h:67:1: warning: useless storage class specifier in empty declaration 67 | }; | ^ dev/gcdb/display/panel_display.c: In function 'dsi_panel_pre_on': dev/gcdb/display/panel_display.c:206:9: warning: implicit declaration of function 'target_display_pre_on' [-Wimplicit-function-declaration] 206 | return target_display_pre_on(); | ^~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/panel_display.c: In function 'dsi_panel_pre_off': dev/gcdb/display/panel_display.c:211:9: warning: implicit declaration of function 'target_display_pre_off' [-Wimplicit-function-declaration] 211 | return target_display_pre_off(); | ^~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/panel_display.c: In function 'dsi_panel_post_on': dev/gcdb/display/panel_display.c:218:8: warning: implicit declaration of function 'target_display_post_on' [-Wimplicit-function-declaration] 218 | ret = target_display_post_on(); | ^~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/panel_display.c: In function 'dsi_panel_post_off': dev/gcdb/display/panel_display.c:229:8: warning: implicit declaration of function 'target_display_post_off' [-Wimplicit-function-declaration] 229 | ret = target_display_post_off(); | ^~~~~~~~~~~~~~~~~~~~~~~ dev/gcdb/display/panel_display.c: In function 'dsi_cmd_panel_config': dev/gcdb/display/panel_display.c:332:8: warning: implicit declaration of function 'mdss_dsi_cmd_mode_config'; did you mean 'mdss_dsi_video_mode_config'? [-Wimplicit-function-declaration] 332 | ret = mdss_dsi_cmd_mode_config((panel_width + plcdc->xres_pad), | ^~~~~~~~~~~~~~~~~~~~~~~~ | mdss_dsi_video_mode_config compiling dev/gcdb/display/gcdb_autopll.c In file included from dev/gcdb/display/gcdb_autopll.c:34: ./platform/msm_shared/include/mipi_dsi.h:202:1: warning: useless storage class specifier in empty declaration 202 | }; | ^ compiling dev/keys/keys.c dev/keys/keys.c: In function 'keys_init': dev/keys/keys.c:46:2: warning: implicit declaration of function 'lk2nd_init' [-Wimplicit-function-declaration] 46 | lk2nd_init(); | ^~~~~~~~~~ compiling dev/pmic/pm8x41/pm8x41.c compiling dev/pmic/pm8x41/pm8x41_adc.c compiling dev/pmic/pm8x41/pm8x41_wled.c compiling dev/pmic/pm8x41/pm8x41_regulator.c compiling dev/pmic/pm8x41/pm8x41_vib.c dev/pmic/pm8x41/pm8x41_vib.c: In function 'pm_vib_turn_on': dev/pmic/pm8x41/pm8x41_vib.c:42:8: warning: implicit declaration of function 'pm8x41_reg_read' [-Wimplicit-function-declaration] 42 | val = pm8x41_reg_read(QPNP_VIB_VTG_CTL); | ^~~~~~~~~~~~~~~ dev/pmic/pm8x41/pm8x41_vib.c:45:2: warning: implicit declaration of function 'pm8x41_reg_write'; did you mean 'pm8x41_lpg_write'? [-Wimplicit-function-declaration] 45 | pm8x41_reg_write(QPNP_VIB_VTG_CTL, val); | ^~~~~~~~~~~~~~~~ | pm8x41_lpg_write compiling dev/vib/vibrator.c dev/vib/vibrator.c: In function 'vib_timed_turn_on': dev/vib/vibrator.c:73:46: warning: passing argument 3 of 'timer_set_oneshot' from incompatible pointer type [-Wincompatible-pointer-types] 73 | timer_set_oneshot(&vib_timer, vibrate_time, vib_timer_func, NULL); | ^~~~~~~~~~~~~~ | | | enum handler_return (*)(struct timer *, void *) In file included from dev/vib/vibrator.c:32: include/kernel/timer.h:54:49: note: expected 'timer_callback' {aka 'enum handler_return (*)(struct timer *, long unsigned int, void *)'} but argument is of type 'enum handler_return (*)(struct timer *, void *)' 54 | void timer_set_oneshot(timer_t *, time_t delay, timer_callback, void *arg); | ^~~~~~~~~~~~~~ dev/vib/vibrator.c: In function 'wait_vib_timeout': dev/vib/vibrator.c:81:3: warning: implicit declaration of function 'thread_sleep' [-Wimplicit-function-declaration] 81 | thread_sleep(CHECK_VIB_TIMER_FREQUENCY); | ^~~~~~~~~~~~ compiling lib/debug/debug.c lib/debug/debug.c: In function '__stack_chk_fail': lib/debug/debug.c:43:1: warning: 'noreturn' function does return 43 | } | ^ compiling lib/heap/heap.c compiling lib/libc/atoi.c compiling lib/libc/ctype.c compiling lib/libc/gcd_lcm.c compiling lib/libc/itoa.c compiling lib/libc/printf.c compiling lib/libc/malloc.c compiling lib/libc/rand.c compiling lib/libc/eabi.c compiling lib/libc/string/arch/arm/memcpy.S compiling lib/libc/string/arch/arm/memset.S compiling lib/libc/string/memchr.c compiling lib/libc/string/memcmp.c compiling lib/libc/string/memscpy.c compiling lib/libc/string/strcat.c compiling lib/libc/string/strchr.c compiling lib/libc/string/strcmp.c compiling lib/libc/string/strcoll.c compiling lib/libc/string/strcpy.c compiling lib/libc/string/strdup.c compiling lib/libc/string/strerror.c compiling lib/libc/string/strlcat.c compiling lib/libc/string/strlcpy.c compiling lib/libc/string/strlen.c compiling lib/libc/string/strncat.c compiling lib/libc/string/strncpy.c compiling lib/libc/string/strncmp.c compiling lib/libc/string/strnicmp.c compiling lib/libc/string/strnlen.c compiling lib/libc/string/strpbrk.c compiling lib/libc/string/strrchr.c compiling lib/libc/string/strrev.c compiling lib/libc/string/strspn.c compiling lib/libc/string/strstr.c compiling lib/libc/string/strtok.c compiling lib/libc/string/strxfrm.c compiling lib/libfdt/fdt.c compiling lib/libfdt/fdt_ro.c compiling lib/libfdt/fdt_wip.c compiling lib/libfdt/fdt_sw.c compiling lib/libfdt/fdt_rw.c compiling lib/libfdt/fdt_strerror.c compiling lib/ptable/ptable.c compiling lk2nd/lk2nd-device.c compiling lk2nd/lk2nd-motorola.c compiling lib/bio/bio.c compiling lib/bio/debug.c compiling lib/bio/mem.c compiling lib/bio/subdev.c compiling lib/fs/fs.c compiling lib/fs/debug.c compiling lib/partition/partition.c compiling lib/zlib_inflate/zutil.c compiling lib/zlib_inflate/adler32.c compiling lib/zlib_inflate/inftrees.c compiling lib/zlib_inflate/inflate.c compiling lib/zlib_inflate/inffast.c compiling lib/zlib_inflate/decompress.c compiling lib/fs/ext2/ext2.c compiling lib/fs/ext2/dir.c lib/fs/ext2/dir.c: In function 'ext2_open_directory': lib/fs/ext2/dir.c:228:13: warning: assignment to 'dircookie *' from incompatible pointer type 'ext2_dir_t *' [-Wincompatible-pointer-types] 228 | *dircookie = dir; | ^ lib/fs/ext2/dir.c: In function 'ext2_close_directory': lib/fs/ext2/dir.c:257:21: warning: passing argument 1 of 'ext2_close_file' from incompatible pointer type [-Wincompatible-pointer-types] 257 | ext2_close_file(dir->file); | ~~~^~~~~~ | | | ext2_file_t * In file included from lib/fs/ext2/dir.c:27: lib/fs/ext2/ext2_priv.h:84:38: note: expected 'filecookie *' but argument is of type 'ext2_file_t *' 84 | status_t ext2_close_file(filecookie *fcookie); | ~~~~~~~~~~~~^~~~~~~ compiling lib/fs/ext2/io.c compiling lib/fs/ext2/file.c compiling lib/bcache/bcache.c linking build-msm8226-secondary/lk generating image: build-msm8226-secondary/lk.bin generating listing: build-msm8226-secondary/lk.debug.lst generating listing: build-msm8226-secondary/lk.lst text data bss dec hex filename 174532 99732 148316 422580 672b4 build-msm8226-secondary/lk arm-none-eabi-objcopy -O binary build-msm8226-secondary/lk build-msm8226-secondary/lk.bin generating symbols: build-msm8226-secondary/lk.sym generating size map: build-msm8226-secondary/lk.size generating stripped elf: build-msm8226-secondary/lk_s.elf generating image with appended dtb: build-msm8226-secondary/lk.bin-dtb ./build-msm8226-secondary/mkheader ./build-msm8226-secondary/lk.bin ./build-msm8226-secondary/emmc_appsboothd.mbn Image Destination Pointer: 0x7f00000 Done execution cp ./build-msm8226-secondary/lk.bin ./build-msm8226-secondary/emmc_appsboot.raw cat ./build-msm8226-secondary/emmc_appsboothd.mbn ./build-msm8226-secondary/lk.bin > ./build-msm8226-secondary/EMMCBOOT.MBN cat ./build-msm8226-secondary/emmc_appsboothd.mbn ./build-msm8226-secondary/lk.bin > ./build-msm8226-secondary/emmc_appsboot.mbn rm -f ./build-msm8226-secondary/emmc_appsboothd.mbn make[1]: Leaving directory '/home/pmos/build/src/lk2nd-0.10.0' >>> lk2nd: Entering fakeroot... ]0;abuild: lk2nd>>> lk2nd-msm8916*: Running split function msm8916... >>> lk2nd-msm8916*: Preparing subpackage lk2nd-msm8916... >>> lk2nd-msm8916*: Running postcheck for lk2nd-msm8916 >>> lk2nd-msm8916-appended*: Running split function msm8916_appended... >>> lk2nd-msm8916-appended*: Preparing subpackage lk2nd-msm8916-appended... >>> lk2nd-msm8916-appended*: Running postcheck for lk2nd-msm8916-appended >>> lk2nd-msm8974*: Running split function msm8974... >>> lk2nd-msm8974*: Preparing subpackage lk2nd-msm8974... >>> lk2nd-msm8974*: Running postcheck for lk2nd-msm8974 >>> lk2nd-msm8226-appended*: Running split function msm8226_appended... >>> lk2nd-msm8226-appended*: Preparing subpackage lk2nd-msm8226-appended... >>> lk2nd-msm8226-appended*: Running postcheck for lk2nd-msm8226-appended >>> lk2nd*: Running postcheck for lk2nd >>> lk2nd*: Preparing package lk2nd... >>> lk2nd-msm8226-appended*: Tracing dependencies... >>> lk2nd-msm8226-appended*: Package size: 284.0 KB >>> lk2nd-msm8226-appended*: Compressing data... >>> lk2nd-msm8226-appended*: Create checksum... >>> lk2nd-msm8226-appended*: Create lk2nd-msm8226-appended-0.10.0-r2.apk >>> lk2nd-msm8916-appended*: Tracing dependencies... >>> lk2nd-msm8916-appended*: Package size: 332.0 KB >>> lk2nd-msm8916-appended*: Compressing data... >>> lk2nd-msm8916-appended*: Create checksum... >>> lk2nd-msm8916-appended*: Create lk2nd-msm8916-appended-0.10.0-r2.apk >>> lk2nd-msm8916*: Tracing dependencies... >>> lk2nd-msm8916*: Package size: 376.0 KB >>> lk2nd-msm8916*: Compressing data... >>> lk2nd-msm8916*: Create checksum... >>> lk2nd-msm8916*: Create lk2nd-msm8916-0.10.0-r2.apk >>> lk2nd-msm8974*: Tracing dependencies... >>> lk2nd-msm8974*: Package size: 308.0 KB >>> lk2nd-msm8974*: Compressing data... >>> lk2nd-msm8974*: Create checksum... >>> lk2nd-msm8974*: Create lk2nd-msm8974-0.10.0-r2.apk >>> lk2nd*: Tracing dependencies... >>> lk2nd*: Package size: 4.0 KB >>> lk2nd*: Compressing data... >>> lk2nd*: Create checksum... >>> lk2nd*: Create lk2nd-0.10.0-r2.apk ]0;>>> lk2nd: Build complete at Mon, 01 Nov 2021 23:09:50 +0000 elapsed time 0h 0m 51s ]0;>>> lk2nd: Updating the pmos/aarch64 repository index... >>> lk2nd: Signing the index... mv: can't preserve ownership of '/mnt/pmbootstrap-packages/aarch64/APKINDEX.tar.gz.2473': Operation not permitted ]0;(002291) [23:09:50] (native) uninstall build dependencies (002291) [23:09:50] (native) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps ]0;abuild: lk2ndWARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory (1/17) Purging .makedepends-lk2nd (20211101.230900) (2/17) Purging dtc (1.6.1-r0) (3/17) Purging dtc-dev (1.6.1-r0) (4/17) Purging libfdt (1.6.1-r0) (5/17) Purging gcc-arm-none-eabi (10.3.0-r0) (6/17) Purging binutils-arm-none-eabi (2.37-r0) (7/17) Purging py3-libfdt (1.6.1-r0) (8/17) Purging python3 (3.9.7-r3) (9/17) Purging libbz2 (1.0.8-r1) (10/17) Purging libffi (3.4.2-r1) (11/17) Purging gdbm (1.20-r2) (12/17) Purging xz-libs (5.2.5-r0) (13/17) Purging mpdecimal (2.5.1-r1) (14/17) Purging readline (8.1.1-r0) (15/17) Purging ncurses-libs (6.3_p20211030-r0) (16/17) Purging ncurses-terminfo-base (6.3_p20211030-r0) (17/17) Purging sqlite-libs (9999-r0) Executing busybox-1.34.1-r2.trigger OK: 400 MiB in 66 packages ]0;(002291) [23:09:50] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary) (002291) [23:09:50] DONE!