+ export BPO_JOB_ID=263480 + BPO_JOB_ID=263480 + ./pmbootstrap/pmbootstrap.py -m http://dl-2.alpinelinux.org/alpine/ -mp https://build.postmarketos.org/wip/ -mp http://postmarketos1.brixit.nl/postmarketos/ --aports=/home/build/pmaports --no-ccache --timeout 900 --details-to-stdout build --no-depends --strict --arch armv7 --force linux-samsung-gtel3g (002338) [16:26:42] % cd /home/build/pmaports; git remote -v origin https://gitlab.com/postmarketOS/pmaports.git/ (fetch) origin https://gitlab.com/postmarketOS/pmaports.git/ (push) (002338) [16:26:42] % cd /home/build/pmaports; git show origin/master:channels.cfg # Reference: https://postmarketos.org/channels.cfg [channels.cfg] recommended=edge [edge] description=Rolling release channel branch_pmaports=master branch_aports=master mirrordir_alpine=edge [stable] description=Stable release channel (first beta v20.05, does not have many devices yet) branch_pmaports=v20.05 branch_aports=3.12-stable mirrordir_alpine=v3.12 (002338) [16:26:42] Shutdown complete (002338) [16:26:42] Calculate work folder size (002338) [16:26:42] % sudo du --summarize --block-size=1 /home/build/.local/var/pmbootstrap 20480 /home/build/.local/var/pmbootstrap (002338) [16:26:42] Shutdown complete (002338) [16:26:42] % sudo du --summarize --block-size=1 /home/build/.local/var/pmbootstrap 20480 /home/build/.local/var/pmbootstrap (002338) [16:26:42] Cleared up ~0 MB of space (002338) [16:26:42] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/armv7/APKINDEX.tar.gz (002338) [16:26:42] APKINDEX outdated (file does not exist yet): http://postmarketos1.brixit.nl/postmarketos/master/armv7/APKINDEX.tar.gz (002338) [16:26:42] APKINDEX outdated (file does not exist yet): http://dl-2.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz (002338) [16:26:42] APKINDEX outdated (file does not exist yet): http://dl-2.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz (002338) [16:26:42] APKINDEX outdated (file does not exist yet): http://dl-2.alpinelinux.org/alpine/edge/testing/armv7/APKINDEX.tar.gz (002338) [16:26:42] Update package index for armv7 (5 file(s)) (002338) [16:26:42] % mkdir -p /home/build/.local/var/pmbootstrap/cache_http (002338) [16:26:42] Download https://build.postmarketos.org/wip/master/armv7/APKINDEX.tar.gz (002338) [16:26:43] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_armv7 (002338) [16:26:43] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b905cf66e311acd369b04bce8b2a8d2625fe77c6d398d71c396c12336143ea42 /home/build/.local/var/pmbootstrap/cache_apk_armv7/APKINDEX.73602495.tar.gz (002338) [16:26:43] Download http://postmarketos1.brixit.nl/postmarketos/master/armv7/APKINDEX.tar.gz (002338) [16:26:43] WARNING: file not found: http://postmarketos1.brixit.nl/postmarketos/master/armv7/APKINDEX.tar.gz (002338) [16:26:43] Download http://dl-2.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz (002338) [16:26:43] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_cbd754a960a1c98fd94bfdb113b883a4d600c33985d66f9228768ad53f8f866a /home/build/.local/var/pmbootstrap/cache_apk_armv7/APKINDEX.ffff1b13.tar.gz (002338) [16:26:43] Download http://dl-2.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz (002338) [16:26:43] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_c9d90d9290eee3d099ea73e505a118ee0780ab06f1ac78ce6e2fee4ae8808b62 /home/build/.local/var/pmbootstrap/cache_apk_armv7/APKINDEX.f03f5bfd.tar.gz (002338) [16:26:43] Download http://dl-2.alpinelinux.org/alpine/edge/testing/armv7/APKINDEX.tar.gz (002338) [16:26:44] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fae588ddec39dcefcbcc3cccd0693ebc4745c5a54ee1bb63fde66259434e14ee /home/build/.local/var/pmbootstrap/cache_apk_armv7/APKINDEX.977188ec.tar.gz (002338) [16:26:44] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz (002338) [16:26:44] APKINDEX outdated (file does not exist yet): http://postmarketos1.brixit.nl/postmarketos/master/x86_64/APKINDEX.tar.gz (002338) [16:26:44] APKINDEX outdated (file does not exist yet): http://dl-2.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz (002338) [16:26:44] APKINDEX outdated (file does not exist yet): http://dl-2.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz (002338) [16:26:44] APKINDEX outdated (file does not exist yet): http://dl-2.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz (002338) [16:26:44] Update package index for x86_64 (5 file(s)) (002338) [16:26:44] Download https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz (002338) [16:26:44] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_x86_64 (002338) [16:26:44] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_53711a85d2d03805fc9e859f0e55eda4941541086fca30263c9338b694af655c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.73602495.tar.gz (002338) [16:26:44] Download http://postmarketos1.brixit.nl/postmarketos/master/x86_64/APKINDEX.tar.gz (002338) [16:26:44] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_82f4e91ad45607a0f5d4d39ff6824bc49ebe5a431f60836f8ba0448c906a07f4 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.3f9c67ba.tar.gz (002338) [16:26:44] Download http://dl-2.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz (002338) [16:26:47] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_55e3804b70e7e26b184a1fcd42de2c20d5c601279ad985cee1412518a039569c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.ffff1b13.tar.gz (002338) [16:26:47] Download http://dl-2.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz (002338) [16:26:47] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0fa2917a7df1cb2dad7fbf03d144f26e827d81d99a22d79ae29596be17b493b1 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.f03f5bfd.tar.gz (002338) [16:26:47] Download http://dl-2.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz (002338) [16:26:47] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_942b7f1aad089bb4a5df7744d950a57b8cf143f75d931b07f9d98ddaca128b3f /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.977188ec.tar.gz (002338) [16:26:53] Build is necessary for package 'linux-samsung-gtel3g': No binary package available (002338) [16:26:53] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet! (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev (002338) [16:26:53] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm (002338) [16:26:53] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm (002338) [16:26:53] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3 (002338) [16:26:53] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5 (002338) [16:26:53] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7 (002338) [16:26:53] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8 (002338) [16:26:53] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9 (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc (002338) [16:26:53] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk (002338) [16:26:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache (002338) [16:26:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles (002338) [16:26:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git (002338) [16:26:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-rust (002338) [16:26:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-rust (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config (002338) [16:26:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys (002338) [16:26:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/edge (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages (002338) [16:26:53] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages (002338) [16:26:53] Download http://dl-2.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.10.5-r1.apk (002338) [16:26:53] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002338) [16:26:53] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002338) [16:26:53] extracted: /tmp/pmbootstrap830c76soapk (002338) [16:26:53] extracted: /tmp/pmbootstrapln0g59masig (002338) [16:26:53] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002338) [16:26:53] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstrapln0g59masig /tmp/pmbootstrap830c76soapk Verified OK (002338) [16:26:53] Verify the version reported by the apk.static binary (must match the package version 2.10.5-r1) (002338) [16:26:53] % /tmp/pmbootstrap830c76soapk --version apk-tools 2.10.5, compiled for x86_64. (002338) [16:26:53] (native) install alpine-base (002338) [16:26:53] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache (002338) [16:26:53] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002338) [16:26:53] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002338) [16:26:53] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002338) [16:26:53] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002338) [16:26:53] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002338) [16:26:53] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002338) [16:26:53] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002338) [16:26:53] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002338) [16:26:53] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002338) [16:26:53] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf (002338) [16:26:53] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk (002338) [16:26:53] (native) update /etc/apk/repositories (002338) [16:26:53] % sudo sh -c echo /mnt/pmbootstrap-packages >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002338) [16:26:53] % sudo sh -c echo https://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002338) [16:26:53] % sudo sh -c echo http://postmarketos1.brixit.nl/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002338) [16:26:53] % sudo sh -c echo http://dl-2.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002338) [16:26:53] % sudo sh -c echo http://dl-2.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002338) [16:26:53] % sudo sh -c echo http://dl-2.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002338) [16:26:53] % sudo /home/build/.local/var/pmbootstrap/apk.static --no-progress --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 WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/19) Installing musl (1.2.0-r0) (2/19) Installing busybox (1.32.0-r0) Executing busybox-1.32.0-r0.post-install (3/19) Installing alpine-baselayout (3.2.0-r8) Executing alpine-baselayout-3.2.0-r8.pre-install Executing alpine-baselayout-3.2.0-r8.post-install (4/19) Installing openrc (0.42.1-r10) Executing openrc-0.42.1-r10.post-install (5/19) Installing alpine-conf (3.9.0-r1) (6/19) Installing libcrypto1.1 (1.1.1g-r0) (7/19) Installing libssl1.1 (1.1.1g-r0) (8/19) Installing ca-certificates-bundle (20191127-r4) (9/19) Installing libtls-standalone (2.9.1-r1) (10/19) Installing ssl_client (1.32.0-r0) (11/19) Installing zlib (1.2.11-r3) (12/19) Installing apk-tools (2.10.5-r1) (13/19) Installing busybox-suid (1.32.0-r0) (14/19) Installing busybox-initscripts (3.2-r2) Executing busybox-initscripts-3.2-r2.post-install (15/19) Installing scanelf (1.2.6-r1) (16/19) Installing musl-utils (1.2.0-r0) (17/19) Installing libc-utils (0.7.2-r3) (18/19) Installing alpine-keys (2.2-r0) (19/19) Installing alpine-base (3.13.0_alpha20200626-r0) Executing busybox-1.32.0-r0.trigger OK: 8 MiB in 19 packages (002338) [16:26:54] (native) % adduser -D pmos -u 12345 (002338) [16:26:54] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild (002338) [16:26:54] (native) % chown pmos:pmos /mnt/pmbootstrap-abuild-config (002338) [16:26:54] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache (002338) [16:26:54] (native) % chown pmos:pmos /mnt/pmbootstrap-ccache (002338) [16:26:54] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages (002338) [16:26:54] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos (002338) [16:26:54] (native) % chown pmos:pmos /mnt/pmbootstrap-packages (002338) [16:26:54] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry (002338) [16:26:54] (native) % mkdir -p /mnt/pmbootstrap-rust/registry/index (002338) [16:26:54] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/index /home/pmos/.cargo/registry/index (002338) [16:26:54] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/index (002338) [16:26:54] (native) % mkdir -p /mnt/pmbootstrap-rust/registry/cache (002338) [16:26:54] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/cache /home/pmos/.cargo/registry/cache (002338) [16:26:54] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/cache (002338) [16:26:54] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git (002338) [16:26:54] (native) % mkdir -p /mnt/pmbootstrap-rust/git/db (002338) [16:26:54] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/git/db /home/pmos/.cargo/git/db (002338) [16:26:54] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/git/db (002338) [16:26:54] (native) calculate depends of abuild, build-base, ccache, git (pmbootstrap -v for details) (002338) [16:26:55] (native) install abuild build-base ccache git (002338) [16:26:55] (native) % apk --no-progress 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 libcurl expat pcre2 libattr libacl libgcc libstdc++ ca-certificates libmagic isl libgomp libatomic libgphobos gmp mpc1 mpfr4 musl-dev brotli-libs nghttp2-libs WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/39) Installing fakeroot (1.24-r0) (2/39) Installing openssl (1.1.1g-r0) (3/39) Installing libattr (2.4.48-r0) (4/39) Installing attr (2.4.48-r0) (5/39) Installing libacl (2.2.53-r0) (6/39) Installing tar (1.32-r1) (7/39) Installing pkgconf (1.7.3-r0) (8/39) Installing patch (2.7.6-r6) (9/39) Installing libgcc (9.3.0-r4) (10/39) Installing libstdc++ (9.3.0-r4) (11/39) Installing lzip (1.21-r0) (12/39) Installing ca-certificates (20191127-r4) (13/39) Installing brotli-libs (1.0.7-r5) (14/39) Installing nghttp2-libs (1.41.0-r0) (15/39) Installing libcurl (7.71.1-r0) (16/39) Installing curl (7.71.1-r0) (17/39) Installing abuild (3.6.0-r1) Executing abuild-3.6.0-r1.pre-install (18/39) Installing binutils (2.34-r1) (19/39) Installing libmagic (5.39-r0) (20/39) Installing file (5.39-r0) (21/39) Installing gmp (6.2.0-r0) (22/39) Installing isl (0.18-r0) (23/39) Installing libgomp (9.3.0-r4) (24/39) Installing libatomic (9.3.0-r4) (25/39) Installing libgphobos (9.3.0-r4) (26/39) Installing mpfr4 (4.0.2-r4) (27/39) Installing mpc1 (1.1.0-r1) (28/39) Installing gcc (9.3.0-r4) (29/39) Installing musl-dev (1.2.0-r0) (30/39) Installing libc-dev (0.7.2-r3) (31/39) Installing g++ (9.3.0-r4) (32/39) Installing make (4.3-r0) (33/39) Installing fortify-headers (1.1-r0) (34/39) Installing build-base (0.5-r2) (35/39) Installing ccache (3.7.11-r0) (36/39) Installing expat (2.2.9-r1) (37/39) Installing pcre2 (10.35-r0) (38/39) Installing git (2.27.0-r1) (39/39) Installing .pmbootstrap (20200724.162655) Executing busybox-1.32.0-r0.trigger Executing ca-certificates-20191127-r4.trigger OK: 187 MiB in 58 packages (002338) [16:27:05] (native) % apk --no-progress add abuild build-base ccache git WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory OK: 187 MiB in 58 packages (002338) [16:27:05] (native) % apk --no-progress del .pmbootstrap WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/1) Purging .pmbootstrap (20200724.162655) OK: 187 MiB in 57 packages (002338) [16:27:05] (native) % chown root:abuild /var/cache/distfiles (002338) [16:27:05] (native) % chmod g+w /var/cache/distfiles (002338) [16:27:05] (native) generate abuild keys (002338) [16:27:05] (native) % busybox su pmos -c HOME=/home/pmos abuild-keygen -n -q -a Generating RSA private key, 2048 bit long modulus (2 primes) .....................+++++ ...........................................................................+++++ e is 65537 (0x010001) writing RSA key (002338) [16:27:05] (native) % cp /mnt/pmbootstrap-abuild-config/pmos-5f1b0bd9.rsa.pub /etc/apk/keys/ (002338) [16:27:05] (native) % cp /tmp/gzip_wrapper.sh /usr/local/bin/gzip (002338) [16:27:05] (native) % chmod +x /usr/local/bin/gzip (002338) [16:27:05] (native) % adduser pmos abuild (002338) [16:27:05] (native) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf (002338) [16:27:05] (native) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf (002338) [16:27:05] (native) % touch /var/local/pmbootstrap_chroot_build_init_done (002338) [16:27:06] (native) % sed -i -e s/^export JOBS=.*/export JOBS=3/ /etc/abuild.conf (002338) [16:27:06] (native) % busybox su pmos -c HOME=/home/pmos ccache --max-size 5G Set cache size limit to 5.0 GB (002338) [16:27:06] (native) calculate depends of ccache-cross-symlinks, gcc-armv7, g++-armv7 (pmbootstrap -v for details) (002338) [16:27:06] (native) install ccache-cross-symlinks gcc-armv7 g++-armv7 (002338) [16:27:06] (native) % apk --no-progress add -u --virtual .pmbootstrap ccache-cross-symlinks gcc-armv7 g++-armv7 binutils-armv7 WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/5) Installing ccache-cross-symlinks (2-r1) (2/5) Installing binutils-armv7 (2.34-r1) (3/5) Installing gcc-armv7 (9.3.0-r4) (4/5) Installing g++-armv7 (9.3.0-r4) (5/5) Installing .pmbootstrap (20200724.162706) Executing busybox-1.32.0-r0.trigger OK: 312 MiB in 62 packages (002338) [16:27:42] (native) % apk --no-progress add ccache-cross-symlinks gcc-armv7 g++-armv7 WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory OK: 312 MiB in 62 packages (002338) [16:27:42] (native) % apk --no-progress del .pmbootstrap WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/1) Purging .pmbootstrap (20200724.162706) OK: 312 MiB in 61 packages (002338) [16:27:42] (native) build armv7/linux-samsung-gtel3g-3.10.17-r1.apk (002338) [16:27:42] % sudo cp -rL /home/build/pmaports/device/testing/linux-samsung-gtel3g/ /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build (002338) [16:27:42] (native) % chown -R pmos:pmos /home/pmos/build (002338) [16:27:42] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports (002338) [16:27:42] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports (002338) [16:27:42] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build (002338) [16:27:42] (native) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git (002338) [16:27:42] (native) % cd /home/pmos/build; busybox su pmos -c CARCH=armv7 SUDO_APK='abuild-apk --no-progress' CROSS_COMPILE=armv7-alpine-linux-musleabihf- CC=armv7-alpine-linux-musleabihf-gcc CCACHE_DISABLE=1 HOME=/home/pmos abuild -D postmarketOS -r -f ]0;abuild-armv7: linux-samsung-gtel3g>>> linux-samsung-gtel3g: Building pmos/linux-samsung-gtel3g 3.10.17-r1 (using abuild 3.6.0-r1) started Fri, 24 Jul 2020 16:27:42 +0000 >>> linux-samsung-gtel3g: Checking sanity of /home/pmos/build/APKBUILD... >>> WARNING: linux-samsung-gtel3g: No maintainer >>> linux-samsung-gtel3g: Analyzing dependencies... >>> linux-samsung-gtel3g: Installing for build: build-base bash bc bison devicepkg-dev flex openssl-dev perl linux-headers dtbtool WARNING: Ignoring /home/pmos/packages//pmos/x86_64/APKINDEX.tar.gz: No such file or directory WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/47) Installing ncurses-terminfo-base (6.2_p20200718-r0) (2/47) Installing ncurses-libs (6.2_p20200718-r0) (3/47) Installing readline (8.0.4-r0) (4/47) Installing bash (5.0.18-r0) Executing bash-5.0.18-r0.post-install (5/47) Installing bc (1.07.1-r1) (6/47) Installing m4 (1.4.18-r1) (7/47) Installing bison (3.6.4-r0) (8/47) Installing libbz2 (1.0.8-r1) (9/47) Installing libpng (1.6.37-r1) (10/47) Installing freetype (2.10.2-r0) (11/47) Installing libuuid (2.35.2-r2) (12/47) Installing fontconfig (2.13.1-r3) (13/47) Installing encodings (1.0.5-r0) (14/47) Installing libfontenc (1.1.4-r0) (15/47) Installing mkfontscale (1.2.1-r1) (16/47) Installing ttf-dejavu (2.37-r1) (17/47) Installing ttf-droid (20200215-r0) (18/47) Installing py3-olefile (0.46-r4) (19/47) Installing libimagequant (2.12.6-r0) (20/47) Installing libjpeg-turbo (2.0.5-r0) (21/47) Installing lcms2 (2.11-r0) (22/47) Installing openjpeg (2.3.1-r4) (23/47) Installing tiff (4.1.0-r0) (24/47) Installing libwebp (1.1.0-r0) (25/47) Installing libxau (1.0.9-r0) (26/47) Installing libbsd (0.10.0-r0) (27/47) Installing libxdmcp (1.1.3-r0) (28/47) Installing libxcb (1.14-r1) (29/47) Installing py3-pillow (7.2.0-r0) (30/47) Installing libffi (3.3-r2) (31/47) Installing gdbm (1.13-r1) (32/47) Installing xz-libs (5.2.5-r0) (33/47) Installing sqlite-libs (3.32.3-r0) (34/47) Installing python3 (3.8.5-r0) (35/47) Installing postmarketos-splash (1.0.0-r1) (36/47) Installing devicepkg-dev (0.12.2-r0) (37/47) Installing flex (2.6.4-r2) (38/47) Installing openssl-dev (1.1.1g-r0) (39/47) Installing perl (5.30.3-r2) (40/47) Installing linux-headers (5.7.8-r0) (41/47) Installing libfdt (1.6.0-r0) (42/47) Installing dtc-dev (1.6.0-r0) (43/47) Installing dtbtool (1.6.0-r5) (44/47) Installing .makedepends-linux-samsung-gtel3g (20200724.162743) (45/47) Installing perl-error (0.17029-r0) (46/47) Installing perl-git (2.27.0-r1) (47/47) Installing git-perl (2.27.0-r1) Executing busybox-1.32.0-r0.trigger Executing fontconfig-2.13.1-r3.trigger Executing mkfontscale-1.2.1-r1.trigger OK: 436 MiB in 108 packages ]0;>>> linux-samsung-gtel3g: Cleaning up srcdir ]0;>>> linux-samsung-gtel3g: Cleaning up pkgdir >>> linux-samsung-gtel3g: Fetching linux-samsung-gtel3g-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd.tar.gz::https://github.com/realaravinth/SM-T561-gtel3g-kernel/archive/138e4fdf85854bd9ba791ae05ad9bd036d8b64fd.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 176 100 176 0 0 1023 0 --:--:-- --:--:-- --:--:-- 1023 100 567 0 567 0 0 598 0 --:--:-- --:--:-- --:--:-- 598 100 3617k 0 3617k 0 0 2289k 0 --:--:-- 0:00:01 --:--:-- 5713k 100 9376k 0 9376k 0 0 3635k 0 --:--:-- 0:00:02 --:--:-- 5744k 100 14.9M 0 14.9M 0 0 4264k 0 --:--:-- 0:00:03 --:--:-- 5797k 100 20.7M 0 20.7M 0 0 4630k 0 --:--:-- 0:00:04 --:--:-- 5836k 100 26.4M 0 26.4M 0 0 4853k 0 --:--:-- 0:00:05 --:--:-- 5844k 100 32.0M 0 32.0M 0 0 4981k 0 --:--:-- 0:00:06 --:--:-- 5833k 100 36.9M 0 36.9M 0 0 4994k 0 --:--:-- 0:00:07 --:--:-- 5694k 100 41.4M 0 41.4M 0 0 4949k 0 --:--:-- 0:00:08 --:--:-- 5440k 100 47.1M 0 47.1M 0 0 5043k 0 --:--:-- 0:00:09 --:--:-- 5422k 100 52.6M 0 52.6M 0 0 5099k 0 --:--:-- 0:00:10 --:--:-- 5374k 100 57.7M 0 57.7M 0 0 5109k 0 --:--:-- 0:00:11 --:--:-- 5276k 100 63.3M 0 63.3M 0 0 5157k 0 --:--:-- 0:00:12 --:--:-- 5404k 100 68.7M 0 68.7M 0 0 5184k 0 --:--:-- 0:00:13 --:--:-- 5587k 100 74.7M 0 74.7M 0 0 5242k 0 --:--:-- 0:00:14 --:--:-- 5623k 100 80.1M 0 80.1M 0 0 5267k 0 --:--:-- 0:00:15 --:--:-- 5623k 100 85.5M 0 85.5M 0 0 5281k 0 --:--:-- 0:00:16 --:--:-- 5680k 100 90.5M 0 90.5M 0 0 5270k 0 --:--:-- 0:00:17 --:--:-- 5555k 100 95.7M 0 95.7M 0 0 5279k 0 --:--:-- 0:00:18 --:--:-- 5537k 100 101M 0 101M 0 0 5308k 0 --:--:-- 0:00:19 --:--:-- 5498k 100 107M 0 107M 0 0 5328k 0 --:--:-- 0:00:20 --:--:-- 5520k 100 112M 0 112M 0 0 5353k 0 --:--:-- 0:00:21 --:--:-- 5598k >>> linux-samsung-gtel3g: Fetching linux-samsung-gtel3g-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd.tar.gz::https://github.com/realaravinth/SM-T561-gtel3g-kernel/archive/138e4fdf85854bd9ba791ae05ad9bd036d8b64fd.tar.gz >>> linux-samsung-gtel3g: Checking sha512sums... linux-samsung-gtel3g-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd.tar.gz: OK config-samsung-gtel3g.armv7: OK gcc7-give-up-on-ilog2-const-optimizations.patch: OK gcc8-fix-put-user.patch: OK fix_recordmcount.patch: OK 00_fix_return_address.patch: OK fix-dts.patch: OK sprdfb-check-for-buffering.patch: OK sprdfb-fix-swapped-colors.patch: OK >>> linux-samsung-gtel3g: Unpacking /var/cache/distfiles/linux-samsung-gtel3g-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd.tar.gz... >>> linux-samsung-gtel3g: gcc7-give-up-on-ilog2-const-optimizations.patch patching file include/linux/log2.h >>> linux-samsung-gtel3g: gcc8-fix-put-user.patch patching file arch/arm/include/asm/uaccess.h Hunk #1 succeeded at 167 (offset 5 lines). >>> linux-samsung-gtel3g: fix_recordmcount.patch patching file scripts/recordmcount.c >>> linux-samsung-gtel3g: 00_fix_return_address.patch patching file arch/arm/include/asm/ftrace.h patching file arch/arm/kernel/return_address.c >>> linux-samsung-gtel3g: fix-dts.patch patching file arch/arm/boot/dts/sprd-scx35_gtel3g_rev00.dts patching file arch/arm/boot/dts/sprd-scx35_gtel3g_rev01.dts patching file arch/arm/boot/dts/sprd-scx35_gtel3g_rev02.dts patching file arch/arm/boot/dts/sprd-scx35_gtel3g_rev03.dts patching file arch/arm/boot/dts/sprd-scx35_gtel3g_rev04.dts patching file arch/arm/boot/dts/sprd-scx35_gtel3g_rev05.dts patching file arch/arm/boot/dts/sprd-scx35_gtel3g_rev06.dts patching file arch/arm/boot/dts/sprd-scx35_gtel3g_rev07.dts patching file arch/arm/boot/dts/sprd-scx35_gtel3g_rev08.dts patching file arch/arm/boot/dts/sprd-scx35_gtel3g_rev09.dts patching file arch/arm/boot/dts/sprd-scx35_gtel3g_rev10.dts patching file arch/arm/boot/dts/sprd-scx35_gtel3g_rev11.dts >>> linux-samsung-gtel3g: sprdfb-check-for-buffering.patch patching file drivers/video/sprdfb/sprdfb_main.c >>> linux-samsung-gtel3g: sprdfb-fix-swapped-colors.patch patching file drivers/video/sprdfb/sprdfb_main.c Hunk #1 succeeded at 53 with fuzz 2 (offset 2 lines). NOTE: replacing /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/compiler-gcc.h! If your build breaks with 'Please don't include directly' or a similar compiler-gcc.h related error, then set REPLACE_GCCH=0 in your kernel APKBUILD at the start of the downstreamkernel_prepare.sh line. '/usr/share/devicepkg-dev/compiler-gcc.h' -> '/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/compiler-gcc.h' make: Entering directory '/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd' GEN /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/out/Makefile HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o In file included from scripts/kconfig/zconf.tab.c:2503: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/scripts/kconfig/menu.c: In function 'get_symbol_str': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/scripts/kconfig/menu.c:567:18: warning: 'jump' may be used uninitialized in this function [-Wmaybe-uninitialized] 567 | jump->offset = r->len - 1; | ~~~~~~~~~~~~~^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/scripts/kconfig/menu.c:528:19: note: 'jump' was declared here 528 | struct jump_key *jump; | ^~~~ HOSTLD scripts/kconfig/conf scripts/kconfig/conf --oldconfig Kconfig warning: (MACH_TSHARKWSAMSUNG && MACH_YOUNG23GDTV && MACH_YOUNG2VE3G && MACH_VIVALTO5MVE3G && MACH_VIVALTO3MVE3G_LTN && MACH_VIVALTO3MVEML3G && MACH_VIVALTO3MVEML3G_SEA && MACH_J1POP3G && MACH_GOYAVE3G && MACH_GOYAVE3G_SWA && MACH_GOYAVE3G_SEA && MACH_GOYAVEWIFI && MACH_TSHARK2GOYAL && MACH_GOYAVEWIFI_SEA_XTC && MACH_GTEL3G && MACH_GTELWIFI && MACH_GTELWIFI_CHN && MACH_J13G && MACH_SHANGHAI_W && MACH_CORE3_W && MACH_GRANDNEOVE3G) selects MUIC_CABLE_DETECT which has unmet direct dependencies (ARCH_SC && (MFD_SM5504 || MFD_RT8973)) warning: (MACH_TSHARKWSAMSUNG && MACH_YOUNG23GDTV && MACH_YOUNG2VE3G && MACH_VIVALTO5MVE3G && MACH_VIVALTO3MVE3G_LTN && MACH_VIVALTO3MVEML3G && MACH_VIVALTO3MVEML3G_SEA && MACH_J1POP3G && MACH_GOYAVE3G && MACH_GOYAVE3G_SWA && MACH_GOYAVE3G_SEA && MACH_GOYAVEWIFI && MACH_TSHARK2GOYAL && MACH_GOYAVEWIFI_SEA_XTC && MACH_GTEL3G && MACH_GTELWIFI && MACH_GTELWIFI_CHN && MACH_J13G && MACH_SHANGHAI_W && MACH_CORE3_W && MACH_GRANDNEOVE3G) selects MUIC_CABLE_DETECT which has unmet direct dependencies (ARCH_SC && (MFD_SM5504 || MFD_RT8973)) # # configuration written to .config # make: Leaving directory '/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd' GEN /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/out/Makefile scripts/kconfig/conf --silentoldconfig Kconfig warning: (MACH_TSHARKWSAMSUNG && MACH_YOUNG23GDTV && MACH_YOUNG2VE3G && MACH_VIVALTO5MVE3G && MACH_VIVALTO3MVE3G_LTN && MACH_VIVALTO3MVEML3G && MACH_VIVALTO3MVEML3G_SEA && MACH_J1POP3G && MACH_GOYAVE3G && MACH_GOYAVE3G_SWA && MACH_GOYAVE3G_SEA && MACH_GOYAVEWIFI && MACH_TSHARK2GOYAL && MACH_GOYAVEWIFI_SEA_XTC && MACH_GTEL3G && MACH_GTELWIFI && MACH_GTELWIFI_CHN && MACH_J13G && MACH_SHANGHAI_W && MACH_CORE3_W && MACH_GRANDNEOVE3G) selects MUIC_CABLE_DETECT which has unmet direct dependencies (ARCH_SC && (MFD_SM5504 || MFD_RT8973)) warning: (MACH_TSHARKWSAMSUNG && MACH_YOUNG23GDTV && MACH_YOUNG2VE3G && MACH_VIVALTO5MVE3G && MACH_VIVALTO3MVE3G_LTN && MACH_VIVALTO3MVEML3G && MACH_VIVALTO3MVEML3G_SEA && MACH_J1POP3G && MACH_GOYAVE3G && MACH_GOYAVE3G_SWA && MACH_GOYAVE3G_SEA && MACH_GOYAVEWIFI && MACH_TSHARK2GOYAL && MACH_GOYAVEWIFI_SEA_XTC && MACH_GTEL3G && MACH_GTELWIFI && MACH_GTELWIFI_CHN && MACH_J13G && MACH_SHANGHAI_W && MACH_CORE3_W && MACH_GRANDNEOVE3G) selects MUIC_CABLE_DETECT which has unmet direct dependencies (ARCH_SC && (MFD_SM5504 || MFD_RT8973)) GEN /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/out/Makefile WRAP arch/arm/include/generated/asm/auxvec.h WRAP arch/arm/include/generated/asm/bitsperlong.h CHK include/generated/uapi/linux/version.h WRAP arch/arm/include/generated/asm/cputime.h UPD include/generated/uapi/linux/version.h WRAP arch/arm/include/generated/asm/current.h WRAP arch/arm/include/generated/asm/emergency-restart.h WRAP arch/arm/include/generated/asm/errno.h WRAP arch/arm/include/generated/asm/exec.h WRAP arch/arm/include/generated/asm/ioctl.h WRAP arch/arm/include/generated/asm/ipcbuf.h WRAP arch/arm/include/generated/asm/irq_regs.h WRAP arch/arm/include/generated/asm/kdebug.h WRAP arch/arm/include/generated/asm/local.h WRAP arch/arm/include/generated/asm/local64.h WRAP arch/arm/include/generated/asm/msgbuf.h WRAP arch/arm/include/generated/asm/param.h WRAP arch/arm/include/generated/asm/parport.h WRAP arch/arm/include/generated/asm/poll.h WRAP arch/arm/include/generated/asm/resource.h WRAP arch/arm/include/generated/asm/sections.h WRAP arch/arm/include/generated/asm/segment.h WRAP arch/arm/include/generated/asm/sembuf.h WRAP arch/arm/include/generated/asm/serial.h WRAP arch/arm/include/generated/asm/shmbuf.h WRAP arch/arm/include/generated/asm/siginfo.h WRAP arch/arm/include/generated/asm/sizes.h WRAP arch/arm/include/generated/asm/socket.h WRAP arch/arm/include/generated/asm/sockios.h WRAP arch/arm/include/generated/asm/termbits.h WRAP arch/arm/include/generated/asm/termios.h WRAP arch/arm/include/generated/asm/timex.h WRAP arch/arm/include/generated/asm/trace_clock.h WRAP arch/arm/include/generated/asm/types.h WRAP arch/arm/include/generated/asm/unaligned.h Using /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd as source for kernel CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/data.o SHIPPED scripts/dtc/dtc-lexer.lex.c SHIPPED scripts/dtc/dtc-parser.tab.h SHIPPED scripts/dtc/dtc-parser.tab.c HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/genksyms/genksyms.o CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s SHIPPED scripts/genksyms/lex.lex.c SHIPPED scripts/genksyms/keywords.hash.c SHIPPED scripts/genksyms/parse.tab.h SHIPPED scripts/genksyms/parse.tab.c HOSTCC scripts/genksyms/lex.lex.o MKELF scripts/mod/elfconfig.h GEN scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/mod/sumversion.o HOSTCC scripts/dtc/treesource.o HOSTLD scripts/genksyms/genksyms HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/dtc/util.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/selinux/mdp/mdp HOSTCC scripts/kallsyms HOSTCC scripts/dtc/dtc-parser.tab.o HOSTCC scripts/conmakehash HOSTLD scripts/mod/modpost HOSTCC scripts/recordmcount HOSTCC scripts/sortextable /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/scripts/sortextable.c:64:1: warning: 'succeed_file' defined but not used [-Wunused-function] 64 | succeed_file(void) | ^~~~~~~~~~~~ HOSTLD scripts/dtc/dtc In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/scripts/sortextable.c:162: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/scripts/sortextable.c: In function 'main': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 158 | memset(relocs, 0, relocs_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/scripts/sortextable.h:104:6: note: 'relocs_size' was declared here 104 | int relocs_size; | ^~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/scripts/sortextable.c:160: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 158 | memset(relocs, 0, relocs_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/scripts/sortextable.h:104:6: note: 'relocs_size' was declared here 104 | int relocs_size; | ^~~~~~~~~~~ Generating include/generated/mach-types.h CC kernel/bounds.s GEN include/generated/bounds.h CC arch/arm/kernel/asm-offsets.s GEN include/generated/asm-offsets.h DTC arch/arm/boot/dts/sprd-scx35_gtel3g_rev00.dtb DTC arch/arm/boot/dts/sprd-scx35_gtel3g_rev01.dtb CALL /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/scripts/checksyscalls.sh DTC arch/arm/boot/dts/sprd-scx35_gtel3g_rev02.dtb DTC arch/arm/boot/dts/sprd-scx35_gtel3g_rev03.dtb DTC arch/arm/boot/dts/sprd-scx35_gtel3g_rev04.dtb DTC arch/arm/boot/dts/sprd-scx35_gtel3g_rev05.dtb DTC arch/arm/boot/dts/sprd-scx35_gtel3g_rev06.dtb DTC arch/arm/boot/dts/sprd-scx35_gtel3g_rev07.dtb DTC arch/arm/boot/dts/sprd-scx35_gtel3g_rev08.dtb DTC arch/arm/boot/dts/sprd-scx35_gtel3g_rev09.dtb DTC arch/arm/boot/dts/sprd-scx35_gtel3g_rev10.dtb DTC arch/arm/boot/dts/sprd-scx35_gtel3g_rev11.dtb CC init/main.o HOSTCC usr/gen_init_cpio CC arch/arm/vfp/vfpmodule.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/init/main.c: In function 'do_one_initcall_debug': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/init/main.c:672:7: warning: unused variable 'name' [-Wunused-variable] 672 | char name[256]={0}; | ^~~~ GEN usr/initramfs_data.cpio AS usr/initramfs_data.o AS arch/arm/vfp/entry.o LD usr/built-in.o AS arch/arm/vfp/vfphw.o CC arch/arm/kernel/elf.o CC arch/arm/vfp/vfpsingle.o CHK include/generated/compile.h UPD include/generated/compile.h CC init/do_mounts.o AS arch/arm/kernel/entry-armv.o AS arch/arm/kernel/entry-common.o CC arch/arm/kernel/irq.o CC arch/arm/vfp/vfpdouble.o CC arch/arm/kernel/opcodes.o CC init/do_mounts_initrd.o CC arch/arm/kernel/process.o CC init/initramfs.o LD arch/arm/vfp/vfp.o LD arch/arm/vfp/built-in.o CC arch/arm/mm/dma-mapping.o CC arch/arm/kernel/ptrace.o CC init/calibrate.o CC init/init_task.o CC arch/arm/mm/extable.o CC arch/arm/kernel/return_address.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/kernel/return_address.c:63:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp] 63 | #warning "TODO: return_address should use unwind tables" | ^~~~~~~ CC arch/arm/mm/fault.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/kernel/return_address.c:63:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp] 63 | #warning "TODO: return_address should use unwind tables" | ^~~~~~~ CC arch/arm/kernel/sched_clock.o CC init/version.o CC arch/arm/mm/init.o CC arch/arm/kernel/setup.o LD init/mounts.o LD init/built-in.o CC arch/arm/mm/iomap.o CC arch/arm/common/firmware.o CC arch/arm/mm/fault-armv.o CC arch/arm/kernel/signal.o AS arch/arm/common/fiq_glue.o CC arch/arm/common/fiq_glue_setup.o CC arch/arm/mm/flush.o LD arch/arm/common/built-in.o LD arch/arm/net/built-in.o CC arch/arm/kernel/stacktrace.o LD arch/arm/crypto/built-in.o CC arch/arm/mach-sc/irq.o CC arch/arm/kernel/sys_arm.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:26, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c: In function '__irq_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:29:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 29 | #define SCI_IOMAP(x) (SCI_IOMAP_BASE + (x)) /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:435:27: note: in expansion of macro 'SCI_IOMAP' 435 | #define SPRD_INTC0_BASE SCI_IOMAP(0x3c0000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:105:19: note: in expansion of macro 'SPRD_INTC0_BASE' 105 | __raw_writel(~0, SPRD_INTC0_BASE + INTC_IRQ_DIS); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:26, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:29:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 29 | #define SCI_IOMAP(x) (SCI_IOMAP_BASE + (x)) /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:435:27: note: in expansion of macro 'SCI_IOMAP' 435 | #define SPRD_INTC0_BASE SCI_IOMAP(0x3c0000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:106:19: note: in expansion of macro 'SPRD_INTC0_BASE' 106 | __raw_writel(~0, SPRD_INTC0_BASE + INTC_FIQ_DIS); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:26, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:29:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 29 | #define SCI_IOMAP(x) (SCI_IOMAP_BASE + (x)) /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:439:27: note: in expansion of macro 'SCI_IOMAP' 439 | #define SPRD_INTC1_BASE SCI_IOMAP(0x3c2000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:107:19: note: in expansion of macro 'SPRD_INTC1_BASE' 107 | __raw_writel(~0, SPRD_INTC1_BASE + INTC_IRQ_DIS); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:26, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:29:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 29 | #define SCI_IOMAP(x) (SCI_IOMAP_BASE + (x)) /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:439:27: note: in expansion of macro 'SCI_IOMAP' 439 | #define SPRD_INTC1_BASE SCI_IOMAP(0x3c2000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:108:19: note: in expansion of macro 'SPRD_INTC1_BASE' 108 | __raw_writel(~0, SPRD_INTC1_BASE + INTC_FIQ_DIS); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:26, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:29:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 29 | #define SCI_IOMAP(x) (SCI_IOMAP_BASE + (x)) /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:443:27: note: in expansion of macro 'SCI_IOMAP' 443 | #define SPRD_INTC2_BASE SCI_IOMAP(0x3c4000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:109:19: note: in expansion of macro 'SPRD_INTC2_BASE' 109 | __raw_writel(~0, SPRD_INTC2_BASE + INTC_IRQ_DIS); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:26, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:29:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 29 | #define SCI_IOMAP(x) (SCI_IOMAP_BASE + (x)) /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:443:27: note: in expansion of macro 'SCI_IOMAP' 443 | #define SPRD_INTC2_BASE SCI_IOMAP(0x3c4000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:110:19: note: in expansion of macro 'SPRD_INTC2_BASE' 110 | __raw_writel(~0, SPRD_INTC2_BASE + INTC_FIQ_DIS); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:26, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:29:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 29 | #define SCI_IOMAP(x) (SCI_IOMAP_BASE + (x)) /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:447:27: note: in expansion of macro 'SCI_IOMAP' 447 | #define SPRD_INTC3_BASE SCI_IOMAP(0x3c6000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:111:19: note: in expansion of macro 'SPRD_INTC3_BASE' 111 | __raw_writel(~0, SPRD_INTC3_BASE + INTC_IRQ_DIS); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:26, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:29:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 29 | #define SCI_IOMAP(x) (SCI_IOMAP_BASE + (x)) /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:447:27: note: in expansion of macro 'SCI_IOMAP' 447 | #define SPRD_INTC3_BASE SCI_IOMAP(0x3c6000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:112:19: note: in expansion of macro 'SPRD_INTC3_BASE' 112 | __raw_writel(~0, SPRD_INTC3_BASE + INTC_FIQ_DIS); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:26, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:29:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 29 | #define SCI_IOMAP(x) (SCI_IOMAP_BASE + (x)) /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:221:25: note: in expansion of macro 'SCI_IOMAP' 221 | #define SPRD_INT_BASE SCI_IOMAP(0x1fc000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:113:19: note: in expansion of macro 'SPRD_INT_BASE' 113 | __raw_writel(~0, SPRD_INT_BASE + INTC_IRQ_DIS); | ^~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:26, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:29:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 29 | #define SCI_IOMAP(x) (SCI_IOMAP_BASE + (x)) /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:221:25: note: in expansion of macro 'SCI_IOMAP' 221 | #define SPRD_INT_BASE SCI_IOMAP(0x1fc000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:114:19: note: in expansion of macro 'SPRD_INT_BASE' 114 | __raw_writel(~0, SPRD_INT_BASE + INTC_FIQ_DIS); | ^~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c: In function '__mux_irq': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:178:32: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 178 | __raw_writel(1 << bit, base + offset); | ~~~~~^~~~~~~~ | | | u32 {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:188:33: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 188 | __raw_writel(1 << bit, base + offset); | ~~~~~^~~~~~~~ | | | u32 {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c: In function 'sci_intc_mask': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:205:31: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 205 | __raw_writel(1 << bit, base + offset); | ~~~~~^~~~~~~~ | | | u32 {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c: In function 'sci_intc_unmask': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:221:31: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 221 | __raw_writel(1 << bit, base + offset); | ~~~~~^~~~~~~~ | | | u32 {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:26, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c: In function 'sci_init_irq': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:529:27: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 529 | #define CORE_GIC_DIS_VA (SPRD_CORE_BASE + 0x1000) /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/irq.c:264:34: note: in expansion of macro 'CORE_GIC_DIS_VA' 264 | __raw_writel(1<val, head_p->reg); | ~~~~~~^~~~~ | | | u32 {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:52:43: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 52 | #define REG_ADI_FIFO_STS (CTL_ADI_BASE + 0x2c) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:78:37: note: in expansion of macro 'REG_ADI_FIFO_STS' 78 | #define FIFO_IS_FULL() (__raw_readl(REG_ADI_FIFO_STS) & BIT_FIFO_FULL) | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:257:11: note: in expansion of macro 'FIFO_IS_FULL' 257 | while (FIFO_IS_FULL()) { | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:260:36: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 260 | __raw_writel(head_p->val, head_p->reg); | ~~~~~~^~~~~ | | | u32 {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c: In function '__adi_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:47:41: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 47 | #define REG_ADI_CTRL0 (CTL_ADI_BASE + 0x04) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:303:22: note: in expansion of macro 'REG_ADI_CTRL0' 303 | value = __raw_readl(REG_ADI_CTRL0); | ^~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:47:41: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 47 | #define REG_ADI_CTRL0 (CTL_ADI_BASE + 0x04) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:308:23: note: in expansion of macro 'REG_ADI_CTRL0' 308 | __raw_writel(value, REG_ADI_CTRL0); | ^~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:48:43: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 48 | #define REG_ADI_CHNL_PRI (CTL_ADI_BASE + 0x08) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:310:23: note: in expansion of macro 'REG_ADI_CHNL_PRI' 310 | value = __raw_readl(REG_ADI_CHNL_PRI); | ^~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:48:43: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 48 | #define REG_ADI_CHNL_PRI (CTL_ADI_BASE + 0x08) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:315:23: note: in expansion of macro 'REG_ADI_CHNL_PRI' 315 | __raw_writel(value, REG_ADI_CHNL_PRI); | ^~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:48:43: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 48 | #define REG_ADI_CHNL_PRI (CTL_ADI_BASE + 0x08) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:323:23: note: in expansion of macro 'REG_ADI_CHNL_PRI' 323 | __raw_writel(value, REG_ADI_CHNL_PRI); | ^~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:53:42: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 53 | #define REG_ADI_CHNL_EN (CTL_ADI_BASE + 0x3c) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:325:23: note: in expansion of macro 'REG_ADI_CHNL_EN' 325 | value = __raw_readl(REG_ADI_CHNL_EN); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:53:42: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 53 | #define REG_ADI_CHNL_EN (CTL_ADI_BASE + 0x3c) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:327:23: note: in expansion of macro 'REG_ADI_CHNL_EN' 327 | __raw_writel(value, REG_ADI_CHNL_EN); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:90:45: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 90 | #define REG_ADI_GSSI_CFG0 (CTL_ADI_BASE + 0x1C) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:329:23: note: in expansion of macro 'REG_ADI_GSSI_CFG0' 329 | value = __raw_readl(REG_ADI_GSSI_CFG0); | ^~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adi.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ CC arch/arm/kernel/module.o CC arch/arm/mm/dump.o CC arch/arm/mm/proc-syms.o AS arch/arm/kernel/sleep.o CC arch/arm/kernel/suspend.o CC arch/arm/mm/alignment.o CC arch/arm/mach-sc/adie_irq.o CC arch/arm/kernel/smp.o CC arch/arm/mach-sc/adc.o CC arch/arm/mm/highmem.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adc.c: In function 'sci_adc_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adc.c:447:10: warning: assignment to 'void *' from 'resource_size_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 447 | io_base = res.start; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adc.c: In function 'sci_adc_config': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adc.c:486:9: warning: assignment to 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 486 | addr = io_base + ADC_SLOW_HW_CHX_CFG(adc->channel_id); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adc.c:488:9: warning: assignment to 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 488 | addr = io_base + ADC_FAST_HW_CHX_CFG(adc->channel_id); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adc.c: In function 'sci_adc_get_values': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adc.c:776:7: warning: assignment to 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 776 | addr = io_base + ADC_CTL; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adc.c:69:50: warning: passing argument 1 of 'adc_read' makes integer from pointer without a cast [-Wint-conversion] 69 | #define adc_raw_irqstatus() adc_read(io_base + ADC_IRQ_RAW) | ^ | | | void * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adc.c:790:11: note: in expansion of macro 'adc_raw_irqstatus' 790 | while ((!adc_raw_irqstatus()) && cnt--) { | ^~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adc.c:40:35: note: expected 'unsigned int' but argument is of type 'void *' 40 | static unsigned adc_read(unsigned addr) | ~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adc.c:57:56: warning: passing argument 1 of 'adc_read' makes integer from pointer without a cast [-Wint-conversion] 57 | #define adc_get_data(_SAMPLE_BITS_) (adc_read(io_base + ADC_DAT) & (_SAMPLE_BITS_)) | ^ | | | void * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adc.c:805:13: note: in expansion of macro 'adc_get_data' 805 | *pbuf++ = adc_get_data(sample_bits_msk); | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adc.c:40:35: note: expected 'unsigned int' but argument is of type 'void *' 40 | static unsigned adc_read(unsigned addr) | ~~~~~~~~~^~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/adc.c:300:19: warning: 'sprd_adc_dev_register' defined but not used [-Wunused-function] 300 | static int __init sprd_adc_dev_register(void) | ^~~~~~~~~~~~~~~~~~~~~ CC arch/arm/kernel/smp_tlb.o CC arch/arm/mach-sc/watchdog.o AS arch/arm/mm/abort-ev7.o AS arch/arm/mm/pabort-v7.o CC arch/arm/kernel/ftrace.o AS arch/arm/mm/cache-v7.o CC arch/arm/mm/copypage-v6.o CC arch/arm/mach-sc/clock-sc8830_dt.o CC arch/arm/kernel/insn.o CC arch/arm/mach-sc/devices-sc8830.o CC arch/arm/mm/context.o CC arch/arm/kernel/unwind.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c: In function 'cpw_rxirq_clear': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:2645:25: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 2645 | #define CP2AP_INT_CTRL (SPRD_IPI_BASE + 0x04) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:2657:32: note: in expansion of macro 'CP2AP_INT_CTRL' 2657 | __raw_writel(CPW2AP_IRQ0_CLR, CP2AP_INT_CTRL); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmc/sdhci.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmc/sprd-sdhci.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c: In function 'cpw_txirq_trigger': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:2644:25: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 2644 | #define AP2CP_INT_CTRL (SPRD_IPI_BASE + 0x00) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:2662:33: note: in expansion of macro 'AP2CP_INT_CTRL' 2662 | __raw_writel(AP2CPW_IRQ0_TRIG, AP2CP_INT_CTRL); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmc/sdhci.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmc/sprd-sdhci.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c: In function 'cpt_rxirq_clear': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:2645:25: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 2645 | #define CP2AP_INT_CTRL (SPRD_IPI_BASE + 0x04) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:2678:32: note: in expansion of macro 'CP2AP_INT_CTRL' 2678 | __raw_writel(CPT2AP_IRQ0_CLR, CP2AP_INT_CTRL); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmc/sdhci.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmc/sprd-sdhci.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c: In function 'cpt_txirq_trigger': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:2644:25: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 2644 | #define AP2CP_INT_CTRL (SPRD_IPI_BASE + 0x00) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:2683:33: note: in expansion of macro 'AP2CP_INT_CTRL' 2683 | __raw_writel(AP2CPT_IRQ0_TRIG, AP2CP_INT_CTRL); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmc/sdhci.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmc/sprd-sdhci.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c: In function 'wcn_rxirq_clear': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:2645:25: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 2645 | #define CP2AP_INT_CTRL (SPRD_IPI_BASE + 0x04) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:2695:32: note: in expansion of macro 'CP2AP_INT_CTRL' 2695 | __raw_writel(WCN2AP_IRQ0_CLR, CP2AP_INT_CTRL); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmc/sdhci.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmc/sprd-sdhci.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c: In function 'wcn_txirq_trigger': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:2644:25: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 2644 | #define AP2CP_INT_CTRL (SPRD_IPI_BASE + 0x00) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:2700:33: note: in expansion of macro 'AP2CP_INT_CTRL' 2700 | __raw_writel(AP2WCN_IRQ0_TRIG, AP2CP_INT_CTRL); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmc/sdhci.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmc/sprd-sdhci.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/devices-sc8830.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ CC arch/arm/mach-sc/io-sc8830.o AS arch/arm/mm/tlb-v7.o AS arch/arm/mm/proc-v7.o LD arch/arm/mm/built-in.o CC arch/arm/kernel/devtree.o CC arch/arm/mach-sc/arch_misc.o CC kernel/fork.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:6, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/arch_misc.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/arch_misc.c: In function 'set_section_ro': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:4:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'pmd_t' {aka 'unsigned int'} [-Wformat=] 4 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' 10 | #define KERN_ERR KERN_SOH "3" /* error conditions */ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:216:9: note: in expansion of macro 'KERN_ERR' 216 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/arch_misc.c:82:4: note: in expansion of macro 'pr_err' 82 | pr_err("%s: pmd %p=%08lx for %08lx not section map\n", | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/arch_misc.c:82:27: note: format string is defined here 82 | pr_err("%s: pmd %p=%08lx for %08lx not section map\n", | ~~~~^ | | | long unsigned int | %08x In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/arch_misc.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/arch_misc.c:92:12: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'pmd_t' {aka 'unsigned int'} [-Wformat=] 92 | pr_debug("%s: pmd %p=%08lx for %08lx ok\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:206:21: note: in definition of macro 'pr_fmt' 206 | #define pr_fmt(fmt) fmt | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug' 240 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/arch_misc.c:92:3: note: in expansion of macro 'pr_debug' 92 | pr_debug("%s: pmd %p=%08lx for %08lx ok\n", | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/arch_misc.c:92:28: note: format string is defined here 92 | pr_debug("%s: pmd %p=%08lx for %08lx ok\n", | ~~~~^ | | | long unsigned int | %08x /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/arch_misc.c:76:16: warning: unused variable 'pmd_end' [-Wunused-variable] 76 | unsigned long pmd_end; | ^~~~~~~ CC arch/arm/kernel/topology.o CC arch/arm/mach-sc/pin_switch.o CC arch/arm/kernel/io.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:27, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:4: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c: In function 'pinmap_get': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:138:29: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 138 | return readl(SPRD_PIN_BASE + offset); | ~~~~~~~~~~~~~~^~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:138:9: note: in expansion of macro 'readl' 138 | return readl(SPRD_PIN_BASE + offset); | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:4: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:4: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c: In function 'pinmap_set': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:146:30: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 146 | writel(value, SPRD_PIN_BASE + offset); | ~~~~~~~~~~~~~~^~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:146:2: note: in expansion of macro 'writel' 146 | writel(value, SPRD_PIN_BASE + offset); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:4: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c: In function 'pin_switch_dir_proc_write': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:249:44: warning: passing argument 4 of 'kstrtol_from_user' from incompatible pointer type [-Wincompatible-pointer-types] 249 | ret = kstrtol_from_user(buffer, count, 0, &val); | ^~~~ | | | int * In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cpumask.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/smp.h:12, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/regs_debug.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:34, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:4: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:315:97: note: expected 'long int *' but argument is of type 'int *' 315 | int __must_check kstrtol_from_user(const char __user *s, size_t count, unsigned int base, long *res); | ~~~~~~^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c: In function 'sc271x_regulator_event': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:319:28: warning: initialization of 'long unsigned int' from 'long unsigned int *' makes integer from pointer without a cast [-Wint-conversion] 319 | unsigned long best_data = (unsigned long *)data; | ^ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:6, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cpumask.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/smp.h:12, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/regs_debug.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:34, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:4: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 4 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' 13 | #define KERN_INFO KERN_SOH "6" /* informational */ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:223:9: note: in expansion of macro 'KERN_INFO' 223 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:330:2: note: in expansion of macro 'pr_info' 330 | pr_info("event:0x%x, best_data:0x%x\n", event, best_data); | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:330:20: note: format string is defined here 330 | pr_info("event:0x%x, best_data:0x%x\n", event, best_data); | ~^ | | | unsigned int | %lx In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:6, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cpumask.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/smp.h:12, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/regs_debug.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:34, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:4: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 4 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' 13 | #define KERN_INFO KERN_SOH "6" /* informational */ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:223:9: note: in expansion of macro 'KERN_INFO' 223 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:330:2: note: in expansion of macro 'pr_info' 330 | pr_info("event:0x%x, best_data:0x%x\n", event, best_data); | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:330:36: note: format string is defined here 330 | pr_info("event:0x%x, best_data:0x%x\n", event, best_data); | ~^ | | | unsigned int | %lx /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pin_switch.c:316:16: warning: unused variable 'flags' [-Wunused-variable] 316 | unsigned long flags; | ^~~~~ AS arch/arm/kernel/hyp-stub.o AS arch/arm/kernel/head.o LDS arch/arm/kernel/vmlinux.lds LD arch/arm/kernel/built-in.o CC arch/arm/mach-sc/timer_sc8830.o CC mm/filemap.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c:37: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h: In function 'get_sys_cnt': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:13:25: note: in expansion of macro 'SYSCNT_REG' 13 | #define SYSCNT_COUNT SYSCNT_REG(0x0004) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:18:28: note: in expansion of macro 'SYSCNT_COUNT' 18 | val1 = __raw_readl(SYSCNT_COUNT); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/clocksource.h:19, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/clockchips.h:27, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c:37: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:13:25: note: in expansion of macro 'SYSCNT_REG' 13 | #define SYSCNT_COUNT SYSCNT_REG(0x0004) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:19:28: note: in expansion of macro 'SYSCNT_COUNT' 19 | val2 = __raw_readl(SYSCNT_COUNT); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/clocksource.h:19, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/clockchips.h:27, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c:37: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:13:25: note: in expansion of macro 'SYSCNT_REG' 13 | #define SYSCNT_COUNT SYSCNT_REG(0x0004) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:22:33: note: in expansion of macro 'SYSCNT_COUNT' 22 | val2 = __raw_readl(SYSCNT_COUNT); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/clocksource.h:19, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/clockchips.h:27, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c:101: warning: "SYSCNT_COUNT" redefined 101 | #define SYSCNT_COUNT (base_syscnt + 0x0004) | In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c:37: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:13: note: this is the location of the previous definition 13 | #define SYSCNT_COUNT SYSCNT_REG(0x0004) | /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c: In function 'sci_enable_timer_early': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c:387:6: warning: unused variable 'val' [-Wunused-variable] 387 | u32 val = -1; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c: In function 'sprd_init_timer': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c:475:14: warning: assignment to 'void *' from 'resource_size_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 475 | base_syscnt = res.start; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c:487:23: warning: assignment to 'void *' from 'resource_size_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 487 | *(base_gptimer + i) = res.start; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c:469:14: warning: unused variable 'clk' [-Wunused-variable] 469 | struct clk *clk; | ^~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/spinlock.h:81, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/seqlock.h:29, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/ktime.h:24, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/hrtimer.h:19, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/interrupt.h:16, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c:16: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/timer_sc8830.c:333:24: warning: 'clocksource_read_lock' defined but not used [-Wunused-variable] 333 | static DEFINE_SPINLOCK(clocksource_read_lock); | ^~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/spinlock_types.h:84:39: note: in definition of macro 'DEFINE_SPINLOCK' 84 | #define DEFINE_SPINLOCK(x) spinlock_t x = __SPIN_LOCK_UNLOCKED(x) | ^ CC kernel/exec_domain.o CC kernel/panic.o CC arch/arm/mach-sc/dma_r4p0.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:37:30: warning: function declaration isn't a prototype [-Wstrict-prototypes] 37 | static inline void __iomem * get_dma_base() | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c: In function '__dma_irq_handle': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:339:12: warning: assignment to 'u32' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 339 | reg_addr = DMA_CHN_INT(i + 1); | ^ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cache.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/stat.h:18, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/module.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:341:16: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 341 | writel(readl(reg_addr) | (0x1f << 24), reg_addr); | ^~~~~~~~ | | | u32 {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' 32 | #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:481:36: note: in expansion of macro 'writel_relaxed' 481 | #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:341:3: note: in expansion of macro 'writel' 341 | writel(readl(reg_addr) | (0x1f << 24), reg_addr); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__le32_to_cpu' 88 | #define le32_to_cpu __le32_to_cpu | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:341:10: note: in expansion of macro 'readl' 341 | writel(readl(reg_addr) | (0x1f << 24), reg_addr); | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:21: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:21: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:341:42: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 341 | writel(readl(reg_addr) | (0x1f << 24), reg_addr); | ^~~~~~~~ | | | u32 {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:341:3: note: in expansion of macro 'writel' 341 | writel(readl(reg_addr) | (0x1f << 24), reg_addr); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:21: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c: In function 'sci_dma_config': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:58:48: warning: passing argument 3 of '__dma_cfg_check_and_convert' makes integer from pointer without a cast [-Wint-conversion] 58 | #define DMA_CHx_BASE(x) (DMA_REG_BASE + 0x1000 + DMA_CHx_OFFSET * (x - 1)) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:459:6: note: in expansion of macro 'DMA_CHx_BASE' 459 | DMA_CHx_BASE(dma_chn)); | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:146:16: note: expected 'u32' {aka 'unsigned int'} but argument is of type 'void *' 146 | u32 dma_reg_addr) | ~~~~^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:58:48: warning: passing argument 3 of '__dma_cfg_check_and_convert' makes integer from pointer without a cast [-Wint-conversion] 58 | #define DMA_CHx_BASE(x) (DMA_REG_BASE + 0x1000 + DMA_CHx_OFFSET * (x - 1)) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:493:6: note: in expansion of macro 'DMA_CHx_BASE' 493 | DMA_CHx_BASE(dma_chn)); | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:146:16: note: expected 'u32' {aka 'unsigned int'} but argument is of type 'void *' 146 | u32 dma_reg_addr) | ~~~~^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c: In function 'sci_dma_dump_reg': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:606:13: warning: assignment to 'u32' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 606 | *reg_base = DMA_CHx_BASE(dma_chn); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c: In function 'sci_init_dma': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/dma_r4p0.c:724:15: warning: assignment to 'void *' from 'resource_size_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 724 | dma_reg_base = res.start; | ^ CC kernel/printk.o CC arch/arm/mach-sc/mach-scx35-dt.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:26, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c: In function '__sci_get_chip_id': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:577:26: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 577 | #define CHIP_ID_LOW_REG (SPRD_AHB_BASE + 0xfc) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:147:21: note: in expansion of macro 'CHIP_ID_LOW_REG' 147 | return __raw_readl(CHIP_ID_LOW_REG); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c: In function 'sc8830_init_machine': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:180:10: warning: 'return' with a value, in function returning void [-Wreturn-type] 180 | return PTR_ERR(sec_class); | ^~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:163:20: note: declared here 163 | static void __init sc8830_init_machine(void) | ^~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c: In function 'sc8830_pmu_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:39:37: note: in expansion of macro 'SCI_ADDR' 39 | #define REG_PMU_APB_PD_MM_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x001C)/*PD_MM_TOP_CFG*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:205:27: note: in expansion of macro 'REG_PMU_APB_PD_MM_TOP_CFG' 205 | __raw_writel(__raw_readl(REG_PMU_APB_PD_MM_TOP_CFG) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:39:37: note: in expansion of macro 'SCI_ADDR' 39 | #define REG_PMU_APB_PD_MM_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x001C)/*PD_MM_TOP_CFG*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:207:4: note: in expansion of macro 'REG_PMU_APB_PD_MM_TOP_CFG' 207 | REG_PMU_APB_PD_MM_TOP_CFG); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ CC mm/mempool.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:40:38: note: in expansion of macro 'SCI_ADDR' 40 | #define REG_PMU_APB_PD_GPU_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x0020)/*PD_GPU_TOP_CFG*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:209:27: note: in expansion of macro 'REG_PMU_APB_PD_GPU_TOP_CFG' 209 | __raw_writel(__raw_readl(REG_PMU_APB_PD_GPU_TOP_CFG) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:40:38: note: in expansion of macro 'SCI_ADDR' 40 | #define REG_PMU_APB_PD_GPU_TOP_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x0020)/*PD_GPU_TOP_CFG*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:211:4: note: in expansion of macro 'REG_PMU_APB_PD_GPU_TOP_CFG' 211 | REG_PMU_APB_PD_GPU_TOP_CFG); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_aon_apb_tshark2.h:32:32: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_AON_APB_APB_EB0 SCI_ADDR(REGS_AON_APB_BASE, 0x0000)/*AHB_EB0*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:213:27: note: in expansion of macro 'REG_AON_APB_APB_EB0' 213 | __raw_writel(__raw_readl(REG_AON_APB_APB_EB0) | BIT_MM_EB | | ^~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_aon_apb_tshark2.h:32:32: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_AON_APB_APB_EB0 SCI_ADDR(REGS_AON_APB_BASE, 0x0000)/*AHB_EB0*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:214:16: note: in expansion of macro 'REG_AON_APB_APB_EB0' 214 | BIT_GPU_EB, REG_AON_APB_APB_EB0); | ^~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_mm_ahb_rf_tshark2.h:32:30: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_MM_AHB_AHB_EB SCI_ADDR(REGS_MM_AHB_BASE, 0x0000)/*AHB_EB*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:216:27: note: in expansion of macro 'REG_MM_AHB_AHB_EB' 216 | __raw_writel(__raw_readl(REG_MM_AHB_AHB_EB) | BIT_MM_CKG_EB, | ^~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_mm_ahb_rf_tshark2.h:32:30: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_MM_AHB_AHB_EB SCI_ADDR(REGS_MM_AHB_BASE, 0x0000)/*AHB_EB*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:217:4: note: in expansion of macro 'REG_MM_AHB_AHB_EB' 217 | REG_MM_AHB_AHB_EB); | ^~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_mm_ahb_rf_tshark2.h:34:35: note: in expansion of macro 'SCI_ADDR' 34 | #define REG_MM_AHB_GEN_CKG_CFG SCI_ADDR(REGS_MM_AHB_BASE, 0x0008)/*GEN_CKG_CFG*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:219:27: note: in expansion of macro 'REG_MM_AHB_GEN_CKG_CFG' 219 | __raw_writel(__raw_readl(REG_MM_AHB_GEN_CKG_CFG) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_mm_ahb_rf_tshark2.h:34:35: note: in expansion of macro 'SCI_ADDR' 34 | #define REG_MM_AHB_GEN_CKG_CFG SCI_ADDR(REGS_MM_AHB_BASE, 0x0008)/*GEN_CKG_CFG*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:221:4: note: in expansion of macro 'REG_MM_AHB_GEN_CKG_CFG' 221 | REG_MM_AHB_GEN_CKG_CFG); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_mm_clk.h:29:41: note: in expansion of macro 'SCI_ADDR' 29 | #define REG_MM_CLK_MM_AHB_CFG SCI_ADDR(REGS_MM_CLK_BASE, 0x0020) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:223:27: note: in expansion of macro 'REG_MM_CLK_MM_AHB_CFG' 223 | __raw_writel(__raw_readl(REG_MM_CLK_MM_AHB_CFG) | 0x3, | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_mm_clk.h:29:41: note: in expansion of macro 'SCI_ADDR' 29 | #define REG_MM_CLK_MM_AHB_CFG SCI_ADDR(REGS_MM_CLK_BASE, 0x0020) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:224:4: note: in expansion of macro 'REG_MM_CLK_MM_AHB_CFG' 224 | REG_MM_CLK_MM_AHB_CFG); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c: In function 'sc8830_init_machine': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/mach-scx35-dt.c:180:10: warning: ignoring return value of 'PTR_ERR', declared with attribute warn_unused_result [-Wunused-result] 180 | return PTR_ERR(sec_class); | ^~~~~~~~~~~~~~~~~~ CC arch/arm/mach-sc/pm.o CC mm/oom_kill.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h: In function 'get_sys_cnt': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:13:25: note: in expansion of macro 'SYSCNT_REG' 13 | #define SYSCNT_COUNT SYSCNT_REG(0x0004) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:18:28: note: in expansion of macro 'SYSCNT_COUNT' 18 | val1 = __raw_readl(SYSCNT_COUNT); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:13:25: note: in expansion of macro 'SYSCNT_REG' 13 | #define SYSCNT_COUNT SYSCNT_REG(0x0004) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:19:28: note: in expansion of macro 'SYSCNT_COUNT' 19 | val2 = __raw_readl(SYSCNT_COUNT); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:13:25: note: in expansion of macro 'SYSCNT_REG' 13 | #define SYSCNT_COUNT SYSCNT_REG(0x0004) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:22:33: note: in expansion of macro 'SYSCNT_COUNT' 22 | val2 = __raw_readl(SYSCNT_COUNT); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ CC arch/arm/mach-sc/cpufreq-scx35.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/cpufreq-scx35.c: In function 'sprd_cpufreq_target': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/cpufreq-scx35.c:464:16: warning: unused variable 'irq_flags' [-Wunused-variable] 464 | unsigned long irq_flags; | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/cpufreq-scx35.c:463:6: warning: unused variable 'cur_freq' [-Wunused-variable] 463 | int cur_freq = 0; | ^~~~~~~~ CC mm/fadvise.o CC arch/arm/mach-sc/bm_sc8830.o CC kernel/cpu.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:103:5: warning: "CONFIG_BUS_MONITOR_DEBUG" is not defined, evaluates to 0 [-Wundef] 103 | #if CONFIG_BUS_MONITOR_DEBUG | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c: In function '__sci_axi_bm_chn_en': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:28:75: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 28 | #define AXI_BM_INTC_REG(chn) (SPRD_AXIBM0_BASE + AXI_BM_BASE_OFFSET(chn) + 0x0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:124:20: note: in expansion of macro 'AXI_BM_INTC_REG' 124 | val = __raw_readl(AXI_BM_INTC_REG(chn)); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:28:75: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 28 | #define AXI_BM_INTC_REG(chn) (SPRD_AXIBM0_BASE + AXI_BM_BASE_OFFSET(chn) + 0x0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:126:20: note: in expansion of macro 'AXI_BM_INTC_REG' 126 | __raw_writel(val, AXI_BM_INTC_REG(chn)); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c: In function '__sci_axi_bm_chn_int_clr': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:28:75: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 28 | #define AXI_BM_INTC_REG(chn) (SPRD_AXIBM0_BASE + AXI_BM_BASE_OFFSET(chn) + 0x0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:136:20: note: in expansion of macro 'AXI_BM_INTC_REG' 136 | val = __raw_readl(AXI_BM_INTC_REG(chn)); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:28:75: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 28 | #define AXI_BM_INTC_REG(chn) (SPRD_AXIBM0_BASE + AXI_BM_BASE_OFFSET(chn) + 0x0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:138:20: note: in expansion of macro 'AXI_BM_INTC_REG' 138 | __raw_writel(val, AXI_BM_INTC_REG(chn)); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c: In function '__sci_axi_bm_chn_cnt_bw': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:46:80: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 46 | #define AXI_BM_RBW_IN_WIN_REG(chn) (SPRD_AXIBM0_BASE + AXI_BM_BASE_OFFSET(chn) + 0x48) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:148:20: note: in expansion of macro 'AXI_BM_RBW_IN_WIN_REG' 148 | rbw = __raw_readl(AXI_BM_RBW_IN_WIN_REG(chn)); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:49:80: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 49 | #define AXI_BM_WBW_IN_WIN_REG(chn) (SPRD_AXIBM0_BASE + AXI_BM_BASE_OFFSET(chn) + 0x54) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:149:20: note: in expansion of macro 'AXI_BM_WBW_IN_WIN_REG' 149 | wbw = __raw_readl(AXI_BM_WBW_IN_WIN_REG(chn)); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c: In function '__sci_axi_bm_cnt_start': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:28:75: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 28 | #define AXI_BM_INTC_REG(chn) (SPRD_AXIBM0_BASE + AXI_BM_BASE_OFFSET(chn) + 0x0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:162:21: note: in expansion of macro 'AXI_BM_INTC_REG' 162 | val = __raw_readl(AXI_BM_INTC_REG(bm_index)); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:28:75: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 28 | #define AXI_BM_INTC_REG(chn) (SPRD_AXIBM0_BASE + AXI_BM_BASE_OFFSET(chn) + 0x0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:168:21: note: in expansion of macro 'AXI_BM_INTC_REG' 168 | __raw_writel(val, AXI_BM_INTC_REG(bm_index)); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c: In function '__sci_axi_bm_cnt_stop': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:28:75: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 28 | #define AXI_BM_INTC_REG(chn) (SPRD_AXIBM0_BASE + AXI_BM_BASE_OFFSET(chn) + 0x0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:179:21: note: in expansion of macro 'AXI_BM_INTC_REG' 179 | val = __raw_readl(AXI_BM_INTC_REG(bm_index)); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:28:75: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 28 | #define AXI_BM_INTC_REG(chn) (SPRD_AXIBM0_BASE + AXI_BM_BASE_OFFSET(chn) + 0x0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:181:21: note: in expansion of macro 'AXI_BM_INTC_REG' 181 | __raw_writel(val, AXI_BM_INTC_REG(bm_index)); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c: In function '__sci_axi_bm_cnt_clr': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:28:75: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 28 | #define AXI_BM_INTC_REG(chn) (SPRD_AXIBM0_BASE + AXI_BM_BASE_OFFSET(chn) + 0x0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:202:21: note: in expansion of macro 'AXI_BM_INTC_REG' 202 | val = __raw_readl(AXI_BM_INTC_REG(bm_index)); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:28:75: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 28 | #define AXI_BM_INTC_REG(chn) (SPRD_AXIBM0_BASE + AXI_BM_BASE_OFFSET(chn) + 0x0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:204:21: note: in expansion of macro 'AXI_BM_INTC_REG' 204 | __raw_writel(val, AXI_BM_INTC_REG(bm_index)); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:28:75: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 28 | #define AXI_BM_INTC_REG(chn) (SPRD_AXIBM0_BASE + AXI_BM_BASE_OFFSET(chn) + 0x0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:206:21: note: in expansion of macro 'AXI_BM_INTC_REG' 206 | __raw_writel(val, AXI_BM_INTC_REG(bm_index)); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:28:75: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 28 | #define AXI_BM_INTC_REG(chn) (SPRD_AXIBM0_BASE + AXI_BM_BASE_OFFSET(chn) + 0x0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:208:21: note: in expansion of macro 'AXI_BM_INTC_REG' 208 | __raw_writel(val, AXI_BM_INTC_REG(bm_index)); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:209:5: warning: "CONFIG_BUS_MONITOR_DEBUG" is not defined, evaluates to 0 [-Wundef] 209 | #if CONFIG_BUS_MONITOR_DEBUG | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c: In function '__sci_axi_bm_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:223:45: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 223 | __raw_writel(0, AXI_BM_INTC_REG(bm_index)+reg_index); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:13: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c: In function 'dmc_mon_cnt_bw': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:312:5: warning: "CONFIG_BUS_MONITOR_DEBUG" is not defined, evaluates to 0 [-Wundef] 312 | #if CONFIG_BUS_MONITOR_DEBUG | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c: In function 'sci_bm_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:553:6: warning: unused variable 'ret' [-Wunused-variable] 553 | int ret; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/cpu.c: In function 'cpu_hotplug_pm_callback': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/cpu.c:596:28: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 596 | printk("*** %s, action:0x%x ***\n", __func__, action ); | ~^ ~~~~~~ | | | | unsigned int long unsigned int | %lx /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/cpu.c:612:28: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 612 | printk("*** %s, action:0x%x done ***\n", __func__, action ); | ~^ ~~~~~~ | | | | unsigned int long unsigned int | %lx CC mm/maccess.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:103:5: warning: "CONFIG_BUS_MONITOR_DEBUG" is not defined, evaluates to 0 [-Wundef] 103 | #if CONFIG_BUS_MONITOR_DEBUG | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:209:5: warning: "CONFIG_BUS_MONITOR_DEBUG" is not defined, evaluates to 0 [-Wundef] 209 | #if CONFIG_BUS_MONITOR_DEBUG | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/bm_sc8830.c:312:5: warning: "CONFIG_BUS_MONITOR_DEBUG" is not defined, evaluates to 0 [-Wundef] 312 | #if CONFIG_BUS_MONITOR_DEBUG | ^~~~~~~~~~~~~~~~~~~~~~~~ CC arch/arm/mach-sc/cpuidle-scx35.o CC mm/page_alloc.o CC kernel/exit.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:26, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/cpuidle-scx35.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/cpuidle-scx35.c: In function 'sc_cpuidle_debug': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:29:22: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 29 | #define SCI_IOMAP(x) (SCI_IOMAP_BASE + (x)) /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:137:27: note: in expansion of macro 'SCI_IOMAP' 137 | #define SPRD_LPDDR2_BASE SCI_IOMAP(0x160000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/cpuidle-scx35.c:155:27: note: in expansion of macro 'SPRD_LPDDR2_BASE' 155 | __func__, __raw_readl(SPRD_LPDDR2_BASE + 0x03fc) ); | ^~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/clocksource.h:19, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/clockchips.h:27, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/cpuidle-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/cpuidle-scx35.c: In function 'sc_fill_cstate': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/cpuidle-scx35.c:385:30: warning: unused variable 'state_usage' [-Wunused-variable] 385 | struct cpuidle_state_usage *state_usage = &dev->states_usage[idx]; | ^~~~~~~~~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/cpuidle-scx35.c:239:13: warning: 'idle_into_deep' defined but not used [-Wunused-function] 239 | static void idle_into_deep(void) | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/cpuidle-scx35.c:112:13: warning: 'set_cpu_pd' defined but not used [-Wunused-function] 112 | static void set_cpu_pd(void *data) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/page_alloc.c: In function 'show_migration_types': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/page_alloc.c:3077:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 3077 | p += sprintf(p, "%c%d", types[i], nr_migrate[i]); | ~^ ~~~~~~~~~~~~~ | | | | int long unsigned int | %ld CC arch/arm/mach-sc/pm-scx35.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:25: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h: In function 'get_sys_cnt': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:13:25: note: in expansion of macro 'SYSCNT_REG' 13 | #define SYSCNT_COUNT SYSCNT_REG(0x0004) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:18:28: note: in expansion of macro 'SYSCNT_COUNT' 18 | val1 = __raw_readl(SYSCNT_COUNT); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:25: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:13:25: note: in expansion of macro 'SYSCNT_REG' 13 | #define SYSCNT_COUNT SYSCNT_REG(0x0004) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:19:28: note: in expansion of macro 'SYSCNT_COUNT' 19 | val2 = __raw_readl(SYSCNT_COUNT); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:25: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:13:25: note: in expansion of macro 'SYSCNT_REG' 13 | #define SYSCNT_COUNT SYSCNT_REG(0x0004) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:22:33: note: in expansion of macro 'SYSCNT_COUNT' 22 | val2 = __raw_readl(SYSCNT_COUNT); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c: In function 'bak_last_reg': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:58:38: note: in expansion of macro 'SCI_ADDR' 58 | #define REG_PMU_APB_PD_PUB_SYS_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x006C)/*PD_PUB_SYS_CFG*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:722:27: note: in expansion of macro 'REG_PMU_APB_PD_PUB_SYS_CFG' 722 | pd_pub_sys = __raw_readl(REG_PMU_APB_PD_PUB_SYS_CFG); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:76:42: note: in expansion of macro 'SCI_ADDR' 76 | #define REG_PMU_APB_CP_SLP_STATUS_DBG0 SCI_ADDR(REGS_PMU_APB_BASE, 0x00B4)/*CP_SLP_STATUS_DBG0*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:723:35: note: in expansion of macro 'REG_PMU_APB_CP_SLP_STATUS_DBG0' 723 | cp_slp_status_dbg0 = __raw_readl(REG_PMU_APB_CP_SLP_STATUS_DBG0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:77:42: note: in expansion of macro 'SCI_ADDR' 77 | #define REG_PMU_APB_CP_SLP_STATUS_DBG1 SCI_ADDR(REGS_PMU_APB_BASE, 0x00B8)/*CP_SLP_STATUS_DBG1*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:724:35: note: in expansion of macro 'REG_PMU_APB_CP_SLP_STATUS_DBG1' 724 | cp_slp_status_dbg1 = __raw_readl(REG_PMU_APB_CP_SLP_STATUS_DBG1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:78:39: note: in expansion of macro 'SCI_ADDR' 78 | #define REG_PMU_APB_PWR_STATUS0_DBG SCI_ADDR(REGS_PMU_APB_BASE, 0x00BC)/*PWR_STATUS0_DBG*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:725:26: note: in expansion of macro 'REG_PMU_APB_PWR_STATUS0_DBG' 725 | pwr_stat0 = __raw_readl(REG_PMU_APB_PWR_STATUS0_DBG); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:79:39: note: in expansion of macro 'SCI_ADDR' 79 | #define REG_PMU_APB_PWR_STATUS1_DBG SCI_ADDR(REGS_PMU_APB_BASE, 0x00C0)/*PWR_STATUS1_DBG*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:726:26: note: in expansion of macro 'REG_PMU_APB_PWR_STATUS1_DBG' 726 | pwr_stat1 = __raw_readl(REG_PMU_APB_PWR_STATUS1_DBG); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:80:39: note: in expansion of macro 'SCI_ADDR' 80 | #define REG_PMU_APB_PWR_STATUS2_DBG SCI_ADDR(REGS_PMU_APB_BASE, 0x00C4)/*PWR_STATUS2_DBG*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:727:26: note: in expansion of macro 'REG_PMU_APB_PWR_STATUS2_DBG' 727 | pwr_stat2 = __raw_readl(REG_PMU_APB_PWR_STATUS2_DBG); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:81:39: note: in expansion of macro 'SCI_ADDR' 81 | #define REG_PMU_APB_PWR_STATUS3_DBG SCI_ADDR(REGS_PMU_APB_BASE, 0x00C8)/*PWR_STATUS3_DBG*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:728:26: note: in expansion of macro 'REG_PMU_APB_PWR_STATUS3_DBG' 728 | pwr_stat3 = __raw_readl(REG_PMU_APB_PWR_STATUS3_DBG); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:82:35: note: in expansion of macro 'SCI_ADDR' 82 | #define REG_PMU_APB_SLEEP_CTRL SCI_ADDR(REGS_PMU_APB_BASE, 0x00CC)/*SLEEP_CTRL*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:729:27: note: in expansion of macro 'REG_PMU_APB_SLEEP_CTRL' 729 | sleep_ctrl = __raw_readl(REG_PMU_APB_SLEEP_CTRL); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:83:38: note: in expansion of macro 'SCI_ADDR' 83 | #define REG_PMU_APB_DDR_SLEEP_CTRL SCI_ADDR(REGS_PMU_APB_BASE, 0x00D0)/*DDR_SLEEP_CTRL*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:730:31: note: in expansion of macro 'REG_PMU_APB_DDR_SLEEP_CTRL' 730 | ddr_sleep_ctrl = __raw_readl(REG_PMU_APB_DDR_SLEEP_CTRL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:84:36: note: in expansion of macro 'SCI_ADDR' 84 | #define REG_PMU_APB_SLEEP_STATUS SCI_ADDR(REGS_PMU_APB_BASE, 0x00D4)/*SLEEP_STATUS*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:731:29: note: in expansion of macro 'REG_PMU_APB_SLEEP_STATUS' 731 | sleep_status = __raw_readl(REG_PMU_APB_SLEEP_STATUS); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_aon_apb_tshark2.h:32:32: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_AON_APB_APB_EB0 SCI_ADDR(REGS_AON_APB_BASE, 0x0000)/*AHB_EB0*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:750:24: note: in expansion of macro 'REG_AON_APB_APB_EB0' 750 | apb_eb0 = __raw_readl(REG_AON_APB_APB_EB0); | ^~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_aon_apb_tshark2.h:33:32: note: in expansion of macro 'SCI_ADDR' 33 | #define REG_AON_APB_APB_EB1 SCI_ADDR(REGS_AON_APB_BASE, 0x0004)/*AHB_EB1*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:751:24: note: in expansion of macro 'REG_AON_APB_APB_EB1' 751 | apb_eb1 = __raw_readl(REG_AON_APB_APB_EB1); | ^~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_aon_apb_tshark2.h:41:33: note: in expansion of macro 'SCI_ADDR' 41 | #define REG_AON_APB_PWR_CTRL SCI_ADDR(REGS_AON_APB_BASE, 0x0024)/*PWR_CTRL*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:752:25: note: in expansion of macro 'REG_AON_APB_PWR_CTRL' 752 | pwr_ctrl = __raw_readl(REG_AON_APB_PWR_CTRL); | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_ahb.h:30:59: note: in expansion of macro 'SCI_ADDR' 30 | #define REG_AP_AHB_AHB_EB SCI_ADDR(REGS_AP_AHB_BASE, 0x0000) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:754:23: note: in expansion of macro 'REG_AP_AHB_AHB_EB' 754 | ahb_eb = __raw_readl(REG_AP_AHB_AHB_EB); | ^~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_apb.h:30:59: note: in expansion of macro 'SCI_ADDR' 30 | #define REG_AP_APB_APB_EB SCI_ADDR(REGS_AP_APB_BASE, 0x0000) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:756:23: note: in expansion of macro 'REG_AP_APB_APB_EB' 756 | apb_eb = __raw_readl(REG_AP_APB_APB_EB); | ^~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_ahb.h:45:59: note: in expansion of macro 'SCI_ADDR' 45 | #define REG_AP_AHB_MCU_PAUSE SCI_ADDR(REGS_AP_AHB_BASE, 0x3004) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:757:26: note: in expansion of macro 'REG_AP_AHB_MCU_PAUSE' 757 | mcu_pause = __raw_readl(REG_AP_AHB_MCU_PAUSE); | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_ahb.h:33:59: note: in expansion of macro 'SCI_ADDR' 33 | #define REG_AP_AHB_AP_SYS_FORCE_SLEEP_CFG SCI_ADDR(REGS_AP_AHB_BASE, 0x000C) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:758:32: note: in expansion of macro 'REG_AP_AHB_AP_SYS_FORCE_SLEEP_CFG' 758 | sys_force_sleep = __raw_readl(REG_AP_AHB_AP_SYS_FORCE_SLEEP_CFG); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_ahb.h:34:59: note: in expansion of macro 'SCI_ADDR' 34 | #define REG_AP_AHB_AP_SYS_AUTO_SLEEP_CFG SCI_ADDR(REGS_AP_AHB_BASE, 0x0010) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:759:35: note: in expansion of macro 'REG_AP_AHB_AP_SYS_AUTO_SLEEP_CFG' 759 | sys_auto_sleep_cfg = __raw_readl(REG_AP_AHB_AP_SYS_AUTO_SLEEP_CFG); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_ahb.h:57:59: note: in expansion of macro 'SCI_ADDR' 57 | #define REG_AP_AHB_CA7_STANDBY_STATUS SCI_ADDR(REGS_AP_AHB_BASE, 0x3034) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:760:35: note: in expansion of macro 'REG_AP_AHB_CA7_STANDBY_STATUS' 760 | ca7_standby_status = __raw_readl(REG_AP_AHB_CA7_STANDBY_STATUS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c: In function 'test_memory': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:993:18: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'phys_addr_t' {aka 'unsigned int'} [-Wformat=] 993 | printk("%s %p %p\n", __func__, vtest, virt_to_phys(vtest)); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | void * phys_addr_t {aka unsigned int} | %d /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:994:9: warning: assignment to 'long unsigned int *' from 'phys_addr_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 994 | ptest = virt_to_phys(vtest); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:998:25: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'long unsigned int *' makes integer from pointer without a cast [-Wint-conversion] 998 | sp_pm_reset_vector[64] = ptest; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:981:6: warning: unused variable 'i' [-Wunused-variable] 981 | int i; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c: In function 'wait_until_uart1_tx_done': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1027:19: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 1027 | #define UART_STS1 (SPRD_UART1_BASE + 0x0c) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1035:28: note: in expansion of macro 'UART_STS1' 1035 | tx_fifo_val = __raw_readl(UART_STS1); | ^~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1027:19: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 1027 | #define UART_STS1 (SPRD_UART1_BASE + 0x0c) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1041:29: note: in expansion of macro 'UART_STS1' 1041 | tx_fifo_val = __raw_readl(UART_STS1); | ^~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1026:19: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 1026 | #define UART_STS0 (SPRD_UART1_BASE + 0x08) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1048:28: note: in expansion of macro 'UART_STS0' 1048 | really_done = __raw_readl(UART_STS0); | ^~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1026:19: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 1026 | #define UART_STS0 (SPRD_UART1_BASE + 0x08) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1052:29: note: in expansion of macro 'UART_STS0' 1052 | really_done = __raw_readl(UART_STS0); | ^~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c: In function 'deep_sleep': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:89:35: note: in expansion of macro 'SCI_ADDR' 89 | #define REG_PMU_APB_CA7_C0_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x00E8)/*CA7_C0_CFG*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1192:21: note: in expansion of macro 'REG_PMU_APB_CA7_C0_CFG' 1192 | __raw_writel(0x0, REG_PMU_APB_CA7_C0_CFG); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1218:21: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 1218 | #define SLEEP_MAGIC (SPRD_IRAM0_BASE + 0xFB0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1219:30: note: in expansion of macro 'SLEEP_MAGIC' 1219 | __raw_writel(0x12345678, SLEEP_MAGIC); | ^~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1218:21: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 1218 | #define SLEEP_MAGIC (SPRD_IRAM0_BASE + 0xFB0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1221:30: note: in expansion of macro 'SLEEP_MAGIC' 1221 | __raw_writel(0xaaaaaaaa, SLEEP_MAGIC); | ^~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/system.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:89:35: note: in expansion of macro 'SCI_ADDR' 89 | #define REG_PMU_APB_CA7_C0_CFG SCI_ADDR(REGS_PMU_APB_BASE, 0x00E8)/*CA7_C0_CFG*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1237:21: note: in expansion of macro 'REG_PMU_APB_CA7_C0_CFG' 1237 | __raw_writel(0x1, REG_PMU_APB_CA7_C0_CFG); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c: In function 'dcdc_core_ds_config': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1349:6: warning: unused variable 'dcdc_core_ctl_ds' [-Wunused-variable] 1349 | u32 dcdc_core_ctl_ds = -1; | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1348:6: warning: unused variable 'val' [-Wunused-variable] 1348 | u32 val = 0; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1347:6: warning: unused variable 'dcdc_core_ctl_adi' [-Wunused-variable] 1347 | u32 dcdc_core_ctl_adi = 0; | ^~~~~~~~~~~~~~~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:1587:26: warning: 'vbat_check' defined but not used [-Wunused-variable] 1587 | static struct vbat_check vbat_check = { | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm-scx35.c:138:27: warning: 'pd_config' defined but not used [-Wunused-variable] 138 | static struct auto_pd_en pd_config = { | ^~~~~~~~~ AS arch/arm/mach-sc/standby-scx35.o CC arch/arm/mach-sc/pm_debug_scx35.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h: In function 'get_sys_cnt': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:13:25: note: in expansion of macro 'SYSCNT_REG' 13 | #define SYSCNT_COUNT SYSCNT_REG(0x0004) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:18:28: note: in expansion of macro 'SYSCNT_COUNT' 18 | val1 = __raw_readl(SYSCNT_COUNT); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:13:25: note: in expansion of macro 'SYSCNT_REG' 13 | #define SYSCNT_COUNT SYSCNT_REG(0x0004) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:19:28: note: in expansion of macro 'SYSCNT_COUNT' 19 | val2 = __raw_readl(SYSCNT_COUNT); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:13:25: note: in expansion of macro 'SYSCNT_REG' 13 | #define SYSCNT_COUNT SYSCNT_REG(0x0004) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:22:33: note: in expansion of macro 'SYSCNT_COUNT' 22 | val2 = __raw_readl(SYSCNT_COUNT); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c: In function 'hard_irq_set': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:65:23: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 65 | #define INT_REG(off) (SPRD_INT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:70:32: note: in expansion of macro 'INT_REG' 70 | #define INT_IRQ_STS INT_REG(0x0000) | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:141:33: note: in expansion of macro 'INT_IRQ_STS' 141 | sprd_irqs_sts[0] = __raw_readl(INT_IRQ_STS); | ^~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:65:23: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 65 | #define INT_REG(off) (SPRD_INT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:74:32: note: in expansion of macro 'INT_REG' 74 | #define INT_FIQ_STS INT_REG(0x0020) | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:142:33: note: in expansion of macro 'INT_FIQ_STS' 142 | sprd_irqs_sts[1] = __raw_readl(INT_FIQ_STS); | ^~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:66:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 66 | #define INTC0_REG(off) (SPRD_INTC0_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:76:25: note: in expansion of macro 'INTC0_REG' 76 | #define INTCV0_IRQ_RAW INTC0_REG(0x0004) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:143:27: note: in expansion of macro 'INTCV0_IRQ_RAW' 143 | irq_status = __raw_readl(INTCV0_IRQ_RAW); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:67:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 67 | #define INTC1_REG(off) (SPRD_INTC1_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:81:25: note: in expansion of macro 'INTC1_REG' 81 | #define INTCV1_IRQ_RAW INTC1_REG(0x0004) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:145:27: note: in expansion of macro 'INTCV1_IRQ_RAW' 145 | irq_status = __raw_readl(INTCV1_IRQ_RAW); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:68:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 68 | #define INTC2_REG(off) (SPRD_INTC2_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:86:25: note: in expansion of macro 'INTC2_REG' 86 | #define INTCV2_IRQ_RAW INTC2_REG(0x0004) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:147:27: note: in expansion of macro 'INTCV2_IRQ_RAW' 147 | irq_status = __raw_readl(INTCV2_IRQ_RAW); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:69:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 69 | #define INTC3_REG(off) (SPRD_INTC3_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:91:25: note: in expansion of macro 'INTC3_REG' 91 | #define INTCV3_IRQ_RAW INTC3_REG(0x0004) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:149:27: note: in expansion of macro 'INTCV3_IRQ_RAW' 149 | irq_status = __raw_readl(INTCV3_IRQ_RAW); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c: In function 'print_int_status': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_apb.h:30:59: note: in expansion of macro 'SCI_ADDR' 30 | #define REG_AP_APB_APB_EB SCI_ADDR(REGS_AP_APB_BASE, 0x0000) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:154:40: note: in expansion of macro 'REG_AP_APB_APB_EB' 154 | printk("APB_EB 0x%08x\n", __raw_readl(REG_AP_APB_APB_EB)); | ^~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:66:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 66 | #define INTC0_REG(off) (SPRD_INTC0_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:75:27: note: in expansion of macro 'INTC0_REG' 75 | #define INTCV0_IRQ_MSKSTS INTC0_REG(0x0000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:155:65: note: in expansion of macro 'INTCV0_IRQ_MSKSTS' 155 | printk("INTC0 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV0_IRQ_MSKSTS),__raw_readl(INTCV0_IRQ_RAW), __raw_readl(INTCV0_IRQ_EN)); | ^~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:66:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 66 | #define INTC0_REG(off) (SPRD_INTC0_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:76:25: note: in expansion of macro 'INTC0_REG' 76 | #define INTCV0_IRQ_RAW INTC0_REG(0x0004) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:155:96: note: in expansion of macro 'INTCV0_IRQ_RAW' 155 | printk("INTC0 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV0_IRQ_MSKSTS),__raw_readl(INTCV0_IRQ_RAW), __raw_readl(INTCV0_IRQ_EN)); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:66:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 66 | #define INTC0_REG(off) (SPRD_INTC0_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:77:24: note: in expansion of macro 'INTC0_REG' 77 | #define INTCV0_IRQ_EN INTC0_REG(0x0008) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:155:125: note: in expansion of macro 'INTCV0_IRQ_EN' 155 | printk("INTC0 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV0_IRQ_MSKSTS),__raw_readl(INTCV0_IRQ_RAW), __raw_readl(INTCV0_IRQ_EN)); | ^~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:67:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 67 | #define INTC1_REG(off) (SPRD_INTC1_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:80:27: note: in expansion of macro 'INTC1_REG' 80 | #define INTCV1_IRQ_MSKSTS INTC1_REG(0x0000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:156:65: note: in expansion of macro 'INTCV1_IRQ_MSKSTS' 156 | printk("INTC1 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV1_IRQ_MSKSTS),__raw_readl(INTCV1_IRQ_RAW), __raw_readl(INTCV1_IRQ_EN)); | ^~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:67:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 67 | #define INTC1_REG(off) (SPRD_INTC1_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:81:25: note: in expansion of macro 'INTC1_REG' 81 | #define INTCV1_IRQ_RAW INTC1_REG(0x0004) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:156:96: note: in expansion of macro 'INTCV1_IRQ_RAW' 156 | printk("INTC1 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV1_IRQ_MSKSTS),__raw_readl(INTCV1_IRQ_RAW), __raw_readl(INTCV1_IRQ_EN)); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:67:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 67 | #define INTC1_REG(off) (SPRD_INTC1_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:82:24: note: in expansion of macro 'INTC1_REG' 82 | #define INTCV1_IRQ_EN INTC1_REG(0x0008) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:156:125: note: in expansion of macro 'INTCV1_IRQ_EN' 156 | printk("INTC1 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV1_IRQ_MSKSTS),__raw_readl(INTCV1_IRQ_RAW), __raw_readl(INTCV1_IRQ_EN)); | ^~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:68:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 68 | #define INTC2_REG(off) (SPRD_INTC2_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:85:27: note: in expansion of macro 'INTC2_REG' 85 | #define INTCV2_IRQ_MSKSTS INTC2_REG(0x0000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:157:65: note: in expansion of macro 'INTCV2_IRQ_MSKSTS' 157 | printk("INTC2 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV2_IRQ_MSKSTS),__raw_readl(INTCV2_IRQ_RAW), __raw_readl(INTCV2_IRQ_EN)); | ^~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:68:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 68 | #define INTC2_REG(off) (SPRD_INTC2_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:86:25: note: in expansion of macro 'INTC2_REG' 86 | #define INTCV2_IRQ_RAW INTC2_REG(0x0004) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:157:96: note: in expansion of macro 'INTCV2_IRQ_RAW' 157 | printk("INTC2 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV2_IRQ_MSKSTS),__raw_readl(INTCV2_IRQ_RAW), __raw_readl(INTCV2_IRQ_EN)); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:68:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 68 | #define INTC2_REG(off) (SPRD_INTC2_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:87:24: note: in expansion of macro 'INTC2_REG' 87 | #define INTCV2_IRQ_EN INTC2_REG(0x0008) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:157:125: note: in expansion of macro 'INTCV2_IRQ_EN' 157 | printk("INTC2 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV2_IRQ_MSKSTS),__raw_readl(INTCV2_IRQ_RAW), __raw_readl(INTCV2_IRQ_EN)); | ^~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:69:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 69 | #define INTC3_REG(off) (SPRD_INTC3_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:90:27: note: in expansion of macro 'INTC3_REG' 90 | #define INTCV3_IRQ_MSKSTS INTC3_REG(0x0000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:158:65: note: in expansion of macro 'INTCV3_IRQ_MSKSTS' 158 | printk("INTC3 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV3_IRQ_MSKSTS),__raw_readl(INTCV3_IRQ_RAW), __raw_readl(INTCV3_IRQ_EN)); | ^~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:69:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 69 | #define INTC3_REG(off) (SPRD_INTC3_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:91:25: note: in expansion of macro 'INTC3_REG' 91 | #define INTCV3_IRQ_RAW INTC3_REG(0x0004) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:158:96: note: in expansion of macro 'INTCV3_IRQ_RAW' 158 | printk("INTC3 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV3_IRQ_MSKSTS),__raw_readl(INTCV3_IRQ_RAW), __raw_readl(INTCV3_IRQ_EN)); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:69:25: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 69 | #define INTC3_REG(off) (SPRD_INTC3_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:92:24: note: in expansion of macro 'INTC3_REG' 92 | #define INTCV3_IRQ_EN INTC3_REG(0x0008) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:158:125: note: in expansion of macro 'INTCV3_IRQ_EN' 158 | printk("INTC3 mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INTCV3_IRQ_MSKSTS),__raw_readl(INTCV3_IRQ_RAW), __raw_readl(INTCV3_IRQ_EN)); | ^~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:65:23: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 65 | #define INT_REG(off) (SPRD_INT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:70:32: note: in expansion of macro 'INT_REG' 70 | #define INT_IRQ_STS INT_REG(0x0000) | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:159:63: note: in expansion of macro 'INT_IRQ_STS' 159 | printk("INT mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INT_IRQ_STS),__raw_readl(INT_IRQ_RAW), __raw_readl(INT_IRQ_ENB)); | ^~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:65:23: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 65 | #define INT_REG(off) (SPRD_INT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:71:31: note: in expansion of macro 'INT_REG' 71 | #define INT_IRQ_RAW INT_REG(0x0004) | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:159:88: note: in expansion of macro 'INT_IRQ_RAW' 159 | printk("INT mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INT_IRQ_STS),__raw_readl(INT_IRQ_RAW), __raw_readl(INT_IRQ_ENB)); | ^~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:65:23: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 65 | #define INT_REG(off) (SPRD_INT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:72:31: note: in expansion of macro 'INT_REG' 72 | #define INT_IRQ_ENB INT_REG(0x0008) | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:159:114: note: in expansion of macro 'INT_IRQ_ENB' 159 | printk("INT mask:0x%08x raw:0x%08x en:0x%08x\n", __raw_readl(INT_IRQ_STS),__raw_readl(INT_IRQ_RAW), __raw_readl(INT_IRQ_ENB)); | ^~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c: In function 'print_hard_irq_inloop': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:306:54: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 306 | gpio_irq[j]= __raw_readl(SPRD_GPIO_BASE + 0x100*i + REG_GPIO_MIS); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:307:63: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 307 | gpio_irq[j+1]= __raw_readl(SPRD_GPIO_BASE + 0x100*i + 0x80 + REG_GPIO_MIS); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c: In function 'print_debug_info': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:84:36: note: in expansion of macro 'SCI_ADDR' 84 | #define REG_PMU_APB_SLEEP_STATUS SCI_ADDR(REGS_PMU_APB_BASE, 0x00D4)/*SLEEP_STATUS*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:491:31: note: in expansion of macro 'REG_PMU_APB_SLEEP_STATUS' 491 | apb_slp_status = __raw_readl(REG_PMU_APB_SLEEP_STATUS); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c: In function 'sys_cnt_isr': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:725:18: note: in expansion of macro 'SYSCNT_REG' 725 | __raw_writel(8, SYSCNT_REG(0X8)); | ^~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c: In function 'pm_debug_set_wakeup_timer': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:761:20: note: in expansion of macro 'SYSCNT_REG' 761 | __raw_writel(val, SYSCNT_REG(0) ); | ^~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/pm_debug.h:12:25: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 12 | #define SYSCNT_REG(off) (SPRD_SYSCNT_BASE + (off)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:762:18: note: in expansion of macro 'SYSCNT_REG' 762 | __raw_writel(1, SYSCNT_REG(0X8) ); | ^~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/pm_debug_scx35.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ CC kernel/itimer.o CC mm/page-writeback.o CC arch/arm/mach-sc/platsmp.o HZFILE kernel/hz.bc CC kernel/softirq.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c: In function 'poweron_cpus': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:94:54: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 94 | val = (BIT_PD_CA7_C3_AUTO_SHUTDOWN_EN | __raw_readl(poweron)) &~(BIT_PD_CA7_C3_FORCE_SHUTDOWN); | ^~~~~~~ | | | u32 {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:99:21: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 99 | while((__raw_readl(poweron)&BIT_PD_CA7_C3_FORCE_SHUTDOWN) || | ^~~~~~~ | | | u32 {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:32: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_ahb.h:32:59: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_AP_AHB_CA7_RST_SET SCI_ADDR(REGS_AP_AHB_BASE, 0x0008) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:100:17: note: in expansion of macro 'REG_AP_AHB_CA7_RST_SET' 100 | !(__raw_readl(REG_AP_AHB_CA7_RST_SET)&(1 << cpu)) ){ | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/delay.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' 32 | #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:481:36: note: in expansion of macro 'writel_relaxed' 481 | #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:102:3: note: in expansion of macro 'writel' 102 | writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) | (1 << cpu)), REG_AP_AHB_CA7_RST_SET); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_ahb.h:32:59: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_AP_AHB_CA7_RST_SET SCI_ADDR(REGS_AP_AHB_BASE, 0x0008) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:102:23: note: in expansion of macro 'REG_AP_AHB_CA7_RST_SET' 102 | writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) | (1 << cpu)), REG_AP_AHB_CA7_RST_SET); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:102:3: note: in expansion of macro 'writel' 102 | writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) | (1 << cpu)), REG_AP_AHB_CA7_RST_SET); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_ahb.h:32:59: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_AP_AHB_CA7_RST_SET SCI_ADDR(REGS_AP_AHB_BASE, 0x0008) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:102:62: note: in expansion of macro 'REG_AP_AHB_CA7_RST_SET' 102 | writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) | (1 << cpu)), REG_AP_AHB_CA7_RST_SET); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:103:55: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 103 | val = (BIT_PD_CA7_C3_AUTO_SHUTDOWN_EN | __raw_readl(poweron)) &~(BIT_PD_CA7_C3_FORCE_SHUTDOWN); | ^~~~~~~ | | | u32 {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:104:14: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 104 | writel(val,poweron); | ^~~~~~~ | | | u32 {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:104:3: note: in expansion of macro 'writel' 104 | writel(val,poweron); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/delay.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' 32 | #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:481:36: note: in expansion of macro 'writel_relaxed' 481 | #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:108:2: note: in expansion of macro 'writel' 108 | writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) & ~(1 << cpu)), REG_AP_AHB_CA7_RST_SET); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_ahb.h:32:59: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_AP_AHB_CA7_RST_SET SCI_ADDR(REGS_AP_AHB_BASE, 0x0008) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:108:22: note: in expansion of macro 'REG_AP_AHB_CA7_RST_SET' 108 | writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) & ~(1 << cpu)), REG_AP_AHB_CA7_RST_SET); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:108:2: note: in expansion of macro 'writel' 108 | writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) & ~(1 << cpu)), REG_AP_AHB_CA7_RST_SET); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_ahb.h:32:59: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_AP_AHB_CA7_RST_SET SCI_ADDR(REGS_AP_AHB_BASE, 0x0008) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:108:62: note: in expansion of macro 'REG_AP_AHB_CA7_RST_SET' 108 | writel((__raw_readl(REG_AP_AHB_CA7_RST_SET) & ~(1 << cpu)), REG_AP_AHB_CA7_RST_SET); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c: In function 'powerdown_cpus': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:124:52: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 124 | val = (BIT_PD_CA7_C3_FORCE_SHUTDOWN | __raw_readl(poweron)) &~(BIT_PD_CA7_C3_AUTO_SHUTDOWN_EN); | ^~~~~~~ | | | u32 {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:125:14: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 125 | writel(val, poweron); | ^~~~~~~ | | | u32 {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:125:2: note: in expansion of macro 'writel' 125 | writel(val, poweron); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:32: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_pmu_apb_tshark2.h:78:39: note: in expansion of macro 'SCI_ADDR' 78 | #define REG_PMU_APB_PWR_STATUS0_DBG SCI_ADDR(REGS_PMU_APB_BASE, 0x00BC)/*PWR_STATUS0_DBG*/ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:130:21: note: in expansion of macro 'REG_PMU_APB_PWR_STATUS0_DBG' 130 | if (((__raw_readl(REG_PMU_APB_PWR_STATUS0_DBG) >> (4 * (cpu_logical_map(cpu) + 1))) & 0x0f) == 0x07) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c: In function 'boot_secondary_cpus': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:148:31: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 148 | writel(paddr,(CPU_JUMP_VADDR + (cpu_id << 2))); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:148:2: note: in expansion of macro 'writel' 148 | writel(paddr,(CPU_JUMP_VADDR + (cpu_id << 2))); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/delay.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:532:28: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 532 | #define HOLDING_PEN_VADDR (SPRD_AHB_BASE + 0x14) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' 32 | #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:481:36: note: in expansion of macro 'writel_relaxed' 481 | #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:149:2: note: in expansion of macro 'writel' 149 | writel(readl(HOLDING_PEN_VADDR) | (1 << cpu_id),HOLDING_PEN_VADDR); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__le32_to_cpu' 88 | #define le32_to_cpu __le32_to_cpu | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:149:9: note: in expansion of macro 'readl' 149 | writel(readl(HOLDING_PEN_VADDR) | (1 << cpu_id),HOLDING_PEN_VADDR); | ^~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:149:15: note: in expansion of macro 'HOLDING_PEN_VADDR' 149 | writel(readl(HOLDING_PEN_VADDR) | (1 << cpu_id),HOLDING_PEN_VADDR); | ^~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:532:28: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 532 | #define HOLDING_PEN_VADDR (SPRD_AHB_BASE + 0x14) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:149:2: note: in expansion of macro 'writel' 149 | writel(readl(HOLDING_PEN_VADDR) | (1 << cpu_id),HOLDING_PEN_VADDR); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:149:50: note: in expansion of macro 'HOLDING_PEN_VADDR' 149 | writel(readl(HOLDING_PEN_VADDR) | (1 << cpu_id),HOLDING_PEN_VADDR); | ^~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:378:20: warning: initialization of 'void (*)(unsigned int)' from incompatible pointer type 'int (*)(unsigned int)' [-Wincompatible-pointer-types] 378 | .cpu_die = sprd_cpu_die, | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/platsmp.c:378:20: note: (near initialization for 'sprd_smp_ops.cpu_die') AS arch/arm/mach-sc/headsmp.o CC arch/arm/mach-sc/hotplug.o CC arch/arm/mach-sc/sprd_vibrator_2723.o CC kernel/resource.o CC arch/arm/mach-sc/sipc.o CC arch/arm/mach-sc/board-tshark-wifi.o CC mm/readahead.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:26, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/board-tshark-wifi.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/board-tshark-wifi.c: In function 'wlan_ldo_enable': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:29:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 29 | #define SCI_IOMAP(x) (SCI_IOMAP_BASE + (x)) /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/__hardware-sc8830.h:261:25: note: in expansion of macro 'SCI_IOMAP' 261 | #define SPRD_PIN_BASE SCI_IOMAP(0x224000) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/board-tshark-wifi.c:176:23: note: in expansion of macro 'SPRD_PIN_BASE' 176 | __raw_writel(0x0101, SPRD_PIN_BASE + 0x0400); | ^~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/board-tshark-wifi.c:16: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/board-tshark-wifi.c: In function 'wlan_device_power': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/board-tshark-wifi.c:237:6: warning: unused variable 'i' [-Wunused-variable] 237 | int i; | ^ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/board-tshark-wifi.c:170:12: warning: 'wlan_ldo_enable' defined but not used [-Wunused-function] 170 | static int wlan_ldo_enable(void) | ^~~~~~~~~~~~~~~ CC kernel/sysctl.o CC arch/arm/mach-sc/sec_common.o CC mm/swap.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_common.c:42:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] 42 | int get_board_id() | ^~~~~~~~~~~~ CC arch/arm/mach-sc/sec_debug.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_debug.c:948:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 948 | extern void sec_debug_print_gptimer_reg(); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_debug.c: In function 'sec_debug_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_debug.c:1092:20: warning: unused variable 'haddr' [-Wunused-variable] 1092 | unsigned int addr,haddr; | ^~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_debug.c:1092:15: warning: unused variable 'addr' [-Wunused-variable] 1092 | unsigned int addr,haddr; | ^~~~ CC kernel/sysctl_binary.o CC mm/truncate.o CC arch/arm/mach-sc/sec_gaf.o CC arch/arm/mach-sc/sec_getlog.o CC mm/vmscan.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_getlog.c: In function 'sec_getlog_supply_kloginfo': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_getlog.c:130:27: warning: assignment to 'void *' from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion] 130 | kernel_log_mark.klog_buf = 0xC6B00010; | ^ CC kernel/capability.o CC arch/arm/mach-sc/sec-reboot.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/vmscan.c: In function 'debug_shrinker_show': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/vmscan.c:217:8: warning: unused variable 'name' [-Wunused-variable] 217 | char name[64]; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/vmscan.c: In function 'wakeup_kswapd': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/vmscan.c:3274:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 3274 | printk("%s(pages): free:%d, free_cma:%d, high:%d, low:%d, min:%d, order:%d\r\n", | ~^ | | | int | %ld 3275 | __func__, global_page_state(NR_FREE_PAGES), global_page_state(NR_FREE_CMA_PAGES), high_wmark_pages(zone), low_wmark_pages(zone) , min_wmark_pages(zone) ,order); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/vmscan.c:3274:41: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 3274 | printk("%s(pages): free:%d, free_cma:%d, high:%d, low:%d, min:%d, order:%d\r\n", | ~^ | | | int | %ld 3275 | __func__, global_page_state(NR_FREE_PAGES), global_page_state(NR_FREE_CMA_PAGES), high_wmark_pages(zone), low_wmark_pages(zone) , min_wmark_pages(zone) ,order); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/vmscan.c:3274:50: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] 3274 | printk("%s(pages): free:%d, free_cma:%d, high:%d, low:%d, min:%d, order:%d\r\n", | ~^ | | | int | %ld /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/vmscan.c:3274:58: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=] 3274 | printk("%s(pages): free:%d, free_cma:%d, high:%d, low:%d, min:%d, order:%d\r\n", | ~^ | | | int | %ld /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/vmscan.c:3274:67: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long unsigned int' [-Wformat=] 3274 | printk("%s(pages): free:%d, free_cma:%d, high:%d, low:%d, min:%d, order:%d\r\n", | ~^ | | | int | %ld CC arch/arm/mach-sc/sec_log.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c: In function 'sec_log_setup': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c:103:11: warning: unused variable 'size_of_struct_sec_log_buffer' [-Wunused-variable] 103 | unsigned size_of_struct_sec_log_buffer=0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c:102:11: warning: unused variable 'alloc_size' [-Wunused-variable] 102 | unsigned alloc_size=0; | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c: In function 'sec_debug_set_last_regs_access': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c:145:29: warning: assignment to 'struct sec_debug_regs_access *' from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion] 145 | sec_debug_last_regs_access = addr; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c:146:33: warning: assignment to 'char *' from incompatible pointer type 'struct sec_debug_regs_access *' [-Wincompatible-pointer-types] 146 | sec_debug_local_hwlocks_status = sec_debug_last_regs_access + NR_CPUS; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c: In function 'sec_logbuf_conf_memtype': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c:208:8: warning: assignment to 'void *' from 'phys_addr_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 208 | base = sec_logbuf_base_addr; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c:209:30: warning: passing argument 1 of 'phys_to_virt' makes integer from pointer without a cast [-Wint-conversion] 209 | sec_log_mag = phys_to_virt(base) + size_struct_sec_log_buffer + | ^~~~ | | | void * In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/page.h:163, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmzone.h:20, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bootmem.h:7, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/memory.h:223:46: note: expected 'phys_addr_t' {aka 'unsigned int'} but argument is of type 'void *' 223 | static inline void *phys_to_virt(phys_addr_t x) | ~~~~~~~~~~~~^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c:211:30: warning: passing argument 1 of 'phys_to_virt' makes integer from pointer without a cast [-Wint-conversion] 211 | sec_log_ptr = phys_to_virt(base) + size_struct_sec_log_buffer + sec_logbuf_size; | ^~~~ | | | void * In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/page.h:163, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmzone.h:20, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bootmem.h:7, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/memory.h:223:46: note: expected 'phys_addr_t' {aka 'unsigned int'} but argument is of type 'void *' 223 | static inline void *phys_to_virt(phys_addr_t x) | ~~~~~~~~~~~~^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c:212:33: warning: passing argument 1 of 'phys_to_virt' makes integer from pointer without a cast [-Wint-conversion] 212 | sec_log_buffer = phys_to_virt(base); | ^~~~ | | | void * In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/page.h:163, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmzone.h:20, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bootmem.h:7, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/memory.h:223:46: note: expected 'phys_addr_t' {aka 'unsigned int'} but argument is of type 'void *' 223 | static inline void *phys_to_virt(phys_addr_t x) | ~~~~~~~~~~~~^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c:213:30: warning: passing argument 1 of 'phys_to_virt' makes integer from pointer without a cast [-Wint-conversion] 213 | sec_log_buf = phys_to_virt(base) + size_struct_sec_log_buffer; | ^~~~ | | | void * In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/page.h:163, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmzone.h:20, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bootmem.h:7, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_log.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/memory.h:223:46: note: expected 'phys_addr_t' {aka 'unsigned int'} but argument is of type 'void *' 223 | static inline void *phys_to_virt(phys_addr_t x) | ~~~~~~~~~~~~^ CC kernel/ptrace.o CC arch/arm/mach-sc/sec_bsp.o CC arch/arm/mach-sc/board_common_battery.o CC arch/arm/mach-sc/syssleep.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/syssleep.c:58:19: warning: initialization of 'ssize_t (*)(struct file *, char *, size_t, loff_t *)' {aka 'int (*)(struct file *, char *, unsigned int, long long int *)'} from incompatible pointer type 'int (*)(char *, char **, off_t, int, int *, void *)' {aka 'int (*)(char *, char **, long int, int, int *, void *)'} [-Wincompatible-pointer-types] 58 | .read = syssleep_read_proc, | ^~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/syssleep.c:58:19: note: (near initialization for 'syssleep_proc_fops.read') /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/syssleep.c:59:19: warning: initialization of 'ssize_t (*)(struct file *, const char *, size_t, loff_t *)' {aka 'int (*)(struct file *, const char *, unsigned int, long long int *)'} from incompatible pointer type 'int (*)(struct file *, const char *, long unsigned int, void *)' [-Wincompatible-pointer-types] 59 | .write = syssleep_write_proc, | ^~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/syssleep.c:59:19: note: (near initialization for 'syssleep_proc_fops.write') CC kernel/timer.o CC arch/arm/mach-sc/sec_gps_bcm47520.o CC arch/arm/mach-sc/sec_thermistor.o CC mm/shmem.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/sec_thermistor.c:30:23: warning: 'sec_thermistor_dev' defined but not used [-Wunused-variable] 30 | static struct device *sec_thermistor_dev; | ^~~~~~~~~~~~~~~~~~ CC arch/arm/mach-sc/sc7723s_thermistor.o LD arch/arm/mach-sc/built-in.o CC fs/open.o CC kernel/user.o CC kernel/signal.o CC mm/util.o CC fs/read_write.o CC mm/mmzone.o CC mm/vmstat.o CC fs/file_table.o CC fs/super.o CC mm/backing-dev.o CC kernel/sys.o CC fs/char_dev.o CC mm/mm_init.o CC mm/mmu_context.o CC fs/stat.o CC kernel/kmod.o CC mm/percpu.o CC fs/exec.o CC kernel/workqueue.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/fs/exec.c: In function 'get_task_comm': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/fs/exec.c:1037:32: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 1037 | strncpy(buf, tsk->comm, sizeof(tsk->comm)); | ^ CC mm/slab_common.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/workqueue.c: In function 'create_worker': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/workqueue.c:1718:40: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 14 [-Wformat-truncation=] 1718 | snprintf(id_buf, sizeof(id_buf), "%d:%d%s", pool->cpu, id, | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/workqueue.c:1718:36: note: directive argument in the range [0, 2147483647] 1718 | snprintf(id_buf, sizeof(id_buf), "%d:%d%s", pool->cpu, id, | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/workqueue.c:1718:3: note: 'snprintf' output between 4 and 23 bytes into a destination of size 16 1718 | snprintf(id_buf, sizeof(id_buf), "%d:%d%s", pool->cpu, id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1719 | pool->attrs->nice < 0 ? "H" : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC mm/compaction.o CC fs/pipe.o CC kernel/pid.o CC mm/balloon_compaction.o CC fs/namei.o CC mm/interval_tree.o CC kernel/task_work.o CC mm/fremap.o CC kernel/rcupdate.o CC mm/highmem.o CC kernel/extable.o CC kernel/params.o CC mm/madvise.o CC fs/fcntl.o CC kernel/posix-timers.o CC mm/memory.o CC fs/ioctl.o CC kernel/kthread.o CC kernel/wait.o CC fs/readdir.o CC mm/mincore.o CC kernel/sys_ni.o CC fs/select.o CC kernel/posix-cpu-timers.o CC mm/mlock.o CC kernel/mutex.o CC mm/mmap.o CC fs/dcache.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/mmap.c: In function 'vmacache_hit_proc_show': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/mmap.c:2068:2: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2068 | return; | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/mmap.c:2058:12: note: declared here 2058 | static int vmacache_hit_proc_show(struct seq_file *m, void *v) | ^~~~~~~~~~~~~~~~~~~~~~ CC kernel/hrtimer.o CC kernel/rwsem.o CC mm/mprotect.o CC fs/inode.o CC kernel/nsproxy.o CC mm/mremap.o CC kernel/srcu.o CC mm/msync.o CC kernel/semaphore.o CC fs/attr.o CC mm/rmap.o CC kernel/notifier.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/rmap.c:529:26: warning: '__vma_address' is static but used in inline function 'vma_address' which is not static 529 | unsigned long address = __vma_address(page, vma); | ^~~~~~~~~~~~~ CC fs/bad_inode.o CC fs/file.o CC kernel/ksysfs.o CC mm/vmalloc.o CC kernel/cred.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/vmalloc.c: In function 's_show': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/vmalloc.c:2624:21: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'void *' [-Wformat=] 2624 | seq_printf(m, "0x%lxK-0x%lxK %7ld", | ~~^ | | | long unsigned int | %p 2625 | v->addr, v->addr + v->size, v->size); | ~~~~~~~ | | | void * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/mm/vmalloc.c:2624:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'void *' [-Wformat=] 2624 | seq_printf(m, "0x%lxK-0x%lxK %7ld", | ~~^ | | | long unsigned int | %p 2625 | v->addr, v->addr + v->size, v->size); | ~~~~~~~~~~~~~~~~~ | | | void * CC kernel/async.o CC fs/filesystems.o CC kernel/range.o CC fs/namespace.o CC kernel/groups.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/groups.c: In function 'in_group_p': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/groups.c:303:19: warning: comparison between pointer and integer 303 | if(get_dumpTsk() == current) | ^~ CC mm/pagewalk.o CC kernel/lglock.o CC mm/pgtable-generic.o CC kernel/smpboot.o CC mm/process_vm_access.o CC kernel/cpu/idle.o CC mm/init-mm.o CC fs/seq_file.o CC mm/vmacache.o LD kernel/cpu/built-in.o CC kernel/irq/irqdesc.o CC mm/bootmem.o CC fs/xattr.o CC kernel/irq/handle.o CC mm/memblock.o CC kernel/irq/manage.o CC fs/libfs.o CC mm/bounce.o CC kernel/irq/spurious.o CC kernel/irq/resend.o CC mm/page_io.o CC fs/fs-writeback.o CC kernel/irq/chip.o CC mm/swap_state.o CC kernel/irq/dummychip.o CC mm/swapfile.o CC kernel/irq/devres.o CC kernel/irq/autoprobe.o CC kernel/irq/irqdomain.o CC fs/pnode.o CC fs/splice.o CC kernel/irq/proc.o CC mm/frontswap.o CC kernel/irq/pm.o LD kernel/irq/built-in.o CC kernel/power/qos.o CC mm/zswap.o CC fs/sync.o CC kernel/power/main.o CC mm/dmapool.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/power/main.c: In function 'set_cpufreq_min_limit': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/power/main.c:602:1: warning: label 'out' defined but not used [-Wunused-label] 602 | out: | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/power/main.c: In function 'restart_cpc_store': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/power/main.c:737:13: warning: passing argument 1 of 'sscanf' from incompatible pointer type [-Wincompatible-pointer-types] 737 | if (sscanf(cp_assert_info, "%d", &val) == 1 && val > 0){ | ^~~~~~~~~~~~~~ | | | char ** In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bug.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bug.h:59, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bug.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/thread_info.h:11, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/preempt.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/spinlock.h:50, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:23, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/power/main.c:12: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:373:12: note: expected 'const char *' but argument is of type 'char **' 373 | int sscanf(const char *, const char *, ...); | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/power/main.c:743:16: warning: assignment to 'void *' from 'unsigned int' makes pointer from integer without a cast [-Wint-conversion] 743 | base_cp_dbg = CP_DBG_ADD; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/power/main.c:745:24: warning: passing argument 1 of 'phys_to_virt' makes integer from pointer without a cast [-Wint-conversion] 745 | memcpy(phys_to_virt(base_cp_dbg), buf+2, CP_DBG_LEN); | ^~~~~~~~~~~ | | | void * In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:28, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/power/main.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/memory.h:223:46: note: expected 'phys_addr_t' {aka 'unsigned int'} but argument is of type 'void *' 223 | static inline void *phys_to_virt(phys_addr_t x) | ~~~~~~~~~~~~^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/power/main.c:749:15: warning: passing argument 1 of 'cp_abort' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 749 | cp_abort(buf+2); | ~~~^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/power/main.c:715:28: note: expected 'void *' but argument is of type 'const char *' 715 | extern void cp_abort(void *debug_info); | ~~~~~~^~~~~~~~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/power/main.c:321:24: warning: 'decode_state' defined but not used [-Wunused-function] 321 | static suspend_state_t decode_state(const char *buf, size_t n) | ^~~~~~~~~~~~ CC fs/utimes.o CC kernel/power/console.o CC mm/ksm.o CC fs/stack.o CC fs/fs_struct.o CC kernel/power/process.o CC fs/statfs.o CC kernel/power/suspend.o CC mm/slub.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/power/suspend.c:55:13: warning: 'freeze_enter' defined but not used [-Wunused-function] 55 | static void freeze_enter(void) | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/power/suspend.c:50:13: warning: 'freeze_begin' defined but not used [-Wunused-function] 50 | static void freeze_begin(void) | ^~~~~~~~~~~~ CC fs/buffer.o CC kernel/power/wakelock.o CC kernel/power/userwakelock.o CC kernel/power/earlysuspend.o CC kernel/power/fbearlysuspend.o CC kernel/power/suspend_time.o CC kernel/power/poweroff.o CC mm/migrate.o CC fs/bio.o LD kernel/power/built-in.o CC kernel/sched/core.o CC mm/memcontrol.o CC fs/block_dev.o CC fs/direct-io.o CC mm/page_cgroup.o CC mm/vmpressure.o CC kernel/sched/clock.o CC fs/mpage.o CC kernel/sched/cputime.o CC mm/zpool.o CC kernel/sched/idle_task.o CC mm/zsmalloc.o CC fs/ioprio.o CC kernel/sched/fair.o CC fs/proc_namespace.o LD mm/built-in.o CC kernel/time/timekeeping.o CC fs/configfs/inode.o CC fs/configfs/file.o CC fs/configfs/dir.o CC kernel/time/ntp.o CC kernel/sched/rt.o CC fs/configfs/symlink.o CC kernel/time/clocksource.o CC fs/configfs/mount.o CC fs/configfs/item.o CC kernel/time/jiffies.o CC kernel/sched/stop_task.o LD fs/configfs/configfs.o LD fs/configfs/built-in.o CC fs/debugfs/inode.o CC kernel/time/timer_list.o CC kernel/sched/cpupri.o CC kernel/sched/cpuacct.o CC kernel/time/timeconv.o LD kernel/sched/built-in.o CC kernel/trace/trace_clock.o CC fs/debugfs/file.o CC kernel/time/posix-clock.o CC kernel/trace/ftrace.o LD fs/debugfs/debugfs.o LD fs/debugfs/built-in.o CC fs/devpts/inode.o CC kernel/time/alarmtimer.o LD fs/devpts/devpts.o LD fs/devpts/built-in.o CC fs/ecryptfs/dentry.o CC fs/ecryptfs/file.o CC kernel/time/clockevents.o CC kernel/time/tick-common.o CC fs/ecryptfs/inode.o CC kernel/time/tick-broadcast.o CC kernel/trace/ring_buffer.o CC kernel/time/tick-oneshot.o CC fs/ecryptfs/main.o CC kernel/time/tick-sched.o CC fs/ecryptfs/super.o CC fs/ecryptfs/mmap.o LD kernel/time/built-in.o CC kernel/freezer.o CC kernel/trace/trace.o CC fs/ecryptfs/read_write.o CC ipc/util.o CC fs/ecryptfs/crypto.o CC ipc/msgutil.o CC ipc/msg.o CC fs/ecryptfs/keystore.o CC ipc/sem.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/fs/ecryptfs/keystore.c: In function 'decrypt_pki_encrypted_session_key': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/fs/ecryptfs/keystore.c:1174:41: warning: taking address of packed member of 'struct ecryptfs_auth_tok' may result in an unaligned pointer value [-Waddress-of-packed-member] 1174 | rc = write_tag_64_packet(auth_tok_sig, &(auth_tok->session_key), | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/fs/ecryptfs/keystore.c:1193:27: warning: taking address of packed member of 'struct ecryptfs_auth_tok' may result in an unaligned pointer value [-Waddress-of-packed-member] 1193 | rc = parse_tag_65_packet(&(auth_tok->session_key), | ^~~~~~~~~~~~~~~~~~~~~~~~ CC kernel/trace/trace_output.o CC ipc/shm.o CC fs/ecryptfs/kthread.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/trace/trace_output.c: In function 'trace_graph_ret_raw': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/trace/trace_output.c:1157:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1157 | if (!trace_seq_printf(&iter->seq, "%lx %lld %lld %ld %d\n", | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/trace/trace_output.c:1163:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1163 | return TRACE_TYPE_PARTIAL_LINE; | ^~~~~~ CC fs/ecryptfs/debug.o CC ipc/ipcns_notifier.o LD fs/ecryptfs/ecryptfs.o LD fs/ecryptfs/built-in.o CC ipc/syscall.o CC fs/exfat/exfat.o CC ipc/ipc_sysctl.o CC kernel/trace/trace_stat.o LD ipc/built-in.o CC security/keys/gc.o CC kernel/trace/trace_printk.o CC security/keys/key.o CC kernel/trace/trace_sched_switch.o CC security/keys/keyring.o CC kernel/trace/trace_functions.o CC security/keys/keyctl.o CC kernel/trace/trace_sched_wakeup.o CC fs/exfat/exfat_api.o CC kernel/trace/trace_nop.o CC fs/exfat/exfat_blkdev.o CC security/keys/permission.o CC kernel/trace/trace_stack.o CC security/keys/process_keys.o CC fs/exfat/exfat_cache.o CC kernel/trace/trace_functions_graph.o CC fs/exfat/exfat_data.o CC security/keys/request_key.o CC fs/exfat/exfat_global.o CC kernel/trace/blktrace.o CC security/keys/request_key_auth.o CC fs/exfat/exfat_nls.o CC security/keys/user_defined.o CC kernel/trace/trace_events.o CC fs/exfat/exfat_oal.o CC security/keys/proc.o CC fs/exfat/exfat_upcase.o CC fs/exfat/exfat_xattr.o CC security/keys/sysctl.o CC fs/exfat/exfat_super.o LD security/keys/built-in.o GEN security/selinux/flask.h security/selinux/av_permissions.h CC security/selinux/avc.o CC kernel/trace/trace_export.o CC kernel/trace/trace_events_filter.o CC security/selinux/hooks.o LD fs/exfat/exfat_core.o LD fs/exfat/exfat_fs.o LD fs/exfat/built-in.o LD fs/exofs/built-in.o CC fs/ext2/balloc.o CC kernel/trace/power-traces.o CC fs/ext2/dir.o CC kernel/trace/rpm-traces.o CC fs/ext2/file.o CC fs/ext2/ialloc.o LD kernel/trace/libftrace.o LD kernel/trace/built-in.o CC kernel/stacktrace.o CC fs/ext2/inode.o CC security/selinux/selinuxfs.o CC kernel/futex.o CC fs/ext2/ioctl.o CC security/selinux/netlink.o CC fs/ext2/namei.o CC kernel/rtmutex.o CC fs/ext2/super.o CC security/selinux/nlmsgtab.o CC kernel/smp.o CC security/selinux/netif.o CC fs/ext2/symlink.o CC kernel/spinlock.o CC security/selinux/netnode.o CC fs/ext2/xattr.o CC kernel/uid16.o CC security/selinux/netport.o CC kernel/module.o CC fs/ext2/xattr_user.o CC fs/ext2/xattr_trusted.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/module.c: In function 'print_modules': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/kernel/module.c:3828:27: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'void *' [-Wformat=] 3828 | printk(" %s%s[start=0x%lx,size=%d]", mod->name, module_flags(mod, buf), mod->module_core, mod->core_size); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long unsigned int void * | %p CC security/selinux/exports.o LD fs/ext2/ext2.o LD fs/ext2/built-in.o CC fs/ext3/balloc.o CC security/selinux/ss/ebitmap.o CC security/selinux/ss/hashtab.o CC security/selinux/ss/symtab.o CC security/selinux/ss/sidtab.o CC fs/ext3/bitmap.o CC kernel/kallsyms.o CC fs/ext3/dir.o CC security/selinux/ss/avtab.o CC fs/ext3/file.o CC kernel/cgroup.o CC security/selinux/ss/policydb.o CC fs/ext3/fsync.o CC fs/ext3/ialloc.o CC fs/ext3/inode.o CC security/selinux/ss/services.o CC kernel/cgroup_freezer.o CC kernel/res_counter.o CC kernel/stop_machine.o CC kernel/audit.o CC fs/ext3/ioctl.o CC security/selinux/ss/conditional.o CC fs/ext3/namei.o CC security/selinux/ss/mls.o CC kernel/auditfilter.o CC fs/ext3/super.o CC security/selinux/ss/status.o CC kernel/auditsc.o LD security/selinux/selinux.o LD security/selinux/built-in.o CC security/commoncap.o CC security/min_addr.o CC security/security.o CC kernel/audit_watch.o CC kernel/audit_tree.o CC fs/ext3/symlink.o CC security/capability.o CC fs/ext3/hash.o CC fs/ext3/resize.o CC kernel/hung_task.o CC security/lsm_audit.o CC kernel/watchdog.o CC fs/ext3/ext3_jbd.o CC kernel/rcutree.o LD security/built-in.o CC crypto/api.o CC fs/ext3/xattr.o CC crypto/cipher.o CC fs/ext3/xattr_user.o CC crypto/compress.o CC fs/ext3/xattr_trusted.o CC crypto/algapi.o LD fs/ext3/ext3.o LD fs/ext3/built-in.o CC kernel/utsname_sysctl.o CC fs/ext4/balloc.o CC kernel/tracepoint.o CC crypto/scatterwalk.o CC kernel/elfcore.o CC fs/ext4/bitmap.o CC kernel/irq_work.o CC crypto/proc.o CC fs/ext4/dir.o CC kernel/cpu_pm.o CC crypto/ablkcipher.o BC kernel/timeconst.h CC kernel/time.o CC fs/ext4/file.o LD kernel/built-in.o CC crypto/blkcipher.o CC fs/ext4/fsync.o CC fs/fat/cache.o CC fs/ext4/ialloc.o CC fs/fat/dir.o CC crypto/ahash.o CC fs/ext4/inode.o CC crypto/shash.o CC fs/fat/fatent.o CC crypto/algboss.o CC fs/fat/file.o CC crypto/testmgr.o CC fs/fat/inode.o CC crypto/crypto_wq.o LD crypto/crypto_algapi.o CC crypto/aead.o CC fs/ext4/page-io.o CC fs/fat/misc.o LD crypto/crypto_blkcipher.o CC crypto/chainiv.o CC fs/ext4/ioctl.o CC fs/fat/nfs.o CC crypto/eseqiv.o CC fs/fat/xattr.o LD crypto/crypto_hash.o CC crypto/pcompress.o CC fs/ext4/namei.o CC fs/fat/namei_vfat.o LD crypto/cryptomgr.o CC crypto/hmac.o LD fs/fat/fat.o LD fs/fat/vfat.o LD fs/fat/built-in.o CC fs/fuse/dev.o CC crypto/crypto_null.o CC crypto/md5.o CC fs/ext4/super.o CC crypto/sha1_generic.o CC crypto/sha256_generic.o CC fs/fuse/dir.o CC crypto/gf128mul.o CC fs/fuse/file.o CC crypto/ecb.o CC crypto/cbc.o CC crypto/xts.o CC crypto/des_generic.o CC fs/fuse/inode.o CC crypto/twofish_generic.o CC fs/ext4/symlink.o CC fs/ext4/hash.o CC crypto/twofish_common.o CC fs/fuse/control.o CC fs/ext4/resize.o LD fs/fuse/fuse.o LD fs/fuse/built-in.o CC fs/jbd/transaction.o CC crypto/aes_generic.o CC crypto/arc4.o CC crypto/deflate.o CC fs/ext4/extents.o CC fs/jbd/commit.o CC crypto/crc32c.o CC crypto/authenc.o CC fs/jbd/recovery.o CC crypto/authencesn.o CC fs/jbd/checkpoint.o CC crypto/lzo.o CC fs/jbd/revoke.o CC crypto/rng.o CC fs/ext4/ext4_jbd2.o CC crypto/krng.o CC fs/jbd/journal.o CC fs/ext4/migrate.o CC crypto/ansi_cprng.o CC fs/ext4/mballoc.o LD crypto/crypto.o LD crypto/built-in.o CC block/elevator.o LD fs/jbd/jbd.o LD fs/jbd/built-in.o CC fs/jbd2/transaction.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/block/elevator.c: In function 'elv_register': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/block/elevator.c:851:14: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 851 | "%s_io_cq", e->elevator_name); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/block/elevator.c:850:3: note: 'snprintf' output between 7 and 22 bytes into a destination of size 21 850 | snprintf(e->icq_cache_name, sizeof(e->icq_cache_name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 851 | "%s_io_cq", e->elevator_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC block/blk-core.o CC fs/jbd2/commit.o CC fs/jbd2/recovery.o CC block/blk-tag.o CC fs/ext4/block_validity.o CC fs/ext4/move_extent.o CC fs/jbd2/checkpoint.o CC block/blk-sysfs.o CC block/blk-flush.o CC fs/jbd2/revoke.o CC fs/ext4/mmp.o CC fs/jbd2/journal.o CC block/blk-settings.o CC fs/ext4/indirect.o CC block/blk-ioc.o CC block/blk-map.o CC fs/ext4/extents_status.o CC block/blk-exec.o CC block/blk-merge.o CC fs/ext4/xattr.o LD fs/jbd2/jbd2.o LD fs/jbd2/built-in.o CC fs/nls/nls_base.o CC fs/nls/nls_cp437.o CC block/blk-softirq.o CC fs/nls/nls_ascii.o CC fs/nls/nls_iso8859-1.o CC fs/ext4/xattr_user.o CC block/blk-timeout.o CC fs/nls/nls_utf8.o CC fs/ext4/xattr_trusted.o LD fs/nls/built-in.o CC fs/notify/fsnotify.o CC block/blk-iopoll.o CC fs/ext4/inline.o CC fs/notify/notification.o CC block/blk-lib.o CC fs/notify/group.o CC block/ioctl.o CC fs/notify/inode_mark.o CC fs/ext4/xattr_security.o CC fs/notify/mark.o LD fs/ext4/ext4.o LD fs/ext4/built-in.o CC block/genhd.o CC fs/notify/vfsmount_mark.o LD drivers/amba/built-in.o CC fs/notify/fdinfo.o LD drivers/autotst/built-in.o CC [M] drivers/autotst/autotstdrv.o LD fs/notify/dnotify/built-in.o LD fs/notify/fanotify/built-in.o CC fs/notify/inotify/inotify_fsnotify.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/autotstdrv.c: In function 'autotst_ioctl': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/autotstdrv.c:337:15: warning: unused variable 'i' [-Wunused-variable] 337 | int i; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/autotstdrv.c:346:15: warning: unused variable 'i' [-Wunused-variable] 346 | int i; | ^ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bug.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bug.h:59, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bug.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/thread_info.h:11, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/preempt.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/spinlock.h:50, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:23, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cdev.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/autotstdrv.c:7: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/autotstdrv.c: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/init.h:300:6: warning: 'init_module' specifies less restrictive attribute than its target 'autotst_init': 'cold' [-Wmissing-attributes] 300 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/autotstdrv.c:427:1: note: in expansion of macro 'module_init' 427 | module_init(autotst_init); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/autotstdrv.c:376:19: note: 'init_module' target declared here 376 | static int __init autotst_init(void) | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bug.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bug.h:59, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bug.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/thread_info.h:11, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/preempt.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/spinlock.h:50, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:23, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cdev.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/autotstdrv.c:7: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/init.h:306:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'autotst_exit': 'cold' [-Wmissing-attributes] 306 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/autotstdrv.c:428:1: note: in expansion of macro 'module_exit' 428 | module_exit(autotst_exit); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/autotstdrv.c:412:20: note: 'cleanup_module' target declared here 412 | static void __exit autotst_exit(void) | ^~~~~~~~~~~~ CC [M] drivers/autotst/dispc.o CC fs/notify/inotify/inotify_user.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/dispc.c:31: warning: "pr_debug" redefined 31 | #define pr_debug printk | In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/clk.h:16, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/dispc.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:239: note: this is the location of the previous definition 239 | #define pr_debug(fmt, ...) \ | /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/dispc.c: In function 'dispc_fb_prepare': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/dispc.c:979:10: warning: assignment to 'uint32_t *' {aka 'unsigned int *'} from 'uint32_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 979 | p_pixel = autotst_dispc_ctx.fb_addr_v; | ^ CC block/scsi_ioctl.o CC [M] drivers/autotst/dsi.o LD fs/notify/inotify/built-in.o LD fs/notify/built-in.o CC fs/proc/task_mmu.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/dsi.c:35: warning: "pr_debug" redefined 35 | #define pr_debug printk | In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/sched.h:15, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/ptrace.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/kgdb.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kgdb.h:20, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/dsi.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:239: note: this is the location of the previous definition 239 | #define pr_debug(fmt, ...) \ | /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/dsi.c: In function 'dsi_module_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/autotst/dsi.c:189:6: warning: unused variable 'ret' [-Wunused-variable] 189 | int ret = 0; | ^~~ CC [M] drivers/autotst/lcd_dummy.o CC [M] drivers/autotst/mipi_dsih_api.o CC block/partition-generic.o CC fs/proc/inode.o CC [M] drivers/autotst/mipi_dsih_dphy.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/block/partition-generic.c: In function 'disk_name': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/block/partition-generic.c:47:37: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 47 | snprintf(buf, BDEVNAME_SIZE, "%s%d", hd->disk_name, partno); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/block/partition-generic.c:47:3: note: 'snprintf' output between 2 and 43 bytes into a destination of size 32 47 | snprintf(buf, BDEVNAME_SIZE, "%s%d", hd->disk_name, partno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/block/partition-generic.c:45:36: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 31 [-Wformat-truncation=] 45 | snprintf(buf, BDEVNAME_SIZE, "%sp%d", hd->disk_name, partno); | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/block/partition-generic.c:45:3: note: 'snprintf' output between 3 and 44 bytes into a destination of size 32 45 | snprintf(buf, BDEVNAME_SIZE, "%sp%d", hd->disk_name, partno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] drivers/autotst/mipi_dsih_hal.o CC fs/proc/root.o CC block/partitions/check.o LD [M] drivers/autotst/autotst.o LD drivers/auxdisplay/built-in.o CC fs/proc/base.o CC drivers/base/core.o CC block/partitions/msdos.o CC block/partitions/efi.o LD block/partitions/built-in.o CC block/noop-iosched.o CC fs/proc/generic.o CC drivers/base/bus.o CC block/cfq-iosched.o CC fs/proc/array.o CC drivers/base/dd.o CC fs/proc/fd.o CC drivers/base/syscore.o LD block/built-in.o LD fs/quota/built-in.o CC fs/ramfs/inode.o CC drivers/base/driver.o CC fs/proc/proc_tty.o CC fs/ramfs/file-mmu.o CC fs/proc/cmdline.o CC drivers/base/class.o LD fs/ramfs/ramfs.o LD fs/ramfs/built-in.o CC fs/sdcardfs/dentry.o CC fs/proc/consoles.o CC fs/proc/cpuinfo.o CC fs/sdcardfs/file.o CC drivers/base/platform.o CC fs/proc/devices.o CC fs/sdcardfs/inode.o CC fs/proc/interrupts.o CC drivers/base/cpu.o CC fs/proc/loadavg.o CC fs/sdcardfs/main.o CC fs/proc/meminfo.o CC drivers/base/firmware.o CC fs/proc/stat.o CC drivers/base/init.o CC fs/sdcardfs/super.o CC drivers/base/map.o CC fs/proc/uptime.o CC drivers/base/devres.o CC fs/proc/version.o CC fs/sdcardfs/lookup.o CC fs/proc/softirqs.o CC drivers/base/attribute_container.o CC fs/proc/namespaces.o CC fs/sdcardfs/mmap.o CC drivers/base/transport_class.o CC fs/proc/self.o CC fs/sdcardfs/packagelist.o CC drivers/base/topology.o CC fs/proc/stlog.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/fs/sdcardfs/packagelist.c:55:20: warning: 'kgroups' defined but not used [-Wunused-const-variable=] 55 | static const gid_t kgroups[1] = { AID_PACKAGE_INFO }; | ^~~~~~~ CC drivers/base/devtmpfs.o CC fs/sdcardfs/derived_perm.o CC fs/proc/proc_sysctl.o CC drivers/base/power/sysfs.o LD fs/sdcardfs/sdcardfs.o LD fs/sdcardfs/built-in.o CC fs/sysfs/inode.o CC drivers/base/power/generic_ops.o CC fs/sysfs/file.o CC drivers/base/power/common.o CC fs/proc/proc_net.o CC drivers/base/power/qos.o CC fs/sysfs/dir.o CC fs/proc/kmsg.o CC fs/proc/page.o CC drivers/base/power/main.o CC fs/sysfs/symlink.o LD fs/proc/sprd_debug/built-in.o LD fs/proc/proc.o LD fs/proc/built-in.o CC fs/eventpoll.o CC fs/sysfs/mount.o CC drivers/base/power/wakeup.o CC drivers/base/regmap/regmap.o CC fs/sysfs/bin.o CC drivers/base/power/runtime.o CC fs/sysfs/group.o LD fs/sysfs/built-in.o CC fs/anon_inodes.o CC fs/signalfd.o CC drivers/base/regmap/regcache.o CC drivers/base/power/clock_ops.o LD drivers/base/power/built-in.o CC fs/timerfd.o CC drivers/battery/sec_battery.o CC drivers/base/regmap/regcache-rbtree.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/base/regmap/regcache-rbtree.c:34:1: warning: alignment 1 of 'struct regcache_rbtree_node' is less than 4 [-Wpacked-not-aligned] 34 | } __attribute__ ((packed)); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/base/regmap/regcache-rbtree.c: In function 'regcache_rbtree_insert': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/base/regmap/regcache-rbtree.c:127:15: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 127 | rb_link_node(&rbnode->node, parent, new); | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/base/regmap/regcache-rbtree.c:128:18: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 128 | rb_insert_color(&rbnode->node, root); | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/base/regmap/regcache-rbtree.c: In function 'regcache_rbtree_exit': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/base/regmap/regcache-rbtree.c:246:18: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 246 | next = rb_next(&rbtree_node->node); | ^~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/base/regmap/regcache-rbtree.c:247:12: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 247 | rb_erase(&rbtree_node->node, &rbtree_ctx->root); | ^~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_battery.c: In function 'sec_battery_shutdown': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_battery.c:5785:27: warning: unused variable 'battery' [-Wunused-variable] 5785 | struct sec_battery_info *battery | ^~~~~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_battery.c:5256:13: warning: 'cable_initial_check' defined but not used [-Wunused-function] 5256 | static void cable_initial_check(struct sec_battery_info *battery) | ^~~~~~~~~~~~~~~~~~~ CC drivers/base/regmap/regcache-lzo.o CC fs/eventfd.o CC drivers/base/regmap/regcache-flat.o CC drivers/base/regmap/regmap-debugfs.o CC fs/aio.o CC drivers/base/regmap/regmap-i2c.o CC drivers/base/regmap/regmap-spi.o CC fs/locks.o LD drivers/base/regmap/built-in.o CC drivers/base/dma-mapping.o CC drivers/battery/sec_adc.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_adc.c: In function 'sec_bat_adc_ap_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_adc.c:26:9: warning: 'return' with a value, in function returning void [-Wreturn-type] 26 | return true; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_adc.c:21:13: note: declared here 21 | static void sec_bat_adc_ap_init(struct platform_device *pdev) | ^~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_adc.c: In function 'sec_bat_adc_ap_read': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_adc.c:32:6: warning: unused variable 'ret' [-Wunused-variable] 32 | int ret = 0; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_adc.c: In function 'sec_bat_adc_ap_exit': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_adc.c:72:10: warning: 'return' with a value, in function returning void [-Wreturn-type] 72 | return true; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_adc.c:67:13: note: declared here 67 | static void sec_bat_adc_ap_exit(void) | ^~~~~~~~~~~~~~~~~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_adc.c:19:28: warning: 'temp_adc' defined but not used [-Wunused-variable] 19 | static struct iio_channel *temp_adc; | ^~~~~~~~ CC drivers/base/dma-coherent.o CC drivers/battery/sec_dt_init.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_dt_init.c: In function 'sec_bat_dt_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_dt_init.c:1047:23: warning: assignment to 'void (*)(struct sec_battery_info *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 1047 | pdata->initial_check = sec_bat_initial_check; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_dt_init.c: In function 'sec_fg_dt_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_dt_init.c:1241:11: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] 1241 | return ERR_PTR(-EINVAL); | ^~~~~~~~~~~~~~~~ CC drivers/base/dma-buf.o CC fs/binfmt_script.o CC fs/binfmt_elf.o CC drivers/battery/smb358_charger.o CC drivers/base/firmware_class.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/smb358_charger.c: In function 'smb358_charger_function_control': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/smb358_charger.c:1108:1: warning: label 'control_skip' defined but not used [-Wunused-label] 1108 | control_skip: | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/smb358_charger.c:658:11: warning: unused variable 'chgcurrent' [-Wunused-variable] 658 | u8 data, chgcurrent; | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/smb358_charger.c:653:29: warning: unused variable 'chg_mode' [-Wunused-variable] 653 | union power_supply_propval chg_mode; | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/smb358_charger.c: In function 'smb358_get_float_voltage': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/smb358_charger.c:1252:27: warning: unused variable 'charger' [-Wunused-variable] 1252 | struct sec_charger_info *charger = i2c_get_clientdata(client); | ^~~~~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/smb358_charger.c:476:13: warning: 'smb358_aicl_calibrate' defined but not used [-Wunused-function] 476 | static void smb358_aicl_calibrate(struct i2c_client *client) | ^~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/base/firmware_class.c: In function 'fw_pm_notify': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/base/firmware_class.c:1484:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 1484 | printk("*** %s, mode:0x%x done ***\n", __func__, mode); | ~^ ~~~~ | | | | unsigned int long unsigned int | %lx CC drivers/battery/sprd27x3_fuelgauge4samsung.o CC fs/mbcache.o CC drivers/base/module.o CC drivers/battery/sec_fuelgauge.o LD drivers/base/built-in.o CC drivers/block/loop.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_fuelgauge.c: In function 'sec_fuelgauge_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_fuelgauge.c:497:1: warning: label 'err_supply_unreg' defined but not used [-Wunused-label] 497 | err_supply_unreg: | ^~~~~~~~~~~~~~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_fuelgauge.c:264:20: warning: 'sec_fg_irq_thread' defined but not used [-Wunused-function] 264 | static irqreturn_t sec_fg_irq_thread(int irq, void *irq_data) | ^~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/battery/sec_fuelgauge.c:251:13: warning: 'sec_fg_isr_work' defined but not used [-Wunused-function] 251 | static void sec_fg_isr_work(struct work_struct *work) | ^~~~~~~~~~~~~~~ CC fs/coredump.o CC drivers/battery/sprd_2713_fgu.o In file included from arch/arm/include/generated/asm/current.h:1, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/wait.h:8, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmzone.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/gfp.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/slab.h:12, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/fs/coredump.c:1: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/fs/coredump.c: In function 'do_coredump': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/current.h:6:45: warning: passing argument 1 of 'set_dumpTsk' makes integer from pointer without a cast [-Wint-conversion] 6 | #define get_current() (current_thread_info()->task) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | struct task_struct * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/current.h:7:17: note: in expansion of macro 'get_current' 7 | #define current get_current() | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/fs/coredump.c:525:14: note: in expansion of macro 'current' 525 | set_dumpTsk(current); | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/fs/coredump.c:492:22: note: expected 'int' but argument is of type 'struct task_struct *' 492 | void set_dumpTsk(int tsk) | ~~~~^~~ CC drivers/battery/vbat_check.o LD drivers/battery/built-in.o LD drivers/bus/built-in.o CC drivers/cdrom/cdrom.o CC fs/drop_caches.o LD drivers/block/built-in.o CC drivers/char/mem.o LD fs/built-in.o CC sound/sound_core.o CC drivers/char/random.o LD sound/arm/built-in.o LD sound/atmel/built-in.o CC sound/core/compress_offload.o LD drivers/cdrom/built-in.o CC drivers/clk/clk-devres.o CC drivers/char/misc.o CC sound/core/hwdep.o CC drivers/clk/clkdev.o LD drivers/char/built-in.o CC drivers/clocksource/clksrc-of.o CC drivers/clocksource/mmio.o CC drivers/clk/clk.o CC sound/core/memalloc.o LD drivers/clocksource/built-in.o CC sound/drivers/saudio.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c: In function 'saudio_clear_cmd': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:218:6: warning: unused variable 'i' [-Wunused-variable] 218 | int i = 0; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c: In function 'snd_card_saudio_pcm_open': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:385:13: warning: passing argument 1 of 'mutex_lock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 385 | mutex_lock(&saudio->mutex); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kref.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:24, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/platform_device.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mutex.h:155:38: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' 155 | extern void mutex_lock(struct mutex *lock); | ~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:387:16: warning: passing argument 1 of 'mutex_unlock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 387 | mutex_unlock(&saudio->mutex); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kref.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:24, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/platform_device.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mutex.h:172:40: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' 172 | extern void mutex_unlock(struct mutex *lock); | ~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:391:15: warning: passing argument 1 of 'mutex_unlock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 391 | mutex_unlock(&saudio->mutex); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kref.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:24, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/platform_device.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mutex.h:172:40: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' 172 | extern void mutex_unlock(struct mutex *lock); | ~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c: In function 'snd_card_saudio_pcm_close': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:445:13: warning: passing argument 1 of 'mutex_lock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 445 | mutex_lock(&saudio->mutex); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kref.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:24, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/platform_device.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mutex.h:155:38: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' 155 | extern void mutex_lock(struct mutex *lock); | ~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:447:16: warning: passing argument 1 of 'mutex_unlock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 447 | mutex_unlock(&saudio->mutex); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kref.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:24, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/platform_device.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mutex.h:172:40: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' 172 | extern void mutex_unlock(struct mutex *lock); | ~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:451:15: warning: passing argument 1 of 'mutex_unlock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 451 | mutex_unlock(&saudio->mutex); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kref.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:24, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/platform_device.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mutex.h:172:40: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' 172 | extern void mutex_unlock(struct mutex *lock); | ~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c: In function 'snd_card_saudio_pcm_prepare': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:564:13: warning: passing argument 1 of 'mutex_lock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 564 | mutex_lock(&saudio->mutex); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kref.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:24, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/platform_device.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mutex.h:155:38: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' 155 | extern void mutex_lock(struct mutex *lock); | ~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:566:16: warning: passing argument 1 of 'mutex_unlock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 566 | mutex_unlock(&saudio->mutex); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kref.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:24, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/platform_device.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mutex.h:172:40: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' 172 | extern void mutex_unlock(struct mutex *lock); | ~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:570:15: warning: passing argument 1 of 'mutex_unlock' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 570 | mutex_unlock(&saudio->mutex); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kref.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:24, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/platform_device.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mutex.h:172:40: note: expected 'struct mutex *' but argument is of type 'const struct mutex *' 172 | extern void mutex_unlock(struct mutex *lock); | ~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c: In function 'snd_saudio_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:1294:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'const char *' [-Wformat=] 1294 | printk("saudio: %s: %s is %d\n", __func__, __func__, saudio_dst_id, id); | ~^ ~~~~~~~~~~~~~ | | | | int const char * | %s /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:1294:11: warning: too many arguments for format [-Wformat-extra-args] 1294 | printk("saudio: %s: %s is %d\n", __func__, __func__, saudio_dst_id, id); | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:1305:10: warning: too many arguments for format [-Wformat-extra-args] 1305 | printk("saudio: %s: %s is %s\n", __func__, __func__, saudio_names, name); | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:1273:15: warning: unused variable 'thread_id' [-Wunused-variable] 1273 | static pid_t thread_id = (pid_t) - 1; | ^~~~~~~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/drivers/saudio.c:1273:15: warning: 'thread_id' defined but not used [-Wunused-variable] CC sound/core/pcm.o CC drivers/clk/clk-divider.o LD sound/drivers/mpu401/built-in.o LD sound/drivers/opl3/built-in.o LD sound/drivers/opl4/built-in.o LD sound/drivers/pcsp/built-in.o LD sound/drivers/vx/built-in.o LD sound/drivers/built-in.o LD sound/firewire/built-in.o LD sound/i2c/other/built-in.o LD sound/i2c/built-in.o LD sound/isa/ad1816a/built-in.o LD sound/isa/ad1848/built-in.o LD sound/isa/cs423x/built-in.o CC drivers/clk/clk-fixed-factor.o LD sound/isa/es1688/built-in.o LD sound/isa/galaxy/built-in.o LD sound/isa/gus/built-in.o LD sound/isa/msnd/built-in.o LD sound/isa/opti9xx/built-in.o LD sound/isa/sb/built-in.o LD sound/isa/wavefront/built-in.o CC drivers/clk/clk-fixed-rate.o LD sound/isa/wss/built-in.o LD sound/isa/built-in.o CC sound/core/pcm_native.o LD sound/mips/built-in.o LD sound/parisc/built-in.o CC drivers/clk/clk-gate.o LD sound/pci/ac97/built-in.o LD sound/pci/ali5451/built-in.o LD sound/pci/asihpi/built-in.o LD sound/pci/au88x0/built-in.o LD sound/pci/aw2/built-in.o LD sound/pci/ca0106/built-in.o LD sound/pci/cs46xx/built-in.o LD sound/pci/cs5535audio/built-in.o LD sound/pci/ctxfi/built-in.o LD sound/pci/echoaudio/built-in.o CC drivers/clk/clk-mux.o LD sound/pci/emu10k1/built-in.o LD sound/pci/hda/built-in.o LD sound/pci/ice1712/built-in.o LD sound/pci/korg1212/built-in.o LD sound/pci/lola/built-in.o CC drivers/clk/clk-composite.o LD sound/pci/lx6464es/built-in.o LD sound/pci/mixart/built-in.o LD sound/pci/nm256/built-in.o LD sound/pci/oxygen/built-in.o LD sound/pci/pcxhr/built-in.o LD sound/pci/riptide/built-in.o CC drivers/clk/clk-sc.o LD sound/pci/rme9652/built-in.o LD sound/pci/trident/built-in.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/clk/clk-sc.c:214: warning: "BITS_MPLL_REFIN" redefined 214 | #define BITS_MPLL_REFIN(_X_) ( (_X_) << 24 & (BIT(24)|BIT(25)) ) | In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/sci_glb_regs.h:48, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/clk/clk-sc.c:25: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_aon_apb_tshark2.h:312: note: this is the location of the previous definition 312 | #define BITS_MPLL_REFIN(_X_) ((_X_) << 24 & (BIT(24)|BIT(25))) | LD sound/pci/vx222/built-in.o LD sound/pci/ymfpci/built-in.o LD sound/pci/built-in.o LD sound/pcmcia/pdaudiocf/built-in.o LD sound/pcmcia/vx/built-in.o LD sound/pcmcia/built-in.o LD sound/ppc/built-in.o LD sound/sh/built-in.o CC sound/soc/soc-core.o CC sound/core/pcm_lib.o CC sound/core/pcm_timer.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/soc-core.c: In function 'fmt_single_name': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/soc-core.c:3726:35: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 3726 | snprintf(tmp, NAME_SIZE, "%s.%s", dev->driver->name, name); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/soc-core.c:3726:4: note: 'snprintf' output 2 or more bytes (assuming 33) into a destination of size 32 3726 | snprintf(tmp, NAME_SIZE, "%s.%s", dev->driver->name, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC sound/core/pcm_misc.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/clk/clk-sc.c:214: warning: "BITS_MPLL_REFIN" redefined 214 | #define BITS_MPLL_REFIN(_X_) ( (_X_) << 24 & (BIT(24)|BIT(25)) ) | In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/sci_glb_regs.h:48, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/clk/clk-sc.c:25: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_aon_apb_tshark2.h:312: note: this is the location of the previous definition 312 | #define BITS_MPLL_REFIN(_X_) ((_X_) << 24 & (BIT(24)|BIT(25))) | CC sound/core/pcm_memory.o LD drivers/clk/built-in.o CC drivers/cpufreq/cpufreq.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpufreq/cpufreq.c: In function '__cpufreq_remove_dev': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dynamic_debug.h:70:13: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'struct cpufreq_policy *' [-Wformat=] 70 | .lineno = __LINE__, \ | ^~~~~~~~ : note: in definition of macro 'KBUILD_STR' /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 76 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug' 240 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpufreq/cpufreq.c:1122:3: note: in expansion of macro 'pr_debug' 1122 | pr_debug("%s: removing link, cpu: %d policy[%d] %x\n", __func__, cpu,data->cpu,data); | ^~~~~~~~ CC sound/core/rawmidi.o CC sound/soc/soc-dapm.o CC drivers/cpufreq/cpufreq_stats.o CC sound/core/timer.o CC drivers/cpufreq/cpufreq_limit.o CC drivers/cpufreq/cpufreq_performance.o CC drivers/cpufreq/cpufreq_interactive.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpufreq/cpufreq_interactive.c: In function 'show_target_loads': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpufreq/cpufreq_interactive.c:745:6: warning: operation on 'ret' may be undefined [-Wsequence-point] 745 | ret += sprintf(buf + --ret, "\n"); | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpufreq/cpufreq_interactive.c: In function 'show_above_hispeed_delay': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpufreq/cpufreq_interactive.c:788:6: warning: operation on 'ret' may be undefined [-Wsequence-point] 788 | ret += sprintf(buf + --ret, "\n"); | ^~ CC sound/soc/soc-jack.o CC sound/core/sound.o CC drivers/cpufreq/freq_table.o CC sound/core/init.o CC sound/soc/soc-cache.o LD drivers/cpufreq/built-in.o CC drivers/cpuhotplug/sprd_hotplug.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:259:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 259 | static void sprd_unplug_one_cpu_ss() | ^~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c: In function 'sd_unplug_avg_load11': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:408:6: warning: unused variable 'idx' [-Wunused-variable] 408 | int idx = 0; | ^~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/irqflags.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:27, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cache.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/cputime.h:4, from arch/arm/include/generated/asm/cputime.h:1, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cpufreq.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:1: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c: In function 'sd_check_cpu_sprd': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast 11 | (void)(&__dummy == &__dummy2); \ | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/jiffies.h:102:3: note: in expansion of macro 'typecheck' 102 | (typecheck(unsigned long, a) && \ | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/jiffies.h:105:26: note: in expansion of macro 'time_after' 105 | #define time_before(a,b) time_after(b,a) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:561:5: note: in expansion of macro 'time_before' 561 | if(time_before(jiffies, boot_done)) | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:558:27: warning: unused variable 'puwi' [-Wunused-variable] 558 | struct unplug_work_info *puwi; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:641:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 641 | void dbs_check_cpu_sprd() | ^~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cache.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/cputime.h:4, from arch/arm/include/generated/asm/cputime.h:1, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cpufreq.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:1: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c: In function 'dbs_check_cpu_sprd': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:680:12: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'unsigned int' [-Wformat=] 680 | pr_debug("***[cpu %d]cur_idle_time %lld prev_cpu_idle %lld cur_wall_time %lld prev_cpu_wall %lld wall_time %ld idle_time %ld load %ld\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:206:21: note: in definition of macro 'pr_fmt' 206 | #define pr_fmt(fmt) fmt | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug' 240 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:680:3: note: in expansion of macro 'pr_debug' 680 | pr_debug("***[cpu %d]cur_idle_time %lld prev_cpu_idle %lld cur_wall_time %lld prev_cpu_wall %lld wall_time %ld idle_time %ld load %ld\n", | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:680:112: note: format string is defined here 680 | pr_debug("***[cpu %d]cur_idle_time %lld prev_cpu_idle %lld cur_wall_time %lld prev_cpu_wall %lld wall_time %ld idle_time %ld load %ld\n", | ~~^ | | | long int | %d In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cache.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/cputime.h:4, from arch/arm/include/generated/asm/cputime.h:1, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cpufreq.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:1: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:680:12: warning: format '%ld' expects argument of type 'long int', but argument 9 has type 'unsigned int' [-Wformat=] 680 | pr_debug("***[cpu %d]cur_idle_time %lld prev_cpu_idle %lld cur_wall_time %lld prev_cpu_wall %lld wall_time %ld idle_time %ld load %ld\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:206:21: note: in definition of macro 'pr_fmt' 206 | #define pr_fmt(fmt) fmt | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug' 240 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:680:3: note: in expansion of macro 'pr_debug' 680 | pr_debug("***[cpu %d]cur_idle_time %lld prev_cpu_idle %lld cur_wall_time %lld prev_cpu_wall %lld wall_time %ld idle_time %ld load %ld\n", | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:680:126: note: format string is defined here 680 | pr_debug("***[cpu %d]cur_idle_time %lld prev_cpu_idle %lld cur_wall_time %lld prev_cpu_wall %lld wall_time %ld idle_time %ld load %ld\n", | ~~^ | | | long int | %d In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cache.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/cputime.h:4, from arch/arm/include/generated/asm/cputime.h:1, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cpufreq.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:1: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:680:12: warning: format '%ld' expects argument of type 'long int', but argument 10 has type 'unsigned int' [-Wformat=] 680 | pr_debug("***[cpu %d]cur_idle_time %lld prev_cpu_idle %lld cur_wall_time %lld prev_cpu_wall %lld wall_time %ld idle_time %ld load %ld\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:206:21: note: in definition of macro 'pr_fmt' 206 | #define pr_fmt(fmt) fmt | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug' 240 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:680:3: note: in expansion of macro 'pr_debug' 680 | pr_debug("***[cpu %d]cur_idle_time %lld prev_cpu_idle %lld cur_wall_time %lld prev_cpu_wall %lld wall_time %ld idle_time %ld load %ld\n", | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:680:135: note: format string is defined here 680 | pr_debug("***[cpu %d]cur_idle_time %lld prev_cpu_idle %lld cur_wall_time %lld prev_cpu_wall %lld wall_time %ld idle_time %ld load %ld\n", | ~~^ | | | long int | %d In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/irqflags.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:27, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cache.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/cputime.h:4, from arch/arm/include/generated/asm/cputime.h:1, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cpufreq.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:1: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c: In function 'sprd_hotplug': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast 11 | (void)(&__dummy == &__dummy2); \ | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/jiffies.h:102:3: note: in expansion of macro 'typecheck' 102 | (typecheck(unsigned long, a) && \ | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/jiffies.h:105:26: note: in expansion of macro 'time_after' 105 | #define time_before(a,b) time_after(b,a) | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:782:7: note: in expansion of macro 'time_before' 782 | if (time_before(jiffies, boot_done)) | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c: In function 'store_cpu_hotplug_disable': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:1102:22: warning: unused variable 'cpu' [-Wunused-variable] 1102 | unsigned int input, cpu; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c: In function 'sprd_hotplug_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:1302:10: warning: 'return' with a value, in function returning void [-Wreturn-type] 1302 | return -EFAULT; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:1272:20: note: declared here 1272 | static void __init sprd_hotplug_init(void) | ^~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cache.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/cputime.h:4, from arch/arm/include/generated/asm/cputime.h:1, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cpufreq.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:1: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:1327:13: warning: initialization of 'initcall_t' {aka 'int (*)(void)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 1327 | module_init(sprd_hotplug_init); | ^~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/init.h:180:58: note: in definition of macro '__define_initcall' 180 | __attribute__((__section__(".initcall" #id ".init"))) = fn | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/init.h:214:24: note: in expansion of macro 'device_initcall' 214 | #define __initcall(fn) device_initcall(fn) | ^~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/init.h:268:24: note: in expansion of macro '__initcall' 268 | #define module_init(x) __initcall(x); | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:1327:1: note: in expansion of macro 'module_init' 1327 | module_init(sprd_hotplug_init); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:171:21: warning: 'cpufreq_max_limit' defined but not used [-Wunused-variable] 171 | static unsigned int cpufreq_max_limit = 0; | ^~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuhotplug/sprd_hotplug.c:170:21: warning: 'cpufreq_min_limit' defined but not used [-Wunused-variable] 170 | static unsigned int cpufreq_min_limit = ULONG_MAX; | ^~~~~~~~~~~~~~~~~ CC sound/core/memory.o CC sound/soc/soc-utils.o LD drivers/cpuhotplug/built-in.o CC drivers/cpuidle/cpuidle.o CC sound/core/info.o CC sound/soc/soc-pcm.o CC drivers/cpuidle/driver.o CC drivers/cpuidle/governor.o CC sound/core/control.o CC drivers/cpuidle/sysfs.o CC drivers/cpuidle/governors/ladder.o CC drivers/cpuidle/governors/menu.o CC sound/soc/soc-compress.o CC sound/core/misc.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/cpuidle/governors/menu.c:129:12: warning: 'get_loadavg' defined but not used [-Wunused-function] 129 | static int get_loadavg(void) | ^~~~~~~~~~~ LD drivers/cpuidle/governors/built-in.o LD drivers/cpuidle/built-in.o LD drivers/crypto/built-in.o LD drivers/firewire/built-in.o LD drivers/firmware/built-in.o CC sound/core/device.o CC drivers/gpio/devres.o CC sound/soc/soc-io.o CC drivers/gpio/gpiolib.o CC sound/core/jack.o LD sound/soc/atmel/built-in.o LD sound/soc/au1x/built-in.o LD sound/soc/blackfin/built-in.o LD sound/core/snd.o LD sound/soc/cirrus/built-in.o LD sound/soc/codecs/built-in.o LD sound/core/snd-hwdep.o LD sound/soc/davinci/built-in.o LD sound/core/snd-timer.o LD sound/soc/dwc/built-in.o LD sound/core/snd-pcm.o LD sound/soc/fsl/built-in.o LD sound/soc/generic/built-in.o LD sound/core/snd-page-alloc.o LD sound/soc/jz4740/built-in.o LD sound/core/snd-rawmidi.o LD sound/soc/kirkwood/built-in.o LD sound/core/snd-compress.o LD sound/soc/mid-x86/built-in.o LD sound/soc/mxs/built-in.o LD sound/core/built-in.o LD sound/soc/nuc900/built-in.o LD sound/soc/omap/built-in.o LD sound/sparc/built-in.o LD sound/soc/pxa/built-in.o CC drivers/gpio/gpiolib-of.o LD sound/soc/s6000/built-in.o LD sound/soc/samsung/built-in.o LD sound/soc/sh/built-in.o CC sound/soc/sprd/i2s-r0p0-null-codec.o CC drivers/gpio/secgpio_dvs.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/i2s-r0p0-null-codec.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/sprd-asoc-common.h:39:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] 39 | static const char *codec_hw_info[] = | ^~~~~~~~~~~~~ CC sound/soc/sprd/sprd-asoc-common.o CC drivers/gpio/secgpio_dvs_sc77xx.o LD sound/spi/built-in.o LD sound/synth/built-in.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/sprd-asoc-common.c:34: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/sprd-asoc-common.h:39:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] 39 | static const char *codec_hw_info[] = | ^~~~~~~~~~~~~ CC sound/usb/card.o CC drivers/gpio/gpio-eic.o CC sound/soc/sprd/sprd-asoc-card.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c: In function 'd_read_reg': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:101:21: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 101 | return __raw_readl(addr); | ^~~~ | | | uint32_t {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c: In function 'd_write_reg': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:106:22: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 106 | __raw_writel(value, addr); | ^~~~ | | | uint32_t {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c: In function 'd_set_bits': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:111:27: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 111 | __raw_writel(__raw_readl(addr) | bits, addr); | ^~~~ | | | uint32_t {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:111:41: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 111 | __raw_writel(__raw_readl(addr) | bits, addr); | ^~~~ | | | uint32_t {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c: In function 'd_clr_bits': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:116:27: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 116 | __raw_writel(__raw_readl(addr) & ~bits, addr); | ^~~~ | | | uint32_t {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:116:42: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 116 | __raw_writel(__raw_readl(addr) & ~bits, addr); | ^~~~ | | | uint32_t {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c: In function 'eic_gpio_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:666:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 666 | match = of_match_device(eic_gpio_match_table, &pdev->dev); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:667:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 667 | match_data = match->data; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:692:41: warning: passing argument 3 of 'of_property_read_u32' from incompatible pointer type [-Wincompatible-pointer-types] 692 | if (of_property_read_u32(np, "ngpios", &sgc->chip.ngpio)) { | ^~~~~~~~~~~~~~~~ | | | u16 * {aka short unsigned int *} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/gpio.h:7, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/gpio.h:59, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/gpio.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/gpio.h:45, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of.h:557:17: note: expected 'u32 *' {aka 'unsigned int *'} but argument is of type 'u16 *' {aka 'short unsigned int *'} 557 | u32 *out_value) | ~~~~~^~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/platform_device.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:20: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:702:23: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'uint32_t' {aka 'unsigned int'} [-Wformat=] 702 | dev_info(&pdev->dev, "base_addr %p, gpio base %d, ngpio %d, irq %d", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 703 | sgc->base_addr, sgc->chip.base, sgc->chip.ngpio, irq); | ~~~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:1014:51: note: in definition of macro 'dev_info' 1014 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:702:35: note: format string is defined here 702 | dev_info(&pdev->dev, "base_addr %p, gpio base %d, ngpio %d, irq %d", \ | ~^ | | | void * | %d /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c: In function 'eic_gpio_remove': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:736:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 736 | match = of_match_device(eic_gpio_match_table, &pdev->dev); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:737:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 737 | match_data = match->data; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c: In function 'eic_gpio_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpio/gpio-eic.c:714:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result] 714 | gpiochip_remove(&sgc->chip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/sprd-asoc-card.c:26: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/sprd-asoc-common.h:39:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] 39 | static const char *codec_hw_info[] = | ^~~~~~~~~~~~~ CC sound/usb/clock.o LD drivers/gpio/built-in.o LD drivers/gpu/drm/i2c/built-in.o LD drivers/gpu/drm/built-in.o CC drivers/gpu/ion/ion.o CC sound/soc/sprd/codec/null-codec/null-codec.o CC sound/usb/endpoint.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/ion.c: In function 'ion_handle_add': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/ion.c:445:3: warning: 'idr_pre_get' is deprecated [-Wdeprecated-declarations] 445 | rc = idr_pre_get(&client->idr, GFP_KERNEL); | ^~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/ion.c:38: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/idr.h:151:32: note: declared here 151 | static inline int __deprecated idr_pre_get(struct idr *idp, gfp_t gfp_mask) | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/ion.c:448:3: warning: 'idr_get_new_above' is deprecated [-Wdeprecated-declarations] 448 | rc = idr_get_new_above(&client->idr, handle, 1, &id); | ^~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/ion.c:38: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/idr.h:166:32: note: declared here 166 | static inline int __deprecated idr_get_new_above(struct idr *idp, void *ptr, | ^~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/ion.c: In function 'ion_debug_client_show': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/ion.c:771:23: warning: unknown conversion type character ':' in format [-Wformat=] 771 | seq_printf(s, "%32.32: %32.32s\n", "heap_name", "size_in_bytes"); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/ion.c:771:16: warning: too many arguments for format [-Wformat-extra-args] 771 | seq_printf(s, "%32.32: %32.32s\n", "heap_name", "size_in_bytes"); | ^~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/ion.c: In function 'ion_client_destroy': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/ion.c:867:2: warning: 'idr_remove_all' is deprecated [-Wdeprecated-declarations] 867 | idr_remove_all(&client->idr); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/ion.c:38: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/idr.h:193:33: note: declared here 193 | static inline void __deprecated idr_remove_all(struct idr *idp) | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/null-codec/null-codec.c:36: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/sprd-asoc-common.h:39:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] 39 | static const char *codec_hw_info[] = | ^~~~~~~~~~~~~ LD sound/soc/sprd/codec/null-codec/snd-soc-sprd-null-codec.o LD sound/soc/sprd/codec/null-codec/built-in.o CC sound/soc/sprd/codec/sprd/v4/sprd-codec.o CC sound/usb/format.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_auxadc_en': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:596:6: warning: unused variable 'val' [-Wunused-variable] 596 | int val; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:595:6: warning: unused variable 'mask' [-Wunused-variable] 595 | int mask; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function '_mixer_adc_linein_mute_nolock': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:870:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 870 | struct sprd_codec_priv *sprd_codec = snd_soc_codec_get_drvdata(codec); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function '_mixer_linein_speaker_mute_nolock': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:889:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 889 | struct sprd_codec_priv *sprd_codec = snd_soc_codec_get_drvdata(codec); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function '_mixer_linein_headphone_mute_nolock': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:902:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 902 | struct sprd_codec_priv *sprd_codec = snd_soc_codec_get_drvdata(codec); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function '_mixer_linein_hpcg_mute_nolock': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:920:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 920 | struct sprd_codec_priv *sprd_codec = snd_soc_codec_get_drvdata(codec); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_hp_pa_lpw': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1496:26: warning: unused variable 'sprd_codec' [-Wunused-variable] 1496 | struct sprd_codec_priv *sprd_codec = snd_soc_codec_get_drvdata(codec); | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_hp_pa_mode': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1536:26: warning: unused variable 'sprd_codec' [-Wunused-variable] 1536 | struct sprd_codec_priv *sprd_codec = snd_soc_codec_get_drvdata(codec); | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_hp_pa_osc': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1565:26: warning: unused variable 'sprd_codec' [-Wunused-variable] 1565 | struct sprd_codec_priv *sprd_codec = snd_soc_codec_get_drvdata(codec); | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_hp_pa_hpl_mute': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1672:6: warning: unused variable 'val' [-Wunused-variable] 1672 | int val; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1671:6: warning: unused variable 'mask' [-Wunused-variable] 1671 | int mask; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_hp_pa_hpr_mute': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1686:6: warning: unused variable 'val' [-Wunused-variable] 1686 | int val; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1685:6: warning: unused variable 'mask' [-Wunused-variable] 1685 | int mask; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_inter_headphone_pa_pre': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1787:27: warning: unused variable 'regulator_reg' [-Wunused-variable] 1787 | static struct regulator *regulator_reg= 0; | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1784:33: warning: unused variable 'p_setting' [-Wunused-variable] 1784 | struct sprd_codec_inter_hp_pa *p_setting = | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1783:27: warning: unused variable 'regulator' [-Wunused-variable] 1783 | static struct regulator *regulator = 0; | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1782:24: warning: unused variable 'codec' [-Wunused-variable] 1782 | struct snd_soc_codec *codec = sprd_codec->codec; | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:48: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'classg_cal_valid_check': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.h:564:21: warning: conversion from 'long unsigned int' to 'short unsigned int' changes value from '4114548316' to '1628' [-Woverflow] 564 | #define ANA_CDC16 (SPRD_CODEC_AP_BASE + 0x005C) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1979:29: note: in expansion of macro 'ANA_CDC16' 1979 | snd_soc_update_bits(codec, ANA_CDC16, | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1968:20: warning: unused variable 'mask' [-Wunused-variable] 1968 | unsigned int val, mask; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_analog_open': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:2194:11: warning: unused variable 'mask' [-Wunused-variable] 2194 | uint32_t mask = 0; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:2193:11: warning: unused variable 'val' [-Wunused-variable] 2193 | uint32_t val = 0; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_adc_clock_input_en': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:2269:26: warning: unused variable 'sprd_codec' [-Wunused-variable] 2269 | struct sprd_codec_priv *sprd_codec = snd_soc_codec_get_drvdata(codec); | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'hp_switch_event': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:2579:33: warning: unused variable 'p_setting' [-Wunused-variable] 2579 | struct sprd_codec_inter_hp_pa *p_setting = | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_linein_mute_put': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:3685:6: warning: unused variable 'i' [-Wunused-variable] 3685 | int i = 0; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_linein_speaker_mute_put': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:3734:6: warning: unused variable 'i' [-Wunused-variable] 3734 | int i = 0; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: In function 'sprd_codec_linein_headphone_mute_put': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:3783:6: warning: unused variable 'i' [-Wunused-variable] 3783 | int i = 0; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:4009: warning: "SPRD_CODEC_PGA_MAX" redefined 4009 | #define SPRD_CODEC_PGA_MAX(xname, xreg, max, tlv_array) \ | /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:150: note: this is the location of the previous definition 150 | #define SPRD_CODEC_PGA_MAX (SPRD_CODEC_PGA_END - SPRD_CODEC_PGA_START) | /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1783:27: warning: 'regulator' defined but not used [-Wunused-variable] 1783 | static struct regulator *regulator = 0; | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-codec.c:1787:27: warning: 'regulator_reg' defined but not used [-Wunused-variable] 1787 | static struct regulator *regulator_reg= 0; | ^~~~~~~~~~~~~ CC drivers/gpu/ion/ion_heap.o CC sound/usb/helper.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/ion_heap.c: In function '_ion_heap_freelist_drain': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/ion_heap.c:211:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 211 | if (skip_pools) | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/ion_heap.c:213:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 213 | total_drained += buffer->size; | ^~~~~~~~~~~~~ CC sound/usb/mixer.o CC drivers/gpu/ion/ion_page_pool.o CC drivers/gpu/ion/ion_system_heap.o CC sound/soc/sprd/codec/sprd/v4/sprd-audio-power.o CC sound/usb/mixer_quirks.o CC drivers/gpu/ion/ion_carveout_heap.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-audio-power.c:282:18: warning: 'VPA_VSEL_table' defined but not used [-Wunused-const-variable=] 282 | static const u16 VPA_VSEL_table[] = { | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/codec/sprd/v4/sprd-audio-power.c:33: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/sprd-asoc-common.h:39:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] 39 | static const char *codec_hw_info[] = | ^~~~~~~~~~~~~ CC drivers/gpu/ion/ion_chunk_heap.o LD sound/soc/sprd/codec/sprd/v4/snd-soc-sprd-sprd-codec-v4.o LD sound/soc/sprd/codec/sprd/v4/built-in.o CC sound/soc/sprd/dai/sprd-pcm.o CC sound/usb/pcm.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/sprd-pcm.c:45: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/sprd-asoc-common.h:39:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] 39 | static const char *codec_hw_info[] = | ^~~~~~~~~~~~~ CC drivers/gpu/ion/ion_cma_heap.o CC drivers/gpu/ion/sprd/sprd_ion.o LD sound/soc/sprd/dai/snd-soc-sprd-audio-dma.o LD sound/soc/sprd/dai/built-in.o CC sound/soc/sprd/dai/i2s/i2s.o CC sound/usb/proc.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/i2s/i2s.c: In function 'i2s_startup': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/i2s/i2s.c:612:25: warning: initialization of 'struct i2s_priv *' from incompatible pointer type 'struct i2s_dai *' [-Wincompatible-pointer-types] 612 | struct i2s_priv *i2s = to_info(dai); | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/i2s/i2s.c: In function 'i2s_drv_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/i2s/i2s.c:884:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 884 | const char *dai_name = NULL; | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/i2s/i2s.c:42: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/sprd-asoc-common.h:39:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] 39 | static const char *codec_hw_info[] = | ^~~~~~~~~~~~~ CC drivers/gpu/ion/sprd/sprd_ion_cma_heap.o CC sound/usb/quirks.o LD sound/soc/sprd/dai/i2s/snd-soc-sprd-i2s.o LD sound/soc/sprd/dai/i2s/built-in.o CC sound/soc/sprd/dai/vaudio/vaudio.o CC drivers/gpu/ion/sprd/sprd_fence.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/sprd/sprd_fence.h:19, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/sprd/sprd_fence.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/sync.h:71:27: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration 71 | void (*print_obj)(struct seq_file *s, | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/sync.h:75:26: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration 75 | void (*print_pt)(struct seq_file *s, struct sync_pt *sync_pt); | ^~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/vaudio/vaudio.c:38: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/sprd-asoc-common.h:39:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] 39 | static const char *codec_hw_info[] = | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/sprd/sprd_fence.c: In function 'sprd_fence_signal': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/ion/sprd/sprd_fence.c:403:29: warning: unused variable 'device_type' [-Wunused-variable] 403 | enum SPRD_DEVICE_SYNC_TYPE device_type= SPRD_DEVICE_PRIMARY_SYNC; | ^~~~~~~~~~~ LD sound/soc/sprd/dai/vaudio/snd-soc-sprd-vaudio.o LD sound/soc/sprd/dai/vaudio/built-in.o CC sound/soc/sprd/dai/vbc/r2p0/vbc.o CC sound/usb/stream.o LD drivers/gpu/ion/sprd/built-in.o LD drivers/gpu/ion/built-in.o CC drivers/gpu/sprd_iommu/sprd_iommu_sysfs.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/vbc/r2p0/vbc.c:728: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c: In function 'vbc_eq_reg_apply': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c:1531:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 1531 | effect_paras = &vbc_da_eq_profile_default; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c:1547:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 1547 | effect_paras = &vbc_da_eq_profile_default; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c: In function 'vbc_eq_profile_close': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c:1655:10: warning: passing argument 2 of 'vbc_eq_profile_apply' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 1655 | &vbc_da_eq_profile_default, vbc_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c:1642:69: note: expected 'void *' but argument is of type 'const u32 (*)[164]' {aka 'const unsigned int (*)[164]'} 1642 | static void vbc_eq_profile_apply(struct snd_soc_codec *codec, void *data, | ~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c:1660:10: warning: passing argument 2 of 'vbc_eq_profile_apply' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 1660 | &vbc_ad_eq_profile_default, vbc_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/vbc/r2p0/vbc-codec.c:1642:69: note: expected 'void *' but argument is of type 'const u32 (*)[88]' {aka 'const unsigned int (*)[88]'} 1642 | static void vbc_eq_profile_apply(struct snd_soc_codec *codec, void *data, | ~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/dai/vbc/r2p0/vbc.c:41: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/sound/soc/sprd/sprd-asoc-common.h:39:20: warning: 'codec_hw_info' defined but not used [-Wunused-variable] 39 | static const char *codec_hw_info[] = | ^~~~~~~~~~~~~ CC drivers/gpu/sprd_iommu/sprd_iommu_common.o CC sound/usb/midi.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/sprd_iommu_common.c: In function 'sprd_iommu_clear_pgt': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/sprd_iommu_common.c:41:32: warning: initialization of 'unsigned int *' from 'long unsigned int' makes pointer from integer without a cast [-Wint-conversion] 41 | unsigned int *pa_fault_page = (__pa(dev->fault_page) | 0xFFF); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/sprd_iommu_common.c:45:62: warning: assignment to 'unsigned int' from 'unsigned int *' makes integer from pointer without a cast [-Wint-conversion] 45 | *((unsigned int *)(pgt_base) + SPRD_IOMMU_PTE_ENTRY(iova)) = pa_fault_page; | ^ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:6, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cache.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/stat.h:18, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/module.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/sprd_iommu_common.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/sprd_iommu_common.c:1: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/sprd_iommu_common.c: In function 'sprd_iommu_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 4 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' 13 | #define KERN_INFO KERN_SOH "6" /* informational */ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:223:9: note: in expansion of macro 'KERN_INFO' 223 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/sprd_iommu_common.c:77:2: note: in expansion of macro 'pr_info' 77 | pr_info("sprd_iommu %s fault_pa = 0x%x\n", dev->init_data->name, dev->fault_page); | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/sprd_iommu_common.c:77:39: note: format string is defined here 77 | pr_info("sprd_iommu %s fault_pa = 0x%x\n", dev->init_data->name, dev->fault_page); | ~^ | | | unsigned int | %lx /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/sprd_iommu_common.c:82:34: warning: initialization of 'long unsigned int *' from 'long unsigned int' makes pointer from integer without a cast [-Wint-conversion] 82 | unsigned long *pa_fault_page = (__pa(dev->fault_page) | 0xFFF); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/sprd_iommu_common.c:84:41: warning: assignment to 'long unsigned int' from 'long unsigned int *' makes integer from pointer without a cast [-Wint-conversion] 84 | ((unsigned long *)data->pgt_base)[i] = pa_fault_page; | ^ CC drivers/gpu/sprd_iommu/sprd_iommu_drv.o LD sound/soc/sprd/dai/vbc/r2p0/snd-soc-sprd-vbc-r2p0.o LD sound/soc/sprd/dai/vbc/r2p0/built-in.o LD sound/soc/sprd/snd-soc-i2s.o CC drivers/gpu/sprd_iommu/gsp/sprd_iommu_gsp.o LD sound/soc/sprd/built-in.o LD sound/soc/tegra/built-in.o LD sound/usb/6fire/built-in.o LD sound/usb/caiaq/built-in.o LD sound/soc/txx9/built-in.o LD sound/soc/ux500/built-in.o LD sound/usb/misc/built-in.o LD sound/usb/usx2y/built-in.o LD sound/soc/snd-soc-core.o LD sound/usb/snd-usb-audio.o LD sound/usb/snd-usbmidi-lib.o LD sound/soc/built-in.o LD sound/usb/built-in.o CC sound/last.o LD drivers/gpu/vga/built-in.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/gsp/sprd_iommu_gsp.c:383:8: warning: initialization of 'int (*)(struct sprd_iommu_dev *)' from incompatible pointer type 'void (*)(struct sprd_iommu_dev *)' [-Wincompatible-pointer-types] 383 | .open=sprd_iommu_gsp_open, | ^~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/gsp/sprd_iommu_gsp.c:383:8: note: (near initialization for 'iommu_gsp_ops.open') /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/gsp/sprd_iommu_gsp.c:384:11: warning: initialization of 'int (*)(struct sprd_iommu_dev *)' from incompatible pointer type 'void (*)(struct sprd_iommu_dev *)' [-Wincompatible-pointer-types] 384 | .release=sprd_iommu_gsp_release, | ^~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/gsp/sprd_iommu_gsp.c:384:11: note: (near initialization for 'iommu_gsp_ops.release') LD sound/soundcore.o LD drivers/gpu/sprd_iommu/gsp/built-in.o CC drivers/gpu/sprd_iommu/mm/sprd_iommu_mm.o CC drivers/hid/hid-lg.o LD sound/built-in.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/mm/sprd_iommu_mm.c: In function 'sprd_iommu_mm_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/mm/sprd_iommu_mm.c:82:18: warning: extra tokens at end of #ifdef directive 82 | #ifdef CONFIG_OF && CONFIG_COMMON_CLK | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/mm/sprd_iommu_mm.c: In function 'sprd_iommu_mm_disable': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/mm/sprd_iommu_mm.c:280:15: warning: assignment to 'int *' from 'long unsigned int' makes pointer from integer without a cast [-Wint-conversion] 280 | for(i = 0, p = dev->fault_page; i < PAGE_SIZE/sizeof(unsigned long); i++) { | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/mm/sprd_iommu_mm.c: In function 'sprd_iommu_mm_enable': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/mm/sprd_iommu_mm.c:320:34: warning: initialization of 'long unsigned int *' from 'long unsigned int' makes pointer from integer without a cast [-Wint-conversion] 320 | unsigned long *pa_fault_page = (__pa(dev->fault_page) | 0xFFF); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/mm/sprd_iommu_mm.c:322:51: warning: assignment to 'long unsigned int' from 'long unsigned int *' makes integer from pointer without a cast [-Wint-conversion] 322 | ((unsigned long *)dev->init_data->pgt_base)[i] = pa_fault_page; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/mm/sprd_iommu_mm.c: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/mm/sprd_iommu_mm.c:351:8: warning: initialization of 'int (*)(struct sprd_iommu_dev *)' from incompatible pointer type 'void (*)(struct sprd_iommu_dev *)' [-Wincompatible-pointer-types] 351 | .open=sprd_iommu_mm_open, | ^~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/mm/sprd_iommu_mm.c:351:8: note: (near initialization for 'iommu_mm_ops.open') /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/mm/sprd_iommu_mm.c:352:11: warning: initialization of 'int (*)(struct sprd_iommu_dev *)' from incompatible pointer type 'void (*)(struct sprd_iommu_dev *)' [-Wincompatible-pointer-types] 352 | .release=sprd_iommu_mm_release, | ^~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/gpu/sprd_iommu/mm/sprd_iommu_mm.c:352:11: note: (near initialization for 'iommu_mm_ops.release') MKDIR firmware/melfas/ MK_FW firmware/melfas/KANAS_NEW_TSP_FW.mfsb.gen.S AS firmware/melfas/KANAS_NEW_TSP_FW.mfsb.gen.o LD firmware/built-in.o LD drivers/hsi/clients/built-in.o LD drivers/hsi/built-in.o CC drivers/hwspinlock/hwspinlock_core.o LD drivers/gpu/sprd_iommu/mm/built-in.o LD drivers/gpu/sprd_iommu/built-in.o LD drivers/gpu/built-in.o CC drivers/i2c/i2c-boardinfo.o CC drivers/hid/hid-picolcd_core.o CC drivers/hwspinlock/sci_hwspinlock.o CC drivers/i2c/i2c-core.o CC drivers/hid/hid-picolcd_debugfs.o LD drivers/hwspinlock/built-in.o LD drivers/idle/built-in.o CC drivers/hid/hid-wiimote-core.o CC drivers/i2c/i2c-dev.o CC drivers/i2c/algos/i2c-algo-bit.o CC drivers/hid/hid-wiimote-ext.o CC net/socket.o LD drivers/i2c/algos/built-in.o CC drivers/i2c/busses/i2c-gpio.o CC drivers/hid/hid-wiimote-debug.o CC drivers/i2c/busses/i2c-sprd.o CC drivers/hid/hid-debug.o CC drivers/hid/hid-core.o LD net/802/built-in.o CC net/core/sock.o LD drivers/i2c/busses/built-in.o LD drivers/i2c/muxes/built-in.o LD drivers/i2c/built-in.o CC drivers/iio/industrialio-core.o CC drivers/hid/hid-input.o CC drivers/iio/industrialio-event.o CC net/core/request_sock.o CC drivers/iio/inkern.o CC drivers/iio/industrialio-buffer.o CC net/core/skbuff.o CC drivers/hid/hidraw.o CC drivers/iio/industrialio-trigger.o CC drivers/hid/uhid.o CC drivers/iio/kfifo_buf.o CC drivers/hid/hid-generic.o LD drivers/iio/accel/built-in.o LD drivers/iio/adc/built-in.o CC drivers/hid/hid-a4tech.o LD drivers/iio/amplifiers/built-in.o LD drivers/iio/common/hid-sensors/built-in.o LD drivers/iio/common/st_sensors/built-in.o LD drivers/iio/common/built-in.o LD drivers/iio/dac/built-in.o LD drivers/iio/frequency/built-in.o LD drivers/iio/gyro/built-in.o CC drivers/hid/hid-axff.o LD drivers/iio/imu/inv_mpu/built-in.o LD drivers/iio/imu/built-in.o LD drivers/iio/inv_test/built-in.o LD drivers/iio/light/built-in.o LD drivers/iio/magnetometer/inv_compass/built-in.o LD drivers/iio/magnetometer/built-in.o LD drivers/iio/industrialio.o CC net/core/iovec.o LD drivers/iio/built-in.o CC drivers/hid/hid-apple.o CC net/ethernet/eth.o CC drivers/hid/hid-appleir.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-appleir.c:347:22: warning: initialization of 'int (*)(struct hid_device *, struct hid_input *)' from incompatible pointer type 'void (*)(struct hid_device *, struct hid_input *)' [-Wincompatible-pointer-types] 347 | .input_configured = appleir_input_configured, | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-appleir.c:347:22: note: (near initialization for 'appleir_driver.input_configured') CC net/core/datagram.o CC drivers/hid/hid-aureal.o LD net/ethernet/built-in.o CC drivers/input/input.o CC drivers/hid/hid-belkin.o CC drivers/hid/hid-cherry.o CC drivers/hid/hid-chicony.o CC net/core/stream.o CC drivers/hid/hid-cypress.o CC drivers/hid/hid-dr.o CC drivers/input/input-compat.o CC net/core/scm.o CC drivers/hid/hid-emsff.o CC drivers/input/input-mt.o CC drivers/hid/hid-elecom.o CC drivers/hid/hid-ezkey.o CC drivers/input/ff-core.o CC net/core/gen_stats.o CC drivers/hid/hid-gyration.o CC drivers/hid/hid-holtek-kbd.o CC drivers/input/ff-memless.o CC drivers/hid/hid-holtekff.o CC net/core/gen_estimator.o CC drivers/hid/hid-icade.o CC drivers/input/matrix-keymap.o CC drivers/hid/hid-kensington.o CC drivers/input/evdev.o CC drivers/hid/hid-keytouch.o CC net/core/net_namespace.o CC drivers/hid/hid-kye.o CC drivers/hid/hid-lcpower.o CC drivers/input/keyboard/sc_keypad.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/slub_def.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/slab.h:282, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:16: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:212:59: warning: initialization of 'ssize_t (*)(struct device *, struct device_attribute *, const char *, size_t)' {aka 'int (*)(struct device *, struct device_attribute *, const char *, unsigned int)'} from incompatible pointer type 'ssize_t (*)(struct device *, struct device_attribute *, char *, size_t)' {aka 'int (*)(struct device *, struct device_attribute *, char *, unsigned int)'} [-Wincompatible-pointer-types] 212 | static DEVICE_ATTR(reset_enabled, 0664,reset_enable_show, reset_enable_store); | ^~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/sysfs.h:74:11: note: in definition of macro '__ATTR' 74 | .store = _store, \ | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:212:8: note: in expansion of macro 'DEVICE_ATTR' 212 | static DEVICE_ATTR(reset_enabled, 0664,reset_enable_show, reset_enable_store); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:212:59: note: (near initialization for 'dev_attr_reset_enabled.store') 212 | static DEVICE_ATTR(reset_enabled, 0664,reset_enable_show, reset_enable_store); | ^~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/sysfs.h:74:11: note: in definition of macro '__ATTR' 74 | .store = _store, \ | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:212:8: note: in expansion of macro 'DEVICE_ATTR' 212 | static DEVICE_ATTR(reset_enabled, 0664,reset_enable_show, reset_enable_store); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c: In function 'reset_enable_show': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:219:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 219 | int reg_val; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c: In function 'key_show': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:107:48: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 107 | #define KPD_KEY_STATUS (KPD_REG_BASE + 0x2C) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:269:29: note: in expansion of macro 'KPD_KEY_STATUS' 269 | keys_pressed = __raw_readl(KPD_KEY_STATUS); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c: In function 'sci_keypad_isr': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:76:48: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 76 | #define KPD_INT_MASK_STATUS (KPD_REG_BASE + 0x0C) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:355:41: note: in expansion of macro 'KPD_INT_MASK_STATUS' 355 | unsigned long int_status = __raw_readl(KPD_INT_MASK_STATUS); | ^~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:107:48: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 107 | #define KPD_KEY_STATUS (KPD_REG_BASE + 0x2C) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:356:41: note: in expansion of macro 'KPD_KEY_STATUS' 356 | unsigned long key_status = __raw_readl(KPD_KEY_STATUS); | ^~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:93:48: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 93 | #define KPD_INT_CLR (KPD_REG_BASE + 0x10) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:361:22: note: in expansion of macro 'KPD_INT_CLR' 361 | value = __raw_readl(KPD_INT_CLR); | ^~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:93:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 93 | #define KPD_INT_CLR (KPD_REG_BASE + 0x10) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:363:22: note: in expansion of macro 'KPD_INT_CLR' 363 | __raw_writel(value, KPD_INT_CLR); | ^~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c: In function 'sci_keypad_parse_dt': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:705:9: warning: returning 'struct sci_keypad_platform_data *' from a function with incompatible return type 'struct sci_keypad_platdata *' [-Wincompatible-pointer-types] 705 | return pdata; | ^~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c: In function 'sci_keypad_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:737:9: warning: assignment to 'struct sci_keypad_platform_data *' from incompatible pointer type 'struct sci_keypad_platdata *' [-Wincompatible-pointer-types] 737 | pdata = sci_keypad_parse_dt(&pdev->dev); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:93:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 93 | #define KPD_INT_CLR (KPD_REG_BASE + 0x10) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:766:28: note: in expansion of macro 'KPD_INT_CLR' 766 | __raw_writel(KPD_INT_ALL, KPD_INT_CLR); | ^~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:94:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 94 | #define KPD_POLARITY (KPD_REG_BASE + 0x18) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:767:52: note: in expansion of macro 'KPD_POLARITY' 767 | __raw_writel(CFG_ROW_POLARITY | CFG_COL_POLARITY, KPD_POLARITY); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:105:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 105 | #define KPD_CLK_DIV_CNT (KPD_REG_BASE + 0x28) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:768:18: note: in expansion of macro 'KPD_CLK_DIV_CNT' 768 | __raw_writel(1, KPD_CLK_DIV_CNT); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:101:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 101 | #define KPD_LONG_KEY_CNT (KPD_REG_BASE + 0x20) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:769:20: note: in expansion of macro 'KPD_LONG_KEY_CNT' 769 | __raw_writel(0xc, KPD_LONG_KEY_CNT); | ^~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:100:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 100 | #define KPD_DEBOUNCE_CNT (KPD_REG_BASE + 0x1C) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:770:20: note: in expansion of macro 'KPD_DEBOUNCE_CNT' 770 | __raw_writel(0x5, KPD_DEBOUNCE_CNT); | ^~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:74:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 74 | #define KPD_INT_EN (KPD_REG_BASE + 0x04) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:832:22: note: in expansion of macro 'KPD_INT_EN' 832 | __raw_writel(value, KPD_INT_EN); | ^~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:103:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 103 | #define KPD_SLEEP_CNT (KPD_REG_BASE + 0x24) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:834:22: note: in expansion of macro 'KPD_SLEEP_CNT' 834 | __raw_writel(value, KPD_SLEEP_CNT); | ^~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:61:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 61 | #define KPD_CTRL (KPD_REG_BASE + 0x00) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:861:22: note: in expansion of macro 'KPD_CTRL' 861 | __raw_writel(value, KPD_CTRL); | ^~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:734:22: warning: unused variable 'np' [-Wunused-variable] 734 | struct device_node *np = pdev->dev.of_node; | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c: In function 'sci_keypad_remove': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:93:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 93 | #define KPD_INT_CLR (KPD_REG_BASE + 0x10) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:958:28: note: in expansion of macro 'KPD_INT_CLR' 958 | __raw_writel(KPD_INT_ALL, KPD_INT_CLR); | ^~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:61:48: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 61 | #define KPD_CTRL (KPD_REG_BASE + 0x00) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:959:22: note: in expansion of macro 'KPD_CTRL' 959 | value = __raw_readl(KPD_CTRL); | ^~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:61:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 61 | #define KPD_CTRL (KPD_REG_BASE + 0x00) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:961:22: note: in expansion of macro 'KPD_CTRL' 961 | __raw_writel(value, KPD_CTRL); | ^~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c: In function 'sci_keypad_resume': CC net/core/secure_seq.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:93:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 93 | #define KPD_INT_CLR (KPD_REG_BASE + 0x10) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:989:28: note: in expansion of macro 'KPD_INT_CLR' 989 | __raw_writel(KPD_INT_ALL, KPD_INT_CLR); | ^~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:94:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 94 | #define KPD_POLARITY (KPD_REG_BASE + 0x18) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:990:52: note: in expansion of macro 'KPD_POLARITY' 990 | __raw_writel(CFG_ROW_POLARITY | CFG_COL_POLARITY, KPD_POLARITY); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:105:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 105 | #define KPD_CLK_DIV_CNT (KPD_REG_BASE + 0x28) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:991:18: note: in expansion of macro 'KPD_CLK_DIV_CNT' 991 | __raw_writel(1, KPD_CLK_DIV_CNT); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:101:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 101 | #define KPD_LONG_KEY_CNT (KPD_REG_BASE + 0x20) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:992:20: note: in expansion of macro 'KPD_LONG_KEY_CNT' 992 | __raw_writel(0xc, KPD_LONG_KEY_CNT); | ^~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:100:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 100 | #define KPD_DEBOUNCE_CNT (KPD_REG_BASE + 0x1C) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:993:20: note: in expansion of macro 'KPD_DEBOUNCE_CNT' 993 | __raw_writel(0x5, KPD_DEBOUNCE_CNT); | ^~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:74:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 74 | #define KPD_INT_EN (KPD_REG_BASE + 0x04) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:998:22: note: in expansion of macro 'KPD_INT_EN' 998 | __raw_writel(value, KPD_INT_EN); | ^~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:103:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 103 | #define KPD_SLEEP_CNT (KPD_REG_BASE + 0x24) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:1000:22: note: in expansion of macro 'KPD_SLEEP_CNT' 1000 | __raw_writel(value, KPD_SLEEP_CNT); | ^~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:61:48: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 61 | #define KPD_CTRL (KPD_REG_BASE + 0x00) | ~~~~~~~~~~~~~~^~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:1007:22: note: in expansion of macro 'KPD_CTRL' 1007 | __raw_writel(value, KPD_CTRL); | ^~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/sc_keypad.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ CC drivers/hid/hid-lenovo-tpkbd.o CC net/core/flow_dissector.o LD drivers/hid/hid-logitech.o CC drivers/hid/hid-magicmouse.o CC drivers/input/keyboard/input-hook.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/input-hook.c: In function 'input_hook_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/input-hook.c:93:24: warning: 'return' with a value, in function returning void [-Wreturn-type] 93 | return -ENOMEM; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/input-hook.c:68:6: note: declared here 68 | void input_hook_init(void) | ^~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/input-hook.c:95:16: warning: 'return' with a value, in function returning void [-Wreturn-type] 95 | return 0; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/keyboard/input-hook.c:68:6: note: declared here 68 | void input_hook_init(void) | ^~~~~~~~~~~~~~~ CC drivers/hid/hid-microsoft.o LD drivers/input/keyboard/built-in.o CC drivers/input/misc/gpio_event.o CC net/core/sysctl_net_core.o CC drivers/hid/hid-monterey.o CC drivers/hid/hid-multitouch.o CC drivers/input/misc/gpio_matrix.o CC net/core/dev.o CC drivers/input/misc/gpio_input.o CC drivers/hid/hid-ntrig.o CC drivers/input/misc/gpio_output.o CC drivers/hid/hid-ortek.o CC drivers/input/misc/gpio_axis.o CC drivers/hid/hid-prodikeys.o CC drivers/input/misc/uinput.o CC drivers/hid/hid-pl.o CC drivers/input/misc/headset_sprd_sc2723.o CC drivers/hid/hid-petalynx.o LD drivers/hid/hid-picolcd.o CC drivers/hid/hid-primax.o LD drivers/input/misc/built-in.o CC drivers/input/touchscreen/zt7554_ts.o CC drivers/hid/hid-ps3remote.o CC drivers/hid/hid-roccat.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/touchscreen/zt7554_ts.c: In function 'mini_init_touch': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/touchscreen/zt7554_ts.c:1196:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1196 | u16 chip_check_sum; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/touchscreen/zt7554_ts.c: In function 'get_reference': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/touchscreen/zt7554_ts.c:2338:23: warning: unused variable 'raw_data' [-Wunused-variable] 2338 | struct tsp_raw_data *raw_data = info->raw_data; | ^~~~~~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/touchscreen/zt7554_ts.c:3577:32: warning: 'zt7554_ts_pm_ops' defined but not used [-Wunused-const-variable=] 3577 | static const struct dev_pm_ops zt7554_ts_pm_ops = { | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/touchscreen/zt7554_ts.c:2039:13: warning: 'get_module_vendor' defined but not used [-Wunused-function] 2039 | static void get_module_vendor(void *device_data) | ^~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/input/touchscreen/zt7554_ts.c:317:13: warning: 'i2c_checksum' defined but not used [-Wunused-function] 317 | static bool i2c_checksum(struct zt7554_ts_info *info, s16 *pChecksum, u16 wlength) | ^~~~~~~~~~~~ CC drivers/hid/hid-roccat-common.o CC net/core/ethtool.o CC drivers/hid/hid-roccat-arvo.o CC drivers/hid/hid-roccat-isku.o CC net/core/dev_addr_lists.o CC drivers/hid/hid-roccat-kone.o LD drivers/input/touchscreen/built-in.o LD drivers/input/input-core.o LD drivers/input/built-in.o LD arch/arm/lib/built-in.o AS arch/arm/lib/ashldi3.o AS arch/arm/lib/ashrdi3.o AS arch/arm/lib/backtrace.o CC drivers/hid/hid-roccat-koneplus.o AS arch/arm/lib/call_with_stack.o AS arch/arm/lib/changebit.o AS arch/arm/lib/clear_user.o AS arch/arm/lib/clearbit.o AS arch/arm/lib/copy_from_user.o AS arch/arm/lib/copy_page.o AS arch/arm/lib/copy_to_user.o AS arch/arm/lib/csumipv6.o CC net/core/dst.o AS arch/arm/lib/csumpartial.o CC drivers/hid/hid-roccat-konepure.o AS arch/arm/lib/csumpartialcopy.o AS arch/arm/lib/csumpartialcopyuser.o AS arch/arm/lib/delay-loop.o CC arch/arm/lib/delay.o CC drivers/hid/hid-roccat-kovaplus.o AS arch/arm/lib/div64.o AS arch/arm/lib/findbit.o AS arch/arm/lib/getuser.o AS arch/arm/lib/io-readsb.o AS arch/arm/lib/io-readsl.o CC net/core/netevent.o AS arch/arm/lib/io-readsw-armv4.o AS arch/arm/lib/io-writesb.o AS arch/arm/lib/io-writesl.o CC drivers/hid/hid-roccat-lua.o AS arch/arm/lib/io-writesw-armv4.o AS arch/arm/lib/lib1funcs.o AS arch/arm/lib/lshrdi3.o AS arch/arm/lib/memchr.o AS arch/arm/lib/memcmpksm.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/lib/memcmpksm.S:79: warning: "ENTRY" redefined 79 | #define ENTRY(y) _ENTRY(_C_LABEL(y)); _PROF_PROLOGUE | In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/lib/memcmpksm.S:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/linkage.h:77: note: this is the location of the previous definition 77 | #define ENTRY(name) \ | /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/lib/memcmpksm.S:80: warning: "END" redefined 80 | #define END(y) _END(_C_LABEL(y)) | In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/lib/memcmpksm.S:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/linkage.h:91: note: this is the location of the previous definition 91 | #define END(name) \ | AS arch/arm/lib/memcpy.o AS arch/arm/lib/memmove.o CC drivers/hid/hid-roccat-pyra.o AS arch/arm/lib/memset.o AS arch/arm/lib/memzero.o CC net/core/neighbour.o AS arch/arm/lib/muldi3.o AS arch/arm/lib/putuser.o AS arch/arm/lib/setbit.o AS arch/arm/lib/strchr.o AS arch/arm/lib/strrchr.o AS arch/arm/lib/testchangebit.o AS arch/arm/lib/testclearbit.o AS arch/arm/lib/testsetbit.o CC drivers/hid/hid-roccat-savu.o AS arch/arm/lib/ucmpdi2.o AR arch/arm/lib/lib.a CC lib/bcd.o CC lib/div64.o CC lib/sort.o CC drivers/hid/hid-saitek.o CC drivers/hid/hid-samsung.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bug.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bug.h:59, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bug.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/thread_info.h:11, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/preempt.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/spinlock.h:50, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:23, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-samsung.c:30: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-samsung.c: In function 'samsung_kbd_input_mapping': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-samsung.c:146:21: warning: statement will never be executed [-Wswitch-unreachable] 146 | set_bit(EV_REP, hi->input->evbit); | ~~^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:184:45: note: in definition of macro 'ATOMIC_BITOP' 184 | #define ATOMIC_BITOP(name,nr,p) _##name(nr,p) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-samsung.c:146:3: note: in expansion of macro 'set_bit' 146 | set_bit(EV_REP, hi->input->evbit); | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-samsung.c: In function 'samsung_universal_kbd_input_mapping': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-samsung.c:273:21: warning: statement will never be executed [-Wswitch-unreachable] 273 | set_bit(EV_REP, hi->input->evbit); | ~~^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:184:45: note: in definition of macro 'ATOMIC_BITOP' 184 | #define ATOMIC_BITOP(name,nr,p) _##name(nr,p) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-samsung.c:273:3: note: in expansion of macro 'set_bit' 273 | set_bit(EV_REP, hi->input->evbit); | ^~~~~~~ CC lib/parser.o CC drivers/hid/hid-sjoy.o CC lib/halfmd4.o CC drivers/hid/hid-sony.o CC lib/debug_locks.o CC lib/random32.o CC net/core/rtnetlink.o CC drivers/hid/hid-speedlink.o CC lib/bust_spinlocks.o CC drivers/hid/hid-steelseries.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/core/rtnetlink.c:1119:32: warning: 'ifla_vf_policy' defined but not used [-Wunused-const-variable=] 1119 | static const struct nla_policy ifla_vf_policy[IFLA_VF_MAX+1] = { | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/core/rtnetlink.c:1115:32: warning: 'ifla_vfinfo_policy' defined but not used [-Wunused-const-variable=] 1115 | static const struct nla_policy ifla_vfinfo_policy[IFLA_VF_INFO_MAX+1] = { | ^~~~~~~~~~~~~~~~~~ CC lib/hexdump.o CC drivers/hid/hid-sunplus.o CC lib/kasprintf.o CC drivers/hid/hid-gaff.o CC lib/bitmap.o CC drivers/hid/hid-thingm.o CC drivers/hid/hid-tmff.o CC lib/scatterlist.o CC net/core/utils.o CC drivers/hid/hid-tivo.o CC lib/gcd.o CC drivers/hid/hid-topseed.o CC lib/lcm.o CC lib/list_sort.o CC drivers/hid/hid-twinhan.o CC net/core/link_watch.o CC lib/uuid.o CC drivers/hid/hid-uclogic.o CC lib/flex_array.o CC drivers/hid/hid-zagg.o CC lib/iovec.o CC net/core/filter.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bug.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bug.h:59, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bug.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/thread_info.h:11, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/preempt.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/spinlock.h:50, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kobject.h:23, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-zagg.c:32: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-zagg.c: In function 'zagg_kbd_input_mapping': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-zagg.c:148:21: warning: statement will never be executed [-Wswitch-unreachable] 148 | set_bit(EV_REP, hi->input->evbit); | ~~^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:184:45: note: in definition of macro 'ATOMIC_BITOP' 184 | #define ATOMIC_BITOP(name,nr,p) _##name(nr,p) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-zagg.c:148:3: note: in expansion of macro 'set_bit' 148 | set_bit(EV_REP, hi->input->evbit); | ^~~~~~~ CC lib/bsearch.o CC lib/find_last_bit.o CC drivers/hid/hid-zpff.o CC lib/find_next_bit.o CC lib/llist.o CC drivers/hid/hid-zydacron.o CC lib/memweight.o CC lib/kfifo.o CC drivers/hid/hid-wacom.o CC net/core/sock_diag.o CC drivers/hid/hid-waltop.o CC lib/string_helpers.o LD drivers/hid/hid-wiimote.o CC drivers/hid/hid-sensor-hub.o CC net/core/dev_ioctl.o CC lib/kstrtox.o CC lib/pci_iomap.o CC drivers/hid/hid-synaptics-bt.o CC lib/iomap_copy.o CC net/core/flow.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-synaptics-bt.c:1: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-synaptics-bt.c: In function 'samsung_bookcover_input_mapping': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-synaptics-bt.c:244:21: warning: statement will never be executed [-Wswitch-unreachable] 244 | set_bit(EV_REP, hi->input->evbit); | ~~^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:184:45: note: in definition of macro 'ATOMIC_BITOP' 184 | #define ATOMIC_BITOP(name,nr,p) _##name(nr,p) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/hid/hid-synaptics-bt.c:244:3: note: in expansion of macro 'set_bit' 244 | set_bit(EV_REP, hi->input->evbit); | ^~~~~~~ CC lib/devres.o CC drivers/hid/usbhid/hid-core.o CC lib/hweight.o CC lib/bitrev.o CC net/core/net-sysfs.o CC lib/crc-ccitt.o CC lib/crc16.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/core/net-sysfs.c:30:19: warning: 'fmt_long_hex' defined but not used [-Wunused-const-variable=] 30 | static const char fmt_long_hex[] = "%#lx\n"; | ^~~~~~~~~~~~ HOSTCC lib/gen_crc32table CC drivers/hid/usbhid/hid-quirks.o CC lib/libcrc32c.o CC lib/genalloc.o LD drivers/hid/usbhid/usbhid.o LD drivers/hid/usbhid/built-in.o LD drivers/hid/hid.o LD drivers/hid/built-in.o CC drivers/iq/sprd_iq.o CC net/core/net-procfs.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/iq/sprd_iq.c: In function 'iq_mem_nocache_mmap': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/iq/sprd_iq.c:177:12: warning: unused variable 'size' [-Wunused-variable] 177 | size_t size = vma->vm_end - vma->vm_start; | ^~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/iq/sprd_iq.c:146:13: warning: 'sprd_iq_complete' defined but not used [-Wunused-function] 146 | static void sprd_iq_complete(char *buf, int length) | ^~~~~~~~~~~~~~~~ LD drivers/iq/built-in.o CC drivers/irqchip/irqchip.o CC lib/lzo/lzo1x_compress.o CC drivers/irqchip/irq-gic.o CC net/core/fib_rules.o CC lib/lzo/lzo1x_decompress_safe.o LD lib/lzo/lzo_compress.o LD lib/lzo/lzo_decompress.o LD lib/lzo/built-in.o CC lib/zlib_deflate/deflate.o LD drivers/irqchip/built-in.o CC drivers/leds/led-core.o CC lib/zlib_deflate/deftree.o CC drivers/leds/led-class.o CC net/core/net-traces.o CC drivers/leds/flashlight.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/leds/flashlight.c:21:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 21 | static const char const *flashlight_type_string[] = { | ^~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/leds/flashlight.c:27:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 27 | static const char const *flashlight_mode_string[] = { | ^~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/leds/flashlight.c: In function 'find_flashlight_by_name': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/leds/flashlight.c:491:4: warning: passing argument 4 of 'class_find_device' from incompatible pointer type [-Wincompatible-pointer-types] 491 | flashlight_match_device_by_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct device *, void *) In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/leds/flashlight.h:15, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/leds/flashlight.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:395:23: note: expected 'int (*)(struct device *, const void *)' but argument is of type 'int (*)(struct device *, void *)' 395 | extern struct device *class_find_device(struct class *class, | ^~~~~~~~~~~~~~~~~ CC lib/zlib_deflate/deflate_syms.o CC drivers/leds/rtfled.o LD lib/zlib_deflate/zlib_deflate.o LD lib/zlib_deflate/built-in.o CC lib/zlib_inflate/inffast.o LD drivers/leds/built-in.o LD drivers/lguest/built-in.o LD drivers/macintosh/built-in.o CC drivers/md/dm.o LD net/core/built-in.o CC net/ipv4/route.o CC lib/zlib_inflate/inflate.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/route.c: In function 'rt_fill_info': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/route.c:2237:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2237 | if (IPCB(skb)->flags & IPSKB_DOREDIRECT) | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/route.c:2240:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2240 | if (nla_put_be32(skb, RTA_DST, dst)) | ^~ CC lib/zlib_inflate/infutil.o CC lib/zlib_inflate/inftrees.o CC lib/zlib_inflate/inflate_syms.o LD lib/zlib_inflate/zlib_inflate.o LD lib/zlib_inflate/built-in.o CC lib/textsearch.o CC lib/ts_kmp.o CC drivers/md/dm-table.o CC net/ipv4/inetpeer.o CC lib/ts_bm.o CC lib/ts_fsm.o CC lib/percpu_counter.o CC net/ipv4/protocol.o CC drivers/md/dm-target.o CC lib/audit.o CC drivers/md/dm-linear.o CC lib/syscall.o CC net/ipv4/ip_input.o CC lib/dynamic_debug.o CC drivers/md/dm-stripe.o CC drivers/md/dm-ioctl.o CC net/ipv4/ip_fragment.o CC lib/nlattr.o CC lib/cpu_rmap.o CC net/ipv4/ip_forward.o CC drivers/md/dm-io.o CC lib/dynamic_queue_limits.o CC net/ipv4/ip_options.o CC lib/strncpy_from_user.o CC drivers/md/dm-kcopyd.o CC lib/strnlen_user.o CC lib/argv_split.o CC drivers/md/dm-sysfs.o CC lib/bug.o CC lib/cmdline.o CC drivers/md/dm-crypt.o CC net/ipv4/ip_output.o CC lib/cpumask.o CC lib/ctype.o CC lib/dec_and_lock.o CC lib/decompress.o CC lib/decompress_inflate.o LD drivers/md/dm-mod.o LD drivers/md/built-in.o CC lib/dump_stack.o LD drivers/media/common/b2c2/built-in.o LD drivers/media/common/saa7146/built-in.o LD drivers/media/common/siano/built-in.o LD drivers/media/common/built-in.o LD drivers/media/firewire/built-in.o CC lib/earlycpio.o LD drivers/media/i2c/soc_camera/built-in.o LD drivers/media/i2c/built-in.o LD drivers/media/mmc/siano/built-in.o LD drivers/media/mmc/built-in.o CC lib/extable.o LD drivers/media/parport/built-in.o LD drivers/media/pci/b2c2/built-in.o CC lib/flex_proportions.o LD drivers/media/pci/ddbridge/built-in.o LD drivers/media/pci/dm1105/built-in.o LD drivers/media/pci/mantis/built-in.o LD drivers/media/pci/ngene/built-in.o LD drivers/media/pci/pluto2/built-in.o CC net/ipv4/ip_sockglue.o LD drivers/media/pci/pt1/built-in.o CC lib/idr.o LD drivers/media/pci/saa7146/built-in.o LD drivers/media/pci/ttpci/built-in.o LD drivers/media/pci/built-in.o LD drivers/media/platform/davinci/built-in.o LD drivers/media/platform/built-in.o LD drivers/media/radio/built-in.o LD drivers/media/rc/keymaps/built-in.o LD drivers/media/rc/built-in.o CC drivers/media/sprd_dcam/sc8830g/dcam_drv.o CC lib/int_sqrt.o CC lib/ioremap.o CC lib/irq_regs.o CC net/ipv4/inet_hashtables.o CC lib/is_single_threaded.o CC lib/klist.o CC lib/kobject.o CC lib/kobject_uevent.o CC net/ipv4/inet_timewait_sock.o CC lib/md5.o CC net/ipv4/inet_connection_sock.o CC lib/plist.o CC drivers/media/sprd_dcam/common/dcam_v4l2.o CC lib/prio_heap.o CC lib/proportions.o CC lib/radix-tree.o CC net/ipv4/tcp.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_dcam/common/dcam_v4l2.c: In function 'create_instance': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_dcam/common/dcam_v4l2.c:2756:44: warning: ' (' directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 2756 | snprintf(vfd->name, sizeof(vfd->name), "%s (%i)", | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_dcam/common/dcam_v4l2.c:2756:41: note: directive argument in the range [0, 65535] 2756 | snprintf(vfd->name, sizeof(vfd->name), "%s (%i)", | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_dcam/common/dcam_v4l2.c:2756:2: note: 'snprintf' output between 5 and 40 bytes into a destination of size 32 2756 | snprintf(vfd->name, sizeof(vfd->name), "%s (%i)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2757 | sprd_v4l2_template.name, vfd->num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC lib/ratelimit.o CC drivers/media/sprd_dcam/common/parse_hwinfo.o CC lib/rbtree.o CC drivers/media/sprd_dcam/common/gen_scale_coef.o CC lib/reciprocal_div.o CC lib/rwsem-spinlock.o CC drivers/media/sprd_dcam/common/sin_cos.o CC lib/sha1.o CC drivers/media/sprd_dcam/common/flash_test.o CC drivers/media/sprd_dcam/flash/flash_common.o CC lib/show_mem.o LD drivers/media/sprd_dcam/flash/built-in.o LD drivers/media/sprd_dcam/sprd_dcam.o LD drivers/media/sprd_dcam/built-in.o CC drivers/media/sprd_dma_copy/sc8830/dma_copy_drv.o CC lib/string.o LD drivers/media/sprd_dma_copy/sprd_dma_copy.o LD drivers/media/sprd_dma_copy/built-in.o CC drivers/media/sprd_gsp/scaler_coef_cal.o CC lib/timerqueue.o CC lib/vsprintf.o CC net/ipv4/tcp_input.o CC drivers/media/sprd_gsp/gsp_config_if.o CC drivers/media/sprd_gsp/gsp_drv.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_gsp/gsp_drv.c: In function 'gsp_drv_ioctl': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_gsp/gsp_drv.c:2225:53: warning: passing argument 2 of 'copy_to_user' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 2225 | ret=copy_to_user((void __user *)arg,(volatile void*)cap,sizeof(GSP_CAPABILITY_T)); | ^~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_gsp/gsp_drv.c:21: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/uaccess.h:441:84: note: expected 'const void *' but argument is of type 'volatile void *' 441 | static inline unsigned long __must_check copy_to_user(void __user *to, const void *from, unsigned long n) | ~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_gsp/gsp_drv.c: In function 'gsp_drv_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_gsp/gsp_drv.c:2948:12: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int32_t' {aka 'int'} [-Wformat=] 2948 | printk("%s: read gsp_mmu_ctrl_addr fail (%d)\n", ret); | ~^ ~~~ | | | | char * int32_t {aka int} | %d /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_gsp/gsp_drv.c:2948:45: warning: format '%d' expects a matching 'int' argument [-Wformat=] 2948 | printk("%s: read gsp_mmu_ctrl_addr fail (%d)\n", ret); | ~^ | | | int At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_gsp/gsp_drv.c:106:17: warning: 'g_gsp_reg_err_record_rp' defined but not used [-Wunused-variable] 106 | static uint32_t g_gsp_reg_err_record_rp=0; | ^~~~~~~~~~~~~~~~~~~~~~~ LD drivers/media/sprd_gsp/sprd_gsp.o LD drivers/media/sprd_gsp/built-in.o CC drivers/media/sprd_isp/isp_drv_kernel.o GEN lib/crc32table.h AR lib/lib.a CC lib/crc32.o LD drivers/media/sprd_isp/sprd_isp.o LD drivers/media/sprd_isp/built-in.o CC drivers/media/sprd_rotation/sc8830/rot_drv.o LD lib/built-in.o CC drivers/mfd/extcon-samsung.o CC drivers/media/sprd_rotation/sc8830/img_rot.o CC drivers/mfd/extcon-sm5504.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mfd/extcon-sm5504.c: In function 'sm5504_suspend': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mfd/extcon-sm5504.c:957:23: warning: unused variable 'usbsw' [-Wunused-variable] 957 | struct sm5504_usbsw *usbsw = chip; | ^~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mfd/extcon-sm5504.c: In function 'sm5504_syscore_suspend': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mfd/extcon-sm5504.c:1007:1: warning: no return statement in function returning non-void [-Wreturn-type] 1007 | } | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mfd/extcon-sm5504.c: In function 'sm5504_syscore_resume': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mfd/extcon-sm5504.c:1016:1: warning: no return statement in function returning non-void [-Wreturn-type] 1016 | } | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mfd/extcon-sm5504.c: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mfd/extcon-sm5504.c:1020:12: warning: initialization of 'void (*)(void)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 1020 | .resume = sm5504_syscore_resume, | ^~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mfd/extcon-sm5504.c:1020:12: note: (near initialization for 'sm5504_syscore_ops.resume') /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mfd/extcon-sm5504.c:1032:12: warning: initialization of 'int (*)(struct device *)' from incompatible pointer type 'int (*)(struct i2c_client *)' [-Wincompatible-pointer-types] 1032 | .resume = sm5504_resume, | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mfd/extcon-sm5504.c:1032:12: note: (near initialization for 'sm5504_pm_ops.resume') /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mfd/extcon-sm5504.c:438:12: warning: 'is_battery_connected' defined but not used [-Wunused-function] 438 | static int is_battery_connected(struct sm5504_usbsw *usbsw) | ^~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mfd/extcon-sm5504.c:336:13: warning: 'cutoff_path' defined but not used [-Wunused-function] 336 | static void cutoff_path(int cut) | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mfd/extcon-sm5504.c:313:13: warning: 'manual_open_dm' defined but not used [-Wunused-function] 313 | static void manual_open_dm(int on) | ^~~~~~~~~~~~~~ LD drivers/media/sprd_rotation/sprd_rotation.o LD drivers/media/sprd_rotation/built-in.o CC drivers/media/sprd_scale/common/sin_cos.o CC drivers/mfd/mfd-core.o CC drivers/media/sprd_scale/common/gen_scale_coef.o CC net/ipv4/tcp_output.o LD drivers/mfd/built-in.o CC drivers/media/sprd_scale/common/img_scale.o CC drivers/misc/uid_stat.o LD drivers/misc/carma/built-in.o LD drivers/misc/cb710/built-in.o LD drivers/misc/eeprom/built-in.o LD drivers/misc/lis3lv02d/built-in.o LD drivers/misc/sprd_2351/built-in.o CC drivers/media/sprd_scale/sc8830/scale_drv.o CC drivers/misc/sprd_cproc/sprd_cproc.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c: In function 'sprd_cproc_native_cp_start': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:478:13: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] 478 | memcpy(ctrl->iram_addr, (void *)ctrl->iram_data, sizeof(ctrl->iram_data)); | ~~~~^~~~~~~~~~~ | | | uint32_t {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/string.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitmap.h:8, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/nodemask.h:95, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmzone.h:16, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/gfp.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kmod.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/module.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:16: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 16 | extern void * memcpy(void *, const void *, __kernel_size_t); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:507:15: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] 507 | memcpy(ctrl->iram_addr, (void *)ctrl->iram_data, sizeof(ctrl->iram_data)); | ~~~~^~~~~~~~~~~ | | | uint32_t {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/string.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitmap.h:8, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/nodemask.h:95, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmzone.h:16, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/gfp.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kmod.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/module.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:16: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 16 | extern void * memcpy(void *, const void *, __kernel_size_t); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c: In function 'sprd_cproc_native_cp2_start': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:617:9: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] 617 | memcpy(cp2_code_addr, (void *)ctrl->iram_data, sizeof(ctrl->iram_data)); | ^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/string.h:17, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitmap.h:8, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/nodemask.h:95, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmzone.h:16, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/gfp.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kmod.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/module.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:16: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 16 | extern void * memcpy(void *, const void *, __kernel_size_t); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:662:10: warning: passing argument 1 of '__arm_iounmap' makes pointer from integer without a cast [-Wint-conversion] 662 | iounmap(cp2_code_addr); | ^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:316:50: note: expected 'volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 316 | extern void __arm_iounmap(volatile void __iomem *addr); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:6, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c: In function 'sprd_cproc_parse_dt': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:4:18: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] 4 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' 13 | #define KERN_INFO KERN_SOH "6" /* informational */ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:223:9: note: in expansion of macro 'KERN_INFO' 223 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:788:2: note: in expansion of macro 'pr_info' 788 | pr_info("sprd_cproc: iram_addr=0x%x, start=0x%x, offset=0x%x", ctrl->iram_addr); | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:788:48: note: format string is defined here 788 | pr_info("sprd_cproc: iram_addr=0x%x, start=0x%x, offset=0x%x", ctrl->iram_addr); | ~^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:6, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:4:18: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] 4 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' 13 | #define KERN_INFO KERN_SOH "6" /* informational */ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:223:9: note: in expansion of macro 'KERN_INFO' 223 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:788:2: note: in expansion of macro 'pr_info' 788 | pr_info("sprd_cproc: iram_addr=0x%x, start=0x%x, offset=0x%x", ctrl->iram_addr); | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:788:61: note: format string is defined here 788 | pr_info("sprd_cproc: iram_addr=0x%x, start=0x%x, offset=0x%x", ctrl->iram_addr); | ~^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:6, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'int (*)(void *)' [-Wformat=] 4 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' 13 | #define KERN_INFO KERN_SOH "6" /* informational */ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:223:9: note: in expansion of macro 'KERN_INFO' 223 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:819:2: note: in expansion of macro 'pr_info' 819 | pr_info("sprd_cproc: stop callback 0x%x, start callback 0x%x\n", | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:819:40: note: format string is defined here 819 | pr_info("sprd_cproc: stop callback 0x%x, start callback 0x%x\n", | ~^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:6, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'int (*)(void *)' [-Wformat=] 4 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' 13 | #define KERN_INFO KERN_SOH "6" /* informational */ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:223:9: note: in expansion of macro 'KERN_INFO' 223 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:819:2: note: in expansion of macro 'pr_info' 819 | pr_info("sprd_cproc: stop callback 0x%x, start callback 0x%x\n", | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:819:61: note: format string is defined here 819 | pr_info("sprd_cproc: stop callback 0x%x, start callback 0x%x\n", | ~^ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:715:17: warning: unused variable 'offset' [-Wunused-variable] 715 | uint32_t base, offset; | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c: In function 'sprd_cproc_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:887:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 887 | extern void set_section_ro(unsigned long virt, unsigned long numsections); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:888:14: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'uint32_t' {aka 'unsigned int'} [-Wformat=] 888 | printk("%s %p %x\n", __func__, pdata->base, pdata->maxsz); | ~^ ~~~~~~~~~~~ | | | | void * uint32_t {aka unsigned int} | %d In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/page.h:163, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmzone.h:20, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/gfp.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kmod.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/module.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:16: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/memory.h:232:20: warning: passing argument 1 of 'set_section_ro' makes integer from pointer without a cast [-Wint-conversion] 232 | #define __va(x) ((void *)__phys_to_virt((unsigned long)(x))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:890:18: note: in expansion of macro '__va' 890 | set_section_ro(__va(pdata->base), (WCN_TOTAL_SIZE & ~(SECTION_SIZE - 1)) >> SECTION_SHIFT); | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:887:42: note: expected 'long unsigned int' but argument is of type 'void *' 887 | extern void set_section_ro(unsigned long virt, unsigned long numsections); | ~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/page.h:163, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmzone.h:20, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/gfp.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kmod.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/module.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:16: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/memory.h:232:20: warning: passing argument 1 of 'set_section_ro' makes integer from pointer without a cast [-Wint-conversion] 232 | #define __va(x) ((void *)__phys_to_virt((unsigned long)(x))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:893:19: note: in expansion of macro '__va' 893 | set_section_ro(__va(pdata->base), pdata->maxsz >> SECTION_SHIFT); | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_cproc/sprd_cproc.c:887:42: note: expected 'long unsigned int' but argument is of type 'void *' 887 | extern void set_section_ro(unsigned long virt, unsigned long numsections); | ~~~~~~~~~~~~~~^~~~ LD drivers/misc/sprd_cproc/built-in.o LD drivers/misc/sprd_dwnload/built-in.o CC drivers/misc/sprd_jpg/sprd_jpg.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c: In function 'jpg_ioctl': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:276:42: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 276 | SPRD_JPG_BASE_DT+GLB_INT_CLR_OFFSET); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:310:51: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 310 | ret = __raw_readl(SPRD_JPG_BASE_DT+GLB_INT_STS_OFFSET); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:320:46: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 320 | SPRD_JPG_BASE_DT+GLB_INT_CLR_OFFSET); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:346:51: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 346 | ret = __raw_readl(SPRD_JPG_BASE_DT+GLB_INT_STS_OFFSET); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:356:46: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 356 | SPRD_JPG_BASE_DT+GLB_INT_CLR_OFFSET); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c: In function 'jpg_isr': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:388:47: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 388 | int_status =__raw_readl(SPRD_JPG_BASE_DT+GLB_INT_STS_OFFSET); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:395:50: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 395 | __raw_writel((1<<3), SPRD_JPG_BASE_DT+GLB_INT_CLR_OFFSET); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:405:50: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 405 | __raw_writel((1<<0), SPRD_JPG_BASE_DT+GLB_INT_CLR_OFFSET); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:414:50: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 414 | __raw_writel((1<<1), SPRD_JPG_BASE_DT+GLB_INT_CLR_OFFSET); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c: In function 'jpg_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:642:9: warning: unused variable 'cmd0' [-Wunused-variable] 642 | int cmd0; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_jpg/sprd_jpg.c:640:9: warning: unused variable 'ret_val' [-Wunused-variable] 640 | int ret_val; | ^~~~~~~ LD drivers/media/sprd_scale/sprd_scale.o LD drivers/media/sprd_scale/built-in.o CC drivers/media/sprd_sensor/csi2/csi_api.o LD drivers/misc/sprd_jpg/built-in.o CC drivers/misc/sprd_otp/core.o CC net/ipv4/tcp_timer.o CC drivers/misc/sprd_otp/otp-helper.o CC drivers/media/sprd_sensor/sensor_drv_k.o CC drivers/misc/sprd_otp/efuse.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c: In function '_sensor_k_kzalloc': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:367:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 367 | void *ptr = _sensor_k_kmalloc(size); | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c: In function 'sensor_k_sensor_sel': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:1132:6: warning: unused variable 'ret' [-Wunused-variable] 1132 | int ret = 0; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c: In function 'sensor_k_release': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:1617:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1617 | int ret = 0; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c: In function 'sensor_k_ioctl': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:1960:23: warning: unused variable 'md' [-Wunused-variable] 1960 | struct miscdevice *md = file->private_data ; | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c: In function 'sensor_k_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:2692:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2692 | int i = 0; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:2712:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2712 | struct device *dev_t_rear; | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:2816:32: warning: passing argument 2 of 'device_destroy' makes integer from pointer without a cast [-Wint-conversion] 2816 | device_destroy(camera_class, dev_t_front); | ^~~~~~~~~~~ | | | struct device * In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/platform_device.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:902:53: note: expected 'dev_t' {aka 'unsigned int'} but argument is of type 'struct device *' 902 | extern void device_destroy(struct class *cls, dev_t devt); | ~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:2844:31: warning: passing argument 2 of 'device_destroy' makes integer from pointer without a cast [-Wint-conversion] 2844 | device_destroy(camera_class,dev_t_rear); | ^~~~~~~~~~ | | | struct device * In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/platform_device.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:902:53: note: expected 'dev_t' {aka 'unsigned int'} but argument is of type 'struct device *' 902 | extern void device_destroy(struct class *cls, dev_t devt); | ~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:2694:6: warning: unused variable 'numberOfPin' [-Wunused-variable] 2694 | int numberOfPin = sizeof(camera_stby_rst_pinmap)/sizeof(camera_pinmap_t); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:2692:6: warning: unused variable 'i' [-Wunused-variable] 2692 | int i = 0; | ^ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:2572:16: warning: 'Front_Cam_Type_Store' defined but not used [-Wunused-function] 2572 | static ssize_t Front_Cam_Type_Store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) | ^~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:2566:16: warning: 'Front_Cam_FW_Store' defined but not used [-Wunused-function] 2566 | static ssize_t Front_Cam_FW_Store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) | ^~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:2526:16: warning: 'Rear_Cam_Type_Store' defined but not used [-Wunused-function] 2526 | static ssize_t Rear_Cam_Type_Store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) | ^~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/sensor_drv_k.c:2520:16: warning: 'Rear_Cam_FW_Store' defined but not used [-Wunused-function] 2520 | static ssize_t Rear_Cam_FW_Store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) | ^~~~~~~~~~~~~~~~~ CC drivers/misc/sprd_otp/ana_efuse.o CC net/ipv4/tcp_ipv4.o CC drivers/media/sprd_sensor/csi2/csi_access.o CC drivers/media/sprd_sensor/csi2/csi_driver.o CC drivers/misc/sprd_otp/otp-bitmap.o CC drivers/media/sprd_sensor/csi2/csi_log.o LD drivers/misc/sprd_otp/built-in.o CC drivers/media/sprd_sensor/csi2/csi_system.o CC drivers/misc/sprd_simdet/sprd_simdet.o CC drivers/media/sprd_sensor/power/sensor_power_gtel3g.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:23:43: warning: 'struct sensor_power' declared inside parameter list will not be visible outside of this definition or declaration 23 | static int sensor_s5k4ecgx_poweron(struct sensor_power *main_cfg, struct sensor_power *sub_cfg) | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:51:44: warning: 'struct sensor_power' declared inside parameter list will not be visible outside of this definition or declaration 51 | static int sensor_s5k4ecgx_poweroff(struct sensor_power *main_cfg, struct sensor_power *sub_cfg) | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:79:45: warning: 'struct sensor_power' declared inside parameter list will not be visible outside of this definition or declaration 79 | static int sensor_sr200pc20m_poweron(struct sensor_power *main_cfg, struct sensor_power *sub_cfg) | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:107:46: warning: 'struct sensor_power' declared inside parameter list will not be visible outside of this definition or declaration 107 | static int sensor_sr200pc20m_poweroff(struct sensor_power *main_cfg, struct sensor_power *sub_cfg) | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:130:47: warning: 'struct sensor_power' declared inside parameter list will not be visible outside of this definition or declaration 130 | int sensor_power_on(uint8_t sensor_id, struct sensor_power *main_cfg, struct sensor_power *sub_cfg) | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c: In function 'sensor_power_on': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:135:40: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct sensor_power *' [-Wformat=] 135 | printk("sensor_power_on, para err 0x%x 0x%x \n", main_cfg, sub_cfg); | ~^ ~~~~~~~~ | | | | | struct sensor_power * | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:135:45: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct sensor_power *' [-Wformat=] 135 | printk("sensor_power_on, para err 0x%x 0x%x \n", main_cfg, sub_cfg); | ~^ ~~~~~~~ | | | | unsigned int struct sensor_power * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:138:33: warning: passing argument 1 of 'sensor_s5k4ecgx_poweron' from incompatible pointer type [-Wincompatible-pointer-types] 138 | ret = sensor_s5k4ecgx_poweron(main_cfg, sub_cfg); | ^~~~~~~~ | | | struct sensor_power * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:23:57: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' 23 | static int sensor_s5k4ecgx_poweron(struct sensor_power *main_cfg, struct sensor_power *sub_cfg) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:138:43: warning: passing argument 2 of 'sensor_s5k4ecgx_poweron' from incompatible pointer type [-Wincompatible-pointer-types] 138 | ret = sensor_s5k4ecgx_poweron(main_cfg, sub_cfg); | ^~~~~~~ | | | struct sensor_power * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:23:88: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' 23 | static int sensor_s5k4ecgx_poweron(struct sensor_power *main_cfg, struct sensor_power *sub_cfg) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:140:35: warning: passing argument 1 of 'sensor_sr200pc20m_poweron' from incompatible pointer type [-Wincompatible-pointer-types] 140 | ret = sensor_sr200pc20m_poweron(main_cfg, sub_cfg); | ^~~~~~~~ | | | struct sensor_power * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:79:59: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' 79 | static int sensor_sr200pc20m_poweron(struct sensor_power *main_cfg, struct sensor_power *sub_cfg) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:140:45: warning: passing argument 2 of 'sensor_sr200pc20m_poweron' from incompatible pointer type [-Wincompatible-pointer-types] 140 | ret = sensor_sr200pc20m_poweron(main_cfg, sub_cfg); | ^~~~~~~ | | | struct sensor_power * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:79:90: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' 79 | static int sensor_sr200pc20m_poweron(struct sensor_power *main_cfg, struct sensor_power *sub_cfg) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:145:48: warning: 'struct sensor_power' declared inside parameter list will not be visible outside of this definition or declaration 145 | int sensor_power_off(uint8_t sensor_id, struct sensor_power *main_cfg, struct sensor_power *sub_cfg) | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c: In function 'sensor_power_off': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:150:41: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct sensor_power *' [-Wformat=] 150 | printk("sensor_power_off, para err 0x%x 0x%x \n", main_cfg, sub_cfg); | ~^ ~~~~~~~~ | | | | | struct sensor_power * | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:150:46: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct sensor_power *' [-Wformat=] 150 | printk("sensor_power_off, para err 0x%x 0x%x \n", main_cfg, sub_cfg); | ~^ ~~~~~~~ | | | | unsigned int struct sensor_power * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:154:34: warning: passing argument 1 of 'sensor_s5k4ecgx_poweroff' from incompatible pointer type [-Wincompatible-pointer-types] 154 | ret = sensor_s5k4ecgx_poweroff(main_cfg, sub_cfg); | ^~~~~~~~ | | | struct sensor_power * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:51:58: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' 51 | static int sensor_s5k4ecgx_poweroff(struct sensor_power *main_cfg, struct sensor_power *sub_cfg) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:154:44: warning: passing argument 2 of 'sensor_s5k4ecgx_poweroff' from incompatible pointer type [-Wincompatible-pointer-types] 154 | ret = sensor_s5k4ecgx_poweroff(main_cfg, sub_cfg); | ^~~~~~~ | | | struct sensor_power * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:51:89: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' 51 | static int sensor_s5k4ecgx_poweroff(struct sensor_power *main_cfg, struct sensor_power *sub_cfg) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:156:36: warning: passing argument 1 of 'sensor_sr200pc20m_poweroff' from incompatible pointer type [-Wincompatible-pointer-types] 156 | ret = sensor_sr200pc20m_poweroff(main_cfg, sub_cfg); | ^~~~~~~~ | | | struct sensor_power * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:107:60: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' 107 | static int sensor_sr200pc20m_poweroff(struct sensor_power *main_cfg, struct sensor_power *sub_cfg) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:156:46: warning: passing argument 2 of 'sensor_sr200pc20m_poweroff' from incompatible pointer type [-Wincompatible-pointer-types] 156 | ret = sensor_sr200pc20m_poweroff(main_cfg, sub_cfg); | ^~~~~~~ | | | struct sensor_power * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/media/sprd_sensor/power/sensor_power_gtel3g.c:107:91: note: expected 'struct sensor_power *' but argument is of type 'struct sensor_power *' 107 | static int sensor_sr200pc20m_poweroff(struct sensor_power *main_cfg, struct sensor_power *sub_cfg) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_simdet/sprd_simdet.c: In function 'sprd_simdet_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_simdet/sprd_simdet.c:250:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 250 | struct device_node *np = NULL; | ^~~~~~ LD drivers/media/sprd_sensor/power/built-in.o LD drivers/media/sprd_sensor/sprd_sensor.o LD drivers/media/sprd_sensor/built-in.o LD drivers/media/tuners/built-in.o LD drivers/misc/sprd_simdet/built-in.o LD drivers/media/usb/b2c2/built-in.o CC drivers/misc/sprd_vsp/sprd_vsp_sc8830.o LD drivers/media/usb/dvb-usb/built-in.o LD drivers/media/usb/dvb-usb-v2/built-in.o LD drivers/media/usb/s2255/built-in.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c: In function 'vsp_ioctl': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:304:76: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 304 | __raw_writel((1<<1) |(1<<2)|(1<<4)|(1<<5), VSP_GLB_REG_BASE+VSP_INT_CLR_OFF); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:305:68: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 305 | __raw_writel((1<<0)|(1<<1)|(1<<2), SPRD_VSP_BASE_DT+ARM_INT_CLR_OFF); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c: In function 'vsp_isr': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:368:47: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 368 | int_status = __raw_readl(VSP_GLB_REG_BASE+VSP_INT_STS_OFF); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:371:46: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 371 | __raw_writel((1<<1), VSP_GLB_REG_BASE+VSP_INT_CLR_OFF); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:375:46: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 375 | __raw_writel((1<<2), VSP_GLB_REG_BASE+VSP_INT_CLR_OFF); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:379:46: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 379 | __raw_writel((1<<4), VSP_GLB_REG_BASE+VSP_INT_CLR_OFF); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:383:46: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 383 | __raw_writel((1<<5), VSP_GLB_REG_BASE+VSP_INT_CLR_OFF); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:388:47: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 388 | int_status = __raw_readl(SPRD_VSP_BASE_DT+ARM_INT_STS_OFF); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:391:46: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 391 | __raw_writel((1<<2), SPRD_VSP_BASE_DT+ARM_INT_CLR_OFF); | ^ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c: In function 'vsp_suspend': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/sprd_vsp/sprd_vsp_sc8830.c:676:9: warning: unused variable 'ret' [-Wunused-variable] 676 | int ret=-1; | ^~~ LD drivers/media/usb/siano/built-in.o LD drivers/media/usb/stkwebcam/built-in.o LD drivers/media/usb/ttusb-budget/built-in.o LD drivers/media/usb/ttusb-dec/built-in.o LD drivers/media/usb/zr364xx/built-in.o LD drivers/media/usb/built-in.o CC drivers/media/v4l2-core/v4l2-dev.o LD drivers/misc/sprd_vsp/built-in.o LD drivers/misc/sprd_wcn/built-in.o LD drivers/misc/ti-st/built-in.o CC drivers/misc/bcm-bt-rfkill.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/bcm-bt-rfkill.c: In function 'bcm_bt_rfkill_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/misc/bcm-bt-rfkill.c:133:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 133 | const struct of_device_id *match = NULL; | ^~~~~ CC net/ipv4/tcp_minisocks.o CC drivers/misc/bcm-bt-lpm.o CC drivers/media/v4l2-core/v4l2-ioctl.o CC drivers/misc/sprd_board_type.o LD drivers/misc/built-in.o CC net/ipv4/tcp_cong.o CC drivers/mmc/card/block-sprd.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/card/block-sprd.c:2598:14: warning: initialization of 'void (*)(struct mmc_card *)' from incompatible pointer type 'int (*)(struct mmc_card *)' [-Wincompatible-pointer-types] 2598 | .shutdown = mmc_blk_shutdown, | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/card/block-sprd.c:2598:14: note: (near initialization for 'mmc_driver.shutdown') CC drivers/media/v4l2-core/v4l2-device.o CC net/ipv4/tcp_metrics.o CC drivers/mmc/card/queue-sprd.o CC drivers/media/v4l2-core/v4l2-fh.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/card/queue-sprd.c: In function 'mmc_queue_suspend': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/card/queue-sprd.c:450:11: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 450 | printk("%s: mq->flags: %ld, q->queue_flags: 0x%x, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | q->in_flight (%d, %d) \n", | ~~~~~~~~~~~~~~~~~~~~~~~~~ 452 | mmc_hostname(mq->card->host), mq->flags, | ~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/card/queue-sprd.c:450:11: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] CC drivers/media/v4l2-core/v4l2-event.o CC drivers/mmc/card/sdio_card.o CC drivers/media/v4l2-core/v4l2-ctrls.o CC [M] drivers/mmc/card/mmc_test.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/interrupt.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmc/core.h:11, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/card/mmc_test.c:12: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/init.h:300:6: warning: 'init_module' specifies less restrictive attribute than its target 'mmc_test_init': 'cold' [-Wmissing-attributes] 300 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/card/mmc_test.c:3050:1: note: in expansion of macro 'module_init' 3050 | module_init(mmc_test_init); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/card/mmc_test.c:3036:19: note: 'init_module' target declared here 3036 | static int __init mmc_test_init(void) | ^~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/interrupt.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmc/core.h:11, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/card/mmc_test.c:12: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/init.h:306:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mmc_test_exit': 'cold' [-Wmissing-attributes] 306 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/card/mmc_test.c:3051:1: note: in expansion of macro 'module_exit' 3051 | module_exit(mmc_test_exit); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/card/mmc_test.c:3041:20: note: 'cleanup_module' target declared here 3041 | static void __exit mmc_test_exit(void) | ^~~~~~~~~~~~~ CC net/ipv4/tcp_fastopen.o CC net/ipv4/datagram.o CC drivers/media/v4l2-core/v4l2-subdev.o LD drivers/mmc/card/mmc_block.o LD drivers/mmc/card/built-in.o CC drivers/mmc/core/core-sprd.o CC net/ipv4/raw.o CC drivers/media/v4l2-core/v4l2-of.o CC drivers/media/v4l2-core/v4l2-common.o CC drivers/media/v4l2-core/videobuf-core.o CC net/ipv4/udp.o CC drivers/mmc/core/bus.o CC drivers/media/v4l2-core/videobuf-vmalloc.o CC drivers/mmc/core/host.o LD drivers/media/v4l2-core/videodev.o CC drivers/mmc/core/mmc.o LD drivers/media/v4l2-core/built-in.o LD drivers/media/built-in.o CC net/ipv6/af_inet6.o CC net/ipv4/udplite.o CC drivers/mmc/core/mmc_ops.o CC drivers/mmc/core/sd.o CC net/ipv4/arp.o CC net/ipv6/anycast.o CC drivers/mmc/core/sd_ops.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/arp.c:152:31: warning: 'arp_broken_ops' defined but not used [-Wunused-const-variable=] 152 | static const struct neigh_ops arp_broken_ops = { | ^~~~~~~~~~~~~~ CC drivers/mmc/core/sdio.o CC net/ipv6/ip6_output.o CC net/ipv4/icmp.o CC drivers/mmc/core/sdio_ops.o CC drivers/mmc/core/sdio_bus.o CC drivers/mmc/core/sdio_cis.o CC net/ipv4/devinet.o CC drivers/mmc/core/sdio_io.o CC net/ipv6/ip6_input.o CC drivers/mmc/core/sdio_irq.o CC net/ipv6/addrconf.o CC drivers/mmc/core/quirks.o CC drivers/mmc/core/slot-gpio.o CC net/ipv4/af_inet.o CC drivers/mmc/core/debugfs.o LD drivers/mmc/core/mmc_core.o LD drivers/mmc/core/built-in.o CC drivers/mmc/host/sprd-sdhci-common-of.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-common-of.c: In function 'sdhci_add_host': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-common-of.c:3278:39: warning: comparison between pointer and integer 3278 | if (strcmp(mmc_hostname(mmc),"mmc2") == NULL){ | ^~ CC net/ipv4/igmp.o CC net/ipv6/addrlabel.o CC net/ipv6/route.o CC net/ipv4/fib_frontend.o CC drivers/mmc/host/sprd-sdhci-fix-of.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c: In function 'sprd_sdhci_host_enable_clock': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c:304:16: warning: unused variable 'flags' [-Wunused-variable] 304 | unsigned long flags; | ^~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c: In function 'sprd_sdhci_host_set_uhs_signaling': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c:391:11: warning: unused variable 'div' [-Wunused-variable] 391 | u16 clk, div, ctrl_2; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c:391:6: warning: unused variable 'clk' [-Wunused-variable] 391 | u16 clk, div, ctrl_2; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c:806:11: warning: initialization of 'struct attribute **' from incompatible pointer type 'const struct attribute **' [-Wincompatible-pointer-types] 806 | .attrs = sprd_sdhci_host_attrs, | ^~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c:806:11: note: (near initialization for 'sprd_sdhci_host_attr_group.attrs') /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c: In function 'sprd_sdhci_host_of_parse': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c:1023:47: warning: unused variable 'gpio_func' [-Wunused-variable] 1023 | unsigned int d3_gpio = 0, d3_index, sd_func, gpio_func; | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c:1023:38: warning: unused variable 'sd_func' [-Wunused-variable] 1023 | unsigned int d3_gpio = 0, d3_index, sd_func, gpio_func; | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c:1023:28: warning: unused variable 'd3_index' [-Wunused-variable] 1023 | unsigned int d3_gpio = 0, d3_index, sd_func, gpio_func; | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c:1023:15: warning: unused variable 'd3_gpio' [-Wunused-variable] 1023 | unsigned int d3_gpio = 0, d3_index, sd_func, gpio_func; | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c: In function 'sprd_sdhci_host_runtime_resume': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/mmc/host/sprd-sdhci-fix-of.c:1137:16: warning: unused variable 'flags' [-Wunused-variable] 1137 | unsigned long flags; | ^~~~~ CC net/ipv4/fib_semantics.o LD drivers/mmc/host/built-in.o LD drivers/mmc/built-in.o CC drivers/net/mii.o CC net/ipv6/ip6_fib.o CC net/ipv4/fib_trie.o CC drivers/net/Space.o CC drivers/net/loopback.o CC net/ipv6/ipv6_sockglue.o LD drivers/net/ethernet/8390/built-in.o LD drivers/net/ethernet/broadcom/built-in.o LD drivers/net/ethernet/cadence/built-in.o LD drivers/net/ethernet/cirrus/built-in.o LD drivers/net/ethernet/faraday/built-in.o LD drivers/net/ethernet/i825xx/built-in.o LD drivers/net/ethernet/intel/built-in.o LD drivers/net/ethernet/marvell/built-in.o LD drivers/net/ethernet/micrel/built-in.o CC net/ipv4/inet_fragment.o LD drivers/net/ethernet/microchip/built-in.o LD drivers/net/ethernet/natsemi/built-in.o LD drivers/net/ethernet/seeq/built-in.o CC drivers/net/ethernet/smsc/smc91x.o CC net/ipv6/ndisc.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/ndisc.c: In function 'ndisc_router_discovery': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/ndisc.c:1283:36: warning: converting a packed 'struct nd_opt_hdr' pointer (alignment 1) to a 'struct route_info' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1283 | struct route_info *ri = (struct route_info *)p; | ^~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/net/ipv6.h:20, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/ndisc.c:57: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/net/ndisc.h:88:8: note: defined here 88 | struct nd_opt_hdr { | ^~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/ndisc.c:60: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/net/ip6_route.h:4:8: note: defined here 4 | struct route_info { | ^~~~~~~~~~ CC net/ipv4/ping.o CC net/ipv6/udp.o CC net/ipv4/ip_tunnel.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/ip_tunnel.c: In function '__ip_tunnel_create': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/ip_tunnel.c:292:3: warning: 'strncat' specified bound 2 equals source length [-Wstringop-overflow=] 292 | strncat(name, "%d", 2); | ^~~~~~~~~~~~~~~~~~~~~~ CC net/ipv6/udplite.o CC drivers/net/ethernet/smsc/smsc911x.o CC net/ipv4/sysctl_net_ipv4.o CC net/ipv6/raw.o CC net/ipv4/sysfs_net_ipv4.o CC net/ipv4/proc.o LD drivers/net/ethernet/smsc/built-in.o LD drivers/net/ethernet/stmicro/built-in.o LD drivers/net/ethernet/wiznet/built-in.o CC net/ipv4/fib_rules.o CC net/ipv6/icmp.o LD drivers/net/ethernet/built-in.o CC drivers/net/phy/phy.o CC net/ipv4/gre.o CC net/ipv6/mcast.o CC drivers/net/phy/phy_device.o CC net/ipv4/esp4.o CC drivers/net/phy/mdio_bus.o CC net/ipv4/xfrm4_mode_beet.o LD drivers/net/phy/libphy.o LD drivers/net/phy/built-in.o CC drivers/net/ppp/ppp_generic.o CC net/ipv6/reassembly.o CC net/ipv4/tunnel4.o CC net/ipv4/xfrm4_mode_transport.o CC net/ipv6/tcp_ipv6.o CC drivers/net/ppp/ppp_async.o CC net/ipv4/xfrm4_mode_tunnel.o CC drivers/net/ppp/bsd_comp.o CC net/ipv4/netfilter.o CC drivers/net/ppp/ppp_deflate.o CC net/ipv6/ping.o CC drivers/net/ppp/ppp_mppe.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/ping.c: In function 'pingv6_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/ping.c:87:27: warning: assignment to 'int (*)(struct net *, const struct in6_addr *, struct net_device *, int)' from incompatible pointer type 'int (*)(struct net *, const struct in6_addr *, const struct net_device *, int)' [-Wincompatible-pointer-types] 87 | pingv6_ops.ipv6_chk_addr = ipv6_chk_addr; | ^ CC net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.o CC drivers/net/ppp/pppox.o CC net/ipv6/exthdrs.o CC net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o CC drivers/net/ppp/pppoe.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/exthdrs.c: In function 'ipv6_dest_hao': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/exthdrs.c:201:23: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] 201 | if (!(ipv6_addr_type(&hao->addr) & IPV6_ADDR_UNICAST)) { | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/exthdrs.c:208:29: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] 208 | (xfrm_address_t *)&hao->addr, IPPROTO_DSTOPTS); | ^~~~~~~~~~ CC net/ipv4/netfilter/nf_conntrack_proto_icmp.o CC drivers/net/ppp/pptp.o CC net/ipv6/datagram.o CC net/ipv4/netfilter/nf_nat_l3proto_ipv4.o CC drivers/net/ppp/pppolac.o CC net/ipv6/ip6_flowlabel.o CC net/ipv4/netfilter/nf_nat_proto_icmp.o CC drivers/net/ppp/pppopns.o CC net/ipv4/netfilter/nf_defrag_ipv4.o CC net/ipv6/inet6_connection_sock.o LD drivers/net/ppp/built-in.o CC drivers/net/slip/slhc.o CC net/ipv4/netfilter/nf_nat_h323.o CC net/ipv6/sysctl_net_ipv6.o LD drivers/net/slip/built-in.o CC net/ipv4/netfilter/nf_nat_pptp.o CC drivers/net/wireless/bcmdhd/bcmsdh.o CC net/ipv6/xfrm6_policy.o CC net/ipv4/netfilter/nf_nat_proto_gre.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/xfrm6_policy.c: In function '_decode_session6': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/xfrm6_policy.c:168:5: warning: converting a packed 'struct ipv6_opt_hdr' pointer (alignment 1) to a '__be16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 168 | __be16 *ports = (__be16 *)exthdr; | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/ipv6.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/net/if_inet6.h:19, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/net/addrconf.h:50, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/xfrm6_policy.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/ipv6.h:55:8: note: defined here 55 | struct ipv6_opt_hdr { | ^~~~~~~~~~~~ CC drivers/net/wireless/bcmdhd/bcmsdh_linux.o CC net/ipv6/xfrm6_state.o CC net/ipv4/netfilter/ip_tables.o CC drivers/net/wireless/bcmdhd/bcmsdh_sdmmc.o CC net/ipv6/xfrm6_input.o CC drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.o CC net/ipv6/xfrm6_output.o CC net/ipv4/netfilter/iptable_filter.o CC drivers/net/wireless/bcmdhd/dhd_cdc.o CC net/ipv6/netfilter.o CC net/ipv4/netfilter/iptable_mangle.o CC drivers/net/wireless/bcmdhd/dhd_pno.o CC net/ipv4/netfilter/iptable_nat.o CC net/ipv6/fib6_rules.o CC net/ipv4/netfilter/iptable_raw.o CC net/ipv6/proc.o CC net/ipv4/netfilter/ipt_ah.o CC net/ipv6/ah6.o CC drivers/net/wireless/bcmdhd/dhd_common.o CC net/ipv4/netfilter/ipt_MASQUERADE.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/dhd_common.c:30: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/dhd_common.c: In function 'dhd_pktfilter_offload_set': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/include/bcmutils.h:31:57: warning: 'strncpy' output truncated before terminating nul copying 14 bytes from a string of the same length [-Wstringop-truncation] 31 | #define bcm_strncpy_s(dst, noOfElements, src, count) strncpy((dst), (src), (count)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/dhd_common.c:1579:2: note: in expansion of macro 'bcm_strncpy_s' 1579 | bcm_strncpy_s(buf, BUF_SIZE, str, str_len); | ^~~~~~~~~~~~~ CC net/ipv6/esp6.o CC net/ipv4/netfilter/ipt_REJECT.o CC drivers/net/wireless/bcmdhd/dhd_wlfc.o CC net/ipv4/netfilter/arp_tables.o CC net/ipv6/ipcomp6.o CC net/ipv6/xfrm6_tunnel.o CC net/ipv4/netfilter/arpt_mangle.o CC net/ipv4/netfilter/arptable_filter.o CC drivers/net/wireless/bcmdhd/dhd_ip.o CC net/ipv6/tunnel6.o LD net/ipv4/netfilter/nf_conntrack_ipv4.o LD net/ipv4/netfilter/nf_nat_ipv4.o LD net/ipv4/netfilter/built-in.o CC net/ipv4/inet_diag.o CC drivers/net/wireless/bcmdhd/dhd_custom_gpio.o CC net/ipv6/xfrm6_mode_transport.o CC drivers/net/wireless/bcmdhd/dhd_custom_sec.o CC net/ipv6/xfrm6_mode_tunnel.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/dhd_custom_sec.c: In function 'dhd_read_macaddr': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/dhd_custom_sec.c:401:54: warning: 'sprintf' writing a terminating nul past the end of the destination [-Wformat-overflow=] 401 | sprintf(macbuffer, "%02X:%02X:%02X:%02X:%02X:%02X\n", | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/dhd_custom_sec.c:401:3: note: 'sprintf' output 19 bytes into a destination of size 18 401 | sprintf(macbuffer, "%02X:%02X:%02X:%02X:%02X:%02X\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 402 | 0x00, 0x12, 0x34, randommac[0], randommac[1], randommac[2]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/net/wireless/bcmdhd/dhd_linux.o CC net/ipv4/tcp_diag.o CC net/ipv6/xfrm6_mode_beet.o CC net/ipv4/tcp_bic.o CC net/ipv6/mip6.o CC net/ipv4/tcp_cubic.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/mip6.c: In function 'mip6_destopt_reject': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/mip6.c:236:13: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] 236 | hao ? &hao->addr : &ipv6_hdr(skb)->saddr, | ^~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/mip6.c:258:29: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] 258 | (hao ? (xfrm_address_t *)&hao->addr : NULL)); | ^~~~~~~~~~ CC net/ipv6/netfilter/ip6_tables.o CC net/ipv4/xfrm4_policy.o CC net/ipv4/xfrm4_state.o CC drivers/net/wireless/bcmdhd/dhd_linux_sched.o CC net/ipv6/netfilter/ip6table_filter.o CC net/ipv4/xfrm4_input.o CC drivers/net/wireless/bcmdhd/dhd_cfg80211.o CC net/ipv6/netfilter/ip6table_mangle.o CC net/ipv4/xfrm4_output.o CC drivers/net/wireless/bcmdhd/dhd_sdio.o CC net/ipv6/netfilter/ip6table_raw.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/dhd_sdio.c: In function 'dhd_bus_devreset': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/dhd_sdio.c:8729:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 8729 | } else | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/dhd_sdio.c:8732:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 8732 | dhd_os_sdunlock(dhdp); | ^~~~~~~~~~~~~~~ CC [M] net/ipv4/tcp_westwood.o CC net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bug.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bug.h:59, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bug.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/thread_info.h:11, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/preempt.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/spinlock.h:50, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmzone.h:7, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/gfp.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mm.h:8, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/tcp_westwood.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/init.h:300:6: warning: 'init_module' specifies less restrictive attribute than its target 'tcp_westwood_register': 'cold' [-Wmissing-attributes] 300 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/tcp_westwood.c:299:1: note: in expansion of macro 'module_init' 299 | module_init(tcp_westwood_register); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/tcp_westwood.c:288:19: note: 'init_module' target declared here 288 | static int __init tcp_westwood_register(void) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bug.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bug.h:59, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bug.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/thread_info.h:11, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/preempt.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/spinlock.h:50, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmzone.h:7, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/gfp.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mm.h:8, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/tcp_westwood.c:24: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/init.h:306:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'tcp_westwood_unregister': 'cold' [-Wmissing-attributes] 306 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/tcp_westwood.c:300:1: note: in expansion of macro 'module_exit' 300 | module_exit(tcp_westwood_unregister); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/tcp_westwood.c:294:20: note: 'cleanup_module' target declared here 294 | static void __exit tcp_westwood_unregister(void) | ^~~~~~~~~~~~~~~~~~~~~~~ CC [M] net/ipv4/tcp_htcp.o CC net/ipv6/netfilter/nf_conntrack_proto_icmpv6.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bug.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bug.h:59, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bug.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/thread_info.h:11, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/preempt.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/spinlock.h:50, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmzone.h:7, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/gfp.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mm.h:8, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/tcp_htcp.c:9: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/init.h:300:6: warning: 'init_module' specifies less restrictive attribute than its target 'htcp_register': 'cold' [-Wmissing-attributes] 300 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/tcp_htcp.c:310:1: note: in expansion of macro 'module_init' 310 | module_init(htcp_register); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/tcp_htcp.c:298:19: note: 'init_module' target declared here 298 | static int __init htcp_register(void) | ^~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bug.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bug.h:59, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bug.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/thread_info.h:11, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/preempt.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/spinlock.h:50, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mmzone.h:7, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/gfp.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/mm.h:8, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/tcp_htcp.c:9: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/init.h:306:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'htcp_unregister': 'cold' [-Wmissing-attributes] 306 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/tcp_htcp.c:311:1: note: in expansion of macro 'module_exit' 311 | module_exit(htcp_unregister); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv4/tcp_htcp.c:305:20: note: 'cleanup_module' target declared here 305 | static void __exit htcp_unregister(void) | ^~~~~~~~~~~~~~~ LD net/ipv4/built-in.o CC net/key/af_key.o CC net/ipv6/netfilter/nf_defrag_ipv6_hooks.o CC net/ipv6/netfilter/nf_conntrack_reasm.o CC net/ipv6/netfilter/ip6t_REJECT.o LD net/key/built-in.o CC net/l2tp/l2tp_core.o CC drivers/net/wireless/bcmdhd/dhd_linux_wq.o LD net/ipv6/netfilter/nf_conntrack_ipv6.o LD net/ipv6/netfilter/nf_defrag_ipv6.o LD net/ipv6/netfilter/built-in.o CC net/ipv6/sit.o CC drivers/net/wireless/bcmdhd/aiutils.o CC net/l2tp/l2tp_ppp.o CC net/ipv6/ip6_tunnel.o CC drivers/net/wireless/bcmdhd/bcmevent.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/ip6_tunnel.c: In function 'ip6_tnl_parse_tlv_enc_lim': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/ip6_tunnel.c:412:40: warning: converting a packed 'struct ipv6_opt_hdr' pointer (alignment 1) to a 'struct frag_hdr' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 412 | struct frag_hdr *frag_hdr = (struct frag_hdr *) hdr; | ^~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/ipv6.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/net/ip.h:350, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/ip6_tunnel.c:49: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/ipv6.h:55:8: note: defined here 55 | struct ipv6_opt_hdr { | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/net/ip_tunnels.h:16, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/ipv6/ip6_tunnel.c:50: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/net/ipv6.h:105:8: note: defined here 105 | struct frag_hdr { | ^~~~~~~~ LD net/l2tp/built-in.o CC net/netfilter/core.o CC drivers/net/wireless/bcmdhd/bcmutils.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/bcmutils.c: In function 'pktsetprio': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/bcmutils.c:1236:17: warning: converting a packed 'struct ether_header' pointer (alignment 1) to a 'struct ethervlan_header' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 1236 | evh = (struct ethervlan_header *)eh; | ^~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/bcmutils.c:53: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/include/proto/ethernet.h:126:30: note: defined here 126 | BWL_PRE_PACKED_STRUCT struct ether_header { | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/bcmutils.c:54: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/include/proto/vlan.h:59:8: note: defined here 59 | struct ethervlan_header { | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/bcmutils.c: In function 'pktgetdscp': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/bcmutils.c:1376:17: warning: converting a packed 'struct ether_header' pointer (alignment 1) to a 'struct ethervlan_header' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 1376 | evh = (struct ethervlan_header *)eh; | ^~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/bcmutils.c:53: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/include/proto/ethernet.h:126:30: note: defined here 126 | BWL_PRE_PACKED_STRUCT struct ether_header { | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/bcmutils.c:54: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/include/proto/vlan.h:59:8: note: defined here 59 | struct ethervlan_header { | ^~~~~~~~~~~~~~~~ CC net/netfilter/nf_log.o CC net/ipv6/addrconf_core.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/bcmutils.c: In function 'bcm_ipv6_ntoa': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/bcmutils.c:1167:33: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 1167 | snprintf(p, 16, ":%u.%u.%u.%u", a4[0], a4[1], a4[2], a4[3]); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/bcmutils.c:1167:4: note: 'snprintf' output between 9 and 17 bytes into a destination of size 16 1167 | snprintf(p, 16, ":%u.%u.%u.%u", a4[0], a4[1], a4[2], a4[3]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/net/wireless/bcmdhd/bcmwifi_channels.o CC net/ipv6/exthdrs_core.o CC net/netfilter/nf_queue.o CC drivers/net/wireless/bcmdhd/hndpmu.o CC net/ipv6/ip6_checksum.o CC net/netfilter/nf_sockopt.o CC drivers/net/wireless/bcmdhd/linux_osl.o CC net/ipv6/ip6_icmp.o CC net/netfilter/nf_conntrack_core.o CC drivers/net/wireless/bcmdhd/sbutils.o CC net/ipv6/output_core.o CC drivers/net/wireless/bcmdhd/siutils.o CC net/ipv6/protocol.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/siutils.c: In function 'si_doattach': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/siutils.c:425:14: warning: self-comparison always evaluates to false [-Wtautological-compare] 425 | if (bustype != BUSTYPE(bustype)) { | ^~ CC net/netfilter/nf_conntrack_standalone.o CC net/ipv6/ip6_offload.o CC net/netfilter/nf_conntrack_expect.o CC net/ipv6/tcpv6_offload.o CC drivers/net/wireless/bcmdhd/wl_android.o CC net/ipv6/udp_offload.o CC net/netfilter/nf_conntrack_helper.o CC net/ipv6/exthdrs_offload.o CC net/netfilter/nf_conntrack_proto.o CC net/ipv6/inet6_hashtables.o CC net/netfilter/nf_conntrack_l3proto_generic.o LD net/ipv6/ipv6.o LD net/ipv6/built-in.o CC net/netlink/af_netlink.o CC drivers/net/wireless/bcmdhd/wl_cfg80211.o CC net/netfilter/nf_conntrack_proto_generic.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/wl_cfg80211.c: In function 'wl_cfg80211_ibss_vsie_delete': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/wl_cfg80211.c:2889:3: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 2889 | strncpy(cfg->ibss_vsie->cmd, "del", VNDR_IE_CMD_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/net/wireless/bcmdhd/wl_cfg80211.c:7636:42: warning: 'brcm_wowlan_support' defined but not used [-Wunused-const-variable=] 7636 | static const struct wiphy_wowlan_support brcm_wowlan_support = { | ^~~~~~~~~~~~~~~~~~~ CC net/netfilter/nf_conntrack_proto_tcp.o CC net/netlink/genetlink.o CC net/netfilter/nf_conntrack_proto_udp.o LD net/netlink/built-in.o CC net/packet/af_packet.o CC net/netfilter/nf_conntrack_extend.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/packet/af_packet.c: In function 'packet_set_ring': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/packet/af_packet.c:3649:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3649 | if (!tx_ring) | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/packet/af_packet.c:3651:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3651 | break; | ^~~~~ CC net/netfilter/nf_conntrack_acct.o CC net/netfilter/nf_conntrack_ecache.o LD net/packet/built-in.o CC net/rfkill/core.o CC net/netfilter/nf_conntrack_h323_main.o CC net/rfkill/rfkill-regulator.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/rfkill/rfkill-regulator.c: In function 'rfkill_regulator_set_block': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/rfkill/rfkill-regulator.c:43:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result] 43 | regulator_enable(rfkill_data->vcc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD net/rfkill/rfkill.o LD net/rfkill/built-in.o CC net/sched/sch_generic.o CC net/sched/sch_mq.o CC net/netfilter/nf_conntrack_h323_asn1.o CC net/sched/sch_api.o CC net/netfilter/nf_nat_core.o CC drivers/net/wireless/bcmdhd/wl_cfgp2p.o CC net/netfilter/nf_nat_proto_unknown.o CC net/sched/sch_blackhole.o CC net/netfilter/nf_nat_proto_common.o CC net/sched/cls_api.o CC net/netfilter/nf_nat_proto_udp.o CC drivers/net/wireless/bcmdhd/wl_cfg_btcoex.o CC net/netfilter/nf_nat_proto_tcp.o CC net/sched/act_api.o CC drivers/net/wireless/bcmdhd/wldev_common.o CC net/netfilter/nf_nat_helper.o CC drivers/net/wireless/bcmdhd/wl_linux_mon.o CC drivers/net/wireless/bcmdhd/wl_roam.o CC net/sched/sch_fifo.o CC net/netfilter/nfnetlink_queue_core.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/netfilter/nfnetlink_queue_core.c: In function 'nfqnl_build_packet_message': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/netfilter/nfnetlink_queue_core.c:377:20: warning: taking address of packed member of 'struct nfqnl_msg_packet_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 377 | *packet_id_ptr = &pmsg->packet_id; | ^~~~~~~~~~~~~~~~ CC drivers/net/wireless/bcmdhd/dhd_linux_platdev.o CC net/sched/sch_htb.o CC net/netfilter/nfnetlink.o LD drivers/net/wireless/bcmdhd/dhd.o LD drivers/net/wireless/bcmdhd/built-in.o LD drivers/net/wireless/built-in.o CC drivers/net/tun.o LD net/netfilter/nfnetlink_queue.o CC net/netfilter/nfnetlink_log.o CC net/sched/cls_u32.o CC net/sched/ematch.o LD net/netfilter/nf_conntrack.o CC net/netfilter/nf_conntrack_proto_dccp.o LD drivers/net/built-in.o LD drivers/nfc/built-in.o CC drivers/of/base.o CC net/sched/em_u32.o CC net/netfilter/nf_conntrack_proto_gre.o LD net/sched/built-in.o CC net/unix/af_unix.o CC drivers/of/fdt.o CC net/netfilter/nf_conntrack_proto_sctp.o CC drivers/of/address.o CC net/netfilter/nf_conntrack_proto_udplite.o CC drivers/of/irq.o CC net/netfilter/nf_conntrack_netlink.o CC net/unix/garbage.o CC drivers/of/device.o CC drivers/of/platform.o CC net/unix/sysctl_net_unix.o CC drivers/of/of_i2c.o LD net/unix/unix.o LD net/unix/built-in.o CC net/wireless/core.o CC net/netfilter/nf_conntrack_amanda.o CC drivers/of/of_net.o CC drivers/of/of_mdio.o CC net/netfilter/nf_conntrack_ftp.o CC net/wireless/sysfs.o LD drivers/of/built-in.o LD drivers/pinctrl/built-in.o LD drivers/platform/built-in.o CC drivers/power/power_supply_core.o LD net/netfilter/nf_conntrack_h323.o CC net/netfilter/nf_conntrack_irc.o CC net/wireless/radiotap.o CC drivers/power/power_supply_sysfs.o LD drivers/power/power_supply.o LD drivers/power/built-in.o LD drivers/pwm/built-in.o CC drivers/regulator/core.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/wireless/radiotap.c: In function 'ieee80211_radiotap_iterator_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/net/wireless/radiotap.c:114:27: warning: taking address of packed member of 'struct ieee80211_radiotap_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 114 | iterator->_next_bitmap = &radiotap_header->it_present; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC net/netfilter/nf_conntrack_broadcast.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/regulator/core.c:3972:19: warning: 'regulator_init_complete' defined but not used [-Wunused-function] 3972 | static int __init regulator_init_complete(void) | ^~~~~~~~~~~~~~~~~~~~~~~ CC net/wireless/util.o CC net/netfilter/nf_conntrack_netbios_ns.o CC net/netfilter/nf_conntrack_pptp.o CC net/wireless/reg.o CC drivers/regulator/dummy.o CC net/netfilter/nf_conntrack_sane.o CC drivers/regulator/fixed-helper.o CC net/netfilter/nf_conntrack_tftp.o CC drivers/regulator/of_regulator.o LD net/netfilter/nf_nat.o CC drivers/regulator/fixed.o CC net/netfilter/nf_nat_proto_dccp.o CC net/wireless/scan.o CC drivers/regulator/sc2723-regulator_dt.o CC net/netfilter/nf_nat_proto_udplite.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/regulator/sc2723-regulator_dt.c: In function 'dcdc_set_voltage_step': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/regulator/sc2723-regulator_dt.c:517:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 517 | int to_vol = min_uV; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/regulator/sc2723-regulator_dt.c:515:29: warning: unused variable 'desc' [-Wunused-variable] 515 | struct sci_regulator_desc *desc = __get_desc(rdev); | ^~~~ CC net/netfilter/nf_nat_proto_sctp.o LD drivers/regulator/built-in.o CC drivers/rtc/rtc-lib.o CC net/netfilter/nf_nat_amanda.o CC drivers/rtc/hctosys.o CC net/wireless/nl80211.o CC drivers/rtc/systohc.o CC net/netfilter/nf_nat_ftp.o CC drivers/rtc/class.o CC net/netfilter/nf_nat_irc.o CC drivers/rtc/interface.o CC net/netfilter/nf_nat_tftp.o CC net/netfilter/nf_tproxy_core.o CC drivers/rtc/rtc-dev.o CC drivers/rtc/rtc-proc.o CC net/netfilter/x_tables.o CC drivers/rtc/rtc-sysfs.o CC drivers/rtc/rtc-sprd.o LD drivers/rtc/rtc-core.o LD drivers/rtc/built-in.o CC drivers/scsi/scsi.o CC net/netfilter/xt_tcpudp.o CC net/netfilter/xt_mark.o CC net/netfilter/xt_connmark.o CC drivers/scsi/hosts.o CC net/netfilter/xt_nat.o CC drivers/scsi/scsi_ioctl.o CC net/netfilter/xt_CLASSIFY.o CC net/netfilter/xt_NETMAP.o CC drivers/scsi/constants.o CC net/netfilter/xt_NFLOG.o CC drivers/scsi/scsicam.o CC net/netfilter/xt_NFQUEUE.o CC net/netfilter/xt_REDIRECT.o CC net/wireless/mlme.o CC drivers/scsi/scsi_error.o CC net/netfilter/xt_TPROXY.o CC drivers/scsi/scsi_lib.o CC net/netfilter/xt_TCPMSS.o CC net/wireless/ibss.o CC net/netfilter/xt_TRACE.o CC net/netfilter/xt_IDLETIMER.o CC drivers/scsi/scsi_lib_dma.o CC net/wireless/sme.o CC net/netfilter/xt_comment.o CC drivers/scsi/scsi_scan.o CC net/netfilter/xt_connlimit.o CC net/wireless/chan.o CC net/netfilter/xt_conntrack.o CC drivers/scsi/scsi_sysfs.o CC net/netfilter/xt_ecn.o CC net/wireless/ethtool.o CC drivers/scsi/scsi_devinfo.o CC net/netfilter/xt_hashlimit.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/scsi/scsi_devinfo.c: In function 'scsi_dev_info_list_add_str': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/scsi/scsi_devinfo.c:512:4: warning: '%s' directive argument is null [-Wformat-overflow=] 512 | printk(KERN_ERR "%s: bad dev info string '%s' '%s'" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 513 | " '%s'\n", __func__, vendor, model, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 514 | strflags); | ~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/scsi/scsi_devinfo.c:513:14: note: format string is defined here 513 | " '%s'\n", __func__, vendor, model, | ^~ CC drivers/scsi/scsi_sysctl.o CC net/wireless/mesh.o CC drivers/scsi/scsi_proc.o CC net/netfilter/xt_helper.o CC drivers/scsi/scsi_trace.o CC net/wireless/ap.o CC net/netfilter/xt_hl.o CC drivers/scsi/scsi_pm.o CC net/wireless/trace.o CC net/netfilter/xt_iprange.o CC drivers/scsi/scsi_tgt_lib.o CC net/netfilter/xt_length.o CC net/netfilter/xt_limit.o CC drivers/scsi/scsi_tgt_if.o CC net/netfilter/xt_mac.o CC drivers/scsi/sd.o CC net/netfilter/xt_pkttype.o CC net/netfilter/xt_policy.o CC net/netfilter/xt_qtaguid_print.o CC net/netfilter/xt_qtaguid.o CC drivers/scsi/sr.o CC drivers/scsi/sr_ioctl.o CC net/wireless/wext-compat.o CC drivers/scsi/sr_vendor.o CC net/netfilter/xt_quota.o CC drivers/scsi/raid_class.o CC net/netfilter/xt_quota2.o LD drivers/scsi/arm/built-in.o CC drivers/scsi/device_handler/scsi_dh.o CC net/netfilter/xt_socket.o CC net/wireless/wext-sme.o LD drivers/scsi/device_handler/built-in.o LD drivers/scsi/sd_mod.o LD drivers/scsi/sr_mod.o CC drivers/scsi/sg.o CC net/wireless/wext-core.o CC net/netfilter/xt_state.o CC net/netfilter/xt_statistic.o CC net/wireless/wext-proc.o CC net/netfilter/xt_string.o LD drivers/scsi/scsi_mod.o LD drivers/scsi/scsi_tgt.o LD drivers/scsi/built-in.o CC drivers/sensor/sensors_core.o LD net/wireless/cfg80211.o LD net/wireless/built-in.o CC net/xfrm/xfrm_policy.o CC net/netfilter/xt_time.o CC drivers/sensor/k2hh.o CC net/netfilter/xt_u32.o LD net/netfilter/netfilter.o LD net/netfilter/built-in.o CC drivers/sensor/sx9500.o CC net/sysctl_net.o CC net/activity_stats.o LD drivers/sensor/built-in.o CC drivers/sipc/sipc.o CC net/xfrm/xfrm_state.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/sipc.c: In function 'sipc_destroy_pdata': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/sipc.c:301:33: warning: initialization of 'struct sipc_init_data *' from incompatible pointer type 'struct sipc_init_data **' [-Wincompatible-pointer-types] 301 | struct sipc_init_data *pdata = ppdata; | ^~~~~~ CC drivers/spi/spi.o CC drivers/sipc/smsg.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c: In function 'smsg_irq_handler': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:51:18: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 51 | while (readl(ipc->rxbuf_wrptr) != readl(ipc->rxbuf_rdptr)) { | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:51:9: note: in expansion of macro 'readl' 51 | while (readl(ipc->rxbuf_wrptr) != readl(ipc->rxbuf_rdptr)) { | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:51:45: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 51 | while (readl(ipc->rxbuf_wrptr) != readl(ipc->rxbuf_rdptr)) { | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:51:36: note: in expansion of macro 'readl' 51 | while (readl(ipc->rxbuf_wrptr) != readl(ipc->rxbuf_rdptr)) { | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:52:21: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 52 | rxpos = (readl(ipc->rxbuf_rdptr) & (ipc->rxbuf_size - 1)) * | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:52:12: note: in expansion of macro 'readl' 52 | rxpos = (readl(ipc->rxbuf_rdptr) & (ipc->rxbuf_size - 1)) * | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:57:13: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 57 | readl(ipc->rxbuf_wrptr), readl(ipc->rxbuf_rdptr), rxpos); | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'readl' 79 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug' 240 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:56:3: note: in expansion of macro 'pr_debug' 56 | pr_debug("irq get smsg: wrptr=%d, rdptr=%d, rxpos=0x%08x\n", | ^~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:57:38: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 57 | readl(ipc->rxbuf_wrptr), readl(ipc->rxbuf_rdptr), rxpos); | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'readl' 79 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug' 240 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:56:3: note: in expansion of macro 'pr_debug' 56 | pr_debug("irq get smsg: wrptr=%d, rdptr=%d, rxpos=0x%08x\n", | ^~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:65:21: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 65 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' 32 | #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:481:36: note: in expansion of macro 'writel_relaxed' 481 | #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:65:5: note: in expansion of macro 'writel' 65 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__le32_to_cpu' 88 | #define le32_to_cpu __le32_to_cpu | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:65:12: note: in expansion of macro 'readl' 65 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:65:44: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 65 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:65:5: note: in expansion of macro 'writel' 65 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:76:20: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 76 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' 32 | #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:481:36: note: in expansion of macro 'writel_relaxed' 481 | #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:76:4: note: in expansion of macro 'writel' 76 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__le32_to_cpu' 88 | #define le32_to_cpu __le32_to_cpu | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:76:11: note: in expansion of macro 'readl' 76 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:76:43: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 76 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:76:4: note: in expansion of macro 'writel' 76 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:95:20: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 95 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' 32 | #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:481:36: note: in expansion of macro 'writel_relaxed' 481 | #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:95:4: note: in expansion of macro 'writel' 95 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__le32_to_cpu' 88 | #define le32_to_cpu __le32_to_cpu | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:95:11: note: in expansion of macro 'readl' 95 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:95:43: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 95 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:95:4: note: in expansion of macro 'writel' 95 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:115:19: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 115 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' 32 | #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:481:36: note: in expansion of macro 'writel_relaxed' 481 | #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:115:3: note: in expansion of macro 'writel' 115 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__le32_to_cpu' 88 | #define le32_to_cpu __le32_to_cpu | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:115:10: note: in expansion of macro 'readl' 115 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:115:42: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 115 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:115:3: note: in expansion of macro 'writel' 115 | writel(readl(ipc->rxbuf_rdptr) + 1, ipc->rxbuf_rdptr); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c: In function 'smsg_send': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:312:21: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 312 | if ((int)(readl(ipc->txbuf_wrptr) - | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:312:12: note: in expansion of macro 'readl' 312 | if ((int)(readl(ipc->txbuf_wrptr) - | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:313:12: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 313 | readl(ipc->txbuf_rdptr)) >= ipc->txbuf_size) { | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:313:3: note: in expansion of macro 'readl' 313 | readl(ipc->txbuf_rdptr)) >= ipc->txbuf_size) { | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:320:20: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 320 | txpos = (readl(ipc->txbuf_wrptr) & (ipc->txbuf_size - 1)) * | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:320:11: note: in expansion of macro 'readl' 320 | txpos = (readl(ipc->txbuf_wrptr) & (ipc->txbuf_size - 1)) * | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:325:13: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 325 | readl(ipc->txbuf_wrptr), | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'readl' 79 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug' 240 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:324:2: note: in expansion of macro 'pr_debug' 324 | pr_debug("write smsg: wrptr=%d, rdptr=%d, txpos=0x%08x\n", | ^~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:326:13: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 326 | readl(ipc->txbuf_rdptr), txpos); | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dynamic_debug.h:79:10: note: in expansion of macro 'readl' 79 | ##__VA_ARGS__); \ | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug' 240 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:324:2: note: in expansion of macro 'pr_debug' 324 | pr_debug("write smsg: wrptr=%d, rdptr=%d, txpos=0x%08x\n", | ^~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:329:18: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 329 | writel(readl(ipc->txbuf_wrptr) + 1, ipc->txbuf_wrptr); | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__cpu_to_le32' 32 | #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:481:36: note: in expansion of macro 'writel_relaxed' 481 | #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:329:2: note: in expansion of macro 'writel' 329 | writel(readl(ipc->txbuf_wrptr) + 1, ipc->txbuf_wrptr); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__le32_to_cpu' 88 | #define le32_to_cpu __le32_to_cpu | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:329:9: note: in expansion of macro 'readl' 329 | writel(readl(ipc->txbuf_wrptr) + 1, ipc->txbuf_wrptr); | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:329:41: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 329 | writel(readl(ipc->txbuf_wrptr) + 1, ipc->txbuf_wrptr); | ~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:329:2: note: in expansion of macro 'writel' 329 | writel(readl(ipc->txbuf_wrptr) + 1, ipc->txbuf_wrptr); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c: In function 'smsg_debug_show': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:453:92: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 453 | smsg_sipc->txbuf_addr, smsg_sipc->txbuf_size, smsg_sipc->txbuf_rdptr, readl(smsg_sipc->txbuf_rdptr), smsg_sipc->txbuf_wrptr, readl(smsg_sipc->txbuf_wrptr)); | ~~~~~~~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:453:77: note: in expansion of macro 'readl' 453 | smsg_sipc->txbuf_addr, smsg_sipc->txbuf_size, smsg_sipc->txbuf_rdptr, readl(smsg_sipc->txbuf_rdptr), smsg_sipc->txbuf_wrptr, readl(smsg_sipc->txbuf_wrptr)); | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:453:147: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 453 | smsg_sipc->txbuf_addr, smsg_sipc->txbuf_size, smsg_sipc->txbuf_rdptr, readl(smsg_sipc->txbuf_rdptr), smsg_sipc->txbuf_wrptr, readl(smsg_sipc->txbuf_wrptr)); | ~~~~~~~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:453:132: note: in expansion of macro 'readl' 453 | smsg_sipc->txbuf_addr, smsg_sipc->txbuf_size, smsg_sipc->txbuf_rdptr, readl(smsg_sipc->txbuf_rdptr), smsg_sipc->txbuf_wrptr, readl(smsg_sipc->txbuf_wrptr)); | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:452:76: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'u32' {aka 'unsigned int'} [-Wformat=] 452 | seq_printf(m, "txbufAddr: 0x%0x, txbufsize: 0x%0x, txbufrdptr: [0x%0x]=%lu, txbufwrptr: [0x%0x]=%lu\n", | ~~^ | | | long unsigned int | %u /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:452:101: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'u32' {aka 'unsigned int'} [-Wformat=] 452 | seq_printf(m, "txbufAddr: 0x%0x, txbufsize: 0x%0x, txbufrdptr: [0x%0x]=%lu, txbufwrptr: [0x%0x]=%lu\n", | ~~^ | | | long unsigned int | %u In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:455:92: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 455 | smsg_sipc->rxbuf_addr, smsg_sipc->rxbuf_size, smsg_sipc->rxbuf_rdptr, readl(smsg_sipc->rxbuf_rdptr), smsg_sipc->rxbuf_wrptr, readl(smsg_sipc->rxbuf_wrptr)); | ~~~~~~~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:455:77: note: in expansion of macro 'readl' 455 | smsg_sipc->rxbuf_addr, smsg_sipc->rxbuf_size, smsg_sipc->rxbuf_rdptr, readl(smsg_sipc->rxbuf_rdptr), smsg_sipc->rxbuf_wrptr, readl(smsg_sipc->rxbuf_wrptr)); | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/byteorder/little_endian.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/uapi/asm/byteorder.h:21, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/bitops.h:308, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/bitops.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:14: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:455:147: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 455 | smsg_sipc->rxbuf_addr, smsg_sipc->rxbuf_size, smsg_sipc->rxbuf_rdptr, readl(smsg_sipc->rxbuf_rdptr), smsg_sipc->rxbuf_wrptr, readl(smsg_sipc->rxbuf_wrptr)); | ~~~~~~~~~^~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:477:32: note: in expansion of macro 'readl_relaxed' 477 | #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:455:132: note: in expansion of macro 'readl' 455 | smsg_sipc->rxbuf_addr, smsg_sipc->rxbuf_size, smsg_sipc->rxbuf_rdptr, readl(smsg_sipc->rxbuf_rdptr), smsg_sipc->rxbuf_wrptr, readl(smsg_sipc->rxbuf_wrptr)); | ^~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:22: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'uint32_t' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:454:76: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'u32' {aka 'unsigned int'} [-Wformat=] 454 | seq_printf(m, "rxbufAddr: 0x%0x, rxbufsize: 0x%0x, rxbufrdptr: [0x%0x]=%lu, rxbufwrptr: [0x%0x]=%lu\n", | ~~^ | | | long unsigned int | %u /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smsg.c:454:101: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'u32' {aka 'unsigned int'} [-Wformat=] 454 | seq_printf(m, "rxbufAddr: 0x%0x, rxbufsize: 0x%0x, rxbufrdptr: [0x%0x]=%lu, rxbufwrptr: [0x%0x]=%lu\n", | ~~^ | | | long unsigned int | %u CC drivers/spi/sprd_spi_r4p0.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c: In function 'sprd_spi_dump_regs': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:91:50: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 91 | printk("SPI_CLKD:0x%x \n", __raw_readl(reg_base + SPI_CLKD)); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:92:50: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 92 | printk("SPI_CTL0:0x%x \n", __raw_readl(reg_base + SPI_CTL0)); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:93:50: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 93 | printk("SPI_CTL1:0x%x \n", __raw_readl(reg_base + SPI_CTL1)); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:94:50: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 94 | printk("SPI_CTL2:0x%x \n", __raw_readl(reg_base + SPI_CTL2)); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:95:50: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 95 | printk("SPI_CTL3:0x%x \n", __raw_readl(reg_base + SPI_CTL3)); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:96:50: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 96 | printk("SPI_CTL4:0x%x \n", __raw_readl(reg_base + SPI_CTL4)); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:97:50: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 97 | printk("SPI_CTL5:0x%x \n", __raw_readl(reg_base + SPI_CTL5)); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:98:52: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 98 | printk("SPI_INT_EN:0x%x \n", __raw_readl(reg_base + SPI_INT_EN)); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:99:54: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 99 | printk("SPI_DSP_WAIT:0x%x \n", __raw_readl(reg_base + SPI_DSP_WAIT)); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:100:50: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 100 | printk("SPI_CTL6:0x%x \n", __raw_readl(reg_base + SPI_CTL6)); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:101:50: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 101 | printk("SPI_CTL7:0x%x \n", __raw_readl(reg_base + SPI_CTL7)); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c: In function 'sprd_spi_wait_for_send_complete': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:107:32: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 107 | while (!(__raw_readl(reg_base + SPI_STS2) & SPI_TX_FIFO_REALLY_EMPTY)) In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:117:30: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 117 | while (__raw_readl(reg_base + SPI_STS2) & SPI_TX_BUSY) In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c: In function 'sprd_spi_transfer_full_duplex': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:171:33: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 171 | reg_val = __raw_readl(reg_base + SPI_CTL0); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:176:27: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 176 | writel(reg_val, reg_base + SPI_CTL0); /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:176:2: note: in expansion of macro 'writel' 176 | writel(reg_val, reg_base + SPI_CTL0); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:202:33: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 202 | reg_val = __raw_readl(reg_base + SPI_CTL1); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:212:27: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 212 | writel(reg_val, reg_base + SPI_CTL1); /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:212:2: note: in expansion of macro 'writel' 212 | writel(reg_val, reg_base + SPI_CTL1); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:215:23: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 215 | writel(0x1, reg_base + SPI_FIFO_RST); /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:215:2: note: in expansion of macro 'writel' 215 | writel(0x1, reg_base + SPI_FIFO_RST); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:216:23: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 216 | writel(0x0, reg_base + SPI_FIFO_RST); /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:216:2: note: in expansion of macro 'writel' 216 | writel(0x0, reg_base + SPI_FIFO_RST); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:220:34: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 220 | reg_val = __raw_readl(reg_base + SPI_CTL0); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:222:28: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 222 | writel(reg_val, reg_base + SPI_CTL0); /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:222:3: note: in expansion of macro 'writel' 222 | writel(reg_val, reg_base + SPI_CTL0); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:237:15: warning: passing argument 2 of '__raw_writeb' makes pointer from integer without a cast [-Wint-conversion] 237 | reg_base + SPI_TXD); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:246:64: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 246 | static inline void __raw_writeb(u8 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:247:37: warning: passing argument 1 of '__raw_readb' makes pointer from integer without a cast [-Wint-conversion] 247 | *rx_u8_p = __raw_readb(reg_base + SPI_TXD); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:264:59: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 264 | static inline u8 __raw_readb(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:253:52: warning: passing argument 2 of '__raw_writeb' makes pointer from integer without a cast [-Wint-conversion] 253 | __raw_writeb(*tx_u8_p & send_data_msk, reg_base + SPI_TXD); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:246:64: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 246 | static inline void __raw_writeb(u8 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:263:36: warning: passing argument 1 of '__raw_readb' makes pointer from integer without a cast [-Wint-conversion] 263 | *rx_u8_p = __raw_readb(reg_base + SPI_TXD); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:264:59: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 264 | static inline u8 __raw_readb(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:277:15: warning: passing argument 2 of '__raw_writew' makes pointer from integer without a cast [-Wint-conversion] 277 | reg_base + SPI_TXD); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:183:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 183 | static inline void __raw_writew(u16 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:287:38: warning: passing argument 1 of '__raw_readw' makes pointer from integer without a cast [-Wint-conversion] 287 | *rx_u16_p = __raw_readw(reg_base + SPI_TXD); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:192:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 192 | static inline u16 __raw_readw(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:293:53: warning: passing argument 2 of '__raw_writew' makes pointer from integer without a cast [-Wint-conversion] 293 | __raw_writew(*tx_u16_p & send_data_msk, reg_base + SPI_TXD); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:183:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 183 | static inline void __raw_writew(u16 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:303:37: warning: passing argument 1 of '__raw_readw' makes pointer from integer without a cast [-Wint-conversion] 303 | *rx_u16_p = __raw_readw(reg_base + SPI_TXD); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:192:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 192 | static inline u16 __raw_readw(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:317:15: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 317 | reg_base + SPI_TXD); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:327:38: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 327 | *rx_u32_p = __raw_readl(reg_base + SPI_TXD); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:333:53: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 333 | __raw_writel(*tx_u32_p & send_data_msk, reg_base + SPI_TXD); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:343:37: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 343 | *rx_u32_p = __raw_readl(reg_base + SPI_TXD); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:353:34: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 353 | reg_val = __raw_readl(reg_base + SPI_CTL0); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:355:34: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 355 | __raw_writel(reg_val, reg_base + SPI_CTL0); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:360:33: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 360 | reg_val = __raw_readl(reg_base + SPI_CTL1); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:362:27: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 362 | writel(reg_val, reg_base + SPI_CTL1); /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:473:71: note: in definition of macro 'writel_relaxed' 473 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:362:2: note: in expansion of macro 'writel' 362 | writel(reg_val, reg_base + SPI_CTL1); | ^~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c: In function 'sprd_spi_backup_config': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:435:49: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 435 | spi_chip->reg_backup[0] = __raw_readl(reg_base + SPI_CLKD); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:436:49: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 436 | spi_chip->reg_backup[1] = __raw_readl(reg_base + SPI_CTL0); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:437:49: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 437 | spi_chip->reg_backup[2] = __raw_readl(reg_base + SPI_CTL1); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:438:49: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 438 | spi_chip->reg_backup[3] = __raw_readl(reg_base + SPI_CTL2); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:439:49: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 439 | spi_chip->reg_backup[4] = __raw_readl(reg_base + SPI_CTL3); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:440:49: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 440 | spi_chip->reg_backup[5] = __raw_readl(reg_base + SPI_CTL4); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:441:49: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 441 | spi_chip->reg_backup[6] = __raw_readl(reg_base + SPI_CTL5); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:442:49: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 442 | spi_chip->reg_backup[7] = __raw_readl(reg_base + SPI_INT_EN); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:443:49: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 443 | spi_chip->reg_backup[8] = __raw_readl(reg_base + SPI_DSP_WAIT); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:444:49: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 444 | spi_chip->reg_backup[9] = __raw_readl(reg_base + SPI_CTL6); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:445:50: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 445 | spi_chip->reg_backup[10] = __raw_readl(reg_base + SPI_CTL7); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c: In function 'sprd_spi_restore_config': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:455:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 455 | __raw_writel(spi_chip->reg_backup[0], reg_base + SPI_CLKD); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:456:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 456 | __raw_writel(spi_chip->reg_backup[1], reg_base + SPI_CTL0); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:457:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 457 | __raw_writel(spi_chip->reg_backup[2], reg_base + SPI_CTL1); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:458:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 458 | __raw_writel(spi_chip->reg_backup[3], reg_base + SPI_CTL2); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:459:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 459 | __raw_writel(spi_chip->reg_backup[4], reg_base + SPI_CTL3); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:460:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 460 | __raw_writel(spi_chip->reg_backup[5], reg_base + SPI_CTL4); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:461:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 461 | __raw_writel(spi_chip->reg_backup[6], reg_base + SPI_CTL5); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:462:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 462 | __raw_writel(spi_chip->reg_backup[7], reg_base + SPI_INT_EN); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:463:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 463 | __raw_writel(spi_chip->reg_backup[8], reg_base + SPI_DSP_WAIT); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:464:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 464 | __raw_writel(spi_chip->reg_backup[9], reg_base + SPI_CTL6); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:465:50: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 465 | __raw_writel(spi_chip->reg_backup[10], reg_base + SPI_CTL7); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'} 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ CC drivers/sipc/smem.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/platform_device.h:14, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:17: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c: In function 'sprd_spi_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:594:23: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=] 594 | dev_info(&pdev->dev, "probe spi %d get regbase %p\n", pdev->id, regs->start); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ | | | resource_size_t {aka unsigned int} /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:1014:51: note: in definition of macro 'dev_info' 1014 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:594:50: note: format string is defined here 594 | dev_info(&pdev->dev, "probe spi %d get regbase %p\n", pdev->id, regs->start); | ~^ | | | void * | %d /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smem.c: In function 'smem_debug_show': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smem.c:140:53: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'atomic_t' {aka 'struct '} [-Wformat=] 140 | seq_printf(m, "phys_addr=0x%x, total=0x%x, used=0x%x, free=0x%x\n", | ~^ | | | unsigned int 141 | spool->addr, spool->size, spool->used, fsize); | ~~~~~~~~~~~ | | | atomic_t {aka struct } CC drivers/sipc/sbuf.o CC net/xfrm/xfrm_hash.o LD drivers/spi/built-in.o CC drivers/staging/staging.o CC net/xfrm/xfrm_input.o CC drivers/staging/android/binder.o CC drivers/sipc/sblock.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/binder.c: In function 'binder_node_release': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/binder.c:2963:1: warning: label 'out' defined but not used [-Wunused-label] 2963 | out: | ^~~ CC net/xfrm/xfrm_output.o CC drivers/sipc/sipc_debugfs.o CC drivers/sipc/spipe.o CC net/xfrm/xfrm_sysctl.o CC drivers/sipc/seth.o CC net/xfrm/xfrm_replay.o CC drivers/sipc/stty.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:184:25: warning: function declaration isn't a prototype [-Wstrict-prototypes] 184 | static struct tty_port *stty_port_init() | ^~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c: In function 'stty_parse_dt': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:248:30: warning: initialization of 'struct of_device_node *' from incompatible pointer type 'struct device_node *' [-Wincompatible-pointer-types] 248 | struct of_device_node *np = dev->of_node; | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:258:32: warning: passing argument 1 of 'of_property_read_string' from incompatible pointer type [-Wincompatible-pointer-types] 258 | ret = of_property_read_string(np, "sprd,name", (const char **)&pdata->name); | ^~ | | | struct of_device_node * In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of_device.h:8, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of.h:252:56: note: expected 'struct device_node *' but argument is of type 'struct of_device_node *' 252 | extern int of_property_read_string(struct device_node *np, | ~~~~~~~~~~~~~~~~~~~~^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:263:29: warning: passing argument 1 of 'of_property_read_u32' from incompatible pointer type [-Wincompatible-pointer-types] 263 | ret = of_property_read_u32(np, "sprd,dst", (uint32_t *)&data); | ^~ | | | struct of_device_node * In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of_device.h:8, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of.h:555:66: note: expected 'const struct device_node *' but argument is of type 'struct of_device_node *' 555 | static inline int of_property_read_u32(const struct device_node *np, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:269:29: warning: passing argument 1 of 'of_property_read_u32' from incompatible pointer type [-Wincompatible-pointer-types] 269 | ret = of_property_read_u32(np, "sprd,channel", (uint32_t *)&data); | ^~ | | | struct of_device_node * In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of_device.h:8, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of.h:555:66: note: expected 'const struct device_node *' but argument is of type 'struct of_device_node *' 555 | static inline int of_property_read_u32(const struct device_node *np, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:275:29: warning: passing argument 1 of 'of_property_read_u32' from incompatible pointer type [-Wincompatible-pointer-types] 275 | ret = of_property_read_u32(np, "sprd,bufid", (uint32_t *)&pdata->bufid); | ^~ | | | struct of_device_node * In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of_device.h:8, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:29: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of.h:555:66: note: expected 'const struct device_node *' but argument is of type 'struct of_device_node *' 555 | static inline int of_property_read_u32(const struct device_node *np, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c: In function 'stty_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:349:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] 349 | printk( "stty_probe init device addr: 0x%0x\n", (void *)stty); | ~~^ ~~~~~~~~~~~~ | | | | | void * | unsigned int | %0p /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c: In function 'stty_handler': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:86:1: warning: the frame size of 4104 bytes is larger than 1024 bytes [-Wframe-larger-than=] 86 | } | ^ LD drivers/sipc/built-in.o CC drivers/switch/switch_class.o CC drivers/switch/switch_gpio.o CC net/xfrm/xfrm_algo.o LD drivers/switch/built-in.o CC drivers/thermal/thermal_core.o CC drivers/staging/android/ashmem.o CC net/xfrm/xfrm_user.o CC drivers/staging/android/logger.o CC drivers/thermal/step_wise.o CC drivers/staging/android/timed_output.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/thermal/step_wise.c: In function 'get_trip_target': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/thermal/step_wise.c:166:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 166 | printk("temp:%d, trip_temp:%d\n", tz->temperature, trip_temp); | ~^ ~~~~~~~~~ | | | | int long unsigned int | %ld CC drivers/thermal/sprd_thm.o CC drivers/staging/android/timed_gpio.o CC drivers/thermal/sprd_2713s_thm.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/thermal/sprd_2713s_thm.c: In function 'sprd_thm_set_active_trip': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/thermal/sprd_2713s_thm.c:29:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 29 | #define THM_DEBUG(format, arg...) printk("sprd thm: " "@@@" format, ## arg) | ^~~~~~~~~~~~ ...... 177 | THM_DEBUG("thm sensor trip:%d, temperature:%d \n", trip, trip_tab->trip_points[trip].temp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/thermal/sprd_2713s_thm.c:177:2: note: in expansion of macro 'THM_DEBUG' 177 | THM_DEBUG("thm sensor trip:%d, temperature:%d \n", trip, trip_tab->trip_points[trip].temp); | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/thermal/sprd_2713s_thm.c:177:46: note: format string is defined here 177 | THM_DEBUG("thm sensor trip:%d, temperature:%d \n", trip, trip_tab->trip_points[trip].temp); | ~^ | | | int | %ld CC drivers/staging/android/lowmemorykiller.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:6, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cache.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/stat.h:18, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/module.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/lowmemorykiller.c:35: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/lowmemorykiller.c: In function 'lowmem_shrink': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 15 has type 'long unsigned int' [-Wformat=] 4 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' 13 | #define KERN_INFO KERN_SOH "6" /* informational */ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:223:9: note: in expansion of macro 'KERN_INFO' 223 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/lowmemorykiller.c:102:4: note: in expansion of macro 'pr_info' 102 | pr_info(x); \ | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/lowmemorykiller.c:461:4: note: in expansion of macro 'lowmem_print' 461 | lowmem_print(1, "Killing '%s' (%d), adj %hd,\n" \ | ^~~~~~~~~~~~ CC net/xfrm/xfrm_ipcomp.o CC drivers/staging/android/alarm-dev.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/alarm-dev.c: In function 'alarm_do_ioctl': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/alarm-dev.c:267:1: warning: label 'err1' defined but not used [-Wunused-label] 267 | err1: | ^~~~ LD drivers/thermal/thermal_sys.o LD drivers/thermal/built-in.o LD drivers/staging/iio/accel/built-in.o LD drivers/staging/iio/adc/built-in.o LD drivers/staging/iio/addac/built-in.o LD drivers/staging/iio/cdc/built-in.o CC drivers/staging/android/sync.o LD drivers/staging/iio/frequency/built-in.o LD drivers/staging/iio/gyro/built-in.o LD drivers/staging/iio/impedance-analyzer/built-in.o LD drivers/staging/iio/light/built-in.o LD drivers/staging/iio/magnetometer/built-in.o LD drivers/staging/iio/meter/built-in.o LD drivers/staging/iio/resolver/built-in.o LD net/xfrm/built-in.o LD drivers/staging/iio/trigger/built-in.o LD drivers/staging/iio/built-in.o LD net/built-in.o LD drivers/staging/media/built-in.o CC drivers/staging/vnswap/vnswap.o CC drivers/tty/tty_io.o LD drivers/staging/android/built-in.o CC drivers/staging/vnswap/vnswap_sysfs.o CC drivers/tty/n_tty.o LD drivers/staging/vnswap/built-in.o LD drivers/staging/built-in.o CC drivers/usb/core/usb.o CC drivers/tty/tty_ioctl.o CC drivers/tty/tty_ldisc.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/usb.c: In function 'usb_alloc_dev': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/usb.c:425:9: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 425 | "%s.%d", parent->devpath, port1); | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/usb.c:425:5: note: using the range [-2147483648, 2147483647] for directive argument 425 | "%s.%d", parent->devpath, port1); | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/usb.c:424:4: note: 'snprintf' output between 3 and 28 bytes into a destination of size 16 424 | snprintf(dev->devpath, sizeof dev->devpath, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 425 | "%s.%d", parent->devpath, port1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/usb/core/hub.o CC drivers/tty/tty_buffer.o CC drivers/tty/tty_port.o CC drivers/tty/tty_mutex.o CC drivers/tty/tty_ldsem.o CC drivers/tty/pty.o CC drivers/tty/tty_audit.o CC drivers/tty/sysrq.o LD drivers/tty/ipwireless/built-in.o CC drivers/tty/serial/serial_core.o CC drivers/usb/core/hcd.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/hcd.c: In function 'rh_string': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/hcd.c:427:34: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size between 35 and 99 [-Wformat-truncation=] 427 | snprintf (buf, sizeof buf, "%s %s %s", init_utsname()->sysname, | ^~ 428 | init_utsname()->release, hcd->driver->description); | ~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/hcd.c:427:3: note: 'snprintf' output 3 or more bytes (assuming 131) into a destination of size 100 427 | snprintf (buf, sizeof buf, "%s %s %s", init_utsname()->sysname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 428 | init_utsname()->release, hcd->driver->description); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/tty/vt/vt_ioctl.o CC drivers/usb/core/urb.o CC drivers/tty/serial/serial_sprd_dt.o CC drivers/tty/vt/vc_screen.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c: In function 'wakeup_rx_interrupt': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:322:26: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 322 | #define SPRD_EICINT_BASE (SPRD_EIC_BASE+0x80) | ^ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:331:20: note: in expansion of macro 'SPRD_EICINT_BASE' 331 | val = __raw_readl(SPRD_EICINT_BASE + 0x10); | ^~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:27: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:322:26: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 322 | #define SPRD_EICINT_BASE (SPRD_EIC_BASE+0x80) | ^ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:336:20: note: in expansion of macro 'SPRD_EICINT_BASE' 336 | __raw_writel(val, SPRD_EICINT_BASE + 0x10); | ^~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:27: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:322:26: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 322 | #define SPRD_EICINT_BASE (SPRD_EIC_BASE+0x80) | ^ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:339:20: note: in expansion of macro 'SPRD_EICINT_BASE' 339 | val = __raw_readl(SPRD_EICINT_BASE + 0x0C); | ^~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:27: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:322:26: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 322 | #define SPRD_EICINT_BASE (SPRD_EIC_BASE+0x80) | ^ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:341:20: note: in expansion of macro 'SPRD_EICINT_BASE' 341 | __raw_writel(val, SPRD_EICINT_BASE + 0x0C); | ^~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:27: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c: In function 'serial_sprd_setup_port': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:652:14: warning: assignment to 'resource_size_t' {aka 'unsigned int'} from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] 652 | up->mapbase = up->membase; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:641:22: warning: unused variable 'np' [-Wunused-variable] 641 | struct device_node *np = pdev->dev.of_node; | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c: In function 'serial_sprd_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:802:51: warning: passing argument 3 of 'of_property_read_string' from incompatible pointer type [-Wincompatible-pointer-types] 802 | of_property_read_string(np, "sprdwaketype", &local_string); | ^~~~~~~~~~~~~ | | | char ** In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:36: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of.h:254:21: note: expected 'const char **' but argument is of type 'char **' 254 | const char **out_string); | ~~~~~~~~~~~~~^~~~~~~~~~ CC drivers/tty/vt/selection.o CC drivers/usb/core/message.o CC drivers/tty/vt/keyboard.o LD drivers/tty/serial/built-in.o CC drivers/tty/sprdrq.o CC drivers/tty/vt/consolemap.o CC drivers/usb/core/driver.o CONMK drivers/tty/vt/consolemap_deftbl.c CC drivers/tty/vt/vt.o CC drivers/usb/core/config.o SHIPPED drivers/tty/vt/defkeymap.c CC drivers/tty/vt/consolemap_deftbl.o CC drivers/tty/vt/defkeymap.o CC drivers/usb/core/file.o CC drivers/usb/core/buffer.o CC drivers/usb/core/sysfs.o CC drivers/usb/core/endpoint.o CC drivers/usb/core/devio.o CC drivers/usb/core/notify.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c: In function 'async_completed': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:515:43: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 515 | if ((urb->transfer_flags & URB_DIR_MASK) == USB_DIR_IN) | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c: In function 'proc_do_submiturb': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1240:43: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1240 | if (uurb->buffer_length < (le16_to_cpup(&dr->wLength) + 8)) { | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1245:24: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1245 | le16_to_cpup(&dr->wIndex)); | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1249:38: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1249 | uurb->buffer_length = le16_to_cpup(&dr->wLength); | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/usb.h:18, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:44: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1262:19: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1262 | __le16_to_cpup(&dr->wValue), | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:1014:58: note: in definition of macro 'dev_info' 1014 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1258:3: note: in expansion of macro 'snoop' 1258 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1263:19: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1263 | __le16_to_cpup(&dr->wIndex), | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:1014:58: note: in definition of macro 'dev_info' 1014 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1258:3: note: in expansion of macro 'snoop' 1258 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1264:19: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1264 | __le16_to_cpup(&dr->wLength)); | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:1014:58: note: in definition of macro 'dev_info' 1014 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) | ^~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1258:3: note: in expansion of macro 'snoop' 1258 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ LD drivers/tty/vt/built-in.o LD drivers/tty/built-in.o CC drivers/video/fb_notify.o CC drivers/usb/core/generic.o CC drivers/usb/core/quirks.o CC drivers/video/fbmem.o CC drivers/usb/core/devices.o CC drivers/usb/core/port.o CC drivers/video/fbmon.o LD drivers/usb/core/usbcore.o CC drivers/video/fbcmap.o LD drivers/usb/core/built-in.o CC drivers/usb/gadget/udc-core.o CC drivers/video/fbsysfs.o CC drivers/video/modedb.o CC drivers/usb/gadget/android.o CC drivers/video/fbcvt.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:34: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_fs.c: In function 'ffs_epfile_io': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_fs.c:764:8: warning: assignment to 'char *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types] 764 | data = &recv_buffer[8]; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_fs.c:766:8: warning: assignment to 'char *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types] 766 | data = &send_buffer[8]; | ^ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:37: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mass_storage.c: In function 'do_read_toc': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mass_storage.c:1218:7: warning: unused variable 'start_track' [-Wunused-variable] 1218 | int start_track = common->cmnd[6]; | ^~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mass_storage.c:1216:18: warning: unused variable 'curlun' [-Wunused-variable] 1216 | struct fsg_lun *curlun = common->curlun; | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mass_storage.c: In function 'do_set_interface': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mass_storage.c:2361:35: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct fsg_common *' [-Wformat=] 2361 | printk("%s new_fsg->common = 0x%x common = 0x%x\n",__func__,new_fsg->common,common); | ~^ ~~~~~~~~~~~~~~~ | | | | unsigned int struct fsg_common * /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mass_storage.c:2361:49: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'struct fsg_common *' [-Wformat=] 2361 | printk("%s new_fsg->common = 0x%x common = 0x%x\n",__func__,new_fsg->common,common); | ~^ ~~~~~~ | | | | unsigned int struct fsg_common * In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mtp_samsung.c:53, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:39: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/usb/android_composite.h: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/usb/android_composite.h:86:46: warning: 'struct android_usb_function' declared inside parameter list will not be visible outside of this definition or declaration 86 | extern void android_register_function(struct android_usb_function *f); | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:39: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mtp_samsung.c: In function 'mtp_bind_config': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mtp_samsung.c:1654:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1654 | if (status < 0) | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mtp_samsung.c:1657:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1657 | strings_dev_mtp[F_MTP_IDX].id = status; | ^~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c: In function 'mass_storage_support_luns_store': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:1010:12: warning: comparison between pointer and integer 1010 | if (value > (config->common->luns)||value <= 0) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:1553:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 1553 | extern void usb_first_enable_store_flag(); | ^~~~~~ CC drivers/video/backlight/gen_panel/gen-panel-bl.o CC drivers/video/console/dummycon.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:583:13: warning: 'acm_function_unbind_config' defined but not used [-Wunused-function] 583 | static void acm_function_unbind_config(struct android_usb_function *f, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:62:19: warning: 'longname' defined but not used [-Wunused-const-variable=] 62 | static const char longname[] = "Gadget Android"; | ^~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:6, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cache.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/stat.h:18, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/module.h:10, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel-bl.c:15: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel-bl.c: In function 'auto_brightness_store': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:4:18: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 4 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH' 13 | #define KERN_INFO KERN_SOH "6" /* informational */ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:223:9: note: in expansion of macro 'KERN_INFO' 223 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel-bl.c:251:3: note: in expansion of macro 'pr_info' 251 | pr_info("[BACKLIGHT] %s, auto_brightness : %u\n", __func__, value); | ^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel-bl.c:251:47: note: format string is defined here 251 | pr_info("[BACKLIGHT] %s, auto_brightness : %u\n", __func__, value); | ~^ | | | unsigned int | %lu At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel-bl.c:302:29: warning: 'gen_panel_bl_early_suspend_desc' defined but not used [-Wunused-variable] 302 | static struct early_suspend gen_panel_bl_early_suspend_desc = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD drivers/video/console/built-in.o CC drivers/video/backlight/backlight.o CC drivers/video/backlight/gen_panel/gen-panel.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c: In function 'gen_panel_set_bl_level': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:719:23: warning: unused variable 'desc' [-Wunused-variable] 719 | struct gen_cmd_desc *desc; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:718:17: warning: unused variable 'dev' [-Wunused-variable] 718 | struct device *dev = lcd->dev; | ^~~ CC drivers/video/backlight/sprd_pwm_bl.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c: In function 'gen_panel_manipulate_cmd_table': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:1831:11: warning: argument to 'sizeof' in 'strncmp' call is the same expression as the second source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 1831 | sizeof(op_cmd_names[op_index]))) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c: In function 'gen_panel_parse_dt_sysfs_node': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:1935:16: warning: unused variable 'list' [-Wunused-variable] 1935 | const __be32 *list; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:1934:21: warning: unused variable 'size' [-Wunused-variable] 1934 | int config, state, size, ret; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:1934:14: warning: unused variable 'state' [-Wunused-variable] 1934 | int config, state, size, ret; | ^~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:1934:6: warning: unused variable 'config' [-Wunused-variable] 1934 | int config, state, size, ret; | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:1933:28: warning: unused variable 'action' [-Wunused-variable] 1933 | struct manipulate_action *action; | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c: In function 'gen_panel_parse_dt_panel': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:2020:11: warning: unused variable 'panel_id' [-Wunused-variable] 2020 | u32 tmp, panel_id; | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c: In function 'gen_panel_common_show': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:2370:37: warning: unused variable 'naction' [-Wunused-variable] 2370 | struct manipulate_action *action, *naction; | ^~~~~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:588:12: warning: 'gen_panel_read_status' defined but not used [-Wunused-function] 588 | static int gen_panel_read_status(struct lcd *lcd) | ^~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c: In function 'pwm_read': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c:115:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 115 | return __raw_readl(SPRD_PWM_BASE + index * 0x20 + reg); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/fb.h:16, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c: In function 'pwm_write': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c:121:58: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 121 | __raw_writel(value, SPRD_PWM_BASE + index * 0x20 + reg); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/fb.h:16, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c: In function 'sprd_backlight_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c:302:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 302 | struct device_node *np = pdev->dev.of_node; | ^~~~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c:429:12: warning: 'gen_panel_backlight_runtime_resume' defined but not used [-Wunused-function] 429 | static int gen_panel_backlight_runtime_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c:417:12: warning: 'gen_panel_backlight_runtime_suspend' defined but not used [-Wunused-function] 417 | static int gen_panel_backlight_runtime_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD drivers/usb/misc/built-in.o CC drivers/usb/notify/host_notify_class.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/notify/host_notify_class.c: In function 'mode_show': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/notify/host_notify_class.c:48:44: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=] 48 | return snprintf(buf, sizeof(mode)+1, "%s\n", mode); | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/notify/host_notify_class.c:48:9: note: 'snprintf' output between 6 and 12 bytes into a destination of size 5 48 | return snprintf(buf, sizeof(mode)+1, "%s\n", mode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/usb/notify/usb_notify.o LD drivers/video/backlight/gen_panel/built-in.o CC drivers/video/backlight/rt8555-backlight.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/rt8555-backlight.c:63:12: warning: 'backlight_i2c_write' defined but not used [-Wunused-function] 63 | static int backlight_i2c_write(struct i2c_client *client, | ^~~~~~~~~~~~~~~~~~~ LD drivers/video/backlight/built-in.o CC drivers/usb/notify/dock_notify.o LD drivers/video/omap2/displays/built-in.o LD drivers/video/omap2/built-in.o CC drivers/video/sprdfb/sprdfb_gen_panel.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:34: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_fs.c: In function 'ffs_ep0_write': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_fs.c:1452:29: warning: '%u' directive writing between 1 and 5 bytes into a region of size 3 [-Wformat-overflow=] 1452 | sprintf(epfiles->name, "ep%u", i); | ^~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_fs.c:1452:26: note: directive argument in the range [1, 65535] 1452 | sprintf(epfiles->name, "ep%u", i); | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_fs.c:1452:3: note: 'sprintf' output between 4 and 8 bytes into a destination of size 5 1452 | sprintf(epfiles->name, "ep%u", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_gen_panel.c:46:16: warning: 'ili9486s1_backlight_ctrl' declared 'static' but never defined [-Wunused-function] 46 | static int32_t ili9486s1_backlight_ctrl(struct panel_spec *self, uint16_t bl_on); | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_gen_panel.c:518:13: warning: 'sprd_panel_shutdown' defined but not used [-Wunused-function] 518 | static void sprd_panel_shutdown(struct platform_device *pdev) | ^~~~~~~~~~~~~~~~~~~ CC drivers/usb/notify/usb_notifier_sprd.o CC drivers/video/sprdfb/sprdfb_main.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/notify/usb_notifier_sprd.c: In function 'sec_cable_notifier': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/notify/usb_notifier_sprd.c:261:6: warning: unused variable 'epmic_event_state' [-Wunused-variable] 261 | int epmic_event_state; | ^~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_main.c: In function 'sprdfb_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_main.c:742:35: warning: assignment to 'bool (*)(void *)' {aka '_Bool (*)(void *)'} from incompatible pointer type 'int (*)(struct sprdfb_device *)' [-Wincompatible-pointer-types] 742 | dev->panel->esd_info->is_active = ESD_is_active; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_main.c:743:33: warning: assignment to 'int (*)(void *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 743 | dev->panel->esd_info->recover = ESD_recover; | ^ LD drivers/usb/notify/usb_notify_layer.o LD drivers/usb/notify/built-in.o CC drivers/usb/serial/usb-serial.o CC drivers/video/sprdfb/sprdfb_panel.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_panel.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h: In function 'lcdc_read': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h:72:36: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 72 | return __raw_readl(SPRD_LCDC_BASE + reg); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/fb.h:16, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_panel.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_panel.c:23: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h: In function 'lcdc_write': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h:77:38: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 77 | __raw_writel(value, (SPRD_LCDC_BASE + reg)); | ~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/fb.h:16, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_panel.c:18: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ CC drivers/video/sprdfb/sprdfb_dispc.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:167:58: warning: 'struct devfreq_dbs' declared inside parameter list will not be visible outside of this definition or declaration 167 | static unsigned int sprdfb_dispc_change_threshold(struct devfreq_dbs *h, | ^~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:6, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cache.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:4, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/ktime.h:24, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/timer.h:5, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/workqueue.h:8, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:16: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c: In function 'dispc_check_new_clk': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'u32 *' {aka 'unsigned int *'} [-Wformat=] 4 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' 10 | #define KERN_ERR KERN_SOH "3" /* error conditions */ | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:216:9: note: in expansion of macro 'KERN_ERR' 216 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:209:3: note: in expansion of macro 'pr_err' 209 | pr_err("[LCD] %s, invalid parameter (%d, %d)\n", | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:209:45: note: format string is defined here 209 | pr_err("[LCD] %s, invalid parameter (%d, %d)\n", | ~^ | | | int | %ls /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c: In function 'dispc_run': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:553:6: warning: unused variable 'i' [-Wunused-variable] 553 | int i = 0; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:552:11: warning: unused variable 'flags' [-Wunused-variable] 552 | uint32_t flags = 0; | ^~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c: In function 'sprdfb_dispc_esd_reset': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:1520:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1520 | return; | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:1512:16: note: declared here 1512 | static int32_t sprdfb_dispc_esd_reset(struct sprdfb_device *dev) | ^~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:167:21: warning: 'sprdfb_dispc_change_threshold' declared 'static' but never defined [-Wunused-function] 167 | static unsigned int sprdfb_dispc_change_threshold(struct devfreq_dbs *h, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/usb/serial/generic.o CC drivers/usb/gadget/usbstring.o CC drivers/video/sprdfb/sprdfb_mcu.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_mcu.c:25: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h: In function 'lcdc_read': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h:72:36: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 72 | return __raw_readl(SPRD_LCDC_BASE + reg); In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/fb.h:16, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_mcu.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_mcu.c:25: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h: In function 'lcdc_write': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h:77:38: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 77 | __raw_writel(value, (SPRD_LCDC_BASE + reg)); | ~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned int In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/fb.h:16, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_mcu.c:19: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_mcu.c:174:23: warning: 'lcdc_mcu_ops' defined but not used [-Wunused-variable] 174 | static struct ops_mcu lcdc_mcu_ops = { | ^~~~~~~~~~~~ CC drivers/usb/gadget/config.o CC drivers/usb/serial/bus.o CC drivers/video/sprdfb/sprdfb_rgb.o CC drivers/video/sprdfb/sprdfb_mipi.o CC drivers/usb/gadget/epautoconf.o CC drivers/usb/serial/pl2303.o CC drivers/video/sprdfb/sprdfb_i2c.o CC drivers/usb/gadget/composite.o CC drivers/video/sprdfb/sprdfb_spi.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c: In function 'bos_desc': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c:558:15: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 558 | le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE); | ^~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c:570:15: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 570 | le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE); | ^~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c: In function 'get_string': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c:974:23: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 974 | collect_langs(sp, s->wData); | ~^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c:979:24: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 979 | collect_langs(sp, s->wData); | ~^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c:992:25: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 992 | collect_langs(sp, s->wData); | ~^~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c:999:23: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 999 | collect_langs(sp, s->wData); | ~^~~~~~~ LD drivers/usb/serial/usbserial.o LD drivers/usb/serial/built-in.o CC drivers/usb/storage/scsiglue.o CC drivers/video/sprdfb/sprdfb_dsi.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dsi.c: In function 'sprdfb_dsi_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dsi.c:635:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 635 | struct resource r; | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dsi.c: In function 'sprdfb_dsi_set_lp_mode': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dsi.c:827:11: warning: unused variable 'reg_val' [-Wunused-variable] 827 | uint32_t reg_val; | ^~~~~~~ CC drivers/usb/gadget/functions.o CC drivers/usb/storage/protocol.o CC drivers/video/sprdfb/sprdfb_chip_common.o CC drivers/video/sprdfb/sprdfb_chip_8830.o CC drivers/usb/gadget/configfs.o CC drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_bcdUSB_show': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:136:48: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 136 | return sprintf(page, "0x%04x\n", le16_to_cpup(&gi->cdev.desc.__name)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | } | ~ 138 | | 139 | | 140 | #define GI_DEVICE_DESC_SIMPLE_W_u8(_name) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | static ssize_t gadget_dev_desc_##_name##_store(struct gadget_info *gi, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | const char *page, size_t len) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | { \ | ~~~~~~~~~ 144 | u8 val; \ | ~~~~~~~~~~~~~~ 145 | int ret; \ | ~~~~~~~~~~~~~~ 146 | ret = kstrtou8(page, 0, &val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | if (ret) \ | ~~~~~~~~~~~~~~ 148 | return ret; \ | ~~~~~~~~~~~~~~~~ 149 | gi->cdev.desc._name = val; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | return len; \ | ~~~~~~~~~~~~~~~~~ 151 | } | ~ 152 | | 153 | #define GI_DEVICE_DESC_SIMPLE_W_u16(_name) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 154 | static ssize_t gadget_dev_desc_##_name##_store(struct gadget_info *gi, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 155 | const char *page, size_t len) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 156 | { \ | ~~~~~~~~~ 157 | u16 val; \ | ~~~~~~~~~~~~~~ 158 | int ret; \ | ~~~~~~~~~~~~~~ 159 | ret = kstrtou16(page, 0, &val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 160 | if (ret) \ | ~~~~~~~~~~~~~~ 161 | return ret; \ | ~~~~~~~~~~~~~~~~ 162 | gi->cdev.desc._name = cpu_to_le16p(&val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | return len; \ | ~~~~~~~~~~~~~~~~~ 164 | } | ~ 165 | | 166 | #define GI_DEVICE_DESC_SIMPLE_RW(_name, _type) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 167 | GI_DEVICE_DESC_SIMPLE_R_##_type(_name) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | GI_DEVICE_DESC_SIMPLE_W_##_type(_name) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | | 170 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdUSB); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:170:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16' 170 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdUSB); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_idVendor_show': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:136:48: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 136 | return sprintf(page, "0x%04x\n", le16_to_cpup(&gi->cdev.desc.__name)); \ | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:167:2: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16' 167 | GI_DEVICE_DESC_SIMPLE_R_##_type(_name) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:175:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_RW' 175 | GI_DEVICE_DESC_SIMPLE_RW(idVendor, u16); | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_idProduct_show': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:136:48: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 136 | return sprintf(page, "0x%04x\n", le16_to_cpup(&gi->cdev.desc.__name)); \ | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:167:2: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16' 167 | GI_DEVICE_DESC_SIMPLE_R_##_type(_name) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:176:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_RW' 176 | GI_DEVICE_DESC_SIMPLE_RW(idProduct, u16); | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_bcdDevice_show': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:136:48: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 136 | return sprintf(page, "0x%04x\n", le16_to_cpup(&gi->cdev.desc.__name)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | } | ~ 138 | | 139 | | 140 | #define GI_DEVICE_DESC_SIMPLE_W_u8(_name) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | static ssize_t gadget_dev_desc_##_name##_store(struct gadget_info *gi, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | const char *page, size_t len) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | { \ | ~~~~~~~~~ 144 | u8 val; \ | ~~~~~~~~~~~~~~ 145 | int ret; \ | ~~~~~~~~~~~~~~ 146 | ret = kstrtou8(page, 0, &val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | if (ret) \ | ~~~~~~~~~~~~~~ 148 | return ret; \ | ~~~~~~~~~~~~~~~~ 149 | gi->cdev.desc._name = val; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | return len; \ | ~~~~~~~~~~~~~~~~~ 151 | } | ~ 152 | | 153 | #define GI_DEVICE_DESC_SIMPLE_W_u16(_name) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 154 | static ssize_t gadget_dev_desc_##_name##_store(struct gadget_info *gi, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 155 | const char *page, size_t len) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 156 | { \ | ~~~~~~~~~ 157 | u16 val; \ | ~~~~~~~~~~~~~~ 158 | int ret; \ | ~~~~~~~~~~~~~~ 159 | ret = kstrtou16(page, 0, &val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 160 | if (ret) \ | ~~~~~~~~~~~~~~ 161 | return ret; \ | ~~~~~~~~~~~~~~~~ 162 | gi->cdev.desc._name = cpu_to_le16p(&val); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | return len; \ | ~~~~~~~~~~~~~~~~~ 164 | } | ~ 165 | | 166 | #define GI_DEVICE_DESC_SIMPLE_RW(_name, _type) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 167 | GI_DEVICE_DESC_SIMPLE_R_##_type(_name) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | GI_DEVICE_DESC_SIMPLE_W_##_type(_name) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | | 170 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdUSB); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | GI_DEVICE_DESC_SIMPLE_RW(bDeviceClass, u8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | GI_DEVICE_DESC_SIMPLE_RW(bDeviceSubClass, u8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | GI_DEVICE_DESC_SIMPLE_RW(bDeviceProtocol, u8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | GI_DEVICE_DESC_SIMPLE_RW(bMaxPacketSize0, u8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | GI_DEVICE_DESC_SIMPLE_RW(idVendor, u16); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | GI_DEVICE_DESC_SIMPLE_RW(idProduct, u16); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdDevice); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:177:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16' 177 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdDevice); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/usb/storage/transport.o CC drivers/usb/gadget/f_acm.o CC drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.o CC drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.o CC drivers/usb/storage/usb.o CC drivers/usb/gadget/dwc_otg/dwc_otg_driver.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:7, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_driver.c:51: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_driver.c: In function 'dwc_otg_driver_probe': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/stddef.h:8:14: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] 8 | #define NULL ((void *)0) | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_driver.c:697:10: note: in expansion of macro 'NULL' 697 | return NULL; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_driver.c:719:30: warning: assignment to 'void *' from 'resource_size_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 719 | dwc_otg_device->os_dep.base = res.start; | ^ LD drivers/video/sprdfb/dsi_1_21a/built-in.o CC drivers/video/sprdfb/lcd/lcd_dummy.o CC drivers/usb/gadget/dwc_otg/dwc_otg_attr.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/lcd/lcd_dummy.c:41:17: warning: 'dummy_readpowermode' defined but not used [-Wunused-function] 41 | static uint32_t dummy_readpowermode(struct panel_spec *self) | ^~~~~~~~~~~~~~~~~~~ LD drivers/video/sprdfb/lcd/built-in.o CC drivers/video/sprdfb/spi/spi_simple_drv.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/spi/spi_simple_drv.c: In function 'SPI_Init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/spi/spi_simple_drv.c:244:18: warning: unused variable 'ctl3' [-Wunused-variable] 244 | u32 ctl0, ctl1, ctl3; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/spi/spi_simple_drv.c:244:12: warning: unused variable 'ctl1' [-Wunused-variable] 244 | u32 ctl0, ctl1, ctl3; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/spi/spi_simple_drv.c:244:6: warning: unused variable 'ctl0' [-Wunused-variable] 244 | u32 ctl0, ctl1, ctl3; | ^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/spi/spi_simple_drv.c: At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/spi/spi_simple_drv.c:293:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 293 | static void SPI_WaitTxFinish() | ^~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/spi/spi_simple_drv.c:164:13: warning: 'SPI_SetSpiMode' defined but not used [-Wunused-function] 164 | static void SPI_SetSpiMode(uint32_t spi_mode) | ^~~~~~~~~~~~~~ CC drivers/usb/gadget/dwc_otg/dwc_otg_cil.o CC drivers/usb/storage/initializers.o LD drivers/video/sprdfb/spi/built-in.o CC drivers/video/sprdfb/esd_detect.o CC drivers/usb/storage/sierra_ms.o CC drivers/video/sprdfb/sprdfb_attr.o CC drivers/usb/storage/option_ms.o LD drivers/video/sprdfb/built-in.o CC drivers/video/cfbfillrect.o CC drivers/usb/storage/usual-tables.o CC drivers/video/cfbcopyarea.o LD drivers/usb/storage/usb-storage.o LD drivers/usb/storage/built-in.o CC drivers/usb/usb-common.o CC drivers/watchdog/sprd_wdt_sys.o CC drivers/video/cfbimgblt.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/watchdog/sprd_wdt_sys.c:38: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/watchdog/sprd_wdt_sys.c: In function 'ca7_wdg_fiq': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/watchdog.h:33:33: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 33 | #define CA7_WDG_INT_CLR (SPRD_CA7WDG_BASE + 0x0C) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/watchdog/sprd_wdt_sys.c:85:34: note: in expansion of macro 'CA7_WDG_INT_CLR' 85 | __raw_writel(WDG_INT_CLEAR_BIT, CA7_WDG_INT_CLR); | ^~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/watchdog/sprd_wdt_sys.c:39: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ LD drivers/video/fb.o LD drivers/video/built-in.o CC drivers/usb/gadget/dwc_otg/dwc_otg_cil_intr.o CC drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:742:18: warning: initialization of 'int (*)(struct usb_gadget *, int)' from incompatible pointer type 'int (*)(struct usb_gadget *, bool)' {aka 'int (*)(struct usb_gadget *, _Bool)'} [-Wincompatible-pointer-types] 742 | .vbus_session = vbus_session, | ^~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:742:18: note: (near initialization for 'dwc_otg_pcd_ops.vbus_session') /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c: In function 'alloc_wrapper': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1081:6: warning: unused variable 'retval' [-Wunused-variable] 1081 | int retval; | ^~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c: In function 'pcd_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1456:6: warning: unused variable 'plug_irq' [-Wunused-variable] 1456 | int plug_irq; | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1453:33: warning: unused variable 'pdata' [-Wunused-variable] 1453 | struct sprd_usb_platform_data *pdata= _dev->dev.platform_data; | ^~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c: In function 'dwc_usb_gadget_start': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1606:6: warning: unused variable 'retval' [-Wunused-variable] 1606 | int retval; | ^~~~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1364:12: warning: 'cable_is_connected' defined but not used [-Wunused-function] 1364 | static int cable_is_connected(void) | ^~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1303:20: warning: 'usb_detect_handler' defined but not used [-Wunused-function] 1303 | static irqreturn_t usb_detect_handler(int irq, void *dev_id) | ^~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1273:13: warning: 'usb_detect_works' defined but not used [-Wunused-function] 1273 | static void usb_detect_works(struct work_struct *work) | ^~~~~~~~~~~~~~~~ LD drivers/watchdog/built-in.o CC drivers/usb/gadget/dwc_otg/dwc_otg_pcd.o CC drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb.h:44, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd.h:38, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:35: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c: In function 'ep0_do_stall': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_os.h:280:48: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'u_int8_t *' {aka 'unsigned char *'} [-Wformat=] 280 | #define DWC_WARN(_format, _args...) __DWC_WARN("WARN:%s:%s:%d: " _format "\n", \ | ^~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:1276:2: note: in expansion of macro 'DWC_WARN' 1276 | DWC_WARN("req %02x.%02x 0x%x 0x%x 0x%x protocol STALL; err %d\n", | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:1276:29: note: format string is defined here 1276 | DWC_WARN("req %02x.%02x 0x%x 0x%x 0x%x protocol STALL; err %d\n", | ~^ | | | unsigned int | %hhn In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb.h:44, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd.h:38, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:35: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_os.h:280:48: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'u_int8_t *' {aka 'unsigned char *'} [-Wformat=] 280 | #define DWC_WARN(_format, _args...) __DWC_WARN("WARN:%s:%s:%d: " _format "\n", \ | ^~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:1276:2: note: in expansion of macro 'DWC_WARN' 1276 | DWC_WARN("req %02x.%02x 0x%x 0x%x 0x%x protocol STALL; err %d\n", | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:1276:34: note: format string is defined here 1276 | DWC_WARN("req %02x.%02x 0x%x 0x%x 0x%x protocol STALL; err %d\n", | ~^ | | | unsigned int | %hhn In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb.h:44, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd.h:38, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:35: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_os.h:280:48: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'u_int8_t *' {aka 'unsigned char *'} [-Wformat=] 280 | #define DWC_WARN(_format, _args...) __DWC_WARN("WARN:%s:%s:%d: " _format "\n", \ | ^~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:1276:2: note: in expansion of macro 'DWC_WARN' 1276 | DWC_WARN("req %02x.%02x 0x%x 0x%x 0x%x protocol STALL; err %d\n", | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:1276:39: note: format string is defined here 1276 | DWC_WARN("req %02x.%02x 0x%x 0x%x 0x%x protocol STALL; err %d\n", | ~^ | | | unsigned int | %hhn CC drivers/usb/gadget/dwc_otg/dwc_common_linux.o CC drivers/usb/gadget/dwc_otg/dwc_otg_adp.o CC drivers/usb/gadget/dwc_otg/dwc_otg_hcd.o CC drivers/usb/gadget/dwc_otg/dwc_otg_hcd_intr.o CC drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.o CC drivers/usb/gadget/dwc_otg/dwc_otg_hcd_queue.o CC drivers/usb/gadget/dwc_otg/dwc_otg_hcd_ddma.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c: In function 'dwc_otg_start': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:474:33: warning: unused variable 'platform_data' [-Wunused-variable] 474 | struct sprd_usb_platform_data *platform_data | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c: In function 'hcd_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:517:6: warning: unused variable 'otg_cable_connected' [-Wunused-variable] 517 | int otg_cable_connected; | ^~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:516:6: warning: unused variable 'otg_cable_irq' [-Wunused-variable] 516 | int otg_cable_irq; | ^~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:514:33: warning: unused variable 'pdata' [-Wunused-variable] 514 | struct sprd_usb_platform_data *pdata= _dev->dev.platform_data; | ^~~~~ At top level: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:439:20: warning: 'usb_otg_cable_detect_handler' defined but not used [-Wunused-function] 439 | static irqreturn_t usb_otg_cable_detect_handler(int irq, void *dev) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/usb/gadget/dwc_otg/usb_hw.o LD drivers/usb/gadget/usb_f_acm.o CC drivers/usb/gadget/u_serial.o LD drivers/usb/gadget/g_android.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'usb_phy_init': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:155:10: warning: 'return' with a value, in function returning void [-Wreturn-type] 155 | return -ENODEV; | ^ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:140:6: note: declared here 140 | void usb_phy_init(struct platform_device *_dev) | ^~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:20: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_AP_APB_USB_PHY_TUNE SCI_ADDR(REGS_AP_APB_BASE, 0x3000) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:160:31: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE' 160 | __raw_writel(tune_from_uboot,REG_AP_APB_USB_PHY_TUNE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:27: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:20: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'usb_phy_tune_host': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_AP_APB_USB_PHY_TUNE SCI_ADDR(REGS_AP_APB_BASE, 0x3000) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:207:26: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE' 207 | __raw_writel(tune_host, REG_AP_APB_USB_PHY_TUNE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:27: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:20: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_AP_APB_USB_PHY_TUNE SCI_ADDR(REGS_AP_APB_BASE, 0x3000) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:208:25: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE' 208 | phy_tune = __raw_readl(REG_AP_APB_USB_PHY_TUNE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:27: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:20: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'usb_phy_tune_dev': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_AP_APB_USB_PHY_TUNE SCI_ADDR(REGS_AP_APB_BASE, 0x3000) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:218:32: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE' 218 | __raw_writel(tune_from_uboot, REG_AP_APB_USB_PHY_TUNE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:27: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int' 255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:20: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion] 20 | #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) ) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR' 32 | #define REG_AP_APB_USB_PHY_TUNE SCI_ADDR(REGS_AP_APB_BASE, 0x3000) | ^~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:219:25: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE' 219 | phy_tune = __raw_readl(REG_AP_APB_USB_PHY_TUNE); | ^~~~~~~~~~~~~~~~~~~~~~~ CC drivers/usb/gadget/multi_config.o In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22, from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:27: /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int' 275 | static inline u32 __raw_readl(const volatile void __iomem *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'usb_ldo_switch': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:84:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result] 84 | regulator_enable(usb_regulator); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'charge_pump_set': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:335:5: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result] 335 | regulator_enable(usb_regulator); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD drivers/usb/gadget/dwc_otg/dwc_otg.o LD drivers/usb/gadget/libcomposite.o LD drivers/usb/gadget/dwc_otg/built-in.o LD drivers/usb/gadget/built-in.o LD drivers/usb/built-in.o LD drivers/built-in.o LINK vmlinux LD vmlinux.o MODPOST vmlinux.o GEN .version CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o CC init/do_mounts_initrd.o /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/init/main.c: In function 'do_one_initcall_debug': /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/init/main.c:672:7: warning: unused variable 'name' [-Wunused-variable] 672 | char name[256]={0}; | ^~~~ CC init/initramfs.o CC init/calibrate.o CC init/init_task.o CC init/version.o LD init/mounts.o LD init/built-in.o KSYM .tmp_kallsyms1.o KSYM .tmp_kallsyms2.o LD vmlinux SORTEX vmlinux SYSMAP System.map Building modules, stage 2. OBJCOPY arch/arm/boot/Image MODPOST 4 modules Kernel: arch/arm/boot/Image is ready CC drivers/autotst/autotst.mod.o AS arch/arm/boot/compressed/head.o CC drivers/mmc/card/mmc_test.mod.o CC net/ipv4/tcp_htcp.mod.o GZIP arch/arm/boot/compressed/piggy.gzip CC net/ipv4/tcp_westwood.mod.o CC arch/arm/boot/compressed/misc.o LD [M] drivers/autotst/autotst.ko LD [M] drivers/mmc/card/mmc_test.ko LD [M] net/ipv4/tcp_htcp.ko LD [M] net/ipv4/tcp_westwood.ko CC arch/arm/boot/compressed/decompress.o CC arch/arm/boot/compressed/string.o SHIPPED arch/arm/boot/compressed/hyp-stub.S SHIPPED arch/arm/boot/compressed/lib1funcs.S SHIPPED arch/arm/boot/compressed/ashldi3.S AS arch/arm/boot/compressed/hyp-stub.o AS arch/arm/boot/compressed/lib1funcs.o AS arch/arm/boot/compressed/ashldi3.o AS arch/arm/boot/compressed/piggy.gzip.o LD arch/arm/boot/compressed/vmlinux OBJCOPY arch/arm/boot/zImage Kernel: arch/arm/boot/zImage is ready >>> linux-samsung-gtel3g: Entering fakeroot... ]0;abuild-armv7: linux-samsung-gtel3gzImage found: zImage >>> linux-samsung-gtel3g*: Running postcheck for linux-samsung-gtel3g >>> linux-samsung-gtel3g*: Preparing package linux-samsung-gtel3g... >>> WARNING: linux-samsung-gtel3g*: No arch specific binaries found so arch should probably be set to "noarch" >>> linux-samsung-gtel3g*: Tracing dependencies... >>> linux-samsung-gtel3g*: Package size: 6.0 MB >>> linux-samsung-gtel3g*: Compressing data... >>> linux-samsung-gtel3g*: Create checksum... >>> linux-samsung-gtel3g*: Create linux-samsung-gtel3g-3.10.17-r1.apk ]0;>>> linux-samsung-gtel3g: Build complete at Fri, 24 Jul 2020 16:37:50 +0000 elapsed time 0h 10m 8s ]0;>>> linux-samsung-gtel3g: Updating the pmos/armv7 repository index... >>> linux-samsung-gtel3g: Signing the index... mv: can't preserve ownership of '/mnt/pmbootstrap-packages/armv7/APKINDEX.tar.gz.2499': Operation not permitted ]0;(002338) [16:37:50] (native) uninstall build dependencies (002338) [16:37:50] (native) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps ]0;abuild: linux-samsung-gtel3gWARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/47) Purging .makedepends-linux-samsung-gtel3g (20200724.162743) (2/47) Purging bash (5.0.18-r0) Executing bash-5.0.18-r0.pre-deinstall (3/47) Purging bc (1.07.1-r1) (4/47) Purging bison (3.6.4-r0) (5/47) Purging devicepkg-dev (0.12.2-r0) (6/47) Purging postmarketos-splash (1.0.0-r1) (7/47) Purging ttf-dejavu (2.37-r1) (8/47) Purging encodings (1.0.5-r0) (9/47) Purging mkfontscale (1.2.1-r1) (10/47) Purging ttf-droid (20200215-r0) (11/47) Purging fontconfig (2.13.1-r3) (12/47) Purging py3-pillow (7.2.0-r0) (13/47) Purging py3-olefile (0.46-r4) (14/47) Purging flex (2.6.4-r2) (15/47) Purging m4 (1.4.18-r1) (16/47) Purging openssl-dev (1.1.1g-r0) (17/47) Purging linux-headers (5.7.8-r0) (18/47) Purging dtbtool (1.6.0-r5) (19/47) Purging dtc-dev (1.6.0-r0) (20/47) Purging libfdt (1.6.0-r0) (21/47) Purging python3 (3.8.5-r0) (22/47) Purging git-perl (2.27.0-r1) (23/47) Purging perl-git (2.27.0-r1) (24/47) Purging perl-error (0.17029-r0) (25/47) Purging perl (5.30.3-r2) (26/47) Purging readline (8.0.4-r0) (27/47) Purging ncurses-libs (6.2_p20200718-r0) (28/47) Purging ncurses-terminfo-base (6.2_p20200718-r0) (29/47) Purging freetype (2.10.2-r0) (30/47) Purging libbz2 (1.0.8-r1) (31/47) Purging libpng (1.6.37-r1) (32/47) Purging libuuid (2.35.2-r2) (33/47) Purging libfontenc (1.1.4-r0) (34/47) Purging libimagequant (2.12.6-r0) (35/47) Purging tiff (4.1.0-r0) (36/47) Purging libjpeg-turbo (2.0.5-r0) (37/47) Purging lcms2 (2.11-r0) (38/47) Purging openjpeg (2.3.1-r4) (39/47) Purging libwebp (1.1.0-r0) (40/47) Purging libxcb (1.14-r1) (41/47) Purging libxau (1.0.9-r0) (42/47) Purging libxdmcp (1.1.3-r0) (43/47) Purging libbsd (0.10.0-r0) (44/47) Purging libffi (3.3-r2) (45/47) Purging gdbm (1.13-r1) (46/47) Purging xz-libs (5.2.5-r0) (47/47) Purging sqlite-libs (3.32.3-r0) Executing busybox-1.32.0-r0.trigger OK: 312 MiB in 61 packages ]0;(002338) [16:37:50] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary) (002338) [16:37:50] Done