+ export BPO_JOB_ID=269246 + BPO_JOB_ID=269246 + ./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 armhf --force linux-sony-yuga (002343) [02:07:18] % cd /home/build/pmaports; git remote -v origin https://gitlab.com/postmarketOS/pmaports.git/ (fetch) origin https://gitlab.com/postmarketOS/pmaports.git/ (push) (002343) [02:07:18] % 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 (002343) [02:07:18] Shutdown complete (002343) [02:07:18] Calculate work folder size (002343) [02:07:18] % sudo du --summarize --block-size=1 /home/build/.local/var/pmbootstrap 20480 /home/build/.local/var/pmbootstrap (002343) [02:07:18] Shutdown complete (002343) [02:07:18] % sudo du --summarize --block-size=1 /home/build/.local/var/pmbootstrap 20480 /home/build/.local/var/pmbootstrap (002343) [02:07:18] Cleared up ~0 MB of space (002343) [02:07:18] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/armhf/APKINDEX.tar.gz (002343) [02:07:18] APKINDEX outdated (file does not exist yet): http://postmarketos1.brixit.nl/postmarketos/master/armhf/APKINDEX.tar.gz (002343) [02:07:18] APKINDEX outdated (file does not exist yet): http://dl-2.alpinelinux.org/alpine/edge/main/armhf/APKINDEX.tar.gz (002343) [02:07:18] APKINDEX outdated (file does not exist yet): http://dl-2.alpinelinux.org/alpine/edge/community/armhf/APKINDEX.tar.gz (002343) [02:07:18] APKINDEX outdated (file does not exist yet): http://dl-2.alpinelinux.org/alpine/edge/testing/armhf/APKINDEX.tar.gz (002343) [02:07:18] Update package index for armhf (5 file(s)) (002343) [02:07:18] % mkdir -p /home/build/.local/var/pmbootstrap/cache_http (002343) [02:07:18] Download https://build.postmarketos.org/wip/master/armhf/APKINDEX.tar.gz (002343) [02:07:18] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_armhf (002343) [02:07:18] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_4c207bfd2f21793adca374be2ed73e34a40ba3595a263554200d08ad851372c7 /home/build/.local/var/pmbootstrap/cache_apk_armhf/APKINDEX.73602495.tar.gz (002343) [02:07:18] Download http://postmarketos1.brixit.nl/postmarketos/master/armhf/APKINDEX.tar.gz (002343) [02:07:18] WARNING: file not found: http://postmarketos1.brixit.nl/postmarketos/master/armhf/APKINDEX.tar.gz (002343) [02:07:18] Download http://dl-2.alpinelinux.org/alpine/edge/main/armhf/APKINDEX.tar.gz (002343) [02:07:18] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_5df7e0c31c7dd376e724a88bbd8bd42feb6bb1d5f4b4cfeac2418004e420c62c /home/build/.local/var/pmbootstrap/cache_apk_armhf/APKINDEX.ffff1b13.tar.gz (002343) [02:07:18] Download http://dl-2.alpinelinux.org/alpine/edge/community/armhf/APKINDEX.tar.gz (002343) [02:07:19] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_555c1c55ef42f56e454d0fd49687014f2c4cfd7956ba93e803fbd7cc3eaf5001 /home/build/.local/var/pmbootstrap/cache_apk_armhf/APKINDEX.f03f5bfd.tar.gz (002343) [02:07:19] Download http://dl-2.alpinelinux.org/alpine/edge/testing/armhf/APKINDEX.tar.gz (002343) [02:07:19] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_2e755f8c4269288ed1a6e6aa6b4c7af6ed6997686e179d6abd470fee3106b964 /home/build/.local/var/pmbootstrap/cache_apk_armhf/APKINDEX.977188ec.tar.gz (002343) [02:07:19] APKINDEX outdated (file does not exist yet): https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz (002343) [02:07:19] APKINDEX outdated (file does not exist yet): http://postmarketos1.brixit.nl/postmarketos/master/x86_64/APKINDEX.tar.gz (002343) [02:07:19] APKINDEX outdated (file does not exist yet): http://dl-2.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz (002343) [02:07:19] APKINDEX outdated (file does not exist yet): http://dl-2.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz (002343) [02:07:19] APKINDEX outdated (file does not exist yet): http://dl-2.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz (002343) [02:07:19] Update package index for x86_64 (5 file(s)) (002343) [02:07:19] Download https://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz (002343) [02:07:19] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_x86_64 (002343) [02:07:19] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_53711a85d2d03805fc9e859f0e55eda4941541086fca30263c9338b694af655c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.73602495.tar.gz (002343) [02:07:19] Download http://postmarketos1.brixit.nl/postmarketos/master/x86_64/APKINDEX.tar.gz (002343) [02:07:19] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_82f4e91ad45607a0f5d4d39ff6824bc49ebe5a431f60836f8ba0448c906a07f4 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.3f9c67ba.tar.gz (002343) [02:07:19] Download http://dl-2.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz (002343) [02:07:20] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_55e3804b70e7e26b184a1fcd42de2c20d5c601279ad985cee1412518a039569c /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.ffff1b13.tar.gz (002343) [02:07:20] Download http://dl-2.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz (002343) [02:07:20] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_0fa2917a7df1cb2dad7fbf03d144f26e827d81d99a22d79ae29596be17b493b1 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.f03f5bfd.tar.gz (002343) [02:07:20] Download http://dl-2.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz (002343) [02:07:20] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_942b7f1aad089bb4a5df7744d950a57b8cf143f75d931b07f9d98ddaca128b3f /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.977188ec.tar.gz (002343) [02:07:25] Build is necessary for package 'linux-sony-yuga': No binary package available (002343) [02:07:25] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet! (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev (002343) [02:07:25] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm (002343) [02:07:25] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm (002343) [02:07:25] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3 (002343) [02:07:25] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5 (002343) [02:07:25] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7 (002343) [02:07:25] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8 (002343) [02:07:25] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9 (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc (002343) [02:07:25] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk (002343) [02:07:25] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache (002343) [02:07:25] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles (002343) [02:07:25] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git (002343) [02:07:25] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-rust (002343) [02:07:25] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-rust (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config (002343) [02:07:25] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys (002343) [02:07:25] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/edge (002343) [02:07:25] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages (002343) [02:07:25] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages (002343) [02:07:25] Download http://dl-2.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.10.5-r1.apk (002343) [02:07:26] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002343) [02:07:26] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002343) [02:07:26] extracted: /tmp/pmbootstrap04u27zsmapk (002343) [02:07:26] extracted: /tmp/pmbootstrapg06hfx55sig (002343) [02:07:26] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002343) [02:07:26] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstrapg06hfx55sig /tmp/pmbootstrap04u27zsmapk Verified OK (002343) [02:07:26] Verify the version reported by the apk.static binary (must match the package version 2.10.5-r1) (002343) [02:07:26] % /tmp/pmbootstrap04u27zsmapk --version apk-tools 2.10.5, compiled for x86_64. (002343) [02:07:26] (native) install alpine-base (002343) [02:07:26] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache (002343) [02:07:26] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002343) [02:07:26] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002343) [02:07:26] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002343) [02:07:26] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002343) [02:07:26] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002343) [02:07:26] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002343) [02:07:26] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002343) [02:07:26] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002343) [02:07:26] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002343) [02:07:26] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf (002343) [02:07:26] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk (002343) [02:07:26] (native) update /etc/apk/repositories (002343) [02:07:26] % sudo sh -c echo /mnt/pmbootstrap-packages >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002343) [02:07:26] % sudo sh -c echo https://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002343) [02:07:26] % sudo sh -c echo http://postmarketos1.brixit.nl/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002343) [02:07:26] % sudo sh -c echo http://dl-2.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002343) [02:07:26] % sudo sh -c echo http://dl-2.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002343) [02:07:26] % sudo sh -c echo http://dl-2.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002343) [02:07:26] % 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-r1) Executing busybox-1.32.0-r1.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-r1) (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-r1) (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-r1.trigger OK: 8 MiB in 19 packages (002343) [02:07:27] (native) % adduser -D pmos -u 12345 (002343) [02:07:27] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild (002343) [02:07:27] (native) % chown pmos:pmos /mnt/pmbootstrap-abuild-config (002343) [02:07:27] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache (002343) [02:07:27] (native) % chown pmos:pmos /mnt/pmbootstrap-ccache (002343) [02:07:27] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages (002343) [02:07:27] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos (002343) [02:07:27] (native) % chown pmos:pmos /mnt/pmbootstrap-packages (002343) [02:07:27] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry (002343) [02:07:27] (native) % mkdir -p /mnt/pmbootstrap-rust/registry/index (002343) [02:07:27] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/index /home/pmos/.cargo/registry/index (002343) [02:07:27] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/index (002343) [02:07:27] (native) % mkdir -p /mnt/pmbootstrap-rust/registry/cache (002343) [02:07:27] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/cache /home/pmos/.cargo/registry/cache (002343) [02:07:27] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/cache (002343) [02:07:27] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git (002343) [02:07:27] (native) % mkdir -p /mnt/pmbootstrap-rust/git/db (002343) [02:07:27] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/git/db /home/pmos/.cargo/git/db (002343) [02:07:27] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/git/db (002343) [02:07:27] (native) calculate depends of abuild, build-base, ccache, git (pmbootstrap -v for details) (002343) [02:07:27] (native) install abuild build-base ccache git (002343) [02:07:27] (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.28.0-r0) (39/39) Installing .pmbootstrap (20200731.020727) Executing busybox-1.32.0-r1.trigger Executing ca-certificates-20191127-r4.trigger OK: 187 MiB in 58 packages (002343) [02:07:35] (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 (002343) [02:07:35] (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 (20200731.020727) OK: 187 MiB in 57 packages (002343) [02:07:35] (native) % chown root:abuild /var/cache/distfiles (002343) [02:07:35] (native) % chmod g+w /var/cache/distfiles (002343) [02:07:35] (native) generate abuild keys (002343) [02:07:35] (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 (002343) [02:07:36] (native) % cp /mnt/pmbootstrap-abuild-config/pmos-5f237ce7.rsa.pub /etc/apk/keys/ (002343) [02:07:36] (native) % cp /tmp/gzip_wrapper.sh /usr/local/bin/gzip (002343) [02:07:36] (native) % chmod +x /usr/local/bin/gzip (002343) [02:07:36] (native) % adduser pmos abuild (002343) [02:07:36] (native) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf (002343) [02:07:36] (native) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf (002343) [02:07:36] (native) % touch /var/local/pmbootstrap_chroot_build_init_done (002343) [02:07:36] (native) % sed -i -e s/^export JOBS=.*/export JOBS=3/ /etc/abuild.conf (002343) [02:07:36] (native) % busybox su pmos -c HOME=/home/pmos ccache --max-size 5G Set cache size limit to 5.0 GB (002343) [02:07:36] (native) calculate depends of ccache-cross-symlinks, gcc-armhf, g++-armhf (pmbootstrap -v for details) (002343) [02:07:36] (native) install ccache-cross-symlinks gcc-armhf g++-armhf (002343) [02:07:36] (native) % apk --no-progress add -u --virtual .pmbootstrap ccache-cross-symlinks gcc-armhf g++-armhf binutils-armhf 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-armhf (2.34-r1) (3/5) Installing gcc-armhf (9.3.0-r4) (4/5) Installing g++-armhf (9.3.0-r4) (5/5) Installing .pmbootstrap (20200731.020736) Executing busybox-1.32.0-r1.trigger OK: 313 MiB in 62 packages (002343) [02:08:08] (native) % apk --no-progress add ccache-cross-symlinks gcc-armhf g++-armhf WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory OK: 313 MiB in 62 packages (002343) [02:08:08] (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 (20200731.020736) OK: 313 MiB in 61 packages (002343) [02:08:09] (native) build armhf/linux-sony-yuga-3.4.0-r9.apk (002343) [02:08:09] % sudo cp -rL /home/build/pmaports/device/testing/linux-sony-yuga/ /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build (002343) [02:08:09] (native) % chown -R pmos:pmos /home/pmos/build (002343) [02:08:09] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports (002343) [02:08:09] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports (002343) [02:08:09] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build (002343) [02:08:09] (native) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git (002343) [02:08:09] (native) % cd /home/pmos/build; busybox su pmos -c CARCH=armhf SUDO_APK='abuild-apk --no-progress' CROSS_COMPILE=armv6-alpine-linux-musleabihf- CC=armv6-alpine-linux-musleabihf-gcc CCACHE_DISABLE=1 HOME=/home/pmos abuild -D postmarketOS -r -f ]0;abuild-armhf: linux-sony-yuga>>> linux-sony-yuga: Building pmos/linux-sony-yuga 3.4.0-r9 (using abuild 3.6.0-r1) started Fri, 31 Jul 2020 02:08:09 +0000 >>> linux-sony-yuga: Checking sanity of /home/pmos/build/APKBUILD... >>> WARNING: linux-sony-yuga: No maintainer >>> linux-sony-yuga: Analyzing dependencies... >>> linux-sony-yuga: Installing for build: build-base perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev devicepkg-dev 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/49) Installing libbz2 (1.0.8-r1) (2/49) Installing perl (5.30.3-r2) (3/49) Installing sed (4.8-r0) (4/49) Installing installkernel (3.5-r0) (5/49) Installing ncurses-terminfo-base (6.2_p20200725-r0) (6/49) Installing ncurses-libs (6.2_p20200725-r0) (7/49) Installing readline (8.0.4-r0) (8/49) Installing bash (5.0.18-r0) Executing bash-5.0.18-r0.post-install (9/49) Installing libgmpxx (6.2.0-r0) (10/49) Installing gmp-dev (6.2.0-r0) (11/49) Installing bc (1.07.1-r1) (12/49) Installing linux-headers (5.7.8-r0) (13/49) Installing fts (1.2.7-r1) (14/49) Installing xz-libs (5.2.5-r0) (15/49) Installing libelf (0.180-r0) (16/49) Installing xz-dev (5.2.5-r0) (17/49) Installing zlib-dev (1.2.11-r3) (18/49) Installing elfutils-dev (0.180-r0) (19/49) Installing libpng (1.6.37-r1) (20/49) Installing freetype (2.10.2-r0) (21/49) Installing libuuid (2.36-r0) (22/49) Installing fontconfig (2.13.1-r3) (23/49) Installing encodings (1.0.5-r0) (24/49) Installing libfontenc (1.1.4-r0) (25/49) Installing mkfontscale (1.2.1-r1) (26/49) Installing ttf-dejavu (2.37-r1) (27/49) Installing ttf-droid (20200215-r1) (28/49) Installing py3-olefile (0.46-r4) (29/49) Installing libimagequant (2.12.6-r0) (30/49) Installing libjpeg-turbo (2.0.5-r0) (31/49) Installing lcms2 (2.11-r0) (32/49) Installing openjpeg (2.3.1-r4) (33/49) Installing tiff (4.1.0-r0) (34/49) Installing libwebp (1.1.0-r0) (35/49) Installing libxau (1.0.9-r0) (36/49) Installing libbsd (0.10.0-r0) (37/49) Installing libxdmcp (1.1.3-r0) (38/49) Installing libxcb (1.14-r1) (39/49) Installing py3-pillow (7.2.0-r0) (40/49) Installing libffi (3.3-r2) (41/49) Installing gdbm (1.13-r1) (42/49) Installing sqlite-libs (3.32.3-r0) (43/49) Installing python3 (3.8.5-r0) (44/49) Installing postmarketos-splash (1.0.0-r1) (45/49) Installing devicepkg-dev (0.12.2-r0) (46/49) Installing .makedepends-linux-sony-yuga (20200731.020809) (47/49) Installing perl-error (0.17029-r0) (48/49) Installing perl-git (2.28.0-r0) (49/49) Installing git-perl (2.28.0-r0) Executing busybox-1.32.0-r1.trigger Executing fontconfig-2.13.1-r3.trigger Executing mkfontscale-1.2.1-r1.trigger OK: 437 MiB in 110 packages ]0;>>> linux-sony-yuga: Cleaning up srcdir ]0;>>> linux-sony-yuga: Cleaning up pkgdir >>> linux-sony-yuga: Fetching linux-sony-yuga-f164c6d1016cb34ac90c053acbebe6e47fdd400f.tar.gz::https://github.com/LineageOS/android_kernel_sony_apq8064/archive/f164c6d1016cb34ac90c053acbebe6e47fdd400f.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 179 100 179 0 0 1017 0 --:--:-- --:--:-- --:--:-- 1022 100 564 0 564 0 0 421 0 --:--:-- 0:00:01 --:--:-- 421 100 993k 0 993k 0 0 671k 0 --:--:-- 0:00:01 --:--:-- 7040k 100 7296k 0 7296k 0 0 2944k 0 --:--:-- 0:00:02 --:--:-- 6393k 100 13.3M 0 13.3M 0 0 3936k 0 --:--:-- 0:00:03 --:--:-- 6391k 100 19.7M 0 19.7M 0 0 4511k 0 --:--:-- 0:00:04 --:--:-- 6432k 100 26.1M 0 26.1M 0 0 4881k 0 --:--:-- 0:00:05 --:--:-- 6457k 100 32.2M 0 32.2M 0 0 5098k 0 --:--:-- 0:00:06 --:--:-- 6407k 100 37.9M 0 37.9M 0 0 5198k 0 --:--:-- 0:00:07 --:--:-- 6317k 100 44.2M 0 44.2M 0 0 5345k 0 --:--:-- 0:00:08 --:--:-- 6327k 100 50.5M 0 50.5M 0 0 5456k 0 --:--:-- 0:00:09 --:--:-- 6301k 100 56.8M 0 56.8M 0 0 5557k 0 --:--:-- 0:00:10 --:--:-- 6297k 100 63.1M 0 63.1M 0 0 5632k 0 --:--:-- 0:00:11 --:--:-- 6325k 100 69.6M 0 69.6M 0 0 5710k 0 --:--:-- 0:00:12 --:--:-- 6477k 100 75.0M 0 75.0M 0 0 5700k 0 --:--:-- 0:00:13 --:--:-- 6303k 100 81.1M 0 81.1M 0 0 5736k 0 --:--:-- 0:00:14 --:--:-- 6269k 100 86.7M 0 86.7M 0 0 5740k 0 --:--:-- 0:00:15 --:--:-- 6122k 100 92.5M 0 92.5M 0 0 5751k 0 --:--:-- 0:00:16 --:--:-- 6023k 100 99.0M 0 99.0M 0 0 5801k 0 --:--:-- 0:00:17 --:--:-- 6026k 100 105M 0 105M 0 0 5834k 0 --:--:-- 0:00:18 --:--:-- 6196k 100 108M 0 108M 0 0 5839k 0 --:--:-- 0:00:19 --:--:-- 6162k >>> linux-sony-yuga: Fetching linux-sony-yuga-f164c6d1016cb34ac90c053acbebe6e47fdd400f.tar.gz::https://github.com/LineageOS/android_kernel_sony_apq8064/archive/f164c6d1016cb34ac90c053acbebe6e47fdd400f.tar.gz >>> linux-sony-yuga: Checking sha512sums... linux-sony-yuga-f164c6d1016cb34ac90c053acbebe6e47fdd400f.tar.gz: OK config-sony-yuga.armhf: OK gcc7-give-up-on-ilog2-const-optimizations.patch: OK gcc8-fix-put-user.patch: OK 00_fix_return_address.patch: OK psmouse_base.patch: OK kgsl_iommu_sync_lock.patch: OK 02_reduce_lzo_compression.patch: OK >>> linux-sony-yuga: Unpacking /var/cache/distfiles/linux-sony-yuga-f164c6d1016cb34ac90c053acbebe6e47fdd400f.tar.gz... >>> linux-sony-yuga: gcc7-give-up-on-ilog2-const-optimizations.patch patching file include/linux/log2.h >>> linux-sony-yuga: gcc8-fix-put-user.patch patching file arch/arm/include/asm/uaccess.h Hunk #1 succeeded at 161 (offset -1 lines). >>> linux-sony-yuga: 00_fix_return_address.patch patching file arch/arm/include/asm/ftrace.h patching file arch/arm/kernel/return_address.c Hunk #1 succeeded at 62 (offset -1 lines). >>> linux-sony-yuga: psmouse_base.patch patching file drivers/input/mouse/psmouse-base.c >>> linux-sony-yuga: kgsl_iommu_sync_lock.patch patching file drivers/gpu/msm/kgsl_iommu.c Hunk #1 succeeded at 994 (offset -25 lines). Hunk #2 succeeded at 1064 (offset -25 lines). >>> linux-sony-yuga: 02_reduce_lzo_compression.patch patching file scripts/Makefile.lib Hunk #1 succeeded at 301 with fuzz 1 (offset 42 lines). patching file scripts/gen_initramfs_list.sh NOTE: replacing /home/pmos/build/src/android_kernel_sony_apq8064-f164c6d1016cb34ac90c053acbebe6e47fdd400f/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/android_kernel_sony_apq8064-f164c6d1016cb34ac90c053acbebe6e47fdd400f/include/linux/compiler-gcc.h' make: Entering directory '/home/pmos/build/src/android_kernel_sony_apq8064-f164c6d1016cb34ac90c053acbebe6e47fdd400f' 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 HOSTLD scripts/kconfig/conf scripts/kconfig/conf --oldconfig Kconfig # # configuration written to .config # make: Leaving directory '/home/pmos/build/src/android_kernel_sony_apq8064-f164c6d1016cb34ac90c053acbebe6e47fdd400f' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig WRAP arch/arm/include/generated/asm/auxvec.h WRAP arch/arm/include/generated/asm/bitsperlong.h WRAP arch/arm/include/generated/asm/cputime.h WRAP arch/arm/include/generated/asm/emergency-restart.h WRAP arch/arm/include/generated/asm/errno.h WRAP arch/arm/include/generated/asm/ioctl.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 CHK include/linux/version.h UPD include/linux/version.h WRAP arch/arm/include/generated/asm/local64.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/siginfo.h WRAP arch/arm/include/generated/asm/sizes.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/genksyms/genksyms.o CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o 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/selinux/genheaders/genheaders HOSTCC scripts/genksyms/lex.lex.o HOSTCC scripts/selinux/mdp/mdp HOSTCC scripts/kallsyms HOSTCC scripts/mod/modpost.o HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/conmakehash HOSTLD scripts/genksyms/genksyms HOSTCC scripts/bin2c Generating include/generated/mach-types.h HOSTCC scripts/mod/sumversion.o CC kernel/bounds.s GEN include/generated/bounds.h CC arch/arm/kernel/asm-offsets.s GEN include/generated/asm-offsets.h CALL scripts/checksyscalls.sh HOSTLD scripts/mod/modpost CC init/main.o HOSTCC usr/gen_init_cpio CC arch/arm/vfp/vfpmodule.o 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 CHK include/generated/compile.h CC arch/arm/vfp/vfpsingle.o UPD include/generated/compile.h CC init/do_mounts.o CC init/do_mounts_rd.o CC arch/arm/vfp/vfpdouble.o CC init/do_mounts_initrd.o CC init/initramfs.o CC arch/arm/kernel/elf.o LD arch/arm/vfp/vfp.o LD arch/arm/vfp/built-in.o CC init/calibrate.o CC arch/arm/mm/dma-mapping.o AS arch/arm/kernel/entry-armv.o CC init/version.o AS arch/arm/kernel/entry-common.o CC arch/arm/kernel/irq.o LD init/mounts.o LD init/built-in.o CC arch/arm/common/gic.o CC arch/arm/kernel/opcodes.o CC arch/arm/mm/extable.o CC arch/arm/mm/fault.o CC arch/arm/kernel/process.o CC arch/arm/common/cpaccess.o CC arch/arm/mm/init.o CC arch/arm/kernel/ptrace.o LD arch/arm/common/built-in.o LD arch/arm/net/built-in.o CC arch/arm/mach-msm/io.o CC arch/arm/mach-msm/dma.o CC arch/arm/kernel/return_address.o CC arch/arm/mm/iomap.o arch/arm/kernel/return_address.c:62:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp] 62 | #warning "TODO: return_address should use unwind tables" | ^~~~~~~ arch/arm/kernel/return_address.c:62:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp] 62 | #warning "TODO: return_address should use unwind tables" | ^~~~~~~ CC arch/arm/kernel/sched_clock.o arch/arm/mach-msm/dma.c: In function 'msm_dmov_probe': arch/arm/mach-msm/dma.c:828:42: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 828 | snprintf(wq_name, sizeof(wq_name), "dmov%d_wq", adm); | ^~ arch/arm/mach-msm/dma.c:828:37: note: directive argument in the range [0, 2147483647] 828 | snprintf(wq_name, sizeof(wq_name), "dmov%d_wq", adm); | ^~~~~~~~~~~ arch/arm/mach-msm/dma.c:828:2: note: 'snprintf' output between 9 and 18 bytes into a destination of size 12 828 | snprintf(wq_name, sizeof(wq_name), "dmov%d_wq", adm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC arch/arm/mm/fault-armv.o CC arch/arm/kernel/setup.o CC arch/arm/mach-msm/memory.o CC arch/arm/mm/flush.o CC arch/arm/mach-msm/timer.o CC arch/arm/kernel/signal.o CC arch/arm/mm/idmap.o CC arch/arm/mm/ioremap.o CC arch/arm/kernel/stacktrace.o CC arch/arm/mach-msm/clock.o CC arch/arm/mm/mmap.o CC arch/arm/kernel/sys_arm.o CC arch/arm/mm/pgd.o CC arch/arm/mach-msm/clock-voter.o CC arch/arm/mach-msm/clock-dummy.o CC arch/arm/kernel/time.o CC arch/arm/mm/mmu.o CC arch/arm/mach-msm/modem_notifier.o CC arch/arm/kernel/traps.o CC arch/arm/mach-msm/subsystem_map.o CC arch/arm/kernel/cpuidle.o CC arch/arm/mm/vmregion.o CC arch/arm/kernel/armksyms.o CC arch/arm/mach-msm/nohlt.o CC arch/arm/mm/proc-syms.o CC arch/arm/mach-msm/clock-debug.o CC arch/arm/kernel/module.o CC arch/arm/mm/alignment.o CC arch/arm/mach-msm/acpuclock.o CC arch/arm/kernel/bios32.o CC arch/arm/mach-msm/perf_trace_counters.o CC arch/arm/mm/highmem.o CC arch/arm/kernel/isa.o CC arch/arm/mach-msm/acpuclock-krait.o AS arch/arm/mm/abort-ev7.o AS arch/arm/kernel/sleep.o AS arch/arm/mm/pabort-v7.o CC arch/arm/kernel/suspend.o AS arch/arm/mm/cache-v7.o CC arch/arm/mm/copypage-v6.o CC arch/arm/kernel/smp.o CC arch/arm/mm/context.o CC arch/arm/mach-msm/acpuclock-krait-debug.o AS arch/arm/mm/tlb-v7.o AS arch/arm/mm/proc-v7.o CC arch/arm/kernel/smp_tlb.o LD arch/arm/mm/built-in.o CC arch/arm/perfmon/perf-function-hooks.o CC arch/arm/mach-msm/msm-krait-l2-accessors.o CC arch/arm/mach-msm/pmu.o CC arch/arm/kernel/smp_scu.o LD arch/arm/perfmon/built-in.o CC kernel/fork.o CC arch/arm/kernel/kprobes.o CC arch/arm/mach-msm/perf_event_msm_krait_l2.o CC arch/arm/kernel/kprobes-common.o CC arch/arm/kernel/patch.o CC arch/arm/mach-msm/krait-scm.o CC arch/arm/mach-msm/perf_debug.o CC arch/arm/kernel/kprobes-arm.o AS arch/arm/mach-msm/headsmp.o CC arch/arm/mach-msm/platsmp.o CC arch/arm/kernel/crash_notes.o CC arch/arm/mach-msm/hotplug.o CC kernel/exec_domain.o CC arch/arm/mach-msm/avs.o CC arch/arm/kernel/unwind.o AS arch/arm/mach-msm/idle-v7.o CC arch/arm/mach-msm/scm.o CC kernel/panic.o CC arch/arm/kernel/swp_emulate.o CC arch/arm/mach-msm/scm-boot.o CC kernel/printk.o CC arch/arm/kernel/hw_breakpoint.o CC arch/arm/mach-msm/peripheral-loader.o CC arch/arm/kernel/update_vsyscall_arm.o CC arch/arm/mach-msm/scm-pas.o CC arch/arm/kernel/pmu.o CC kernel/cpu.o CC arch/arm/kernel/perf_event.o CC arch/arm/mach-msm/pil-q6v4.o CC arch/arm/mach-msm/pil-riva.o CC kernel/exit.o CC arch/arm/mach-msm/pil-tzapps.o CC arch/arm/mach-msm/pil-vidc.o CC arch/arm/kernel/topology.o CC arch/arm/mach-msm/pil-dsps.o CC arch/arm/kernel/user_accessible_timer.o CC arch/arm/mach-msm/pil-gss.o CC arch/arm/kernel/io.o CC kernel/itimer.o AS arch/arm/kernel/head.o CC arch/arm/mach-msm/bam_dmux.o CC arch/arm/kernel/init_task.o HZFILE kernel/hz.bc LDS arch/arm/kernel/vmlinux.lds CC kernel/softirq.o LD arch/arm/kernel/built-in.o CC mm/filemap.o CC kernel/resource.o CC mm/mempool.o CC kernel/sysctl.o CC arch/arm/mach-msm/smem_log.o CC mm/oom_kill.o CC kernel/sysctl_binary.o CC arch/arm/mach-msm/ipc_logging.o CC mm/fadvise.o CC mm/maccess.o CC kernel/capability.o CC mm/page_alloc.o CC arch/arm/mach-msm/ipc_logging_debug.o CC kernel/ptrace.o CC arch/arm/mach-msm/smd.o CC kernel/timer.o CC mm/page-writeback.o CC kernel/user.o CC arch/arm/mach-msm/smd_debug.o CC kernel/signal.o CC arch/arm/mach-msm/remote_spinlock.o CC arch/arm/mach-msm/smd_private.o CC mm/readahead.o CC arch/arm/mach-msm/socinfo.o CC arch/arm/mach-msm/smd_tty.o CC mm/swap.o CC kernel/sys.o CC arch/arm/mach-msm/smd_qmi.o CC mm/truncate.o CC arch/arm/mach-msm/smd_pkt.o CC mm/vmscan.o CC arch/arm/mach-msm/smd_nmea.o CC kernel/kmod.o CC arch/arm/mach-msm/ipc_router_smd_xprt.o CC kernel/workqueue.o CC arch/arm/mach-msm/ipc_router.o CC mm/shmem.o CC kernel/pid.o CC arch/arm/mach-msm/ipc_socket.o CC mm/prio_tree.o CC arch/arm/mach-msm/msm_ipc_router_security.o CC kernel/rcupdate.o CC mm/util.o CC arch/arm/mach-msm/smd_rpc_sym.o CC kernel/extable.o CC arch/arm/mach-msm/msm_bus/msm_bus_core.o CC kernel/params.o CC arch/arm/mach-msm/msm_bus/msm_bus_fabric.o CC mm/mmzone.o CC mm/vmstat.o CC kernel/posix-timers.o CC arch/arm/mach-msm/msm_bus/msm_bus_config.o CC arch/arm/mach-msm/msm_bus/msm_bus_arb.o CC mm/backing-dev.o CC kernel/kthread.o CC arch/arm/mach-msm/msm_bus/msm_bus_bimc.o CC kernel/wait.o CC mm/page_isolation.o CC arch/arm/mach-msm/msm_bus/msm_bus_noc.o CC mm/mm_init.o CC kernel/kfifo.o CC mm/mmu_context.o CC mm/percpu.o CC kernel/sys_ni.o CC arch/arm/mach-msm/msm_bus/msm_bus_of.o CC kernel/posix-cpu-timers.o CC arch/arm/mach-msm/msm_bus/msm_bus_rpm.o CC arch/arm/mach-msm/msm_bus/msm_bus_board_8960.o CC kernel/mutex.o CC arch/arm/mach-msm/msm_bus/msm_bus_board_8064.o CC mm/compaction.o CC kernel/hrtimer.o CC arch/arm/mach-msm/msm_bus/msm_bus_dbg.o CC mm/fremap.o LD arch/arm/mach-msm/msm_bus/built-in.o CC arch/arm/mach-msm/qdsp6v2/apr.o CC kernel/rwsem.o In file included from arch/arm/mach-msm/qdsp6v2/apr.c:32: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC kernel/nsproxy.o CC mm/highmem.o CC kernel/srcu.o CC arch/arm/mach-msm/qdsp6v2/apr_v1.o In file included from arch/arm/mach-msm/qdsp6v2/apr_v1.c:19: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC kernel/semaphore.o CC arch/arm/mach-msm/qdsp6v2/apr_tal.o CC mm/madvise.o CC kernel/notifier.o CC arch/arm/mach-msm/qdsp6v2/q6core.o CC kernel/ksysfs.o CC mm/memory.o arch/arm/mach-msm/qdsp6v2/q6core.c: In function 'core_req_bus_bandwith': arch/arm/mach-msm/qdsp6v2/q6core.c:194:2: warning: converting a packed 'struct adsp_cmd_remote_bus_bw_request' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 194 | ret = apr_send_pkt(core_handle_q, (uint32_t *) &bus_bw_req); | ^~~ In file included from arch/arm/mach-msm/qdsp6v2/q6core.c:29: arch/arm/mach-msm/qdsp6v2/q6core.h:21:8: note: defined here 21 | struct adsp_cmd_remote_bus_bw_request { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from arch/arm/mach-msm/qdsp6v2/q6core.c:28: arch/arm/mach-msm/qdsp6v2/q6core.c: At top level: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC kernel/cred.o CC arch/arm/mach-msm/qdsp6v2/dsp_debug.o CC arch/arm/mach-msm/qdsp6v2/audio_acdb.o In file included from include/sound/apr_audio.h:20, from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from arch/arm/mach-msm/qdsp6v2/audio_acdb.c:20: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC kernel/async.o CC kernel/range.o CC arch/arm/mach-msm/qdsp6v2/aac_in.o CC kernel/groups.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils.h:14, from arch/arm/mach-msm/qdsp6v2/aac_in.c:25: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC arch/arm/mach-msm/qdsp6v2/qcelp_in.o CC mm/mincore.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils.h:14, from arch/arm/mach-msm/qdsp6v2/qcelp_in.c:25: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC kernel/smpboot.o CC arch/arm/mach-msm/qdsp6v2/evrc_in.o CC mm/mlock.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils.h:14, from arch/arm/mach-msm/qdsp6v2/evrc_in.c:25: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC arch/arm/mach-msm/qdsp6v2/amrnb_in.o CC kernel/events/core.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils.h:14, from arch/arm/mach-msm/qdsp6v2/amrnb_in.c:25: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC mm/mmap.o CC arch/arm/mach-msm/qdsp6v2/audio_utils.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils.h:14, from arch/arm/mach-msm/qdsp6v2/audio_utils.c:24: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC arch/arm/mach-msm/qdsp6v2/audio_wma.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils_aio.h:30, from arch/arm/mach-msm/qdsp6v2/audio_wma.c:20: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC arch/arm/mach-msm/qdsp6v2/audio_wmapro.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils_aio.h:30, from arch/arm/mach-msm/qdsp6v2/audio_wmapro.c:20: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC mm/mprotect.o CC arch/arm/mach-msm/qdsp6v2/audio_aac.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils_aio.h:30, from arch/arm/mach-msm/qdsp6v2/audio_aac.c:19: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC arch/arm/mach-msm/qdsp6v2/audio_multi_aac.o CC mm/mremap.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils_aio.h:30, from arch/arm/mach-msm/qdsp6v2/audio_multi_aac.c:20: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC arch/arm/mach-msm/qdsp6v2/audio_utils_aio.o CC mm/msync.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils_aio.h:30, from arch/arm/mach-msm/qdsp6v2/audio_utils_aio.c:27: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC mm/rmap.o In file included from include/linux/stddef.h:4, from include/linux/posix_types.h:4, from include/linux/types.h:17, from include/linux/thread_info.h:10, from include/linux/preempt.h:9, from include/linux/spinlock.h:50, from include/linux/mmzone.h:7, from include/linux/gfp.h:4, from include/linux/mm.h:8, from mm/rmap.c:45: mm/rmap.c:572:15: warning: 'is_vm_hugetlb_page' is static but used in inline function 'vma_address' which is not static 572 | if (unlikely(is_vm_hugetlb_page(vma))) | ^~~~~~~~~~~~~~~~~~ include/linux/compiler.h:147:42: note: in definition of macro 'unlikely' 147 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ CC kernel/events/ring_buffer.o CC arch/arm/mach-msm/qdsp6v2/rtac.o In file included from include/sound/apr_audio.h:20, from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from arch/arm/mach-msm/qdsp6v2/rtac.c:23: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC kernel/events/callchain.o CC kernel/events/hw_breakpoint.o CC mm/vmalloc.o CC arch/arm/mach-msm/qdsp6v2/q6audio_v1.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils.h:14, from arch/arm/mach-msm/qdsp6v2/q6audio_v1.c:24: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ LD kernel/events/built-in.o CC kernel/irq/irqdesc.o CC arch/arm/mach-msm/qdsp6v2/q6audio_v1_aio.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils_aio.h:30, from arch/arm/mach-msm/qdsp6v2/q6audio_v1_aio.c:24: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC arch/arm/mach-msm/qdsp6v2/audio_mp3.o CC kernel/irq/handle.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils_aio.h:30, from arch/arm/mach-msm/qdsp6v2/audio_mp3.c:18: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC arch/arm/mach-msm/qdsp6v2/audio_amrnb.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils_aio.h:30, from arch/arm/mach-msm/qdsp6v2/audio_amrnb.c:17: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC kernel/irq/manage.o CC arch/arm/mach-msm/qdsp6v2/audio_amrwb.o CC mm/pagewalk.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils_aio.h:30, from arch/arm/mach-msm/qdsp6v2/audio_amrwb.c:18: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC mm/pgtable-generic.o CC arch/arm/mach-msm/qdsp6v2/audio_amrwbplus.o arch/arm/mach-msm/qdsp6v2/audio_amrwbplus.c: In function 'audio_ioctl': arch/arm/mach-msm/qdsp6v2/audio_amrwbplus.c:102:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 102 | if (audio->stopped == 1) | ^~ arch/arm/mach-msm/qdsp6v2/audio_amrwbplus.c:104:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 104 | break; | ^~~~~ In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils_aio.h:30, from arch/arm/mach-msm/qdsp6v2/audio_amrwbplus.c:18: arch/arm/mach-msm/qdsp6v2/audio_amrwbplus.c: At top level: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC mm/process_vm_access.o CC kernel/irq/spurious.o CC arch/arm/mach-msm/qdsp6v2/audio_evrc.o CC kernel/irq/resend.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils_aio.h:30, from arch/arm/mach-msm/qdsp6v2/audio_evrc.c:18: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC kernel/irq/chip.o CC mm/init-mm.o CC arch/arm/mach-msm/qdsp6v2/audio_qcelp.o CC mm/bootmem.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils_aio.h:30, from arch/arm/mach-msm/qdsp6v2/audio_qcelp.c:18: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC arch/arm/mach-msm/qdsp6v2/amrwb_in.o CC mm/memblock.o CC kernel/irq/dummychip.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/qdsp6v2/q6audio_common.h:22, from arch/arm/mach-msm/qdsp6v2/audio_utils.h:14, from arch/arm/mach-msm/qdsp6v2/amrwb_in.c:24: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC kernel/irq/devres.o LD arch/arm/mach-msm/qdsp6v2/built-in.o CC arch/arm/mach-msm/pm-boot.o CC mm/bounce.o CC kernel/irq/autoprobe.o CC arch/arm/mach-msm/pm-8x60.o CC kernel/irq/irqdomain.o CC mm/page_io.o arch/arm/mach-msm/pm-8x60.c: In function 'msm_pm_mode_sysfs_add': arch/arm/mach-msm/pm-8x60.c:261:43: warning: '%u' directive output may be truncated writing between 1 and 10 bytes into a region of size 5 [-Wformat-truncation=] 261 | snprintf(cpu_name, sizeof(cpu_name), "cpu%u", cpu); | ^~ arch/arm/mach-msm/pm-8x60.c:261:39: note: directive argument in the range [0, 4294967294] 261 | snprintf(cpu_name, sizeof(cpu_name), "cpu%u", cpu); | ^~~~~~~ arch/arm/mach-msm/pm-8x60.c:261:2: note: 'snprintf' output between 5 and 14 bytes into a destination of size 8 261 | snprintf(cpu_name, sizeof(cpu_name), "cpu%u", cpu); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC mm/swap_state.o CC kernel/irq/proc.o CC arch/arm/mach-msm/pm-data.o CC mm/swapfile.o CC kernel/irq/pm.o CC arch/arm/mach-msm/pm-stats.o CC arch/arm/mach-msm/pcie.o LD kernel/irq/built-in.o CC kernel/power/qos.o CC arch/arm/mach-msm/pcie_irq.o CC kernel/power/main.o CC kernel/power/console.o CC arch/arm/mach-msm/spm-v2.o CC mm/dmapool.o CC kernel/power/process.o CC arch/arm/mach-msm/spm_devices.o CC mm/sparse.o CC arch/arm/mach-msm/keypad-surf-ffa.o CC kernel/power/suspend.o CC arch/arm/mach-msm/rpm-regulator.o CC mm/slub.o CC kernel/power/wakelock.o CC arch/arm/mach-msm/rpm-regulator-8960.o CC kernel/power/userwakelock.o CC arch/arm/mach-msm/subsystem_notif.o CC kernel/power/earlysuspend.o CC arch/arm/mach-msm/subsystem_restart.o arch/arm/mach-msm/subsystem_restart.c:64:27: warning: 'subsys_states' defined but not used [-Wunused-const-variable=] 64 | static const char * const subsys_states[] = { | ^~~~~~~~~~~~~ CC mm/migrate.o CC kernel/power/fbearlysuspend.o CC arch/arm/mach-msm/ramdump.o CC kernel/power/poweroff.o CC kernel/power/wakeup_reason.o CC arch/arm/mach-msm/sysmon.o CC mm/cleancache.o LD kernel/power/built-in.o CC kernel/sched/core.o CC arch/arm/mach-msm/modem-8960.o LD mm/built-in.o CC arch/arm/mach-msm/lpass-8960.o CC fs/open.o CC arch/arm/mach-msm/wcnss-ssr-8960.o CC arch/arm/mach-msm/gss-8064.o CC arch/arm/mach-msm/cpuidle.o CC fs/read_write.o CC arch/arm/mach-msm/msm_watchdog.o AS arch/arm/mach-msm/msm_watchdog_asm.o CC arch/arm/mach-msm/clock-local.o CC fs/file_table.o CC arch/arm/mach-msm/clock-dss-8960.o CC fs/super.o CC arch/arm/mach-msm/clock-8960.o In file included from arch/arm/mach-msm/clock-local.h:18, from arch/arm/mach-msm/clock-8960.c:32: arch/arm/mach-msm/include/mach/clk-provider.h:30:37: warning: result of '-240 << 24' requires 33 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=] 30 | #define BVAL(msb, lsb, val) (((val) << lsb) & BM(msb, lsb)) | ^~ arch/arm/mach-msm/clock-local.h:33:4: note: in expansion of macro 'BVAL' 33 | (BVAL(n_msb, n_lsb, ~(n-m) * !!(n)) \ | ^~~~ arch/arm/mach-msm/clock-8960.c:4513:13: note: in expansion of macro 'NS' 4513 | .ns_val = NS(31, 24, n, m, 5, 4, 3, d, 2, 0, s##_to_lpa_mux), \ | ^~ arch/arm/mach-msm/clock-8960.c:4517:2: note: in expansion of macro 'F_AIF_OSR' 4517 | F_AIF_OSR( 512000, pll4, 4, 1, 240), | ^~~~~~~~~ arch/arm/mach-msm/include/mach/clk-provider.h:30:37: warning: result of '-160 << 24' requires 33 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=] 30 | #define BVAL(msb, lsb, val) (((val) << lsb) & BM(msb, lsb)) | ^~ arch/arm/mach-msm/clock-local.h:33:4: note: in expansion of macro 'BVAL' 33 | (BVAL(n_msb, n_lsb, ~(n-m) * !!(n)) \ | ^~~~ arch/arm/mach-msm/clock-8960.c:4513:13: note: in expansion of macro 'NS' 4513 | .ns_val = NS(31, 24, n, m, 5, 4, 3, d, 2, 0, s##_to_lpa_mux), \ | ^~ arch/arm/mach-msm/clock-8960.c:4518:2: note: in expansion of macro 'F_AIF_OSR' 4518 | F_AIF_OSR( 768000, pll4, 4, 1, 160), | ^~~~~~~~~ arch/arm/mach-msm/include/mach/clk-provider.h:30:37: warning: result of '-192 << 24' requires 33 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=] 30 | #define BVAL(msb, lsb, val) (((val) << lsb) & BM(msb, lsb)) | ^~ arch/arm/mach-msm/clock-local.h:33:4: note: in expansion of macro 'BVAL' 33 | (BVAL(n_msb, n_lsb, ~(n-m) * !!(n)) \ | ^~~~ arch/arm/mach-msm/clock-8960.c:4513:13: note: in expansion of macro 'NS' 4513 | .ns_val = NS(31, 24, n, m, 5, 4, 3, d, 2, 0, s##_to_lpa_mux), \ | ^~ arch/arm/mach-msm/clock-8960.c:4534:2: note: in expansion of macro 'F_AIF_OSR' 4534 | F_AIF_OSR( 512000, pll4, 4, 1, 192), | ^~~~~~~~~ CC fs/char_dev.o CC arch/arm/mach-msm/clock-rpm.o CC fs/stat.o CC kernel/sched/clock.o CC arch/arm/mach-msm/clock-pll.o CC kernel/sched/idle_task.o CC fs/exec.o CC arch/arm/mach-msm/footswitch-8x60.o CC kernel/sched/fair.o fs/exec.c: In function 'get_task_comm': fs/exec.c:1051: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] 1051 | strncpy(buf, tsk->comm, sizeof(tsk->comm)); | ^ CC arch/arm/mach-msm/acpuclock-8960.o CC arch/arm/mach-msm/acpuclock-8960ab.o CC arch/arm/mach-msm/memory_topology.o CC arch/arm/mach-msm/saw-regulator.o CC fs/pipe.o CC arch/arm/mach-msm/devices-8960.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/devices-8960.c:41: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC arch/arm/mach-msm/devices-8064.o CC fs/namei.o In file included from include/sound/apr_audio.h:20, from arch/arm/mach-msm/devices-8064.c:32: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC kernel/sched/rt.o CC arch/arm/mach-msm/acpuclock-8064.o CC arch/arm/mach-msm/board-8960.o CC kernel/sched/stop_task.o CC kernel/sched/sched_avg.o CC fs/fcntl.o CC arch/arm/mach-msm/board-8960-camera.o CC kernel/sched/cpupri.o CC arch/arm/mach-msm/board-8960-display.o CC kernel/sched/stats.o CC fs/ioctl.o LD kernel/sched/built-in.o CC kernel/time/timekeeping.o CC arch/arm/mach-msm/board-8960-pmic.o CC fs/readdir.o arch/arm/mach-msm/board-8960-pmic.c:276:27: warning: 'keymap_sim' defined but not used [-Wunused-const-variable=] 276 | static const unsigned int keymap_sim[] = { | ^~~~~~~~~~ CC arch/arm/mach-msm/board-8960-storage.o CC kernel/time/ntp.o CC arch/arm/mach-msm/board-8960-gpiomux.o CC fs/select.o CC kernel/time/clocksource.o CC arch/arm/mach-msm/board-sony_fusion3.o CC kernel/time/jiffies.o CC fs/fifo.o CC kernel/time/timer_list.o CC fs/dcache.o CC arch/arm/mach-msm/board-sony_fusion3-storage.o CC kernel/time/timecompare.o CC arch/arm/mach-msm/board-sony_fusion3-display.o CC kernel/time/timeconv.o CC kernel/time/posix-clock.o CC arch/arm/mach-msm/board-8064-gpu.o CC arch/arm/mach-msm/board-sony_fusion3-hwrev.o CC kernel/time/clockevents.o CC fs/inode.o CC arch/arm/mach-msm/board-8960-regulator.o CC kernel/time/tick-common.o CC arch/arm/mach-msm/bms-batterydata.o CC arch/arm/mach-msm/bms-batterydata-desay.o CC kernel/time/tick-broadcast.o CC arch/arm/mach-msm/batterydata-lib.o LD arch/arm/mach-msm/board-sony_fusion3-all.o CC arch/arm/mach-msm/board-sony_fusion3_yuga.o CC fs/attr.o CC kernel/time/tick-oneshot.o CC arch/arm/mach-msm/board-sony_yuga-camera.o CC kernel/time/tick-sched.o CC fs/bad_inode.o CC arch/arm/mach-msm/board-sony_yuga-pmic.o CC fs/file.o CC arch/arm/mach-msm/board-sony_yuga-gpiomux.o CC kernel/time/timer_stats.o CC fs/filesystems.o CC arch/arm/mach-msm/board-sony_yuga-regulator.o LD kernel/time/built-in.o CC kernel/trace/trace_clock.o CC arch/arm/mach-msm/board-sony_yuga-touch.o CC fs/namespace.o CC kernel/trace/ring_buffer.o CC arch/arm/mach-msm/board-sony_yuga-mpu.o CC arch/arm/mach-msm/gyro-semc_common.o CC arch/arm/mach-msm/bms-batterydata-lucius.o CC arch/arm/mach-msm/rpm.o CC arch/arm/mach-msm/rpm_resources.o CC kernel/trace/trace.o CC fs/seq_file.o CC arch/arm/mach-msm/mpm.o CC fs/xattr.o CC arch/arm/mach-msm/rpm_stats.o CC arch/arm/mach-msm/rpm_master_stat.o CC fs/libfs.o CC arch/arm/mach-msm/rpm_rbcpr_stats.o CC arch/arm/mach-msm/rpm_log.o CC fs/fs-writeback.o CC kernel/trace/trace_output.o CC arch/arm/mach-msm/tz_log.o CC arch/arm/mach-msm/msm_xo.o CC kernel/trace/trace_stat.o CC arch/arm/mach-msm/devices-iommu.o CC arch/arm/mach-msm/iommu_domains.o CC fs/pnode.o CC kernel/trace/trace_printk.o CC fs/drop_caches.o CC arch/arm/mach-msm/event_timer.o CC fs/splice.o CC kernel/trace/trace_sched_switch.o CC arch/arm/mach-msm/gpiomux-v2.o CC arch/arm/mach-msm/gpiomux.o CC kernel/trace/trace_nop.o CC arch/arm/mach-msm/msm_dcvs_scm.o CC kernel/trace/blktrace.o CC arch/arm/mach-msm/msm_dcvs.o CC kernel/trace/trace_events.o CC fs/sync.o CC fs/utimes.o CC fs/stack.o CC arch/arm/mach-msm/msm_mpdecision.o CC kernel/trace/trace_export.o CC fs/fs_struct.o CC kernel/trace/trace_event_perf.o CC fs/statfs.o CC arch/arm/mach-msm/msm_rq_stats.o CC kernel/trace/trace_events_filter.o CC fs/buffer.o CC arch/arm/mach-msm/msm_show_resume_irq.o CC arch/arm/mach-msm/restart.o CC kernel/trace/trace_kprobe.o CC arch/arm/mach-msm/mdm2.o CC arch/arm/mach-msm/mdm_common.o CC fs/bio.o CC kernel/trace/power-traces.o arch/arm/mach-msm/mdm_common.c: In function 'mdm_modem_probe': arch/arm/mach-msm/mdm_common.c:1019:11: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 1019 | "%s.%d", EXTERNAL_MODEM, | ^ arch/arm/mach-msm/mdm_common.c:1018:4: note: 'snprintf' output between 17 and 26 bytes into a destination of size 25 1018 | snprintf(mdev->subsys_name, sizeof(mdev->subsys_name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1019 | "%s.%d", EXTERNAL_MODEM, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 1020 | mdev->mdm_data.device_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~ CC arch/arm/mach-msm/msm_rtb.o CC kernel/trace/rpm-traces.o CC arch/arm/mach-msm/cache_erp.o CC fs/block_dev.o CC arch/arm/mach-msm/ebi_erp.o LD kernel/trace/built-in.o CC kernel/freezer.o CC arch/arm/mach-msm/sony_ssm.o CC kernel/profile.o CC arch/arm/mach-msm/hsic_sysmon.o CC fs/direct-io.o CC kernel/stacktrace.o CC kernel/futex.o CC arch/arm/mach-msm/timer_page.o CC arch/arm/mach-msm/msm_cpu_pwrctl.o CC arch/arm/mach-msm/cpufreq.o CC arch/arm/mach-msm/board-rdtags.o arch/arm/mach-msm/board-rdtags.c:22:13: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 22 | const char const key[16]; | ^~~~~ arch/arm/mach-msm/board-rdtags.c:23:13: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 23 | const char const value[64]; | ^~~~~ CC arch/arm/mach-msm/power_debug.o CC kernel/rtmutex.o CC fs/mpage.o CC arch/arm/mach-msm/modem_restart_monitor.o CC [M] arch/arm/mach-msm/reset_modem.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from arch/arm/mach-msm/reset_modem.c:17: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'reset_modem_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ arch/arm/mach-msm/reset_modem.c:180:1: note: in expansion of macro 'module_init' 180 | module_init(reset_modem_init); | ^~~~~~~~~~~ arch/arm/mach-msm/reset_modem.c:175:19: note: 'init_module' target declared here 175 | static int __init reset_modem_init(void) | ^~~~~~~~~~~~~~~~ CC kernel/smp.o CC [M] arch/arm/mach-msm/dma_test.o CC fs/ioprio.o CC [M] arch/arm/mach-msm/msm-buspm-dev.o CC kernel/spinlock.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from arch/arm/mach-msm/msm-buspm-dev.c:15: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'msm_buspm_dev_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ arch/arm/mach-msm/msm-buspm-dev.c:259:1: note: in expansion of macro 'module_init' 259 | module_init(msm_buspm_dev_init); | ^~~~~~~~~~~ arch/arm/mach-msm/msm-buspm-dev.c:244:19: note: 'init_module' target declared here 244 | static int __init msm_buspm_dev_init(void) | ^~~~~~~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from arch/arm/mach-msm/msm-buspm-dev.c:15: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'msm_buspm_dev_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ arch/arm/mach-msm/msm-buspm-dev.c:260:1: note: in expansion of macro 'module_exit' 260 | module_exit(msm_buspm_dev_exit); | ^~~~~~~~~~~ arch/arm/mach-msm/msm-buspm-dev.c:255:20: note: 'cleanup_module' target declared here 255 | static void __exit msm_buspm_dev_exit(void) | ^~~~~~~~~~~~~~~~~~ LD arch/arm/mach-msm/board-8960-all.o LD arch/arm/mach-msm/built-in.o CC kernel/uid16.o CC fs/proc_namespace.o CC ipc/util.o CC kernel/module.o CC fs/debugfs/inode.o CC ipc/msgutil.o CC ipc/msg.o CC fs/debugfs/file.o CC ipc/sem.o LD fs/debugfs/debugfs.o LD fs/debugfs/built-in.o CC fs/devpts/inode.o LD fs/devpts/devpts.o LD fs/devpts/built-in.o LD fs/exofs/built-in.o CC fs/ext4/balloc.o CC kernel/kallsyms.o CC ipc/shm.o CC kernel/cgroup.o CC ipc/ipcns_notifier.o CC fs/ext4/bitmap.o CC ipc/syscall.o CC ipc/ipc_sysctl.o CC fs/ext4/dir.o LD ipc/built-in.o CC security/keys/gc.o CC security/keys/key.o CC fs/ext4/file.o CC fs/ext4/fsync.o CC security/keys/keyring.o CC fs/ext4/ialloc.o CC kernel/cgroup_freezer.o CC security/keys/keyctl.o GZIP kernel/config_data.gz CC kernel/res_counter.o CC security/keys/permission.o CC kernel/stop_machine.o CC fs/ext4/inode.o CC security/keys/process_keys.o CC kernel/audit.o CC security/keys/request_key.o CC security/keys/request_key_auth.o CC security/keys/user_defined.o CC kernel/auditfilter.o CC security/keys/proc.o CC security/keys/sysctl.o LD security/keys/built-in.o GEN security/selinux/flask.h security/selinux/av_permissions.h CC security/selinux/avc.o CC kernel/auditsc.o CC fs/ext4/page-io.o CC security/selinux/hooks.o CC fs/ext4/ioctl.o CC fs/ext4/namei.o CC kernel/audit_watch.o CC kernel/audit_tree.o CC kernel/kprobes.o CC fs/ext4/super.o CC security/selinux/selinuxfs.o CC kernel/rcutree.o CC security/selinux/netlink.o CC security/selinux/nlmsgtab.o CC security/selinux/netif.o CC kernel/utsname_sysctl.o CC security/selinux/netnode.o CC kernel/taskstats.o CC security/selinux/netport.o CC kernel/tsacct.o CC kernel/tracepoint.o CC security/selinux/exports.o CC security/selinux/ss/ebitmap.o CC kernel/elfcore.o CC kernel/irq_work.o CC security/selinux/ss/hashtab.o CC kernel/cpu_pm.o CC security/selinux/ss/symtab.o BC kernel/timeconst.h CHK kernel/config_data.h UPD kernel/config_data.h CC kernel/time.o CC security/selinux/ss/sidtab.o CC security/selinux/ss/avtab.o CC fs/ext4/symlink.o CC kernel/configs.o LD kernel/built-in.o CC fs/ext4/hash.o CC crypto/api.o CC security/selinux/ss/policydb.o CC fs/ext4/resize.o CC crypto/cipher.o CC crypto/compress.o CC crypto/algapi.o CC fs/ext4/extents.o CC security/selinux/ss/services.o CC crypto/scatterwalk.o CC crypto/proc.o CC crypto/ablkcipher.o CC security/selinux/ss/conditional.o CC fs/ext4/ext4_jbd2.o CC security/selinux/ss/mls.o CC crypto/blkcipher.o CC fs/ext4/migrate.o CC security/selinux/ss/status.o CC crypto/ahash.o CC fs/ext4/mballoc.o CC security/selinux/trap.o CC crypto/shash.o LD security/selinux/selinux.o LD security/selinux/built-in.o CC security/commoncap.o CC crypto/algboss.o CC security/min_addr.o CC security/security.o CC crypto/testmgr.o CC crypto/crypto_wq.o CC security/capability.o LD crypto/crypto_algapi.o CC crypto/aead.o CC fs/ext4/block_validity.o LD crypto/crypto_blkcipher.o CC crypto/chainiv.o CC security/inode.o CC fs/ext4/move_extent.o CC crypto/eseqiv.o CC security/lsm_audit.o LD crypto/crypto_hash.o CC crypto/pcompress.o CC fs/ext4/mmp.o LD security/built-in.o CC fs/fat/cache.o LD crypto/cryptomgr.o CC crypto/hmac.o CC fs/ext4/indirect.o CC fs/fat/dir.o CC crypto/xcbc.o CC crypto/crypto_null.o CC crypto/md4.o CC fs/ext4/xattr.o CC fs/fat/fatent.o CC crypto/md5.o CC crypto/sha1_generic.o CC fs/fat/file.o CC crypto/sha256_generic.o CC fs/ext4/xattr_user.o CC fs/ext4/xattr_trusted.o CC fs/fat/inode.o CC crypto/gf128mul.o CC fs/ext4/xattr_security.o LD fs/ext4/ext4.o LD fs/ext4/built-in.o CC block/elevator.o CC crypto/ecb.o block/elevator.c: In function 'elv_register': block/elevator.c:928:14: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 928 | "%s_io_cq", e->elevator_name); | ^ block/elevator.c:927:3: note: 'snprintf' output between 7 and 22 bytes into a destination of size 21 927 | snprintf(e->icq_cache_name, sizeof(e->icq_cache_name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 928 | "%s_io_cq", e->elevator_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC fs/fat/misc.o CC crypto/cbc.o CC fs/fat/namei_vfat.o CC crypto/xts.o CC block/blk-core.o CC crypto/des_generic.o LD fs/fat/fat.o LD fs/fat/vfat.o LD fs/fat/built-in.o CC fs/fuse/dev.o CC crypto/twofish_generic.o CC crypto/twofish_common.o CC block/blk-tag.o CC fs/fuse/dir.o CC block/blk-sysfs.o CC crypto/aes_generic.o CC fs/fuse/file.o CC block/blk-flush.o CC crypto/arc4.o CC block/blk-settings.o CC crypto/deflate.o CC crypto/crc32c.o CC block/blk-ioc.o CC crypto/authenc.o CC fs/fuse/inode.o CC block/blk-map.o CC crypto/authencesn.o CC block/blk-exec.o CC fs/fuse/control.o LD fs/fuse/fuse.o LD fs/fuse/built-in.o CC fs/jbd2/transaction.o CC block/blk-merge.o CC crypto/rng.o CC crypto/krng.o CC block/blk-softirq.o CC [M] crypto/ansi_cprng.o CC fs/jbd2/commit.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/crypto.h:21, from include/crypto/algapi.h:15, from include/crypto/internal/rng.h:16, from crypto/ansi_cprng.c:16: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'prng_mod_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ crypto/ansi_cprng.c:494:1: note: in expansion of macro 'module_init' 494 | module_init(prng_mod_init); | ^~~~~~~~~~~ crypto/ansi_cprng.c:464:19: note: 'init_module' target declared here 464 | static int __init prng_mod_init(void) | ^~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/crypto.h:21, from include/crypto/algapi.h:15, from include/crypto/internal/rng.h:16, from crypto/ansi_cprng.c:16: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'prng_mod_fini': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ crypto/ansi_cprng.c:495:1: note: in expansion of macro 'module_exit' 495 | module_exit(prng_mod_fini); | ^~~~~~~~~~~ crypto/ansi_cprng.c:480:20: note: 'cleanup_module' target declared here 480 | static void __exit prng_mod_fini(void) | ^~~~~~~~~~~~~ LD crypto/crypto.o LD crypto/built-in.o LD drivers/auxdisplay/built-in.o CC drivers/base/core.o CC block/blk-timeout.o CC block/blk-iopoll.o CC fs/jbd2/recovery.o CC block/blk-lib.o CC drivers/base/bus.o CC fs/jbd2/checkpoint.o CC block/ioctl.o CC drivers/base/dd.o CC fs/jbd2/revoke.o CC block/genhd.o CC drivers/base/syscore.o CC fs/jbd2/journal.o CC drivers/base/driver.o CC drivers/base/class.o CC block/scsi_ioctl.o CC drivers/base/platform.o CC block/partition-generic.o CC drivers/base/cpu.o block/partition-generic.c: In function 'disk_name': block/partition-generic.c:41:37: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 41 | snprintf(buf, BDEVNAME_SIZE, "%s%d", hd->disk_name, partno); | ^ block/partition-generic.c:41:3: note: 'snprintf' output between 2 and 43 bytes into a destination of size 32 41 | snprintf(buf, BDEVNAME_SIZE, "%s%d", hd->disk_name, partno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ block/partition-generic.c:39: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=] 39 | snprintf(buf, BDEVNAME_SIZE, "%sp%d", hd->disk_name, partno); | ^~ block/partition-generic.c:39:3: note: 'snprintf' output between 3 and 44 bytes into a destination of size 32 39 | snprintf(buf, BDEVNAME_SIZE, "%sp%d", hd->disk_name, partno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/base/firmware.o CC block/partitions/check.o CC drivers/base/init.o CC drivers/base/map.o CC block/partitions/msdos.o CC drivers/base/devres.o CC block/partitions/efi.o LD fs/jbd2/jbd2.o LD fs/jbd2/built-in.o CC fs/nls/nls_base.o CC drivers/base/attribute_container.o CC fs/nls/nls_cp437.o LD block/partitions/built-in.o CC block/bsg.o CC fs/nls/nls_ascii.o CC drivers/base/transport_class.o CC fs/nls/nls_iso8859-1.o CC drivers/base/topology.o CC fs/nls/nls_utf8.o CC drivers/base/sys.o LD fs/nls/built-in.o CC fs/notify/fsnotify.o CC drivers/base/devtmpfs.o CC block/noop-iosched.o CC fs/notify/notification.o CC block/row-iosched.o CC drivers/base/dma-contiguous.o CC fs/notify/group.o CC block/cfq-iosched.o CC fs/notify/inode_mark.o CC drivers/base/power/sysfs.o CC fs/notify/mark.o CC drivers/base/power/generic_ops.o CC fs/notify/vfsmount_mark.o CC drivers/base/power/common.o CC fs/notify/dnotify/dnotify.o CC drivers/base/power/qos.o LD fs/notify/dnotify/built-in.o LD fs/notify/fanotify/built-in.o CC fs/notify/inotify/inotify_fsnotify.o CC drivers/base/power/main.o CC block/fiops-iosched.o CC fs/notify/inotify/inotify_user.o LD fs/notify/inotify/built-in.o LD fs/notify/built-in.o LD block/built-in.o CC fs/proc/mmu.o CC drivers/base/power/wakeup.o CC drivers/base/power/runtime.o CC fs/proc/task_mmu.o CC drivers/block/brd.o CC fs/proc/inode.o CC drivers/base/power/clock_ops.o LD drivers/base/power/built-in.o CC drivers/block/loop.o CC drivers/base/regmap/regmap.o CC fs/proc/root.o CC fs/proc/base.o LD drivers/block/built-in.o CC drivers/bluetooth/hci_smd.o CC drivers/base/regmap/regcache.o CC drivers/base/regmap/regcache-rbtree.o CC drivers/bluetooth/hci_ldisc.o 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)); | ^ drivers/base/regmap/regcache-rbtree.c: In function 'regcache_rbtree_insert': drivers/base/regmap/regcache-rbtree.c:125:15: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 125 | rb_link_node(&rbnode->node, parent, new); | ^~~~~~~~~~~~~ drivers/base/regmap/regcache-rbtree.c:126:18: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 126 | rb_insert_color(&rbnode->node, root); | ^~~~~~~~~~~~~ drivers/base/regmap/regcache-rbtree.c: In function 'regcache_rbtree_exit': drivers/base/regmap/regcache-rbtree.c:237:18: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 237 | next = rb_next(&rbtree_node->node); | ^~~~~~~~~~~~~~~~~~ drivers/base/regmap/regcache-rbtree.c:238:12: warning: taking address of packed member of 'struct regcache_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 238 | rb_erase(&rbtree_node->node, &rbtree_ctx->root); | ^~~~~~~~~~~~~~~~~~ CC fs/proc/generic.o CC drivers/base/regmap/regcache-lzo.o CC drivers/base/regmap/regmap-debugfs.o CC drivers/bluetooth/hci_h4.o CC fs/proc/array.o CC drivers/base/regmap/regmap-i2c.o CC drivers/bluetooth/hci_ath.o CC drivers/base/regmap/regmap-spi.o CC fs/proc/proc_tty.o CC fs/proc/cmdline.o LD drivers/base/regmap/built-in.o CC drivers/base/dma-mapping.o CC fs/proc/consoles.o CC drivers/bluetooth/hci_ibs.o CC drivers/base/dma-coherent.o CC fs/proc/cpuinfo.o CC fs/proc/devices.o CC fs/proc/interrupts.o CC drivers/base/dma-buf.o CC drivers/bluetooth/bluetooth-power.o CC fs/proc/loadavg.o CC fs/proc/meminfo.o LD drivers/bluetooth/hci_uart.o LD drivers/bluetooth/built-in.o LD drivers/cdrom/built-in.o CC drivers/base/genlock.o CC drivers/base/firmware_class.o CC fs/proc/stat.o CC fs/proc/uptime.o CC drivers/base/module.o CC fs/proc/version.o CC drivers/base/sync.o CC drivers/base/sw_sync.o CC fs/proc/softirqs.o CC fs/proc/namespaces.o CC sound/sound_core.o CC fs/proc/proc_sysctl.o LD sound/arm/built-in.o LD sound/atmel/built-in.o CC sound/core/hwdep.o LD drivers/base/built-in.o CC drivers/char/mem.o CC sound/core/memalloc.o CC drivers/char/random.o CC fs/proc/proc_net.o CC sound/core/pcm.o CC fs/proc/kmsg.o CC drivers/char/misc.o CC fs/proc/page.o LD fs/proc/proc.o CC sound/core/pcm_native.o LD fs/proc/built-in.o LD fs/quota/built-in.o CC drivers/char/hw_random/core.o CC fs/ramfs/inode.o CC drivers/char/hw_random/msm_rng.o CC fs/ramfs/file-mmu.o LD fs/ramfs/ramfs.o LD fs/ramfs/built-in.o CC fs/squashfs/block.o LD drivers/char/hw_random/rng-core.o LD drivers/char/hw_random/built-in.o CC drivers/char/msm_rotator.o CC fs/squashfs/cache.o CC fs/squashfs/dir.o CC sound/core/pcm_lib.o CC fs/squashfs/export.o CC fs/squashfs/file.o drivers/char/msm_rotator.c: In function 'msm_rotator_ioctl': drivers/char/msm_rotator.c:2631:14: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 2631 | "msm_rot_%d", first_free_idx); | ^~ drivers/char/msm_rotator.c:2631:5: note: directive argument in the range [-1, 2147483646] 2631 | "msm_rot_%d", first_free_idx); | ^~~~~~~~~~~~ drivers/char/msm_rotator.c:2630:4: note: 'snprintf' output between 10 and 19 bytes into a destination of size 16 2630 | snprintf(timeline_name, sizeof(timeline_name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2631 | "msm_rot_%d", first_free_idx); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC fs/squashfs/fragment.o CC fs/squashfs/id.o CC [M] drivers/char/adsprpc.o CC fs/squashfs/inode.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/spinlock.h:55, from include/linux/mmzone.h:7, from include/linux/gfp.h:4, from include/linux/slab.h:12, from drivers/char/adsprpc.c:18: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'fastrpc_device_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ drivers/char/adsprpc.c:920:1: note: in expansion of macro 'module_init' 920 | module_init(fastrpc_device_init); | ^~~~~~~~~~~ drivers/char/adsprpc.c:870:19: note: 'init_module' target declared here 870 | static int __init fastrpc_device_init(void) | ^~~~~~~~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/spinlock.h:55, from include/linux/mmzone.h:7, from include/linux/gfp.h:4, from include/linux/slab.h:12, from drivers/char/adsprpc.c:18: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'fastrpc_device_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/char/adsprpc.c:921:1: note: in expansion of macro 'module_exit' 921 | module_exit(fastrpc_device_exit); | ^~~~~~~~~~~ drivers/char/adsprpc.c:909:20: note: 'cleanup_module' target declared here 909 | static void __exit fastrpc_device_exit(void) | ^~~~~~~~~~~~~~~~~~~ CC fs/squashfs/namei.o CC sound/core/pcm_timer.o LD drivers/char/built-in.o CC fs/squashfs/super.o CC drivers/clk/clkdev.o CC sound/core/pcm_misc.o LD drivers/clk/built-in.o LD drivers/clocksource/built-in.o CC drivers/cpufreq/cpufreq.o CC fs/squashfs/symlink.o CC sound/core/pcm_memory.o CC fs/squashfs/decompressor.o CC fs/squashfs/xattr.o CC sound/core/rawmidi.o CC fs/squashfs/xattr_id.o CC fs/squashfs/lzo_wrapper.o CC drivers/cpufreq/cpu-boost.o CC fs/squashfs/xz_wrapper.o CC drivers/cpufreq/cpufreq_stats.o CC sound/core/timer.o CC fs/squashfs/zlib_wrapper.o LD fs/squashfs/squashfs.o CC drivers/cpufreq/cpufreq_performance.o LD fs/squashfs/built-in.o CC fs/sysfs/inode.o CC drivers/cpufreq/cpufreq_ondemand.o CC fs/sysfs/file.o CC sound/core/sound.o CC drivers/cpufreq/cpufreq_interactive.o CC fs/sysfs/dir.o CC sound/core/init.o CC fs/sysfs/symlink.o CC sound/core/memory.o CC drivers/cpufreq/freq_table.o CC fs/sysfs/mount.o CC drivers/cpufreq/cpufreq_gov_msm.o CC sound/core/info.o CC fs/sysfs/bin.o LD drivers/cpufreq/built-in.o CC drivers/cpuidle/cpuidle.o CC fs/sysfs/group.o CC drivers/cpuidle/driver.o CC sound/core/control.o LD fs/sysfs/built-in.o CC fs/eventpoll.o CC drivers/cpuidle/governor.o CC drivers/cpuidle/sysfs.o CC drivers/cpuidle/governors/ladder.o CC fs/anon_inodes.o CC sound/core/misc.o CC drivers/cpuidle/governors/menu.o LD drivers/cpuidle/governors/built-in.o LD drivers/cpuidle/built-in.o CC fs/signalfd.o LD drivers/crypto/built-in.o LD drivers/crypto/msm/built-in.o CC [M] drivers/crypto/msm/qcedev.o CC sound/core/device.o CC sound/core/jack.o CC fs/timerfd.o LD sound/core/snd.o LD sound/core/snd-hwdep.o LD sound/core/snd-timer.o LD sound/core/snd-pcm.o CC fs/eventfd.o LD sound/core/snd-page-alloc.o LD sound/core/snd-rawmidi.o LD sound/core/built-in.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 CC [M] drivers/crypto/msm/qce40.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 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 CC fs/aio.o LD sound/isa/wavefront/built-in.o LD sound/isa/wss/built-in.o LD sound/isa/built-in.o LD sound/mips/built-in.o LD sound/parisc/built-in.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 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 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 CC [M] drivers/crypto/msm/qcrypto.o LD sound/pci/riptide/built-in.o LD sound/pci/rme9652/built-in.o CC fs/locks.o LD sound/pci/trident/built-in.o LD sound/pci/vx222/built-in.o LD sound/pci/ymfpci/built-in.o LD sound/pci/built-in.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/crypto/msm/qcrypto.c:15: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target '_qcrypto_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ drivers/crypto/msm/qcrypto.c:3614:1: note: in expansion of macro 'module_init' 3614 | module_init(_qcrypto_init); | ^~~~~~~~~~~ drivers/crypto/msm/qcrypto.c:3596:19: note: 'init_module' target declared here 3596 | static int __init _qcrypto_init(void) | ^~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/crypto/msm/qcrypto.c:15: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target '_qcrypto_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/crypto/msm/qcrypto.c:3615:1: note: in expansion of macro 'module_exit' 3615 | module_exit(_qcrypto_exit); | ^~~~~~~~~~~ drivers/crypto/msm/qcrypto.c:3607:20: note: 'cleanup_module' target declared here 3607 | static void __exit _qcrypto_exit(void) | ^~~~~~~~~~~~~ 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 fs/binfmt_script.o CC fs/binfmt_elf.o LD drivers/firewire/built-in.o LD drivers/firmware/built-in.o CC drivers/gpio/gpiolib.o sound/soc/soc-core.c: In function 'fmt_single_name': sound/soc/soc-core.c:3308:35: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 3308 | snprintf(tmp, NAME_SIZE, "%s.%s", dev->driver->name, name); | ^ sound/soc/soc-core.c:3308:4: note: 'snprintf' output 2 or more bytes (assuming 33) into a destination of size 32 3308 | snprintf(tmp, NAME_SIZE, "%s.%s", dev->driver->name, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC fs/mbcache.o CC drivers/gpio/devres.o CC sound/soc/soc-dapm.o CC drivers/gpio/gpio-msm-common.o CC fs/dcookies.o CC drivers/gpio/gpio-msm-v2.o LD fs/built-in.o CC drivers/gpio/pm8xxx-gpio.o CC sound/soc/soc-jack.o CC drivers/gpio/pm8xxx-mpp.o CC sound/soc/soc-cache.o CC sound/soc/soc-utils.o CC drivers/gpio/gpio-sx150x.o CC sound/soc/soc-pcm.o CC sound/soc/soc-io.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 LD sound/soc/atmel/built-in.o LD sound/soc/au1x/built-in.o LD sound/soc/blackfin/built-in.o CC sound/soc/codecs/cs8427.o CC sound/soc/codecs/msm_stub.o CC sound/soc/codecs/wcd9304.o CC drivers/gpu/ion/ion_heap.o sound/soc/codecs/wcd9304.c:1082:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 1082 | static const char const *anc_mux_text[] = { | ^~~~~ sound/soc/codecs/wcd9304.c:1087:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 1087 | static const char const *anc1_fb_mux_text[] = { | ^~~~~ sound/soc/codecs/wcd9304.c:1091:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 1091 | static const char const *iir_inp1_text[] = { | ^~~~~ LD sound/soc/davinci/built-in.o sound/soc/codecs/wcd9304.c: In function 'sitar_mbhc_cal_btn_det_mp': sound/soc/codecs/wcd9304.c:4246:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 4246 | void *ret = &btn_det->_v_btn_low; | ^ LD sound/soc/ep93xx/built-in.o LD sound/soc/fsl/built-in.o CC drivers/gpu/ion/ion_system_heap.o LD sound/sparc/built-in.o LD sound/spi/built-in.o LD sound/synth/built-in.o CC sound/usb/card.o CC drivers/gpu/ion/ion_carveout_heap.o CC sound/usb/clock.o CC drivers/gpu/ion/ion_iommu_heap.o CC sound/usb/endpoint.o CC drivers/gpu/ion/ion_cp_heap.o CC sound/usb/format.o CC drivers/gpu/ion/ion_cma_heap.o CC sound/usb/helper.o CC sound/soc/codecs/wcd9304-tables.o CC sound/usb/mixer.o CC sound/soc/codecs/wcd9310.o CC drivers/gpu/ion/msm/msm_ion.o sound/soc/codecs/wcd9310.c:1392:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 1392 | static const char const *sb_tx7_to_tx10_mux_text[] = { | ^~~~~ sound/soc/codecs/wcd9310.c:1422:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 1422 | static const char const *dec7_mux_text[] = { | ^~~~~ sound/soc/codecs/wcd9310.c:1438:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 1438 | static const char const *anc_mux_text[] = { | ^~~~~ sound/soc/codecs/wcd9310.c:1443:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 1443 | static const char const *anc1_fb_mux_text[] = { | ^~~~~ sound/soc/codecs/wcd9310.c: In function 'tabla_mbhc_cal_btn_det_mp': sound/soc/codecs/wcd9310.c:6326:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 6326 | void *ret = &btn_det->_v_btn_low; | ^ At top level: sound/soc/codecs/wcd9310.c:3546:41: warning: 'tabla_2_higher_dapm_widgets' defined but not used [-Wunused-const-variable=] 3546 | static const struct snd_soc_dapm_widget tabla_2_higher_dapm_widgets[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/codecs/wcd9310.c:3539:41: warning: 'tabla_1_x_dapm_widgets' defined but not used [-Wunused-const-variable=] 3539 | static const struct snd_soc_dapm_widget tabla_1_x_dapm_widgets[] = { | ^~~~~~~~~~~~~~~~~~~~~~ CC drivers/gpu/ion/msm/ion_cp_common.o LD drivers/gpu/ion/msm/built-in.o LD drivers/gpu/ion/built-in.o CC drivers/gpu/msm/adreno_ringbuffer.o drivers/gpu/msm/adreno_ringbuffer.c:278:3: warning: 'adreno_writereg' is static but used in inline function 'adreno_ringbuffer_load_pfp_ucode' which is not static 278 | adreno_writereg(adreno_dev, ADRENO_REG_CP_PFP_UCODE_DATA, | ^~~~~~~~~~~~~~~ drivers/gpu/msm/adreno_ringbuffer.c:276:2: warning: 'adreno_writereg' is static but used in inline function 'adreno_ringbuffer_load_pfp_ucode' which is not static 276 | adreno_writereg(adreno_dev, ADRENO_REG_CP_PFP_UCODE_ADDR, addr); | ^~~~~~~~~~~~~~~ drivers/gpu/msm/adreno_ringbuffer.c:224:3: warning: 'adreno_writereg' is static but used in inline function 'adreno_ringbuffer_load_pm4_ucode' which is not static 224 | adreno_writereg(adreno_dev, ADRENO_REG_CP_ME_RAM_DATA, | ^~~~~~~~~~~~~~~ drivers/gpu/msm/adreno_ringbuffer.c:222:2: warning: 'adreno_writereg' is static but used in inline function 'adreno_ringbuffer_load_pm4_ucode' which is not static 222 | adreno_writereg(adreno_dev, ADRENO_REG_CP_ME_RAM_WADDR, addr); | ^~~~~~~~~~~~~~~ CC sound/usb/mixer_quirks.o CC drivers/gpu/msm/adreno_drawctxt.o CC sound/usb/pcm.o CC drivers/gpu/msm/adreno_dispatch.o CC sound/usb/proc.o CC sound/usb/quirks.o CC sound/usb/stream.o CC drivers/gpu/msm/adreno_postmortem.o CC sound/soc/codecs/wcd9310-tables.o CC sound/usb/midi.o CC sound/soc/codecs/wcdcal-hwdep.o CC drivers/gpu/msm/adreno_snapshot.o LD sound/soc/codecs/snd-soc-wcd9304.o LD sound/soc/codecs/snd-soc-wcd9310.o LD sound/soc/codecs/snd-soc-cs8427.o LD sound/soc/codecs/snd-soc-msm-stub.o LD sound/soc/codecs/built-in.o CC drivers/gpu/msm/adreno_coresight.o LD sound/soc/imx/built-in.o LD sound/soc/jz4740/built-in.o LD sound/soc/kirkwood/built-in.o LD sound/soc/mid-x86/built-in.o CC sound/soc/msm/qdsp6/q6asm.o CC drivers/gpu/msm/adreno_trace.o LD sound/usb/6fire/built-in.o LD sound/usb/caiaq/built-in.o LD sound/usb/misc/built-in.o sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_open_read': sound/soc/msm/qdsp6/q6asm.c:1281:20: warning: taking address of packed member of 'struct asm_stream_cmd_open_read' may result in an unaligned pointer value [-Waddress-of-packed-member] 1281 | q6asm_add_hdr(ac, &open.hdr, sizeof(open), TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:1323:2: warning: converting a packed 'struct asm_stream_cmd_open_read' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1323 | rc = apr_send_pkt(ac->apr, (uint32_t *) &open); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1134:8: note: defined here 1134 | struct asm_stream_cmd_open_read { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_open_read_v2_1': sound/soc/msm/qdsp6/q6asm.c:1358:20: warning: taking address of packed member of 'struct asm_stream_cmd_open_read_v2_1' may result in an unaligned pointer value [-Waddress-of-packed-member] 1358 | q6asm_add_hdr(ac, &open.hdr, sizeof(open), TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:1401:2: warning: converting a packed 'struct asm_stream_cmd_open_read_v2_1' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1401 | rc = apr_send_pkt(ac->apr, (uint32_t *) &open); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1142:8: note: defined here 1142 | struct asm_stream_cmd_open_read_v2_1 { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_open_read_compressed': sound/soc/msm/qdsp6/q6asm.c:1434:20: warning: taking address of packed member of 'struct asm_stream_cmd_open_read_compressed' may result in an unaligned pointer value [-Waddress-of-packed-member] 1434 | q6asm_add_hdr(ac, &open.hdr, sizeof(open), TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:1440:2: warning: converting a packed 'struct asm_stream_cmd_open_read_compressed' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1440 | rc = apr_send_pkt(ac->apr, (uint32_t *) &open); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1193:8: note: defined here 1193 | struct asm_stream_cmd_open_read_compressed { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_open_write_compressed': sound/soc/msm/qdsp6/q6asm.c:1469:20: warning: taking address of packed member of 'struct asm_stream_cmd_open_write_compressed' may result in an unaligned pointer value [-Waddress-of-packed-member] 1469 | q6asm_add_hdr(ac, &open.hdr, sizeof(open), TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:1508:2: warning: converting a packed 'struct asm_stream_cmd_open_write_compressed' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1508 | rc = apr_send_pkt(ac->apr, (uint32_t *) &open); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1214:8: note: defined here 1214 | struct asm_stream_cmd_open_write_compressed { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_open_write': sound/soc/msm/qdsp6/q6asm.c:1538:20: warning: taking address of packed member of 'struct asm_stream_cmd_open_write' may result in an unaligned pointer value [-Waddress-of-packed-member] 1538 | q6asm_add_hdr(ac, &open.hdr, sizeof(open), TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:1598:2: warning: converting a packed 'struct asm_stream_cmd_open_write' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1598 | rc = apr_send_pkt(ac->apr, (uint32_t *) &open); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1201:8: note: defined here 1201 | struct asm_stream_cmd_open_write { | ^~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_open_read_write': sound/soc/msm/qdsp6/q6asm.c:1638:20: warning: taking address of packed member of 'struct asm_stream_cmd_open_read_write' may result in an unaligned pointer value [-Waddress-of-packed-member] 1638 | q6asm_add_hdr(ac, &open.hdr, sizeof(open), TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:1718:2: warning: converting a packed 'struct asm_stream_cmd_open_read_write' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1718 | rc = apr_send_pkt(ac->apr, (uint32_t *) &open); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1222:8: note: defined here 1222 | struct asm_stream_cmd_open_read_write { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_open_loopack': sound/soc/msm/qdsp6/q6asm.c:1746:20: warning: taking address of packed member of 'struct asm_stream_cmd_open_loopback' may result in an unaligned pointer value [-Waddress-of-packed-member] 1746 | q6asm_add_hdr(ac, &open.hdr, sizeof(open), TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:1757:2: warning: converting a packed 'struct asm_stream_cmd_open_loopback' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1757 | rc = apr_send_pkt(ac->apr, (uint32_t *) &open); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1231:8: note: defined here 1231 | struct asm_stream_cmd_open_loopback { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_run': LD sound/usb/usx2y/built-in.o sound/soc/msm/qdsp6/q6asm.c:1784:20: warning: taking address of packed member of 'struct asm_stream_cmd_run' may result in an unaligned pointer value [-Waddress-of-packed-member] 1784 | q6asm_add_hdr(ac, &run.hdr, sizeof(run), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:1797:2: warning: converting a packed 'struct asm_stream_cmd_run' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1797 | rc = apr_send_pkt(ac->apr, (uint32_t *) &run); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1381:8: note: defined here 1381 | struct asm_stream_cmd_run{ | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_run_nowait': sound/soc/msm/qdsp6/q6asm.c:1825:26: warning: taking address of packed member of 'struct asm_stream_cmd_run' may result in an unaligned pointer value [-Waddress-of-packed-member] 1825 | q6asm_add_hdr_async(ac, &run.hdr, sizeof(run), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:1831:2: warning: converting a packed 'struct asm_stream_cmd_run' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1831 | rc = apr_send_pkt(ac->apr, (uint32_t *) &run); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1381:8: note: defined here 1381 | struct asm_stream_cmd_run{ | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_enc_cfg_blk_aac': sound/soc/msm/qdsp6/q6asm.c:1853:20: warning: taking address of packed member of 'struct asm_stream_cmd_encdec_cfg_blk' may result in an unaligned pointer value [-Waddress-of-packed-member] 1853 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:1867:2: warning: converting a packed 'struct asm_stream_cmd_encdec_cfg_blk' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1867 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1273:8: note: defined here 1273 | struct asm_stream_cmd_encdec_cfg_blk{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_enc_cfg_blk_pcm': sound/soc/msm/qdsp6/q6asm.c:1894:20: warning: taking address of packed member of 'struct asm_stream_cmd_encdec_cfg_blk' may result in an unaligned pointer value [-Waddress-of-packed-member] 1894 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:1908:2: warning: converting a packed 'struct asm_stream_cmd_encdec_cfg_blk' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1908 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1273:8: note: defined here 1273 | struct asm_stream_cmd_encdec_cfg_blk{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_enc_cfg_blk_pcm_native': sound/soc/msm/qdsp6/q6asm.c:1935:20: warning: taking address of packed member of 'struct asm_stream_cmd_encdec_cfg_blk' may result in an unaligned pointer value [-Waddress-of-packed-member] 1935 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:1949:2: warning: converting a packed 'struct asm_stream_cmd_encdec_cfg_blk' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1949 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1273:8: note: defined here 1273 | struct asm_stream_cmd_encdec_cfg_blk{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_enc_cfg_blk_multi_ch_pcm': sound/soc/msm/qdsp6/q6asm.c:1976:20: warning: taking address of packed member of 'struct asm_stream_cmd_encdec_cfg_blk' may result in an unaligned pointer value [-Waddress-of-packed-member] 1976 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2037:2: warning: converting a packed 'struct asm_stream_cmd_encdec_cfg_blk' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2037 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1273:8: note: defined here 1273 | struct asm_stream_cmd_encdec_cfg_blk{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_enable_sbrps': sound/soc/msm/qdsp6/q6asm.c:2063:20: warning: taking address of packed member of 'struct asm_stream_cmd_encdec_sbr' may result in an unaligned pointer value [-Waddress-of-packed-member] 2063 | q6asm_add_hdr(ac, &sbrps.hdr, sizeof(sbrps), TRUE); | ^~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2070:2: warning: converting a packed 'struct asm_stream_cmd_encdec_sbr' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2070 | rc = apr_send_pkt(ac->apr, (uint32_t *) &sbrps); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1293:8: note: defined here 1293 | struct asm_stream_cmd_encdec_sbr{ | ^~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_cfg_dual_mono_aac': sound/soc/msm/qdsp6/q6asm.c:2099:20: warning: taking address of packed member of 'struct asm_stream_cmd_encdec_dualmono' may result in an unaligned pointer value [-Waddress-of-packed-member] 2099 | q6asm_add_hdr(ac, &dual_mono.hdr, sizeof(dual_mono), TRUE); | ^~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2107:2: warning: converting a packed 'struct asm_stream_cmd_encdec_dualmono' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2107 | rc = apr_send_pkt(ac->apr, (uint32_t *) &dual_mono); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1300:8: note: defined here 1300 | struct asm_stream_cmd_encdec_dualmono { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_cfg_aac_sel_mix_coef': sound/soc/msm/qdsp6/q6asm.c:2131:20: warning: taking address of packed member of 'struct asm_aac_stereo_mix_coeff_selection_param' may result in an unaligned pointer value [-Waddress-of-packed-member] 2131 | q6asm_add_hdr(ac, &aac_mix_coeff.hdr, sizeof(aac_mix_coeff), TRUE); | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2140:2: warning: converting a packed 'struct asm_aac_stereo_mix_coeff_selection_param' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2140 | rc = apr_send_pkt(ac->apr, (uint32_t *) &aac_mix_coeff); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1311:8: note: defined here 1311 | struct asm_aac_stereo_mix_coeff_selection_param { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_set_encdec_chan_map': sound/soc/msm/qdsp6/q6asm.c:2171:20: warning: taking address of packed member of 'struct asm_stream_cmd_encdec_channelmap' may result in an unaligned pointer value [-Waddress-of-packed-member] 2171 | q6asm_add_hdr(ac, &chan_map.hdr, sizeof(chan_map), TRUE); | ^~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2215:2: warning: converting a packed 'struct asm_stream_cmd_encdec_channelmap' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2215 | rc = apr_send_pkt(ac->apr, (uint32_t *) &chan_map); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1319:8: note: defined here 1319 | struct asm_stream_cmd_encdec_channelmap { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_enc_cfg_blk_qcelp': sound/soc/msm/qdsp6/q6asm.c:2247:20: warning: taking address of packed member of 'struct asm_stream_cmd_encdec_cfg_blk' may result in an unaligned pointer value [-Waddress-of-packed-member] 2247 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2262:2: warning: converting a packed 'struct asm_stream_cmd_encdec_cfg_blk' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2262 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1273:8: note: defined here 1273 | struct asm_stream_cmd_encdec_cfg_blk{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_enc_cfg_blk_evrc': sound/soc/msm/qdsp6/q6asm.c:2289:20: warning: taking address of packed member of 'struct asm_stream_cmd_encdec_cfg_blk' may result in an unaligned pointer value [-Waddress-of-packed-member] 2289 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2304:2: warning: converting a packed 'struct asm_stream_cmd_encdec_cfg_blk' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2304 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1273:8: note: defined here 1273 | struct asm_stream_cmd_encdec_cfg_blk{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_enc_cfg_blk_amrnb': sound/soc/msm/qdsp6/q6asm.c:2329:20: warning: taking address of packed member of 'struct asm_stream_cmd_encdec_cfg_blk' may result in an unaligned pointer value [-Waddress-of-packed-member] 2329 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2342:2: warning: converting a packed 'struct asm_stream_cmd_encdec_cfg_blk' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2342 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1273:8: note: defined here 1273 | struct asm_stream_cmd_encdec_cfg_blk{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_enc_cfg_blk_amrwb': sound/soc/msm/qdsp6/q6asm.c:2367:20: warning: taking address of packed member of 'struct asm_stream_cmd_encdec_cfg_blk' may result in an unaligned pointer value [-Waddress-of-packed-member] 2367 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2380:2: warning: converting a packed 'struct asm_stream_cmd_encdec_cfg_blk' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2380 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1273:8: note: defined here 1273 | struct asm_stream_cmd_encdec_cfg_blk{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_media_format_block_pcm': sound/soc/msm/qdsp6/q6asm.c:2405:20: warning: taking address of packed member of 'struct asm_stream_media_format_update' may result in an unaligned pointer value [-Waddress-of-packed-member] 2405 | q6asm_add_hdr(ac, &fmt.hdr, sizeof(fmt), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2417:2: warning: converting a packed 'struct asm_stream_media_format_update' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2417 | rc = apr_send_pkt(ac->apr, (uint32_t *) &fmt); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1433:8: note: defined here 1433 | struct asm_stream_media_format_update{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_media_format_block_multi_ch_pcm': sound/soc/msm/qdsp6/q6asm.c:2443:20: warning: taking address of packed member of 'struct asm_stream_media_format_update' may result in an unaligned pointer value [-Waddress-of-packed-member] 2443 | q6asm_add_hdr(ac, &fmt.hdr, sizeof(fmt), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2491:2: warning: converting a packed 'struct asm_stream_media_format_update' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2491 | rc = apr_send_pkt(ac->apr, (uint32_t *) &fmt); | ^~ LD sound/usb/snd-usb-audio.o In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1433:8: note: defined here 1433 | struct asm_stream_media_format_update{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_media_format_block_aac': sound/soc/msm/qdsp6/q6asm.c:2516:20: warning: taking address of packed member of 'struct asm_stream_media_format_update' may result in an unaligned pointer value [-Waddress-of-packed-member] 2516 | q6asm_add_hdr(ac, &fmt.hdr, sizeof(fmt), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2539:2: warning: converting a packed 'struct asm_stream_media_format_update' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2539 | rc = apr_send_pkt(ac->apr, (uint32_t *) &fmt); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1433:8: note: defined here 1433 | struct asm_stream_media_format_update{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_media_format_block_amrwbplus': sound/soc/msm/qdsp6/q6asm.c:2569:20: warning: taking address of packed member of 'struct asm_stream_media_format_update' may result in an unaligned pointer value [-Waddress-of-packed-member] 2569 | q6asm_add_hdr(ac, &fmt.hdr, sizeof(fmt), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2590:2: warning: converting a packed 'struct asm_stream_media_format_update' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2590 | rc = apr_send_pkt(ac->apr, (uint32_t *) &fmt); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1433:8: note: defined here 1433 | struct asm_stream_media_format_update{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_media_format_block_multi_aac': sound/soc/msm/qdsp6/q6asm.c:2614:20: warning: taking address of packed member of 'struct asm_stream_media_format_update' may result in an unaligned pointer value [-Waddress-of-packed-member] 2614 | q6asm_add_hdr(ac, &fmt.hdr, sizeof(fmt), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2637:2: warning: converting a packed 'struct asm_stream_media_format_update' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2637 | rc = apr_send_pkt(ac->apr, (uint32_t *) &fmt); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1433:8: note: defined here 1433 | struct asm_stream_media_format_update{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_media_format_block': sound/soc/msm/qdsp6/q6asm.c:2664:20: warning: taking address of packed member of 'struct asm_stream_media_format_update' may result in an unaligned pointer value [-Waddress-of-packed-member] 2664 | q6asm_add_hdr(ac, &fmt.hdr, sizeof(fmt), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2697:2: warning: converting a packed 'struct asm_stream_media_format_update' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2697 | rc = apr_send_pkt(ac->apr, (uint32_t *) &fmt); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1433:8: note: defined here 1433 | struct asm_stream_media_format_update{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_media_format_block_wma': sound/soc/msm/qdsp6/q6asm.c:2726:20: warning: taking address of packed member of 'struct asm_stream_media_format_update' may result in an unaligned pointer value [-Waddress-of-packed-member] 2726 | q6asm_add_hdr(ac, &fmt.hdr, sizeof(fmt), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2748:2: warning: converting a packed 'struct asm_stream_media_format_update' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2748 | rc = apr_send_pkt(ac->apr, (uint32_t *) &fmt); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1433:8: note: defined here 1433 | struct asm_stream_media_format_update{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_media_format_block_wmapro': sound/soc/msm/qdsp6/q6asm.c:2778:20: warning: taking address of packed member of 'struct asm_stream_media_format_update' may result in an unaligned pointer value [-Waddress-of-packed-member] 2778 | q6asm_add_hdr(ac, &fmt.hdr, sizeof(fmt), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2801:2: warning: converting a packed 'struct asm_stream_media_format_update' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2801 | rc = apr_send_pkt(ac->apr, (uint32_t *) &fmt); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1433:8: note: defined here 1433 | struct asm_stream_media_format_update{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_memory_map': sound/soc/msm/qdsp6/q6asm.c:2839:20: warning: taking address of packed member of 'struct asm_stream_cmd_memory_map' may result in an unaligned pointer value [-Waddress-of-packed-member] 2839 | q6asm_add_mmaphdr(&mem_map.hdr, | ^~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2845:2: warning: converting a packed 'struct asm_stream_cmd_memory_map' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2845 | rc = apr_send_pkt(this_mmap.apr, (uint32_t *) &mem_map); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1343:8: note: defined here 1343 | struct asm_stream_cmd_memory_map{ | ^~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_memory_unmap': sound/soc/msm/qdsp6/q6asm.c:2884:20: warning: taking address of packed member of 'struct asm_stream_cmd_memory_unmap' may result in an unaligned pointer value [-Waddress-of-packed-member] 2884 | q6asm_add_mmaphdr(&mem_unmap.hdr, | ^~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:2889:2: warning: converting a packed 'struct asm_stream_cmd_memory_unmap' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2889 | rc = apr_send_pkt(this_mmap.apr, (uint32_t *) &mem_unmap); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1352:8: note: defined here 1352 | struct asm_stream_cmd_memory_unmap{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_set_lrgain': sound/soc/msm/qdsp6/q6asm.c:2934:26: warning: taking address of packed member of 'struct asm_pp_params_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 2934 | q6asm_add_hdr_async(ac, &cmd->hdr, sz, TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_memory_map_regions': sound/soc/msm/qdsp6/q6asm.c:3002:20: warning: taking address of packed member of 'struct asm_stream_cmd_memory_map_regions' may result in an unaligned pointer value [-Waddress-of-packed-member] 3002 | q6asm_add_mmaphdr(&mmap_regions->hdr, cmd_size, TRUE); | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_memory_unmap_regions': sound/soc/msm/qdsp6/q6asm.c:3079:20: warning: taking address of packed member of 'struct asm_stream_cmd_memory_unmap_regions' may result in an unaligned pointer value [-Waddress-of-packed-member] 3079 | q6asm_add_mmaphdr(&unmap_regions->hdr, cmd_size, TRUE); | ^~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_set_mute': sound/soc/msm/qdsp6/q6asm.c:3138:26: warning: taking address of packed member of 'struct asm_pp_params_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 3138 | q6asm_add_hdr_async(ac, &cmd->hdr, sz, TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_set_volume': sound/soc/msm/qdsp6/q6asm.c:3191:26: warning: taking address of packed member of 'struct asm_pp_params_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 3191 | q6asm_add_hdr_async(ac, &cmd->hdr, sz, TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_set_softpause': sound/soc/msm/qdsp6/q6asm.c:3246:26: warning: taking address of packed member of 'struct asm_pp_params_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 3246 | q6asm_add_hdr_async(ac, &cmd->hdr, sz, TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_set_softvolume': sound/soc/msm/qdsp6/q6asm.c:3306:26: warning: taking address of packed member of 'struct asm_pp_params_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 3306 | q6asm_add_hdr_async(ac, &cmd->hdr, sz, TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_equalizer': sound/soc/msm/qdsp6/q6asm.c:3372:20: warning: taking address of packed member of 'struct asm_pp_params_command' may result in an unaligned pointer value [-Waddress-of-packed-member] 3372 | q6asm_add_hdr(ac, &cmd->hdr, sz, TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_read': sound/soc/msm/qdsp6/q6asm.c:3443:21: warning: taking address of packed member of 'struct asm_stream_cmd_read' may result in an unaligned pointer value [-Waddress-of-packed-member] 3443 | q6asm_add_hdr(ac, &read.hdr, sizeof(read), FALSE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:3470:3: warning: converting a packed 'struct asm_stream_cmd_read' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3470 | rc = apr_send_pkt(ac->apr, (uint32_t *) &read); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1416:8: note: defined here 1416 | struct asm_stream_cmd_read{ | ^~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_read_nolock': sound/soc/msm/qdsp6/q6asm.c:3495:27: warning: taking address of packed member of 'struct asm_stream_cmd_read' may result in an unaligned pointer value [-Waddress-of-packed-member] 3495 | q6asm_add_hdr_async(ac, &read.hdr, sizeof(read), FALSE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:3520:3: warning: converting a packed 'struct asm_stream_cmd_read' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3520 | rc = apr_send_pkt(ac->apr, (uint32_t *) &read); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1416:8: note: defined here 1416 | struct asm_stream_cmd_read{ | ^~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_async_write': sound/soc/msm/qdsp6/q6asm.c:3565:26: warning: taking address of packed member of 'struct asm_stream_cmd_write' may result in an unaligned pointer value [-Waddress-of-packed-member] 3565 | q6asm_add_hdr_async(ac, &write.hdr, sizeof(write), FALSE); | ^~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:3584:2: warning: converting a packed 'struct asm_stream_cmd_write' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3584 | rc = apr_send_pkt(ac->apr, (uint32_t *) &write); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1405:8: note: defined here 1405 | struct asm_stream_cmd_write{ | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_async_read': sound/soc/msm/qdsp6/q6asm.c:3606:26: warning: taking address of packed member of 'struct asm_stream_cmd_read' may result in an unaligned pointer value [-Waddress-of-packed-member] 3606 | q6asm_add_hdr_async(ac, &read.hdr, sizeof(read), FALSE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:3618:2: warning: converting a packed 'struct asm_stream_cmd_read' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3618 | rc = apr_send_pkt(ac->apr, (uint32_t *) &read); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1416:8: note: defined here 1416 | struct asm_stream_cmd_read{ | ^~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_async_read_compressed': sound/soc/msm/qdsp6/q6asm.c:3640:26: warning: taking address of packed member of 'struct asm_stream_cmd_read' may result in an unaligned pointer value [-Waddress-of-packed-member] 3640 | q6asm_add_hdr_async(ac, &read.hdr, sizeof(read), FALSE); | ^~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:3652:2: warning: converting a packed 'struct asm_stream_cmd_read' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3652 | rc = apr_send_pkt(ac->apr, (uint32_t *) &read); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1416:8: note: defined here 1416 | struct asm_stream_cmd_read{ | ^~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_write': LD sound/usb/snd-usbmidi-lib.o sound/soc/msm/qdsp6/q6asm.c:3680:21: warning: taking address of packed member of 'struct asm_stream_cmd_write' may result in an unaligned pointer value [-Waddress-of-packed-member] 3680 | q6asm_add_hdr(ac, &write.hdr, sizeof(write), | ^~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:3733:3: warning: converting a packed 'struct asm_stream_cmd_write' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3733 | rc = apr_send_pkt(ac->apr, (uint32_t *) &write); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1405:8: note: defined here 1405 | struct asm_stream_cmd_write{ | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_write_nolock': sound/soc/msm/qdsp6/q6asm.c:3762:27: warning: taking address of packed member of 'struct asm_stream_cmd_write' may result in an unaligned pointer value [-Waddress-of-packed-member] 3762 | q6asm_add_hdr_async(ac, &write.hdr, sizeof(write), | ^~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:3789:3: warning: converting a packed 'struct asm_stream_cmd_write' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3789 | rc = apr_send_pkt(ac->apr, (uint32_t *) &write); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1405:8: note: defined here 1405 | struct asm_stream_cmd_write{ | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c: In function 'q6asm_reg_tx_overflow': sound/soc/msm/qdsp6/q6asm.c:3997:20: warning: taking address of packed member of 'struct asm_stream_cmd_reg_tx_overflow_event' may result in an unaligned pointer value [-Waddress-of-packed-member] 3997 | q6asm_add_hdr(ac, &tx_overflow.hdr, sizeof(tx_overflow), TRUE); | ^~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6asm.c:4004:2: warning: converting a packed 'struct asm_stream_cmd_reg_tx_overflow_event' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 4004 | rc = apr_send_pkt(ac->apr, (uint32_t *) &tx_overflow); | ^~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: include/sound/apr_audio.h:1397:8: note: defined here 1397 | struct asm_stream_cmd_reg_tx_overflow_event{ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/sound/apr_audio.h:20, from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6asm.c:39: sound/soc/msm/qdsp6/q6asm.c: At top level: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ LD sound/usb/built-in.o CC sound/last.o LD sound/soc/mxs/built-in.o LD sound/soc/nuc900/built-in.o LD sound/soc/omap/built-in.o LD sound/soc/pxa/built-in.o LD sound/soc/s6000/built-in.o LD sound/soc/samsung/built-in.o LD sound/soc/sh/built-in.o LD sound/soc/tegra/built-in.o LD sound/soc/txx9/built-in.o CC drivers/gpu/msm/adreno_a2xx.o LD drivers/gud/built-in.o CC [M] drivers/gud/mobicore_driver/logging.o CC [M] drivers/gud/mobicore_driver/ops.o CC [M] drivers/gud/mobicore_driver/mem.o CC drivers/gpu/msm/adreno_a2xx_trace.o CC [M] drivers/gud/mobicore_driver/api.o CC sound/soc/msm/qdsp6/q6adm.o CC drivers/gpu/msm/adreno_a2xx_snapshot.o CC [M] drivers/gud/mobicore_driver/main.o sound/soc/msm/qdsp6/q6adm.c: In function 'srs_trumedia_open': sound/soc/msm/qdsp6/q6adm.c:250:2: warning: converting a packed 'struct asm_pp_params_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 250 | ret = apr_send_pkt(this_adm.apr, (uint32_t *)open); | ^~~ In file included from include/sound/q6afe.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_dev_ctl.h:16, from sound/soc/msm/qdsp6/q6adm.c:21: include/sound/apr_audio.h:702:8: note: defined here 702 | struct asm_pp_params_command { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6adm.c: In function 'send_adm_cal_block': sound/soc/msm/qdsp6/q6adm.c:417:2: warning: converting a packed 'struct adm_set_params_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 417 | result = apr_send_pkt(this_adm.apr, (uint32_t *)&adm_params); | ^~~~~~ In file included from include/sound/q6afe.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_dev_ctl.h:16, from sound/soc/msm/qdsp6/q6adm.c:21: include/sound/apr_audio.h:731:8: note: defined here 731 | struct adm_set_params_command { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6adm.c: In function 'adm_connect_afe_port': sound/soc/msm/qdsp6/q6adm.c:563:2: warning: converting a packed 'struct adm_cmd_connect_afe_port' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 563 | ret = apr_send_pkt(this_adm.apr, (uint32_t *)&cmd); | ^~~ In file included from include/sound/q6afe.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_dev_ctl.h:16, from sound/soc/msm/qdsp6/q6adm.c:21: include/sound/apr_audio.h:1250:8: note: defined here 1250 | struct adm_cmd_connect_afe_port { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6adm.c: In function 'adm_disconnect_afe_port': sound/soc/msm/qdsp6/q6adm.c:633:2: warning: converting a packed 'struct adm_cmd_connect_afe_port' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 633 | ret = apr_send_pkt(this_adm.apr, (uint32_t *)&cmd); | ^~~ In file included from include/sound/q6afe.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_dev_ctl.h:16, from sound/soc/msm/qdsp6/q6adm.c:21: include/sound/apr_audio.h:1250:8: note: defined here 1250 | struct adm_cmd_connect_afe_port { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6adm.c: In function 'adm_open': sound/soc/msm/qdsp6/q6adm.c:741:3: warning: converting a packed 'struct adm_copp_open_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 741 | ret = apr_send_pkt(this_adm.apr, (uint32_t *)&open); | ^~~ In file included from include/sound/q6afe.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_dev_ctl.h:16, from sound/soc/msm/qdsp6/q6adm.c:21: include/sound/apr_audio.h:558:8: note: defined here 558 | struct adm_copp_open_command { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6adm.c: In function 'adm_multi_ch_copp_open': sound/soc/msm/qdsp6/q6adm.c:896:3: warning: converting a packed 'struct adm_multi_ch_copp_open_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 896 | ret = apr_send_pkt(this_adm.apr, (uint32_t *)&open); | ^~~ In file included from include/sound/q6afe.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_dev_ctl.h:16, from sound/soc/msm/qdsp6/q6adm.c:21: include/sound/apr_audio.h:574:8: note: defined here 574 | struct adm_multi_ch_copp_open_command { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6adm.c: In function 'adm_matrix_map': sound/soc/msm/qdsp6/q6adm.c:996:2: warning: converting a packed 'struct adm_routings_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 996 | ret = apr_send_pkt(this_adm.apr, (uint32_t *)&route); | ^~~ In file included from include/sound/q6afe.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_dev_ctl.h:16, from sound/soc/msm/qdsp6/q6adm.c:21: include/sound/apr_audio.h:530:8: note: defined here 530 | struct adm_routings_command { | ^~~~~~~~~~~~~~~~~~~~ In file included from include/sound/apr_audio.h:20, from include/sound/q6afe.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_dev_ctl.h:16, from sound/soc/msm/qdsp6/q6adm.c:21: sound/soc/msm/qdsp6/q6adm.c: At top level: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/interrupt.h:5, from drivers/gud/mobicore_driver/main.c:21: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'mobicore_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ drivers/gud/mobicore_driver/main.c:1355:1: note: in expansion of macro 'module_init' 1355 | module_init(mobicore_init); | ^~~~~~~~~~~ drivers/gud/mobicore_driver/main.c:1236:19: note: 'init_module' target declared here 1236 | static int __init mobicore_init(void) | ^~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/interrupt.h:5, from drivers/gud/mobicore_driver/main.c:21: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mobicore_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/gud/mobicore_driver/main.c:1356:1: note: in expansion of macro 'module_exit' 1356 | module_exit(mobicore_exit); | ^~~~~~~~~~~ drivers/gud/mobicore_driver/main.c:1331:20: note: 'cleanup_module' target declared here 1331 | static void __exit mobicore_exit(void) | ^~~~~~~~~~~~~ CC drivers/gpu/msm/adreno_a3xx.o CC [M] drivers/gud/mobicore_kernelapi/main.o CC sound/soc/msm/qdsp6/q6afe.o sound/soc/msm/qdsp6/q6afe.c: In function 'afe_send_cal_block': sound/soc/msm/qdsp6/q6afe.c:406:2: warning: converting a packed 'struct afe_port_cmd_set_param_no_payload' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 406 | result = apr_send_pkt(this_afe.apr, (uint32_t *) &afe_cal); | ^~~~~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:442:8: note: defined here 442 | struct afe_port_cmd_set_param_no_payload { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_send_hw_delay': sound/soc/msm/qdsp6/q6afe.c:473:2: warning: converting a packed 'struct afe_port_cmd_set_param' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 473 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &config); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:434:8: note: defined here 434 | struct afe_port_cmd_set_param { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_port_start': sound/soc/msm/qdsp6/q6afe.c:625:2: warning: converting a packed 'struct afe_audioif_config_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 625 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &config); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:325:8: note: defined here 325 | struct afe_audioif_config_command { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c:664:2: warning: converting a packed 'struct afe_port_start_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 664 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &start); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:76:8: note: defined here 76 | struct afe_port_start_command { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_open': sound/soc/msm/qdsp6/q6afe.c:776:2: warning: converting a packed 'struct afe_audioif_config_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 776 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &config); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:325:8: note: defined here 325 | struct afe_audioif_config_command { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c:809:2: warning: converting a packed 'struct afe_port_start_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 809 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &start); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:76:8: note: defined here 76 | struct afe_port_start_command { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_loopback': sound/soc/msm/qdsp6/q6afe.c:863:2: warning: converting a packed 'struct afe_loopback_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 863 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &lb_cmd); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:115:8: note: defined here 115 | struct afe_loopback_command { | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_loopback_cfg': sound/soc/msm/qdsp6/q6afe.c:918:2: warning: converting a packed 'struct afe_port_cmd_set_param' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 918 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &lp_cfg); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:434:8: note: defined here 434 | struct afe_port_cmd_set_param { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_loopback_gain': sound/soc/msm/qdsp6/q6afe.c:996:2: warning: converting a packed 'struct afe_port_cmd_set_param' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 996 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &set_param); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:434:8: note: defined here 434 | struct afe_port_cmd_set_param { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_apply_gain': sound/soc/msm/qdsp6/q6afe.c:1057:2: warning: converting a packed 'struct afe_port_gain_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1057 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &set_gain); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:91:8: note: defined here 91 | struct afe_port_gain_command { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_pseudo_port_start_nowait': sound/soc/msm/qdsp6/q6afe.c:1101:2: warning: converting a packed 'struct afe_pseudoport_start_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1101 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &start); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:133:8: note: defined here 133 | struct afe_pseudoport_start_command { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_start_pseudo_port': sound/soc/msm/qdsp6/q6afe.c:1132:2: warning: converting a packed 'struct afe_pseudoport_start_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1132 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &start); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:133:8: note: defined here 133 | struct afe_pseudoport_start_command { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_pseudo_port_stop_nowait': sound/soc/msm/qdsp6/q6afe.c:1173:2: warning: converting a packed 'struct afe_pseudoport_stop_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1173 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &stop); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:142:8: note: defined here 142 | struct afe_pseudoport_stop_command { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_stop_pseudo_port': sound/soc/msm/qdsp6/q6afe.c:1206:2: warning: converting a packed 'struct afe_pseudoport_stop_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1206 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &stop); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:142:8: note: defined here 142 | struct afe_pseudoport_stop_command { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_cmd_memory_map': sound/soc/msm/qdsp6/q6afe.c:1254:2: warning: converting a packed 'struct afe_cmd_memory_map' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1254 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &mregion); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:468:8: note: defined here 468 | struct afe_cmd_memory_map { | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_cmd_memory_map_nowait': sound/soc/msm/qdsp6/q6afe.c:1304:2: warning: converting a packed 'struct afe_cmd_memory_map' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1304 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &mregion); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:468:8: note: defined here 468 | struct afe_cmd_memory_map { | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_cmd_memory_unmap': sound/soc/msm/qdsp6/q6afe.c:1341:2: warning: converting a packed 'struct afe_cmd_memory_unmap' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1341 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &mregion); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:477:8: note: defined here 477 | struct afe_cmd_memory_unmap { | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_cmd_memory_unmap_nowait': sound/soc/msm/qdsp6/q6afe.c:1387:2: warning: converting a packed 'struct afe_cmd_memory_unmap' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1387 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &mregion); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:477:8: note: defined here 477 | struct afe_cmd_memory_unmap { | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_register_get_events': sound/soc/msm/qdsp6/q6afe.c:1440:2: warning: converting a packed 'struct afe_cmd_reg_rtport' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1440 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &rtproxy); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:483:8: note: defined here 483 | struct afe_cmd_reg_rtport { | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_unregister_get_events': sound/soc/msm/qdsp6/q6afe.c:1492:2: warning: converting a packed 'struct afe_cmd_unreg_rtport' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1492 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &rtproxy); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:490:8: note: defined here 490 | struct afe_cmd_unreg_rtport { | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_rt_proxy_port_write': sound/soc/msm/qdsp6/q6afe.c:1536:2: warning: converting a packed 'struct afe_cmd_rtport_wr' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1536 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &afecmd_wr); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:497:8: note: defined here 497 | struct afe_cmd_rtport_wr { | ^~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_rt_proxy_port_read': sound/soc/msm/qdsp6/q6afe.c:1572:2: warning: converting a packed 'struct afe_cmd_rtport_rd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1572 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &afecmd_rd); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:506:8: note: defined here 506 | struct afe_cmd_rtport_rd { | ^~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_sidetone': sound/soc/msm/qdsp6/q6afe.c:1732:2: warning: converting a packed 'struct afe_port_sidetone_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1732 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &cmd_sidetone); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:98:8: note: defined here 98 | struct afe_port_sidetone_command { | ^~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_port_stop_nowait': sound/soc/msm/qdsp6/q6afe.c:1776:2: warning: converting a packed 'struct afe_port_stop_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1776 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &stop); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:84:8: note: defined here 84 | struct afe_port_stop_command { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6afe.c: In function 'afe_close': sound/soc/msm/qdsp6/q6afe.c:1844:2: warning: converting a packed 'struct afe_port_stop_command' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1844 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &stop); | ^~~ In file included from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: include/sound/apr_audio.h:84:8: note: defined here 84 | struct afe_port_stop_command { | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/sound/apr_audio.h:20, from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6afe.c:20: sound/soc/msm/qdsp6/q6afe.c: At top level: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/gud/mobicore_kernelapi/main.c:10: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'mcapi_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ drivers/gud/mobicore_kernelapi/main.c:186:1: note: in expansion of macro 'module_init' 186 | module_init(mcapi_init); | ^~~~~~~~~~~ drivers/gud/mobicore_kernelapi/main.c:140:19: note: 'init_module' target declared here 140 | static int __init mcapi_init(void) | ^~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/gud/mobicore_kernelapi/main.c:10: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mcapi_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/gud/mobicore_kernelapi/main.c:187:1: note: in expansion of macro 'module_exit' 187 | module_exit(mcapi_exit); | ^~~~~~~~~~~ drivers/gud/mobicore_kernelapi/main.c:174:20: note: 'cleanup_module' target declared here 174 | static void __exit mcapi_exit(void) | ^~~~~~~~~~ CC [M] drivers/gud/mobicore_kernelapi/clientlib.o CC sound/soc/msm/qdsp6/q6voice.o CC [M] drivers/gud/mobicore_kernelapi/device.o sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_dual_control_cmd': sound/soc/msm/qdsp6/q6voice.c:379:3: warning: converting a packed 'struct mvm_modem_dual_control_session_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 379 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_voice_ctl_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:299:8: note: defined here 299 | struct mvm_modem_dual_control_session_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_create_mvm_cvs_session': sound/soc/msm/qdsp6/q6voice.c:467:6: warning: converting a packed 'struct mvm_create_ctl_session_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 467 | (uint32_t *) &mvm_session_cmd); | ^ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:294:8: note: defined here 294 | struct mvm_create_ctl_session_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c:501:6: warning: converting a packed 'struct mvm_create_ctl_session_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 501 | (uint32_t *) &mvm_session_cmd); | ^ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:294:8: note: defined here 294 | struct mvm_create_ctl_session_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c:554:6: warning: converting a packed 'struct cvs_create_passive_ctl_session_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 554 | (uint32_t *) &cvs_session_cmd); | ^ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:570:8: note: defined here 570 | struct cvs_create_passive_ctl_session_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c:601:9: warning: converting a packed 'struct cvs_create_full_ctl_session_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 601 | (uint32_t *) &cvs_full_ctl_cmd); | ^ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:575:8: note: defined here 575 | struct cvs_create_full_ctl_session_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c:638:9: warning: converting a packed 'struct mvm_attach_stream_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 638 | (uint32_t *) &attach_stream_cmd); | ^ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:309:8: note: defined here 309 | struct mvm_attach_stream_cmd { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_destroy_mvm_cvs_session': sound/soc/msm/qdsp6/q6voice.c:701:3: warning: converting a packed 'struct mvm_detach_stream_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 701 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &detach_stream); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:314:8: note: defined here 314 | struct mvm_detach_stream_cmd { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_tty_mode_cmd': sound/soc/msm/qdsp6/q6voice.c:822:3: warning: converting a packed 'struct mvm_set_tty_mode_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 822 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_tty_mode_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:304:8: note: defined here 304 | struct mvm_set_tty_mode_cmd { | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_set_dtx': sound/soc/msm/qdsp6/q6voice.c:877:2: warning: converting a packed 'struct cvs_set_enc_dtx_mode_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 877 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_set_dtx); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:614:8: note: defined here 614 | struct cvs_set_enc_dtx_mode_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_config_cvs_vocoder': sound/soc/msm/qdsp6/q6voice.c:929:2: warning: converting a packed 'struct cvs_set_media_type_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 929 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_set_media_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:589:8: note: defined here 589 | struct cvs_set_media_type_cmd { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c:969:3: warning: converting a packed 'struct cvs_set_cdma_enc_minmax_rate_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 969 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_set_cdma_rate); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:609:8: note: defined here 609 | struct cvs_set_cdma_enc_minmax_rate_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c:1005:3: warning: converting a packed 'struct cvs_set_amr_enc_rate_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1005 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_set_amr_rate); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:599:8: note: defined here 599 | struct cvs_set_amr_enc_rate_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c:1046:3: warning: converting a packed 'struct cvs_set_amrwb_enc_rate_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1046 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_set_amrwb_rate); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:604:8: note: defined here 604 | struct cvs_set_amrwb_enc_rate_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_set_device_cmd': sound/soc/msm/qdsp6/q6voice.c:1235:2: warning: converting a packed 'struct cvp_set_device_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1235 | ret = apr_send_pkt(apr_cvp, (uint32_t *) &cvp_setdev_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:845:8: note: defined here 845 | struct cvp_set_device_cmd { | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_set_device_cmd_v2': sound/soc/msm/qdsp6/q6voice.c:1320:2: warning: converting a packed 'struct cvp_set_device_cmd_v2' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1320 | ret = apr_send_pkt(apr_cvp, (uint32_t *) &cvp_setdev_cmd_v2); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:850:8: note: defined here 850 | struct cvp_set_device_cmd_v2 { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_cvs_register_cal_cmd': sound/soc/msm/qdsp6/q6voice.c:1450:2: warning: converting a packed 'struct cvs_register_cal_data_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1450 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_reg_cal_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:619:8: note: defined here 619 | struct cvs_register_cal_data_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_cvs_deregister_cal_cmd': sound/soc/msm/qdsp6/q6voice.c:1505:2: warning: converting a packed 'struct cvs_deregister_cal_data_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1505 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_dereg_cal_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:624:8: note: defined here 624 | struct cvs_deregister_cal_data_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_cvp_map_memory_cmd': sound/soc/msm/qdsp6/q6voice.c:1579:2: warning: converting a packed 'struct vss_map_memory_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1579 | ret = apr_send_pkt(apr_cvp, (uint32_t *) &cvp_map_mem_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:111:8: note: defined here 111 | struct vss_map_memory_cmd { | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_cvp_unmap_memory_cmd': sound/soc/msm/qdsp6/q6voice.c:1647:2: warning: converting a packed 'struct vss_unmap_memory_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1647 | ret = apr_send_pkt(apr_cvp, (uint32_t *) &cvp_unmap_mem_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:116:8: note: defined here 116 | struct vss_unmap_memory_cmd { | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_cvs_map_memory_cmd': sound/soc/msm/qdsp6/q6voice.c:1721:2: warning: converting a packed 'struct vss_map_memory_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1721 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_map_mem_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:111:8: note: defined here 111 | struct vss_map_memory_cmd { | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_cvs_unmap_memory_cmd': sound/soc/msm/qdsp6/q6voice.c:1789:2: warning: converting a packed 'struct vss_unmap_memory_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1789 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_unmap_mem_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:116:8: note: defined here 116 | struct vss_unmap_memory_cmd { | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_cvp_register_cal_cmd': sound/soc/msm/qdsp6/q6voice.c:1868:2: warning: converting a packed 'struct cvp_register_cal_data_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1868 | ret = apr_send_pkt(apr_cvp, (uint32_t *) &cvp_reg_cal_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:864:8: note: defined here 864 | struct cvp_register_cal_data_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_cvp_deregister_cal_cmd': sound/soc/msm/qdsp6/q6voice.c:1923:2: warning: converting a packed 'struct cvp_deregister_cal_data_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1923 | ret = apr_send_pkt(apr_cvp, (uint32_t *) &cvp_dereg_cal_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:869:8: note: defined here 869 | struct cvp_deregister_cal_data_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_cvp_register_vol_cal_table_cmd': sound/soc/msm/qdsp6/q6voice.c:2009:2: warning: converting a packed 'struct cvp_register_vol_cal_table_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2009 | ret = apr_send_pkt(apr_cvp, (uint32_t *) &cvp_reg_cal_tbl_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:873:8: note: defined here 873 | struct cvp_register_vol_cal_table_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_cvp_deregister_vol_cal_table_cmd': sound/soc/msm/qdsp6/q6voice.c:2069:2: warning: converting a packed 'struct cvp_deregister_vol_cal_table_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2069 | ret = apr_send_pkt(apr_cvp, (uint32_t *) &cvp_dereg_cal_tbl_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:878:8: note: defined here 878 | struct cvp_deregister_vol_cal_table_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_set_widevoice_enable_cmd': sound/soc/msm/qdsp6/q6voice.c:2119:2: warning: converting a packed 'struct mvm_set_widevoice_enable_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2119 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_set_wv_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:329:8: note: defined here 329 | struct mvm_set_widevoice_enable_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_set_pp_enable_cmd': sound/soc/msm/qdsp6/q6voice.c:2176:2: warning: converting a packed 'struct cvs_set_pp_enable_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2176 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_set_pp_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:628:8: note: defined here 628 | struct cvs_set_pp_enable_cmd { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_setup_vocproc': sound/soc/msm/qdsp6/q6voice.c:2249:2: warning: converting a packed 'struct cvp_create_full_ctl_session_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2249 | ret = apr_send_pkt(apr_cvp, (uint32_t *) &cvp_session_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:836:8: note: defined here 836 | struct cvp_create_full_ctl_session_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_netid_timing_cmd': sound/soc/msm/qdsp6/q6voice.c:2419:2: warning: converting a packed 'struct mvm_set_network_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2419 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_set_network); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:319:8: note: defined here 319 | struct mvm_set_network_cmd { | ^~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c:2453:2: warning: converting a packed 'struct mvm_set_voice_timing_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2453 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_set_voice_timing); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:324:8: note: defined here 324 | struct mvm_set_voice_timing_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_attach_vocproc_cmd': sound/soc/msm/qdsp6/q6voice.c:2507:2: warning: converting a packed 'struct mvm_attach_vocproc_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2507 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_a_vocproc_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:284:8: note: defined here 284 | struct mvm_attach_vocproc_cmd { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_destroy_vocproc': sound/soc/msm/qdsp6/q6voice.c:2572:2: warning: converting a packed 'struct mvm_detach_vocproc_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2572 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_d_vocproc_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:289:8: note: defined here 289 | struct mvm_detach_vocproc_cmd { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_mute_cmd': sound/soc/msm/qdsp6/q6voice.c:2665:2: warning: converting a packed 'struct cvs_set_mute_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2665 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_mute_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:584:8: note: defined here 584 | struct cvs_set_mute_cmd { | ^~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_rx_device_mute_cmd': sound/soc/msm/qdsp6/q6voice.c:2711:2: warning: converting a packed 'struct cvp_set_mute_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2711 | ret = apr_send_pkt(apr_cvp, (uint32_t *) &cvp_mute_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:882:8: note: defined here 882 | struct cvp_set_mute_cmd { | ^~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_send_vol_index_cmd': sound/soc/msm/qdsp6/q6voice.c:2756:2: warning: converting a packed 'struct cvp_set_rx_volume_index_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2756 | ret = apr_send_pkt(apr_cvp, (uint32_t *) &cvp_vol_cmd); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:859:8: note: defined here 859 | struct cvp_set_rx_volume_index_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'voice_cvs_start_record': sound/soc/msm/qdsp6/q6voice.c:2829:3: warning: converting a packed 'struct cvs_start_record_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2829 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_start_record); | ^~~ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:632:8: note: defined here 632 | struct cvs_start_record_cmd { | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6/q6voice.c: In function 'qdsp_cvs_callback': sound/soc/msm/qdsp6/q6voice.c:4078:9: warning: converting a packed 'struct cvs_send_dec_buf_cmd' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 4078 | (uint32_t *) &send_dec_buf); | ^ In file included from sound/soc/msm/qdsp6/q6voice.c:28: sound/soc/msm/qdsp6/q6voice.h:594:8: note: defined here 594 | struct cvs_send_dec_buf_cmd { | ^~~~~~~~~~~~~~~~~~~~ In file included from include/sound/apr_audio.h:20, from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from arch/arm/mach-msm/include/mach/qdsp6v2/audio_acdb.h:20, from sound/soc/msm/qdsp6/q6voice.c:22: sound/soc/msm/qdsp6/q6voice.c: At top level: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC [M] drivers/gud/mobicore_kernelapi/session.o CC [M] drivers/gud/mobicore_kernelapi/connection.o LD [M] drivers/gud/mckernelapi.o LD [M] drivers/gud/mcdrvmodule.o LD sound/soc/snd-soc-core.o CC sound/soc/msm/msm-dai-q6-hdmi.o In file included from include/sound/apr_audio.h:20, from sound/soc/msm/msm-dai-q6-hdmi.c:22: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC drivers/gpu/msm/adreno_a4xx.o CC sound/soc/msm/msm-pcm-voice.o sound/soc/msm/msm-pcm-voice.c:447:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 447 | static const char const *tty_mode[] = {"OFF", "HCO", "VCO", "FULL"}; | ^~~~~ In file included from include/sound/apr_audio.h:20, from sound/soc/msm/msm-pcm-voice.h:14, from sound/soc/msm/msm-pcm-voice.c:29: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC drivers/gpu/msm/adreno_a3xx_trace.o CC sound/soc/msm/msm-pcm-voip.o In file included from include/sound/apr_audio.h:20, from sound/soc/msm/msm-pcm-q6.h:21, from sound/soc/msm/msm-pcm-voip.c:29: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC drivers/gpu/msm/adreno_a3xx_snapshot.o LD sound/soc/msm/qdsp6/built-in.o CC sound/soc/msm/msm-pcm-hostless.o CC sound/soc/msm/msm8960.o CC drivers/gpu/msm/adreno.o CC sound/soc/msm/apq8064.o In file included from include/sound/apr_audio.h:20, from sound/soc/msm/msm-pcm-routing.h:14, from sound/soc/msm/msm8960.c:29: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ drivers/gpu/msm/adreno.c: In function 'adreno_perfcounter_start': drivers/gpu/msm/adreno.c:290:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 290 | if (adreno_dev->gpudev->perfcounter_enable) | ^~ drivers/gpu/msm/adreno.c:294:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 294 | if (ret) | ^~ In file included from include/sound/apr_audio.h:20, from sound/soc/msm/msm-pcm-routing.h:14, from sound/soc/msm/apq8064.c:33: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ sound/soc/msm/apq8064.c:791:40: warning: 'apq8064_lagan_differential_audio_map' defined but not used [-Wunused-const-variable=] 791 | static const struct snd_soc_dapm_route apq8064_lagan_differential_audio_map[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/apq8064.c:712:40: warning: 'apq8064_liquid_cdp_audio_map' defined but not used [-Wunused-const-variable=] 712 | static const struct snd_soc_dapm_route apq8064_liquid_cdp_audio_map[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC sound/soc/msm/msm8930.o In file included from include/sound/apr_audio.h:20, from sound/soc/msm/msm-pcm-routing.h:14, from sound/soc/msm/msm8930.c:29: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC sound/soc/msm/mpq8064.o CC sound/soc/msm/apq8064-i2s.o In file included from include/sound/apr_audio.h:20, from sound/soc/msm/msm-pcm-routing.h:14, from sound/soc/msm/mpq8064.c:29: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC drivers/gpu/msm/adreno_cp_parser.o In file included from include/sound/apr_audio.h:20, from sound/soc/msm/msm-pcm-routing.h:14, from sound/soc/msm/apq8064-i2s.c:30: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC sound/soc/msm/msm-dai-q6.o CC drivers/gpu/msm/adreno_debugfs.o CC sound/soc/msm/msm-pcm-q6.o In file included from include/sound/apr_audio.h:20, from sound/soc/msm/msm-dai-q6.c:24: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ In file included from include/sound/apr_audio.h:20, from sound/soc/msm/msm-pcm-q6.h:21, from sound/soc/msm/msm-pcm-q6.c:32: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC drivers/gpu/msm/kgsl.o CC sound/soc/msm/msm-multi-ch-pcm-q6.o CC sound/soc/msm/msm-lowlatency-pcm-q6.o In file included from include/sound/apr_audio.h:20, from sound/soc/msm/msm-pcm-q6.h:21, from sound/soc/msm/msm-multi-ch-pcm-q6.c:33: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ In file included from include/sound/apr_audio.h:20, from sound/soc/msm/msm-pcm-q6.h:21, from sound/soc/msm/msm-lowlatency-pcm-q6.c:32: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC sound/soc/msm/msm-pcm-loopback.o In file included from include/sound/apr_audio.h:20, from sound/soc/msm/msm-pcm-loopback.c:18: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC sound/soc/msm/msm-pcm-routing.o CC sound/soc/msm/msm-dai-fe.o In file included from include/sound/apr_audio.h:20, from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from sound/soc/msm/msm-pcm-routing.c:27: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC sound/soc/msm/msm-compr-q6.o In file included from include/sound/q6asm.h:15, from sound/soc/msm/msm-compr-q6.c:28: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC sound/soc/msm/msm-dai-stub.o CC sound/soc/msm/msm-pcm-lpa.o CC drivers/gpu/msm/kgsl_trace.o In file included from include/sound/apr_audio.h:20, from sound/soc/msm/msm-pcm-q6.h:21, from sound/soc/msm/msm-pcm-lpa.c:36: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC sound/soc/msm/msm-pcm-afe.o CC drivers/gpu/msm/kgsl_sharedmem.o In file included from include/sound/apr_audio.h:20, from include/sound/q6afe.h:14, from include/sound/q6adm.h:14, from sound/soc/msm/msm-pcm-afe.c:30: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ LD sound/soc/msm/snd-soc-qdsp6.o LD sound/soc/msm/snd-soc-msm8960.o LD sound/soc/msm/snd-soc-hostless-pcm.o LD sound/soc/msm/built-in.o LD sound/soc/built-in.o LD sound/soundcore.o LD sound/built-in.o LD firmware/built-in.o CC drivers/gpu/msm/kgsl_pwrctrl.o CC drivers/gpu/msm/kgsl_pwrscale.o CC drivers/gpu/msm/kgsl_mmu.o CC drivers/gpu/msm/kgsl_gpummu.o CC drivers/gpu/msm/kgsl_iommu.o CC drivers/gpu/msm/kgsl_snapshot.o drivers/gpu/msm/kgsl_snapshot.c: In function 'snapshot_os': drivers/gpu/msm/kgsl_snapshot.c:193:42: warning: taking address of packed member of 'struct kgsl_snapshot_linux' may result in an unaligned pointer value [-Waddress-of-packed-member] 193 | kgsl_sharedmem_readl(&device->memstore, &header->current_context, | ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/msm/kgsl_snapshot.c: In function 'kgsl_device_snapshot': drivers/gpu/msm/kgsl_snapshot.c:650:37: warning: taking address of packed member of 'struct kgsl_snapshot_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 650 | header->gpuid = kgsl_gpuid(device, &header->chipid); | ^~~~~~~~~~~~~~~ CC drivers/gpu/msm/kgsl_pwrscale_conservative.o CC drivers/gpu/msm/kgsl_events.o CC drivers/gpu/msm/kgsl_debugfs.o CC drivers/gpu/msm/kgsl_pwrscale_trustzone.o CC drivers/gpu/msm/kgsl_pwrscale_msm.o CC drivers/gpu/msm/kgsl_sync.o CC drivers/gpu/msm/z180.o CC drivers/gpu/msm/z180_postmortem.o CC drivers/gpu/msm/z180_trace.o LD arch/arm/oprofile/built-in.o CC [M] arch/arm/oprofile/../../../drivers/oprofile/oprof.o CC [M] arch/arm/oprofile/../../../drivers/oprofile/cpu_buffer.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from arch/arm/oprofile/../../../drivers/oprofile/oprof.c:10: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'oprofile_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ arch/arm/oprofile/../../../drivers/oprofile/oprof.c:278:1: note: in expansion of macro 'module_init' 278 | module_init(oprofile_init); | ^~~~~~~~~~~ arch/arm/oprofile/../../../drivers/oprofile/oprof.c:244:19: note: 'init_module' target declared here 244 | static int __init oprofile_init(void) | ^~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from arch/arm/oprofile/../../../drivers/oprofile/oprof.c:10: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'oprofile_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ arch/arm/oprofile/../../../drivers/oprofile/oprof.c:279:1: note: in expansion of macro 'module_exit' 279 | module_exit(oprofile_exit); | ^~~~~~~~~~~ arch/arm/oprofile/../../../drivers/oprofile/oprof.c:270:20: note: 'cleanup_module' target declared here 270 | static void __exit oprofile_exit(void) | ^~~~~~~~~~~~~ LD drivers/gpu/msm/msm_kgsl_core.o LD drivers/gpu/msm/msm_adreno.o LD drivers/gpu/msm/msm_z180.o LD drivers/gpu/msm/built-in.o LD drivers/gpu/stub/built-in.o CC [M] arch/arm/oprofile/../../../drivers/oprofile/buffer_sync.o CC drivers/gpu/vga/vgaarb.o CC [M] arch/arm/oprofile/../../../drivers/oprofile/event_buffer.o CC [M] arch/arm/oprofile/../../../drivers/oprofile/oprofile_files.o CC [M] arch/arm/oprofile/../../../drivers/oprofile/oprofilefs.o CC [M] arch/arm/oprofile/../../../drivers/oprofile/oprofile_stats.o CC [M] arch/arm/oprofile/../../../drivers/oprofile/timer_int.o CC [M] arch/arm/oprofile/../../../drivers/oprofile/oprofile_perf.o LD drivers/gpu/vga/built-in.o LD drivers/gpu/built-in.o CC [M] arch/arm/oprofile/common.o CC drivers/hid/hid-lg.o LD drivers/hsi/clients/built-in.o LD [M] arch/arm/oprofile/oprofile.o LD drivers/hsi/built-in.o CC net/socket.o CC drivers/hwmon/hwmon.o CC drivers/hwmon/pm8xxx-adc.o CC drivers/hid/hid-debug.o CC drivers/hid/hid-core.o CC drivers/hwmon/pm8xxx-adc-scale.o CC drivers/hwmon/epm_adc.o CC net/802/p8022.o CC net/802/psnap.o LD drivers/hwmon/built-in.o CC drivers/i2c/i2c-boardinfo.o CC drivers/hid/hid-input.o CC drivers/i2c/i2c-core.o CC net/802/stp.o LD net/802/built-in.o CC net/bluetooth/af_bluetooth.o CC net/bluetooth/hci_core.o CC drivers/i2c/i2c-dev.o CC drivers/hid/hidraw.o LD drivers/i2c/algos/built-in.o CC drivers/i2c/busses/i2c-qup.o CC drivers/hid/uhid.o drivers/hid/uhid.c: In function 'uhid_hid_get_raw': drivers/hid/uhid.c:237:9: warning: taking address of packed member of 'struct uhid_event' may result in an unaligned pointer value [-Waddress-of-packed-member] 237 | req = &uhid->report_buf.u.feature_answer; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net/bluetooth/hci_core.c: In function 'hci_register_dev': net/bluetooth/hci_core.c:1460:47: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 5 [-Wformat-truncation=] 1460 | snprintf(hdev->name, sizeof(hdev->name), "hci%d", id); | ^~ net/bluetooth/hci_core.c:1460:43: note: directive argument in the range [0, 2147483646] 1460 | snprintf(hdev->name, sizeof(hdev->name), "hci%d", id); | ^~~~~~~ net/bluetooth/hci_core.c:1460:2: note: 'snprintf' output between 5 and 14 bytes into a destination of size 8 1460 | snprintf(hdev->name, sizeof(hdev->name), "hci%d", id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/hid/hid-apple.o LD drivers/i2c/busses/built-in.o LD drivers/i2c/muxes/built-in.o LD drivers/i2c/built-in.o LD drivers/idle/built-in.o LD drivers/ieee802154/built-in.o CC drivers/input/input.o CC drivers/hid/hid-elecom.o CC net/bluetooth/hci_conn.o LD drivers/hid/hid-logitech.o CC drivers/hid/hid-magicmouse.o CC drivers/hid/hid-microsoft.o CC drivers/hid/hid-pl.o CC drivers/input/input-compat.o CC drivers/hid/hid-sony.o CC drivers/input/input-mt.o CC net/bluetooth/hci_event.o CC drivers/hid/usbhid/hid-core.o CC drivers/input/ff-core.o CC drivers/input/mousedev.o CC drivers/hid/usbhid/hid-quirks.o CC drivers/input/evdev.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/input/serio/serio.o CC drivers/input/joystick/xpad.o CC drivers/input/serio/serport.o CC drivers/input/serio/libps2.o LD drivers/input/joystick/built-in.o CC drivers/input/keyboard/atkbd.o LD drivers/input/serio/built-in.o CC drivers/iommu/iommu.o drivers/input/keyboard/atkbd.c: In function 'atkbd_set_device_attrs': drivers/input/keyboard/atkbd.c:1041:7: warning: '/input0' directive output may be truncated writing 7 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 1041 | "%s/input0", atkbd->ps2dev.serio->phys); | ^~~~~~~ drivers/input/keyboard/atkbd.c:1040:2: note: 'snprintf' output between 8 and 39 bytes into a destination of size 32 1040 | snprintf(atkbd->phys, sizeof(atkbd->phys), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1041 | "%s/input0", atkbd->ps2dev.serio->phys); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC net/bluetooth/mgmt.o CC drivers/input/keyboard/gpio_keys.o CC drivers/iommu/msm_iommu.o CC drivers/input/keyboard/matrix_keypad.o CC drivers/iommu/msm_iommu_dev.o CC drivers/input/keyboard/pmic8xxx-keypad.o LD drivers/input/keyboard/built-in.o CC drivers/input/misc/gpio_event.o LD drivers/iommu/built-in.o CC drivers/leds/led-core.o CC net/bluetooth/hci_sock.o CC drivers/input/misc/gpio_matrix.o CC drivers/leds/led-class.o CC drivers/leds/led-triggers.o CC drivers/input/misc/gpio_input.o CC net/bluetooth/hci_sysfs.o CC drivers/leds/leds-lm3533_ng.o CC drivers/input/misc/gpio_output.o CC drivers/input/misc/gpio_axis.o CC net/bluetooth/l2cap_core.o CC drivers/input/misc/keychord.o CC drivers/input/misc/pmic8xxx-pwrkey.o LD drivers/leds/built-in.o LD drivers/lguest/built-in.o LD drivers/macintosh/built-in.o CC drivers/md/dm.o CC drivers/input/misc/uinput.o CC drivers/input/misc/pmic8xxx-forcecrash.o CC drivers/input/misc/apds9702.o CC drivers/md/dm-table.o LD drivers/input/misc/built-in.o CC drivers/input/mouse/psmouse-base.o drivers/input/mouse/psmouse-base.c: In function 'psmouse_connect': drivers/input/mouse/psmouse-base.c:1402:52: warning: '/input0' directive output may be truncated writing 7 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 1402 | snprintf(psmouse->phys, sizeof(psmouse->phys), "%s/input0", serio->phys); | ^~~~~~~ drivers/input/mouse/psmouse-base.c:1402:2: note: 'snprintf' output between 8 and 39 bytes into a destination of size 32 1402 | snprintf(psmouse->phys, sizeof(psmouse->phys), "%s/input0", serio->phys); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/input/mouse/synaptics.o CC drivers/md/dm-target.o In file included from include/linux/input.h:1169, from include/linux/input/mt.h:14, from drivers/input/mouse/synaptics.c:29: drivers/input/mouse/synaptics.c: In function '__synaptics_init': include/linux/device.h:950:36: warning: '%s' directive argument is null [-Wformat-overflow=] 950 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/input/mouse/psmouse.h:166:2: note: in expansion of macro 'dev_info' 166 | dev_info(&(psmouse)->ps2dev.serio->dev, \ | ^~~~~~~~ drivers/input/mouse/synaptics.c:1481:3: note: in expansion of macro 'psmouse_info' 1481 | psmouse_info(psmouse, | ^~~~~~~~~~~~ CC drivers/md/dm-linear.o CC drivers/input/mouse/alps.o CC drivers/md/dm-stripe.o drivers/input/mouse/alps.c: In function 'alps_init': drivers/input/mouse/alps.c:1596:46: warning: '/input1' directive output may be truncated writing 7 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 1596 | snprintf(priv->phys, sizeof(priv->phys), "%s/input1", psmouse->ps2dev.serio->phys); | ^~~~~~~ drivers/input/mouse/alps.c:1596:2: note: 'snprintf' output between 8 and 39 bytes into a destination of size 32 1596 | snprintf(priv->phys, sizeof(priv->phys), "%s/input1", psmouse->ps2dev.serio->phys); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/input/mouse/logips2pp.o CC drivers/md/dm-ioctl.o CC drivers/input/mouse/trackpoint.o CC net/bluetooth/l2cap_sock.o LD drivers/input/mouse/psmouse.o LD drivers/input/mouse/built-in.o CC drivers/input/touchscreen/clearpad_rmi_dev.o CC drivers/md/dm-io.o CC drivers/input/touchscreen/clearpad_core.o drivers/input/touchscreen/clearpad_core.c: In function 'synaptics_clearpad_reset_power': drivers/input/touchscreen/clearpad_core.c:1417:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1417 | else | ^~~~ drivers/input/touchscreen/clearpad_core.c:1419:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1419 | msleep(300); | ^~~~~~ CC drivers/md/dm-kcopyd.o CC net/bluetooth/smp.o CC drivers/md/dm-sysfs.o CC drivers/md/dm-crypt.o CC net/bluetooth/sco.o CC drivers/input/touchscreen/clearpad_i2c.o LD drivers/input/touchscreen/built-in.o LD drivers/input/input-core.o LD drivers/input/built-in.o CC drivers/media/media-device.o LD drivers/md/dm-mod.o LD drivers/md/built-in.o CC net/bluetooth/lib.o CC drivers/mfd/mfd-core.o CC drivers/media/media-devnode.o CC drivers/mfd/wcd9xxx-core.o CC drivers/media/media-entity.o CC net/bluetooth/amp.o CC drivers/media/common/tuners/tuner-xc2028.o CC drivers/mfd/wcd9xxx-irq.o drivers/media/common/tuners/tuner-xc2028.c: In function 'xc2028_signal': drivers/media/common/tuners/tuner-xc2028.c:917:38: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] 917 | signal = signal || ((signal & 0x07) << 12); | ~~~~~~~~~~~~~~~~~^~~~~~ CC drivers/mfd/wcd9xxx-slimslave.o CC drivers/media/common/tuners/tuner-simple.o CC drivers/mfd/pm8921-core.o CC net/bluetooth/bnep/core.o CC drivers/mfd/pm8821-core.o CC drivers/media/common/tuners/tuner-types.o CC drivers/mfd/pm8038-core.o CC net/bluetooth/bnep/sock.o CC drivers/media/common/tuners/mt20xx.o CC net/bluetooth/bnep/netdev.o CC drivers/mfd/pm8xxx-irq.o CC drivers/mfd/pm8821-irq.o CC drivers/media/common/tuners/tda8290.o LD net/bluetooth/bnep/bnep.o LD net/bluetooth/bnep/built-in.o CC net/bluetooth/hidp/core.o CC drivers/mfd/pm8xxx-debug.o CC drivers/mfd/pm8xxx-pwm.o CC drivers/media/common/tuners/tea5767.o CC drivers/media/common/tuners/tea5761.o CC net/bluetooth/hidp/sock.o CC drivers/mfd/pm8xxx-misc.o LD net/bluetooth/hidp/hidp.o LD net/bluetooth/hidp/built-in.o CC net/bluetooth/rfcomm/core.o CC drivers/media/common/tuners/tda9887.o CC drivers/mfd/pm8xxx-spk.o CC drivers/media/common/tuners/tda827x.o CC drivers/mfd/pm8xxx-batt-alarm.o LD drivers/mfd/built-in.o CC drivers/misc/pmem.o CC drivers/media/common/tuners/tda18271-maps.o CC net/bluetooth/rfcomm/sock.o CC drivers/media/common/tuners/tda18271-common.o CC drivers/media/common/tuners/tda18271-fe.o CC net/bluetooth/rfcomm/tty.o CC drivers/misc/smsc_hub.o LD drivers/misc/carma/built-in.o LD drivers/misc/cb710/built-in.o LD drivers/misc/eeprom/built-in.o CC [M] drivers/misc/eeprom/eeprom_93cx6.o CC drivers/media/common/tuners/xc5000.o LD drivers/misc/lis3lv02d/built-in.o LD drivers/misc/ti-st/built-in.o LD drivers/misc/tspdrv/built-in.o CC drivers/misc/isa1200.o LD net/bluetooth/rfcomm/rfcomm.o LD net/bluetooth/rfcomm/built-in.o LD net/bluetooth/bluetooth.o LD net/bluetooth/built-in.o CC net/bridge/br.o CC drivers/media/common/tuners/xc4000.o CC drivers/misc/pm8xxx-vibrator.o CC net/bridge/br_device.o CC drivers/misc/qseecom.o CC net/bridge/br_fdb.o CC drivers/media/common/tuners/mc44s803.o LD drivers/media/common/tuners/tda18271.o LD drivers/media/common/tuners/built-in.o LD drivers/media/common/built-in.o CC drivers/media/radio/radio-iris.o CC net/bridge/br_forward.o CC drivers/misc/rdtags.o CC net/bridge/br_if.o CC net/bridge/br_input.o CC drivers/misc/pn544.o CC drivers/misc/lm3560.o CC [M] drivers/media/radio/radio-iris-transport.o CC net/bridge/br_ioctl.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/radio/radio-iris-transport.c:22: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'radio_hci_smd_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/media/radio/radio-iris-transport.c:210:1: note: in expansion of macro 'module_exit' 210 | module_exit(radio_hci_smd_exit); | ^~~~~~~~~~~ drivers/media/radio/radio-iris-transport.c:206:20: note: 'cleanup_module' target declared here 206 | static void __exit radio_hci_smd_exit(void) | ^~~~~~~~~~~~~~~~~~ LD drivers/media/radio/built-in.o CC drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.o LD drivers/misc/built-in.o CC drivers/media/rc/keymaps/rc-alink-dtu-m.o CC net/bridge/br_notify.o CC drivers/mmc/card/block.o CC drivers/media/rc/keymaps/rc-anysee.o CC drivers/media/rc/keymaps/rc-apac-viewcomp.o CC net/bridge/br_stp.o CC drivers/media/rc/keymaps/rc-asus-pc39.o CC drivers/media/rc/keymaps/rc-ati-tv-wonder-hd-600.o CC drivers/media/rc/keymaps/rc-ati-x10.o CC net/bridge/br_stp_bpdu.o CC drivers/media/rc/keymaps/rc-avermedia-a16d.o CC drivers/media/rc/keymaps/rc-avermedia.o CC drivers/mmc/card/queue.o CC drivers/media/rc/keymaps/rc-avermedia-cardbus.o CC net/bridge/br_stp_if.o CC drivers/media/rc/keymaps/rc-avermedia-dvbt.o CC drivers/media/rc/keymaps/rc-avermedia-m135a.o CC [M] drivers/mmc/card/mmc_test.o CC net/bridge/br_stp_timer.o CC drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/interrupt.h:5, from include/linux/mmc/core.h:11, from drivers/mmc/card/mmc_test.c:12: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'mmc_test_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ drivers/mmc/card/mmc_test.c:3051:1: note: in expansion of macro 'module_init' 3051 | module_init(mmc_test_init); | ^~~~~~~~~~~ drivers/mmc/card/mmc_test.c:3037:19: note: 'init_module' target declared here 3037 | static int __init mmc_test_init(void) | ^~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/interrupt.h:5, from include/linux/mmc/core.h:11, from drivers/mmc/card/mmc_test.c:12: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mmc_test_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/mmc/card/mmc_test.c:3052:1: note: in expansion of macro 'module_exit' 3052 | module_exit(mmc_test_exit); | ^~~~~~~~~~~ drivers/mmc/card/mmc_test.c:3042:20: note: 'cleanup_module' target declared here 3042 | static void __exit mmc_test_exit(void) | ^~~~~~~~~~~~~ CC drivers/media/rc/keymaps/rc-avermedia-rm-ks.o CC drivers/media/rc/keymaps/rc-avertv-303.o CC net/bridge/br_netlink.o CC drivers/media/rc/keymaps/rc-azurewave-ad-tu700.o CC drivers/media/rc/keymaps/rc-behold.o CC drivers/media/rc/keymaps/rc-behold-columbus.o CC net/bridge/br_sysfs_if.o LD drivers/mmc/card/mmc_block.o LD drivers/mmc/card/built-in.o CC drivers/mmc/core/core.o CC drivers/media/rc/keymaps/rc-budget-ci-old.o CC drivers/media/rc/keymaps/rc-cinergy-1400.o CC drivers/media/rc/keymaps/rc-cinergy.o CC drivers/media/rc/keymaps/rc-dib0700-nec.o CC net/bridge/br_sysfs_br.o CC drivers/media/rc/keymaps/rc-dib0700-rc5.o CC drivers/media/rc/keymaps/rc-digitalnow-tinytwin.o CC drivers/media/rc/keymaps/rc-digittrade.o CC net/bridge/br_netfilter.o CC drivers/media/rc/keymaps/rc-dm1105-nec.o CC drivers/mmc/core/bus.o CC drivers/media/rc/keymaps/rc-dntv-live-dvb-t.o CC drivers/mmc/core/host.o CC drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.o CC drivers/media/rc/keymaps/rc-em-terratec.o CC net/bridge/br_multicast.o CC drivers/media/rc/keymaps/rc-encore-enltv2.o CC drivers/media/rc/keymaps/rc-encore-enltv.o CC drivers/mmc/core/mmc.o CC drivers/media/rc/keymaps/rc-encore-enltv-fm53.o CC drivers/media/rc/keymaps/rc-evga-indtube.o CC drivers/media/rc/keymaps/rc-eztv.o CC drivers/mmc/core/mmc_ops.o CC drivers/media/rc/keymaps/rc-flydvb.o LD net/bridge/bridge.o LD net/bridge/built-in.o CC net/core/sock.o CC drivers/media/rc/keymaps/rc-flyvideo.o CC drivers/media/rc/keymaps/rc-fusionhdtv-mce.o CC drivers/mmc/core/sd.o CC drivers/media/rc/keymaps/rc-gadmei-rm008z.o CC drivers/media/rc/keymaps/rc-genius-tvgo-a11mce.o CC drivers/media/rc/keymaps/rc-gotview7135.o CC drivers/mmc/core/sd_ops.o CC drivers/media/rc/keymaps/rc-imon-mce.o CC drivers/media/rc/keymaps/rc-imon-pad.o CC drivers/media/rc/keymaps/rc-iodata-bctv7e.o CC drivers/mmc/core/sdio.o CC drivers/media/rc/keymaps/rc-it913x-v1.o CC net/core/request_sock.o CC drivers/media/rc/keymaps/rc-it913x-v2.o CC drivers/mmc/core/sdio_ops.o CC drivers/media/rc/keymaps/rc-kaiomy.o CC drivers/media/rc/keymaps/rc-kworld-315u.o CC net/core/skbuff.o CC drivers/mmc/core/sdio_bus.o CC drivers/media/rc/keymaps/rc-kworld-pc150u.o CC drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.o CC drivers/media/rc/keymaps/rc-leadtek-y04g0051.o CC drivers/mmc/core/sdio_cis.o CC drivers/media/rc/keymaps/rc-lirc.o CC drivers/media/rc/keymaps/rc-lme2510.o CC drivers/mmc/core/sdio_io.o CC drivers/media/rc/keymaps/rc-manli.o CC drivers/media/rc/keymaps/rc-medion-x10.o CC drivers/mmc/core/sdio_irq.o CC drivers/media/rc/keymaps/rc-msi-digivox-ii.o CC drivers/media/rc/keymaps/rc-msi-digivox-iii.o CC net/core/iovec.o CC drivers/mmc/core/quirks.o CC drivers/media/rc/keymaps/rc-msi-tvanywhere.o CC drivers/mmc/core/cd-gpio.o CC drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.o CC drivers/media/rc/keymaps/rc-nebula.o CC net/core/datagram.o CC drivers/mmc/core/debugfs.o CC drivers/media/rc/keymaps/rc-nec-terratec-cinergy-xs.o CC drivers/media/rc/keymaps/rc-norwood.o LD drivers/mmc/core/mmc_core.o LD drivers/mmc/core/built-in.o CC drivers/media/rc/keymaps/rc-npgtech.o CC drivers/mmc/host/msm_sdcc.o CC drivers/media/rc/keymaps/rc-pctv-sedna.o CC net/core/stream.o CC drivers/media/rc/keymaps/rc-philips.o CC drivers/media/rc/keymaps/rc-pinnacle-color.o CC drivers/media/rc/keymaps/rc-pinnacle-grey.o CC drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.o CC net/core/scm.o CC drivers/media/rc/keymaps/rc-pixelview.o CC drivers/media/rc/keymaps/rc-pixelview-mk12.o CC drivers/media/rc/keymaps/rc-pixelview-002t.o CC net/core/gen_stats.o CC drivers/media/rc/keymaps/rc-pixelview-new.o CC drivers/media/rc/keymaps/rc-powercolor-real-angel.o CC net/core/gen_estimator.o CC drivers/media/rc/keymaps/rc-proteus-2309.o CC drivers/media/rc/keymaps/rc-purpletv.o CC drivers/media/rc/keymaps/rc-pv951.o CC drivers/media/rc/keymaps/rc-hauppauge.o CC net/core/net_namespace.o CC drivers/media/rc/keymaps/rc-rc6-mce.o CC drivers/mmc/host/msm_sdcc_dml.o CC drivers/media/rc/keymaps/rc-real-audio-220-32-keys.o LD drivers/mmc/host/built-in.o LD drivers/mmc/built-in.o CC drivers/media/rc/keymaps/rc-snapstream-firefly.o CC drivers/net/dummy.o CC net/core/secure_seq.o CC drivers/media/rc/keymaps/rc-samsung-necx.o CC net/core/flow_dissector.o CC drivers/media/rc/keymaps/rc-streamzap.o CC drivers/net/mii.o CC drivers/media/rc/keymaps/rc-tbs-nec.o CC drivers/media/rc/keymaps/rc-technisat-usb2.o CC drivers/media/rc/keymaps/rc-terratec-cinergy-xs.o CC net/core/sysctl_net_core.o CC drivers/net/Space.o CC drivers/media/rc/keymaps/rc-terratec-slim.o CC drivers/media/rc/keymaps/rc-terratec-slim-2.o CC net/core/dev.o CC drivers/net/loopback.o CC drivers/media/rc/keymaps/rc-tevii-nec.o CC drivers/media/rc/keymaps/rc-tivo.o LD drivers/net/ethernet/3com/built-in.o LD drivers/net/ethernet/8390/built-in.o LD drivers/net/ethernet/adaptec/built-in.o LD drivers/net/ethernet/alteon/built-in.o LD drivers/net/ethernet/amd/built-in.o LD drivers/net/ethernet/atheros/built-in.o LD drivers/net/ethernet/broadcom/built-in.o LD drivers/net/ethernet/brocade/built-in.o LD drivers/net/ethernet/chelsio/built-in.o LD drivers/net/ethernet/cirrus/built-in.o LD drivers/net/ethernet/cisco/built-in.o LD drivers/net/ethernet/dec/built-in.o LD drivers/net/ethernet/dlink/built-in.o LD drivers/net/ethernet/emulex/built-in.o LD drivers/net/ethernet/faraday/built-in.o LD drivers/net/ethernet/hp/built-in.o LD drivers/net/ethernet/i825xx/built-in.o LD drivers/net/ethernet/intel/built-in.o CC drivers/media/rc/keymaps/rc-total-media-in-hand.o LD drivers/net/ethernet/marvell/built-in.o LD drivers/net/ethernet/mellanox/built-in.o LD drivers/net/ethernet/micrel/built-in.o CC [M] drivers/net/ethernet/micrel/ks8851.o CC drivers/media/rc/keymaps/rc-trekstor.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/interrupt.h:5, from drivers/net/ethernet/micrel/ks8851.c:16: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'ks8851_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ drivers/net/ethernet/micrel/ks8851.c:1680:1: note: in expansion of macro 'module_init' 1680 | module_init(ks8851_init); | ^~~~~~~~~~~ drivers/net/ethernet/micrel/ks8851.c:1670:19: note: 'init_module' target declared here 1670 | static int __init ks8851_init(void) | ^~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/interrupt.h:5, from drivers/net/ethernet/micrel/ks8851.c:16: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'ks8851_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/net/ethernet/micrel/ks8851.c:1681:1: note: in expansion of macro 'module_exit' 1681 | module_exit(ks8851_exit); | ^~~~~~~~~~~ drivers/net/ethernet/micrel/ks8851.c:1675:20: note: 'cleanup_module' target declared here 1675 | static void __exit ks8851_exit(void) | ^~~~~~~~~~~ CC drivers/media/rc/keymaps/rc-tt-1500.o CC drivers/media/rc/keymaps/rc-twinhan1027.o CC drivers/media/rc/keymaps/rc-ue-rf4ce.o LD drivers/net/ethernet/microchip/built-in.o CC drivers/net/ethernet/msm/msm_rmnet_bam.o CC drivers/media/rc/keymaps/rc-videomate-m1f.o CC drivers/media/rc/keymaps/rc-videomate-s350.o CC drivers/media/rc/keymaps/rc-videomate-tv-pvr.o CC drivers/media/rc/keymaps/rc-winfast.o CC drivers/net/ethernet/msm/msm_rmnet_smux.o CC drivers/media/rc/keymaps/rc-winfast-usbii-deluxe.o LD drivers/media/rc/keymaps/built-in.o CC drivers/media/rc/rc-main.o LD drivers/net/ethernet/msm/built-in.o LD drivers/net/ethernet/myricom/built-in.o LD drivers/net/ethernet/natsemi/built-in.o LD drivers/net/ethernet/neterion/built-in.o LD drivers/net/ethernet/nvidia/built-in.o LD drivers/net/ethernet/oki-semi/built-in.o LD drivers/net/ethernet/packetengines/built-in.o LD drivers/net/ethernet/qlogic/built-in.o LD drivers/net/ethernet/rdc/built-in.o LD drivers/net/ethernet/realtek/built-in.o LD drivers/net/ethernet/seeq/built-in.o LD drivers/net/ethernet/silan/built-in.o LD drivers/net/ethernet/sis/built-in.o CC drivers/net/ethernet/smsc/smc91x.o CC drivers/media/rc/ir-raw.o CC net/core/ethtool.o drivers/net/ethernet/smsc/smc91x.c: In function 'smc_ethtool_getdrvinfo': drivers/net/ethernet/smsc/smc91x.c:1611:2: warning: 'strncpy' output truncated copying 32 bytes from a string of length 64 [-Wstringop-truncation] 1611 | strncpy(info->version, version, sizeof(info->version)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/media/rc/lirc_dev.o CC drivers/media/rc/ir-nec-decoder.o CC net/core/dev_addr_lists.o CC drivers/net/ethernet/smsc/smc911x.o CC drivers/media/rc/ir-rc5-decoder.o drivers/net/ethernet/smsc/smc911x.c: In function 'smc911x_ethtool_getdrvinfo': drivers/net/ethernet/smsc/smc911x.c:1536:2: warning: 'strncpy' output truncated copying 32 bytes from a string of length 68 [-Wstringop-truncation] 1536 | strncpy(info->version, version, sizeof(info->version)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/media/rc/ir-rc6-decoder.o CC net/core/dst.o CC drivers/media/rc/ir-jvc-decoder.o CC drivers/media/rc/ir-sony-decoder.o CC drivers/media/rc/ir-rc5-sz-decoder.o CC net/core/netevent.o CC drivers/media/rc/ir-sanyo-decoder.o CC net/core/neighbour.o CC drivers/media/rc/ir-mce_kbd-decoder.o CC drivers/media/rc/ir-lirc-codec.o CC drivers/media/rc/user-rc-input.o CC drivers/media/rc/gpio-ir-recv.o LD drivers/media/rc/rc-core.o LD drivers/media/rc/built-in.o CC drivers/media/video/v4l2-dev.o CC net/core/rtnetlink.o CC drivers/media/video/v4l2-ioctl.o net/core/rtnetlink.c:1128:32: warning: 'ifla_vf_policy' defined but not used [-Wunused-const-variable=] 1128 | static const struct nla_policy ifla_vf_policy[IFLA_VF_MAX+1] = { | ^~~~~~~~~~~~~~ net/core/rtnetlink.c:1124:32: warning: 'ifla_vfinfo_policy' defined but not used [-Wunused-const-variable=] 1124 | static const struct nla_policy ifla_vfinfo_policy[IFLA_VF_INFO_MAX+1] = { | ^~~~~~~~~~~~~~~~~~ CC net/core/utils.o CC drivers/media/video/v4l2-device.o CC net/core/link_watch.o CC drivers/media/video/v4l2-fh.o CC drivers/media/video/v4l2-event.o CC net/core/filter.o CC drivers/net/ethernet/smsc/smsc911x.o CC drivers/media/video/v4l2-ctrls.o drivers/media/video/v4l2-ctrls.c: In function 'validate_new': drivers/media/video/v4l2-ctrls.c:1144:33: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] 1144 | return validate_new_int(ctrl, &c->value); | ^~~~~~~~~ CC net/core/sock_diag.o CC net/core/flow.o LD drivers/net/ethernet/smsc/built-in.o LD drivers/net/ethernet/stmicro/built-in.o LD drivers/net/ethernet/sun/built-in.o CC drivers/media/video/v4l2-subdev.o LD drivers/net/ethernet/tehuti/built-in.o LD drivers/net/ethernet/ti/built-in.o LD drivers/net/ethernet/via/built-in.o LD drivers/net/ethernet/built-in.o CC drivers/net/phy/phy.o CC net/core/net-sysfs.o net/core/net-sysfs.c:31:19: warning: 'fmt_long_hex' defined but not used [-Wunused-const-variable=] 31 | static const char fmt_long_hex[] = "%#lx\n"; | ^~~~~~~~~~~~ CC drivers/media/video/v4l2-int-device.o CC drivers/net/phy/phy_device.o CC drivers/media/video/v4l2-common.o CC net/core/fib_rules.o CC drivers/media/video/videobuf2-core.o CC drivers/net/phy/mdio_bus.o LD drivers/net/phy/libphy.o LD drivers/net/phy/built-in.o CC drivers/net/ppp/ppp_generic.o CC net/core/net-traces.o CC drivers/media/video/videobuf2-memops.o CC drivers/media/video/videobuf2-vmalloc.o LD net/core/built-in.o CC drivers/media/video/videobuf2-dma-contig.o CC net/ethernet/eth.o CC drivers/media/video/videobuf2-dma-sg.o CC drivers/net/ppp/ppp_async.o LD net/ethernet/built-in.o CC net/ipv4/route.o CC drivers/media/video/videobuf2-msm-mem.o CC drivers/media/video/vcap_v4l2.o CC drivers/net/ppp/bsd_comp.o CC drivers/net/ppp/ppp_deflate.o CC drivers/net/ppp/ppp_mppe.o CC drivers/media/video/vcap_vc.o CC drivers/net/ppp/pppox.o CC drivers/media/video/vcap_vp.o CC drivers/net/ppp/pppolac.o CC net/ipv4/inetpeer.o CC drivers/media/video/ir-kbd-i2c.o CC drivers/net/ppp/pppopns.o CC net/ipv4/protocol.o LD drivers/media/video/davinci/built-in.o LD drivers/media/video/gspca/built-in.o CC [M] drivers/media/video/gspca/gspca.o LD drivers/net/ppp/built-in.o CC drivers/net/slip/slip.o In file included from drivers/media/video/gspca/gspca.c:28: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'gspca_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ drivers/media/video/gspca/gspca.c:2602:1: note: in expansion of macro 'module_init' 2602 | module_init(gspca_init); | ^~~~~~~~~~~ drivers/media/video/gspca/gspca.c:2593:19: note: 'init_module' target declared here 2593 | static int __init gspca_init(void) | ^~~~~~~~~~ In file included from drivers/media/video/gspca/gspca.c:28: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'gspca_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/media/video/gspca/gspca.c:2603:1: note: in expansion of macro 'module_exit' 2603 | module_exit(gspca_exit); | ^~~~~~~~~~~ drivers/media/video/gspca/gspca.c:2598:20: note: 'cleanup_module' target declared here 2598 | static void __exit gspca_exit(void) | ^~~~~~~~~~ CC net/ipv4/ip_input.o CC drivers/net/slip/slhc.o CC net/ipv4/ip_fragment.o LD [M] drivers/media/video/gspca/gspca_main.o CC drivers/media/video/msm/actuators/msm_actuator.o LD drivers/net/slip/built-in.o CC drivers/net/usb/asix.o LD drivers/media/video/msm/actuators/built-in.o LD drivers/media/video/msm/cci/built-in.o CC net/ipv4/ip_forward.o CC drivers/media/video/msm/csi/msm_csi2_register.o CC drivers/media/video/msm/csi/msm_csiphy.o CC net/ipv4/ip_options.o CC drivers/net/usb/cdc_ether.o CC drivers/media/video/msm/csi/msm_csid.o CC drivers/net/usb/cdc_eem.o CC drivers/media/video/msm/csi/msm_ispif.o CC net/ipv4/ip_output.o CC drivers/net/usb/dm9601.o LD drivers/media/video/msm/csi/built-in.o CC drivers/media/video/msm/eeprom/msm_camera_eeprom.o CC drivers/net/usb/smsc75xx.o LD drivers/media/video/msm/eeprom/built-in.o CC drivers/media/video/msm/gemini/msm_gemini_dev.o CC net/ipv4/ip_sockglue.o CC drivers/media/video/msm/gemini/msm_gemini_sync.o CC drivers/net/usb/smsc95xx.o In file included from include/linux/kernel.h:23, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_gemini_q_cleanup' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define GMN_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:177:4: note: in expansion of macro 'GMN_DBG' 177 | GMN_DBG("%s:%d] %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_gemini_q_cleanup' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define GMN_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:173:2: note: in expansion of macro 'GMN_DBG' 173 | GMN_DBG("%s:%d] %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_gemini_outbuf_q_cleanup' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define GMN_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:163:4: note: in expansion of macro 'GMN_DBG' 163 | GMN_DBG("%s:%d] %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_gemini_outbuf_q_cleanup' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define GMN_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:157:2: note: in expansion of macro 'GMN_DBG' 157 | GMN_DBG("%s:%d] %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_gemini_q_unblock' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define GMN_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:148:2: note: in expansion of macro 'GMN_DBG' 148 | GMN_DBG("%s:%d] %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_gemini_q_wakeup' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define GMN_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:141:2: note: in expansion of macro 'GMN_DBG' 141 | GMN_DBG("%s:%d] %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_gemini_q_wait' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define GMN_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:127:4: note: in expansion of macro 'GMN_DBG' 127 | GMN_DBG("%s:%d] %s unblock is true\n", __func__, | ^~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:121:6: warning: 'list_empty_careful' is static but used in inline function 'msm_gemini_q_wait' which is not static 121 | if (list_empty_careful(&q_p->q)) { | ^~~~~~~~~~~~~~~~~~ In file included from include/linux/kernel.h:23, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_gemini_q_wait' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define GMN_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:120:2: note: in expansion of macro 'GMN_DBG' 120 | GMN_DBG("%s:%d] %s wait done\n", __func__, __LINE__, q_p->name); | ^~~~~~~ In file included from include/linux/wait.h:25, from include/linux/mmzone.h:9, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: /home/pmos/build/src/android_kernel_sony_apq8064-f164c6d1016cb34ac90c053acbebe6e47fdd400f/arch/arm/include/asm/current.h:13:18: warning: 'get_current' is static but used in inline function 'msm_gemini_q_wait' which is not static 13 | #define current (get_current()) | ^~~~~~~~~~~ include/linux/wait.h:312:23: note: in expansion of macro 'current' 312 | if (!signal_pending(current)) { \ | ^~~~~~~ include/linux/wait.h:345:3: note: in expansion of macro '__wait_event_interruptible_timeout' 345 | __wait_event_interruptible_timeout(wq, condition, __ret); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:117:7: note: in expansion of macro 'wait_event_interruptible_timeout' 117 | rc = wait_event_interruptible_timeout(q_p->wait, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/mmzone.h:9, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: include/linux/wait.h:312:8: warning: 'signal_pending' is static but used in inline function 'msm_gemini_q_wait' which is not static 312 | if (!signal_pending(current)) { \ | ^~~~~~~~~~~~~~ include/linux/wait.h:345:3: note: in expansion of macro '__wait_event_interruptible_timeout' 345 | __wait_event_interruptible_timeout(wq, condition, __ret); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:117:7: note: in expansion of macro 'wait_event_interruptible_timeout' 117 | rc = wait_event_interruptible_timeout(q_p->wait, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:118:5: warning: 'list_empty_careful' is static but used in inline function 'msm_gemini_q_wait' which is not static 118 | (!list_empty_careful(&q_p->q) || q_p->unblck), | ^~~~~~~~~~~~~~~~~~ include/linux/wait.h:310:7: note: in definition of macro '__wait_event_interruptible_timeout' 310 | if (condition) \ | ^~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:117:7: note: in expansion of macro 'wait_event_interruptible_timeout' 117 | rc = wait_event_interruptible_timeout(q_p->wait, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/wait.h:25, from include/linux/mmzone.h:9, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: /home/pmos/build/src/android_kernel_sony_apq8064-f164c6d1016cb34ac90c053acbebe6e47fdd400f/arch/arm/include/asm/current.h:13:18: warning: 'get_current' is static but used in inline function 'msm_gemini_q_wait' which is not static 13 | #define current (get_current()) | ^~~~~~~~~~~ include/linux/wait.h:681:14: note: in expansion of macro 'current' 681 | .private = current, \ | ^~~~~~~ include/linux/wait.h:686:27: note: in expansion of macro 'DEFINE_WAIT_FUNC' 686 | #define DEFINE_WAIT(name) DEFINE_WAIT_FUNC(name, autoremove_wake_function) | ^~~~~~~~~~~~~~~~ include/linux/wait.h:306:2: note: in expansion of macro 'DEFINE_WAIT' 306 | DEFINE_WAIT(__wait); \ | ^~~~~~~~~~~ include/linux/wait.h:345:3: note: in expansion of macro '__wait_event_interruptible_timeout' 345 | __wait_event_interruptible_timeout(wq, condition, __ret); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:117:7: note: in expansion of macro 'wait_event_interruptible_timeout' 117 | rc = wait_event_interruptible_timeout(q_p->wait, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/mmzone.h:9, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: drivers/media/video/msm/gemini/msm_gemini_sync.c:118:5: warning: 'list_empty_careful' is static but used in inline function 'msm_gemini_q_wait' which is not static 118 | (!list_empty_careful(&q_p->q) || q_p->unblck), | ^~~~~~~~~~~~~~~~~~ include/linux/wait.h:344:8: note: in definition of macro 'wait_event_interruptible_timeout' 344 | if (!(condition)) \ | ^~~~~~~~~ In file included from include/linux/kernel.h:23, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_gemini_q_wait' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define GMN_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:116:2: note: in expansion of macro 'GMN_DBG' 116 | GMN_DBG("%s:%d] %s wait\n", __func__, __LINE__, q_p->name); | ^~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:99:10: warning: 'kmalloc' is static but used in inline function 'msm_gemini_q_in_buf' which is not static 99 | buf_p = kmalloc(sizeof(struct msm_gemini_core_buf), GFP_ATOMIC); | ^~~~~~~ In file included from include/linux/kernel.h:23, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_gemini_q_in_buf' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define GMN_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:98:2: note: in expansion of macro 'GMN_DBG' 98 | GMN_DBG("%s:%d]\n", __func__, __LINE__); | ^~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:88:2: warning: 'spin_unlock_irqrestore' is static but used in inline function 'msm_gemini_q_in' which is not static 88 | spin_unlock_irqrestore(&q_p->lck, flags); | ^~~~~~~~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:87:2: warning: 'list_add_tail' is static but used in inline function 'msm_gemini_q_in' which is not static 87 | list_add_tail(&q_entry_p->list, &q_p->q); | ^~~~~~~~~~~~~ In file included from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: include/linux/spinlock.h:323:24: warning: 'spinlock_check' is static but used in inline function 'msm_gemini_q_in' which is not static 323 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~ include/linux/spinlock.h:199:34: note: in definition of macro 'raw_spin_lock_irqsave' 199 | flags = _raw_spin_lock_irqsave(lock); \ | ^~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:86:2: note: in expansion of macro 'spin_lock_irqsave' 86 | spin_lock_irqsave(&q_p->lck, flags); | ^~~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:79:14: warning: 'kmalloc' is static but used in inline function 'msm_gemini_q_in' which is not static 79 | q_entry_p = kmalloc(sizeof(struct msm_gemini_q_entry), GFP_ATOMIC); | ^~~~~~~ In file included from include/linux/kernel.h:23, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_gemini_q_in' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define GMN_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:77:2: note: in expansion of macro 'GMN_DBG' 77 | GMN_DBG("%s:%d] %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_gemini_q_out' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define GMN_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:64:3: note: in expansion of macro 'GMN_DBG' 64 | GMN_DBG("%s:%d] %s no entry\n", __func__, __LINE__, | ^~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:58:2: warning: 'spin_unlock_irqrestore' is static but used in inline function 'msm_gemini_q_out' which is not static 58 | spin_unlock_irqrestore(&q_p->lck, flags); | ^~~~~~~~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:56:3: warning: 'list_del_init' is static but used in inline function 'msm_gemini_q_out' which is not static 56 | list_del_init(&q_entry_p->list); | ^~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:53:7: warning: 'list_empty' is static but used in inline function 'msm_gemini_q_out' which is not static 53 | if (!list_empty(&q_p->q)) { | ^~~~~~~~~~ In file included from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: include/linux/spinlock.h:323:24: warning: 'spinlock_check' is static but used in inline function 'msm_gemini_q_out' which is not static 323 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~ include/linux/spinlock.h:199:34: note: in definition of macro 'raw_spin_lock_irqsave' 199 | flags = _raw_spin_lock_irqsave(lock); \ | ^~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:52:2: note: in expansion of macro 'spin_lock_irqsave' 52 | spin_lock_irqsave(&q_p->lck, flags); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/kernel.h:23, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_gemini_q_out' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define GMN_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:51:2: note: in expansion of macro 'GMN_DBG' 51 | GMN_DBG("%s:%d] %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ In file included from include/linux/mmzone.h:9, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: include/linux/wait.h:83:32: warning: '__key' is static but declared in inline function 'msm_gemini_q_init' which is not static 83 | static struct lock_class_key __key; \ | ^~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:41:2: note: in expansion of macro 'init_waitqueue_head' 41 | init_waitqueue_head(&q_p->wait); | ^~~~~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:40:2: warning: 'INIT_LIST_HEAD' is static but used in inline function 'msm_gemini_q_init' which is not static 40 | INIT_LIST_HEAD(&q_p->q); | ^~~~~~~~~~~~~~ In file included from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: include/linux/spinlock.h:287:2: warning: 'spinlock_check' is static but used in inline function 'msm_gemini_q_init' which is not static 287 | spinlock_check(_lock); \ | ^~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:39:2: note: in expansion of macro 'spin_lock_init' 39 | spin_lock_init(&q_p->lck); | ^~~~~~~~~~~~~~ In file included from include/linux/kernel.h:23, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/gemini/msm_gemini_sync.c:14: include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_gemini_q_init' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define GMN_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/gemini/msm_gemini_sync.c:37:2: note: in expansion of macro 'GMN_DBG' 37 | GMN_DBG("%s:%d] %s\n", __func__, __LINE__, name); | ^~~~~~~ CC drivers/net/usb/gl620a.o CC net/ipv4/inet_hashtables.o CC drivers/media/video/msm/gemini/msm_gemini_core.o CC drivers/net/usb/plusb.o CC drivers/media/video/msm/gemini/msm_gemini_hw.o CC drivers/net/usb/rndis_host.o CC drivers/media/video/msm/gemini/msm_gemini_platform.o CC net/ipv4/inet_timewait_sock.o LD drivers/media/video/msm/gemini/built-in.o CC drivers/media/video/msm/io/msm_camera_io_util.o CC drivers/net/usb/mcs7830.o CC drivers/media/video/msm/io/msm_camera_i2c.o CC drivers/net/usb/usbnet.o CC net/ipv4/inet_connection_sock.o drivers/net/usb/usbnet.c:88:19: warning: 'driver_name' defined but not used [-Wunused-const-variable=] 88 | static const char driver_name [] = "usbnet"; | ^~~~~~~~~~~ CC drivers/media/video/msm/io/msm_camera_i2c_mux.o CC drivers/media/video/msm/io/msm_io_8960.o CC net/ipv4/tcp.o LD drivers/media/video/msm/io/built-in.o LD drivers/media/video/msm/jpeg_10/built-in.o CC drivers/net/usb/int51x1.o CC drivers/media/video/msm/mercury/msm_mercury_dev.o CC drivers/net/usb/kalmia.o CC drivers/media/video/msm/mercury/msm_mercury_core.o CC drivers/media/video/msm/mercury/msm_mercury_hw.o CC drivers/net/usb/sierra_net.o CC drivers/media/video/msm/mercury/msm_mercury_platform.o CC drivers/net/usb/cx82310_eth.o CC drivers/media/video/msm/mercury/msm_mercury_sync.o In file included from include/linux/kernel.h:23, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_mercury_q_cleanup' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define MCR_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:176:4: note: in expansion of macro 'MCR_DBG' 176 | MCR_DBG("%s:%d] %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_mercury_q_cleanup' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define MCR_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:172:2: note: in expansion of macro 'MCR_DBG' 172 | MCR_DBG("\n%s:%d] %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_mercury_q_unblock' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define MCR_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:163:2: note: in expansion of macro 'MCR_DBG' 163 | MCR_DBG("%s:%d] Wake up %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_mercury_q_wr_err' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define MCR_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:155:2: note: in expansion of macro 'MCR_DBG' 155 | MCR_DBG("%s:%d] Wake up %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_mercury_q_wr_eoi' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define MCR_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:147:2: note: in expansion of macro 'MCR_DBG' 147 | MCR_DBG("%s:%d] Wake up %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_mercury_q_wakeup' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define MCR_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:140:2: note: in expansion of macro 'MCR_DBG' 140 | MCR_DBG("%s:%d] %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_mercury_q_wait' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define MCR_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:126:4: note: in expansion of macro 'MCR_DBG' 126 | MCR_DBG("%s:%d %s unblock is true", __func__, | ^~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:120:6: warning: 'list_empty_careful' is static but used in inline function 'msm_mercury_q_wait' which is not static 120 | if (list_empty_careful(&q_p->q)) { | ^~~~~~~~~~~~~~~~~~ In file included from include/linux/kernel.h:23, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_mercury_q_wait' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define MCR_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:118:2: note: in expansion of macro 'MCR_DBG' 118 | MCR_DBG("%s:%d %s wait done (rc=%d)\n", __func__, | ^~~~~~~ In file included from include/linux/wait.h:25, from include/linux/mmzone.h:9, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: /home/pmos/build/src/android_kernel_sony_apq8064-f164c6d1016cb34ac90c053acbebe6e47fdd400f/arch/arm/include/asm/current.h:13:18: warning: 'get_current' is static but used in inline function 'msm_mercury_q_wait' which is not static 13 | #define current (get_current()) | ^~~~~~~~~~~ include/linux/wait.h:312:23: note: in expansion of macro 'current' 312 | if (!signal_pending(current)) { \ | ^~~~~~~ include/linux/wait.h:345:3: note: in expansion of macro '__wait_event_interruptible_timeout' 345 | __wait_event_interruptible_timeout(wq, condition, __ret); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:114:7: note: in expansion of macro 'wait_event_interruptible_timeout' 114 | rc = wait_event_interruptible_timeout(q_p->wait, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/mmzone.h:9, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: include/linux/wait.h:312:8: warning: 'signal_pending' is static but used in inline function 'msm_mercury_q_wait' which is not static 312 | if (!signal_pending(current)) { \ | ^~~~~~~~~~~~~~ include/linux/wait.h:345:3: note: in expansion of macro '__wait_event_interruptible_timeout' 345 | __wait_event_interruptible_timeout(wq, condition, __ret); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:114:7: note: in expansion of macro 'wait_event_interruptible_timeout' 114 | rc = wait_event_interruptible_timeout(q_p->wait, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:115:5: warning: 'list_empty_careful' is static but used in inline function 'msm_mercury_q_wait' which is not static 115 | (!list_empty_careful(&q_p->q) || q_p->unblck), | ^~~~~~~~~~~~~~~~~~ include/linux/wait.h:310:7: note: in definition of macro '__wait_event_interruptible_timeout' 310 | if (condition) \ | ^~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:114:7: note: in expansion of macro 'wait_event_interruptible_timeout' 114 | rc = wait_event_interruptible_timeout(q_p->wait, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/wait.h:25, from include/linux/mmzone.h:9, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: /home/pmos/build/src/android_kernel_sony_apq8064-f164c6d1016cb34ac90c053acbebe6e47fdd400f/arch/arm/include/asm/current.h:13:18: warning: 'get_current' is static but used in inline function 'msm_mercury_q_wait' which is not static 13 | #define current (get_current()) | ^~~~~~~~~~~ include/linux/wait.h:681:14: note: in expansion of macro 'current' 681 | .private = current, \ | ^~~~~~~ include/linux/wait.h:686:27: note: in expansion of macro 'DEFINE_WAIT_FUNC' 686 | #define DEFINE_WAIT(name) DEFINE_WAIT_FUNC(name, autoremove_wake_function) | ^~~~~~~~~~~~~~~~ include/linux/wait.h:306:2: note: in expansion of macro 'DEFINE_WAIT' 306 | DEFINE_WAIT(__wait); \ | ^~~~~~~~~~~ include/linux/wait.h:345:3: note: in expansion of macro '__wait_event_interruptible_timeout' 345 | __wait_event_interruptible_timeout(wq, condition, __ret); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:114:7: note: in expansion of macro 'wait_event_interruptible_timeout' 114 | rc = wait_event_interruptible_timeout(q_p->wait, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/mmzone.h:9, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: drivers/media/video/msm/mercury/msm_mercury_sync.c:115:5: warning: 'list_empty_careful' is static but used in inline function 'msm_mercury_q_wait' which is not static 115 | (!list_empty_careful(&q_p->q) || q_p->unblck), | ^~~~~~~~~~~~~~~~~~ include/linux/wait.h:344:8: note: in definition of macro 'wait_event_interruptible_timeout' 344 | if (!(condition)) \ | ^~~~~~~~~ In file included from include/linux/kernel.h:23, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_mercury_q_wait' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define MCR_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:113:2: note: in expansion of macro 'MCR_DBG' 113 | MCR_DBG("%s:%d %s wait\n", __func__, __LINE__, q_p->name); | ^~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:96:10: warning: 'kmalloc' is static but used in inline function 'msm_mercury_q_in_buf' which is not static 96 | buf_p = kmalloc(sizeof(struct msm_mercury_core_buf), GFP_ATOMIC); | ^~~~~~~ In file included from include/linux/kernel.h:23, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_mercury_q_in_buf' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define MCR_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:95:2: note: in expansion of macro 'MCR_DBG' 95 | MCR_DBG("%s:%d]\n", __func__, __LINE__); | ^~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:85:2: warning: 'spin_unlock_irqrestore' is static but used in inline function 'msm_mercury_q_in' which is not static 85 | spin_unlock_irqrestore(&q_p->lck, flags); | ^~~~~~~~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:84:2: warning: 'list_add_tail' is static but used in inline function 'msm_mercury_q_in' which is not static 84 | list_add_tail(&q_entry_p->list, &q_p->q); | ^~~~~~~~~~~~~ In file included from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: include/linux/spinlock.h:323:24: warning: 'spinlock_check' is static but used in inline function 'msm_mercury_q_in' which is not static 323 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~ include/linux/spinlock.h:199:34: note: in definition of macro 'raw_spin_lock_irqsave' 199 | flags = _raw_spin_lock_irqsave(lock); \ | ^~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:83:2: note: in expansion of macro 'spin_lock_irqsave' 83 | spin_lock_irqsave(&q_p->lck, flags); | ^~~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:76:14: warning: 'kmalloc' is static but used in inline function 'msm_mercury_q_in' which is not static 76 | q_entry_p = kmalloc(sizeof(struct msm_mercury_q_entry), GFP_ATOMIC); | ^~~~~~~ In file included from include/linux/kernel.h:23, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_mercury_q_in' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define MCR_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:74:2: note: in expansion of macro 'MCR_DBG' 74 | MCR_DBG("%s:%d] %s\n", __func__, __LINE__, q_p->name); | ^~~~~~~ include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_mercury_q_out' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define MCR_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:62:3: note: in expansion of macro 'MCR_DBG' 62 | MCR_DBG("%s:%d] %s no entry\n", __func__, __LINE__, q_p->name); | ^~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:56:2: warning: 'spin_unlock_irqrestore' is static but used in inline function 'msm_mercury_q_out' which is not static 56 | spin_unlock_irqrestore(&q_p->lck, flags); | ^~~~~~~~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:54:3: warning: 'list_del_init' is static but used in inline function 'msm_mercury_q_out' which is not static 54 | list_del_init(&q_entry_p->list); | ^~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:50:7: warning: 'list_empty' is static but used in inline function 'msm_mercury_q_out' which is not static 50 | if (!list_empty(&q_p->q)) { | ^~~~~~~~~~ In file included from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: include/linux/spinlock.h:323:24: warning: 'spinlock_check' is static but used in inline function 'msm_mercury_q_out' which is not static 323 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~ include/linux/spinlock.h:199:34: note: in definition of macro 'raw_spin_lock_irqsave' 199 | flags = _raw_spin_lock_irqsave(lock); \ | ^~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:49:2: note: in expansion of macro 'spin_lock_irqsave' 49 | spin_lock_irqsave(&q_p->lck, flags); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/kernel.h:23, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_mercury_q_out' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define MCR_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:48:2: note: in expansion of macro 'MCR_DBG' 48 | MCR_DBG("(%d)%s() %s\n", __LINE__, __func__, q_p->name); | ^~~~~~~ In file included from include/linux/mmzone.h:9, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: include/linux/wait.h:83:32: warning: '__key' is static but declared in inline function 'msm_mercury_q_init' which is not static 83 | static struct lock_class_key __key; \ | ^~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:38:2: note: in expansion of macro 'init_waitqueue_head' 38 | init_waitqueue_head(&q_p->wait); | ^~~~~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:37:2: warning: 'INIT_LIST_HEAD' is static but used in inline function 'msm_mercury_q_init' which is not static 37 | INIT_LIST_HEAD(&q_p->q); | ^~~~~~~~~~~~~~ In file included from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: include/linux/spinlock.h:287:2: warning: 'spinlock_check' is static but used in inline function 'msm_mercury_q_init' which is not static 287 | spinlock_check(_lock); \ | ^~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:36:2: note: in expansion of macro 'spin_lock_init' 36 | spin_lock_init(&q_p->lck); | ^~~~~~~~~~~~~~ In file included from include/linux/kernel.h:23, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/media/video/msm/mercury/msm_mercury_sync.c:13: include/linux/dynamic_debug.h:73:32: warning: 'descriptor' is static but declared in inline function 'msm_mercury_q_init' which is not static 73 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | ^~~~~~~~~~ include/linux/dynamic_debug.h:62:40: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' 62 | __attribute__((section("__verbose"))) name = { \ | ^~~~ include/linux/printk.h:196:2: note: in expansion of macro 'dynamic_pr_debug' 196 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_common.h:18:31: note: in expansion of macro 'pr_debug' 18 | #define MCR_DBG(fmt, args...) pr_debug(fmt, ##args) | ^~~~~~~~ drivers/media/video/msm/mercury/msm_mercury_sync.c:34:2: note: in expansion of macro 'MCR_DBG' 34 | MCR_DBG("%s:%d] %s\n", __func__, __LINE__, name); | ^~~~~~~ CC net/ipv4/tcp_input.o CC drivers/net/usb/rmnet_usb_ctrl.o LD drivers/media/video/msm/mercury/built-in.o CC drivers/media/video/msm/sensors/msm_sensor_common.o CC drivers/media/video/msm/sensors/msm_sensor.o drivers/media/video/msm/sensors/msm_sensor.c: In function 'msm_sensor_config': drivers/media/video/msm/sensors/msm_sensor.c:598:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 598 | else | ^~~~ drivers/media/video/msm/sensors/msm_sensor.c:600:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 600 | break; | ^~~~~ CC drivers/net/usb/rmnet_usb_data.o CC drivers/media/video/msm/sensors/msm_sensor_bayer.o LD drivers/net/usb/rmnet_usb.o LD drivers/net/usb/built-in.o CC drivers/net/wireless/wcnss/wcnss_wlan.o CC drivers/media/video/msm/sensors/msm_sensor_init.o CC drivers/net/wireless/wcnss/wcnss_riva.o CC drivers/media/video/msm/sensors/sony_camera_v4l2.o CC net/ipv4/tcp_output.o CC drivers/net/wireless/wcnss/qcomwlan_secif.o LD drivers/media/video/msm/sensors/built-in.o CC drivers/media/video/msm/server/msm_cam_server.o CC drivers/net/wireless/wcnss/wcnss_prealloc.o LD drivers/net/wireless/wcnss/wcnsscore.o LD drivers/net/wireless/wcnss/built-in.o LD drivers/net/wireless/built-in.o CC drivers/net/tun.o CC net/ipv4/tcp_timer.o LD drivers/net/built-in.o LD drivers/nfc/built-in.o CC drivers/pci/access.o LD drivers/media/video/msm/server/built-in.o CC drivers/media/video/msm/vfe/msm_vfe32.o CC drivers/pci/bus.o CC net/ipv4/tcp_ipv4.o CC drivers/pci/probe.o CC drivers/pci/remove.o CC drivers/pci/pci.o CC net/ipv4/tcp_minisocks.o CC net/ipv4/tcp_cong.o CC drivers/pci/pci-driver.o CC net/ipv4/datagram.o CC drivers/media/video/msm/vfe/msm_vfe_stats_buf.o CC drivers/pci/search.o CC net/ipv4/raw.o CC drivers/pci/pci-sysfs.o LD drivers/media/video/msm/vfe/built-in.o CC drivers/media/video/msm/msm_isp.o CC net/ipv4/udp.o CC drivers/pci/rom.o CC drivers/media/video/msm/msm.o CC drivers/pci/setup-res.o CC drivers/pci/irq.o CC drivers/pci/vpd.o CC drivers/pci/proc.o CC net/ipv4/udplite.o CC drivers/media/video/msm/msm_mem.o CC drivers/pci/slot.o CC drivers/pci/quirks.o CC drivers/media/video/msm/msm_mctl.o CC net/ipv4/arp.o net/ipv4/arp.c:151:31: warning: 'arp_broken_ops' defined but not used [-Wunused-const-variable=] 151 | static const struct neigh_ops arp_broken_ops = { | ^~~~~~~~~~~~~~ CC drivers/pci/hotplug.o CC net/ipv4/icmp.o CC drivers/pci/msi.o CC drivers/media/video/msm/msm_mctl_buf.o CC drivers/pci/setup-bus.o CC net/ipv4/devinet.o CC drivers/media/video/msm/msm_mctl_pp.o CC drivers/media/video/msm/msm_gesture.o CC drivers/pci/setup-irq.o CC drivers/pci/syscall.o CC drivers/media/video/msm/msm_axi_qos.o CC net/ipv4/af_inet.o LD drivers/pci/built-in.o CC drivers/media/video/msm/flash.o LD drivers/pinctrl/built-in.o CC drivers/platform/msm/ssbi.o drivers/media/video/msm/flash.c: In function 'msm_camera_flash_led': drivers/media/video/msm/flash.c:251:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 251 | if (!rc) | ^~ drivers/media/video/msm/flash.c:254:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 254 | break; | ^~~~~ CC drivers/media/video/msm/msm_vpe.o CC drivers/platform/msm/sps/bam.o CC net/ipv4/igmp.o CC drivers/media/video/msm/sony_vpe.o In file included from drivers/platform/msm/sps/bam.h:21, from drivers/platform/msm/sps/bam.c:21: drivers/platform/msm/sps/bam.c: In function 'print_bam_selected_reg': drivers/platform/msm/sps/bam.c:1250:11: warning: ' BAM_DESC_CNT_TRSHLD: 0x' directive output truncated writing 24 bytes into a region of size between 0 and 17 [-Wformat-truncation=] 1250 | SPS_INFO("BAM_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1250:2: note: in expansion of macro 'SPS_INFO' 1250 | SPS_INFO("BAM_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1257:20: note: format string is defined here 1256 | "BAM_NUM_PIPES: %d\n" | ~~~ 1257 | "BAM_DESC_CNT_TRSHLD: 0x%x (%d)\n" | ~~~~~~~~~~~~~~~~~^~~~~~~ In file included from drivers/platform/msm/sps/bam.h:21, from drivers/platform/msm/sps/bam.c:21: drivers/platform/msm/sps/bam.c:1250:11: note: using the range [0, 4294967295] for directive argument 1250 | SPS_INFO("BAM_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1250:2: note: in expansion of macro 'SPS_INFO' 1250 | SPS_INFO("BAM_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1250:11: note: using the range [-2147483648, 2147483647] for directive argument 1250 | SPS_INFO("BAM_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1250:2: note: in expansion of macro 'SPS_INFO' 1250 | SPS_INFO("BAM_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1250:11: note: using the range [-2147483648, 2147483647] for directive argument 1250 | SPS_INFO("BAM_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1250:2: note: in expansion of macro 'SPS_INFO' 1250 | SPS_INFO("BAM_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/spsi.h:54:3: note: 'snprintf' output between 164 and 246 bytes into a destination of size 80 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:71:4: note: in expansion of macro 'SPS_DEBUGFS' 71 | SPS_DEBUGFS(msg, ##args); \ | ^~~~~~~~~~~ drivers/platform/msm/sps/bam.c:1250:2: note: in expansion of macro 'SPS_INFO' 1250 | SPS_INFO("BAM_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c: In function 'print_bam_pipe_selected_reg': drivers/platform/msm/sps/bam.c:1290:11: warning: ' BAM_P_IRQ_STTS: 0x' directive output truncated writing 19 bytes into a region of size between 0 and 16 [-Wformat-truncation=] 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1297:19: note: format string is defined here 1296 | "BAM_P_EE: %d\n" | ~~~ 1297 | "BAM_P_IRQ_STTS: 0x%x\n" | ~~~~~~~~~~~~~~~~^~~ In file included from drivers/platform/msm/sps/bam.h:21, from drivers/platform/msm/sps/bam.c:21: drivers/platform/msm/sps/bam.c:1290:11: note: using the range [0, 4294967295] for directive argument 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1290:11: note: using the range [0, 4294967295] for directive argument 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1290:11: note: using the range [0, 4294967295] for directive argument 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1290:11: note: using the range [-2147483648, 2147483647] for directive argument 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1290:11: note: using the range [0, 4294967295] for directive argument 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1290:11: note: using the range [-2147483648, 2147483647] for directive argument 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1290:11: note: using the range [0, 4294967295] for directive argument 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1290:11: note: using the range [0, 4294967295] for directive argument 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1290:11: note: using the range [0, 4294967295] for directive argument 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1290:11: note: using the range [-2147483648, 2147483647] for directive argument 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1290:11: note: using the range [0, 4294967295] for directive argument 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1290:11: note: using the range [-2147483648, 2147483647] for directive argument 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1290:11: note: using the range [0, 4294967295] for directive argument 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/bam.c:1290:11: note: using the range [-2147483648, 2147483647] for directive argument 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:54:30: note: in definition of macro 'SPS_DEBUGFS' 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ drivers/platform/msm/sps/spsi.h:54:3: note: 'snprintf' output between 494 and 679 bytes into a destination of size 80 54 | snprintf(buf, MAX_MSG_LEN, msg"\n", ##args); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/platform/msm/sps/spsi.h:71:4: note: in expansion of macro 'SPS_DEBUGFS' 71 | SPS_DEBUGFS(msg, ##args); \ | ^~~~~~~~~~~ drivers/platform/msm/sps/bam.c:1290:2: note: in expansion of macro 'SPS_INFO' 1290 | SPS_INFO("BAM_P_CTRL: 0x%x\n" | ^~~~~~~~ LD drivers/media/video/msm/built-in.o CC drivers/media/video/msm_wfd/wfd-ioctl.o CC net/ipv4/fib_frontend.o CC drivers/media/video/msm_wfd/wfd-util.o CC drivers/platform/msm/sps/sps_bam.o CC drivers/media/video/msm_wfd/vsg-subdev.o CC net/ipv4/fib_semantics.o CC drivers/media/video/msm_wfd/mdp-4-subdev.o CC drivers/media/video/msm_wfd/enc-mfc-subdev.o CC net/ipv4/fib_trie.o CC drivers/platform/msm/sps/sps.o LD drivers/media/video/msm_wfd/built-in.o LD drivers/media/video/videodev.o LD drivers/media/video/built-in.o LD drivers/media/media.o LD drivers/media/built-in.o CC net/ipv6/af_inet6.o CC net/ipv4/inet_fragment.o CC net/ipv4/ping.o CC drivers/platform/msm/sps/sps_dma.o CC net/ipv6/anycast.o CC drivers/platform/msm/sps/sps_map.o CC drivers/platform/msm/sps/sps_mem.o CC net/ipv4/sysctl_net_ipv4.o CC net/ipv6/ip6_output.o CC drivers/platform/msm/sps/sps_rm.o CC net/ipv4/sysfs_net_ipv4.o LD drivers/platform/msm/sps/built-in.o CC drivers/platform/msm/avtimer.o In file included from drivers/platform/msm/avtimer.c:23: arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:154:12: warning: inline function 'apr_fill_hdr' declared but never defined 154 | inline int apr_fill_hdr(void *handle, uint32_t *buf, uint16_t src_port, | ^~~~~~~~~~~~ CC drivers/platform/msm/mpmtime.o CC net/ipv4/proc.o LD drivers/platform/msm/built-in.o LD drivers/platform/built-in.o CC drivers/power/power_supply_core.o CC net/ipv4/fib_rules.o CC drivers/power/power_supply_sysfs.o CC net/ipv6/ip6_input.o CC drivers/power/power_supply_leds.o CC drivers/power/isl9519q.o CC net/ipv6/addrconf.o CC net/ipv4/ah4.o CC drivers/power/pm8xxx-ccadc.o CC net/ipv4/esp4.o CC drivers/power/pm8921-bms.o CC net/ipv4/ipcomp.o CC net/ipv4/xfrm4_tunnel.o CC net/ipv4/xfrm4_mode_beet.o CC net/ipv6/addrlabel.o CC drivers/power/pm8921-charger.o CC net/ipv4/tunnel4.o CC net/ipv6/route.o drivers/power/pm8921-charger.c: In function 'btc_override_worker': drivers/power/pm8921-charger.c:4383:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4383 | if (decidegc < chip->btc_override_hot_decidegc - | ^~ drivers/power/pm8921-charger.c:4387:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4387 | if (rc) | ^~ drivers/power/pm8921-charger.c:4390:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4390 | if (decidegc >= chip->btc_override_hot_decidegc) | ^~ drivers/power/pm8921-charger.c:4393:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4393 | if (rc && chip->btc_panic_if_cant_stop_chg) | ^~ drivers/power/pm8921-charger.c:4399:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4399 | if (decidegc > chip->btc_override_cold_decidegc + | ^~ drivers/power/pm8921-charger.c:4403:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4403 | if (rc) | ^~ drivers/power/pm8921-charger.c:4406:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4406 | if (decidegc <= chip->btc_override_cold_decidegc) | ^~ drivers/power/pm8921-charger.c:4409:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4409 | if (rc && chip->btc_panic_if_cant_stop_chg) | ^~ CC net/ipv4/xfrm4_mode_transport.o CC net/ipv4/xfrm4_mode_tunnel.o CC net/ipv4/ipconfig.o CC net/ipv6/ip6_fib.o CC net/ipv4/netfilter.o LD drivers/power/power_supply.o LD drivers/power/built-in.o CC drivers/regulator/core.o CC net/ipv6/ipv6_sockglue.o CC net/ipv4/netfilter/nf_nat_rule.o CC net/ipv4/netfilter/nf_nat_standalone.o CC net/ipv6/ndisc.o net/ipv6/ndisc.c: In function 'ndisc_router_discovery': net/ipv6/ndisc.c:1356: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] 1356 | struct route_info *ri = (struct route_info *)p; | ^~~~~~~~~~ In file included from include/net/ipv6.h:19, from net/ipv6/ndisc.c:76: include/net/ndisc.h:77:8: note: defined here 77 | struct nd_opt_hdr { | ^~~~~~~~~~ In file included from net/ipv6/ndisc.c:79: include/net/ip6_route.h:7:8: note: defined here 7 | struct route_info { | ^~~~~~~~~~ CC net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.o CC drivers/regulator/dummy.o CC drivers/regulator/fixed-helper.o CC net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o CC drivers/regulator/msm-gpio-regulator.o CC net/ipv6/udp.o CC drivers/regulator/pm8xxx-regulator.o drivers/regulator/pm8xxx-regulator.c:2558:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 2558 | static const char const *pm8xxx_print_actions[] = { | ^~~~~ CC net/ipv4/netfilter/nf_conntrack_proto_icmp.o CC net/ipv4/netfilter/nf_nat_core.o LD drivers/regulator/built-in.o CC drivers/rtc/rtc-lib.o CC net/ipv6/udplite.o CC drivers/rtc/hctosys.o CC net/ipv6/raw.o CC drivers/rtc/class.o CC net/ipv4/netfilter/nf_nat_helper.o CC drivers/rtc/interface.o CC drivers/rtc/rtc-dev.o CC net/ipv4/netfilter/nf_nat_proto_unknown.o CC net/ipv6/protocol.o CC drivers/rtc/rtc-proc.o CC net/ipv4/netfilter/nf_nat_proto_common.o CC net/ipv6/icmp.o CC drivers/rtc/rtc-sysfs.o CC drivers/rtc/alarm.o CC net/ipv4/netfilter/nf_nat_proto_tcp.o CC net/ipv4/netfilter/nf_nat_proto_udp.o CC net/ipv6/mcast.o CC drivers/rtc/alarm-dev.o CC drivers/rtc/rtc-pm8xxx.o CC net/ipv4/netfilter/nf_nat_proto_icmp.o CC net/ipv4/netfilter/nf_defrag_ipv4.o LD drivers/rtc/rtc-core.o LD drivers/rtc/built-in.o CC drivers/scsi/scsi.o CC net/ipv4/netfilter/nf_nat_amanda.o CC net/ipv6/reassembly.o CC net/ipv4/netfilter/nf_nat_ftp.o CC drivers/scsi/hosts.o CC net/ipv4/netfilter/nf_nat_h323.o CC drivers/scsi/scsi_ioctl.o CC net/ipv6/tcp_ipv6.o CC drivers/scsi/constants.o CC net/ipv4/netfilter/nf_nat_irc.o CC drivers/scsi/scsicam.o CC net/ipv4/netfilter/nf_nat_pptp.o CC net/ipv6/ping.o CC net/ipv4/netfilter/nf_nat_sip.o CC drivers/scsi/scsi_error.o CC net/ipv6/exthdrs.o CC net/ipv4/netfilter/nf_nat_tftp.o net/ipv6/exthdrs.c: In function 'ipv6_dest_hao': net/ipv6/exthdrs.c:222:23: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] 222 | if (!(ipv6_addr_type(&hao->addr) & IPV6_ADDR_UNICAST)) { | ^~~~~~~~~~ net/ipv6/exthdrs.c:229:29: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] 229 | (xfrm_address_t *)&hao->addr, IPPROTO_DSTOPTS); | ^~~~~~~~~~ CC drivers/scsi/scsi_lib.o CC net/ipv4/netfilter/nf_nat_proto_dccp.o CC net/ipv4/netfilter/nf_nat_proto_gre.o CC net/ipv6/datagram.o CC net/ipv4/netfilter/nf_nat_proto_udplite.o CC drivers/scsi/scsi_lib_dma.o CC net/ipv6/ip6_flowlabel.o CC net/ipv4/netfilter/nf_nat_proto_sctp.o CC drivers/scsi/scsi_scan.o CC net/ipv4/netfilter/ip_tables.o CC net/ipv6/inet6_connection_sock.o CC drivers/scsi/scsi_sysfs.o CC net/ipv4/netfilter/iptable_filter.o CC net/ipv6/sysctl_net_ipv6.o CC net/ipv4/netfilter/iptable_mangle.o CC drivers/scsi/scsi_devinfo.o CC net/ipv6/xfrm6_policy.o LD net/ipv4/netfilter/iptable_nat.o net/ipv6/xfrm6_policy.c: In function '_decode_session6': net/ipv6/xfrm6_policy.c:161: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] 161 | __be16 *ports = (__be16 *)exthdr; | ^~~~~~ In file included from include/net/if_inet6.h:19, from include/net/addrconf.h:46, from net/ipv6/xfrm6_policy.c:17: include/linux/ipv6.h:55:8: note: defined here 55 | struct ipv6_opt_hdr { | ^~~~~~~~~~~~ CC net/ipv4/netfilter/iptable_raw.o drivers/scsi/scsi_devinfo.c: In function 'scsi_dev_info_list_add_str': drivers/scsi/scsi_devinfo.c:511:4: warning: '%s' directive argument is null [-Wformat-overflow=] 511 | printk(KERN_ERR "%s: bad dev info string '%s' '%s'" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 512 | " '%s'\n", __func__, vendor, model, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 513 | strflags); | ~~~~~~~~~ drivers/scsi/scsi_devinfo.c:512:14: note: format string is defined here 512 | " '%s'\n", __func__, vendor, model, | ^~ CC net/ipv6/xfrm6_state.o CC drivers/scsi/scsi_sysctl.o CC net/ipv4/netfilter/iptable_security.o CC drivers/scsi/scsi_proc.o CC net/ipv6/xfrm6_input.o CC net/ipv4/netfilter/ipt_ah.o CC drivers/scsi/scsi_trace.o CC net/ipv6/xfrm6_output.o CC net/ipv4/netfilter/ipt_MASQUERADE.o CC drivers/scsi/scsi_pm.o CC net/ipv6/netfilter.o CC net/ipv4/netfilter/ipt_NETMAP.o CC drivers/scsi/scsi_tgt_lib.o CC net/ipv4/netfilter/ipt_REDIRECT.o CC drivers/scsi/scsi_tgt_if.o CC net/ipv6/fib6_rules.o CC net/ipv4/netfilter/ipt_REJECT.o CC net/ipv6/proc.o CC drivers/scsi/sd.o CC net/ipv4/netfilter/arp_tables.o CC net/ipv6/ah6.o CC net/ipv6/esp6.o CC net/ipv4/netfilter/arpt_mangle.o LD drivers/scsi/arm/built-in.o LD drivers/scsi/sd_mod.o CC [M] drivers/scsi/scsi_wait_scan.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/scsi/scsi_wait_scan.c:13: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'wait_scan_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/init.h:291:28: note: in expansion of macro 'module_init' 291 | #define late_initcall(fn) module_init(fn) | ^~~~~~~~~~~ drivers/scsi/scsi_wait_scan.c:41:1: note: in expansion of macro 'late_initcall' 41 | late_initcall(wait_scan_init); | ^~~~~~~~~~~~~ drivers/scsi/scsi_wait_scan.c:17:19: note: 'init_module' target declared here 17 | static int __init wait_scan_init(void) | ^~~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/scsi/scsi_wait_scan.c:13: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'wait_scan_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/scsi/scsi_wait_scan.c:42:1: note: in expansion of macro 'module_exit' 42 | module_exit(wait_scan_exit); | ^~~~~~~~~~~ drivers/scsi/scsi_wait_scan.c:33:20: note: 'cleanup_module' target declared here 33 | static void __exit wait_scan_exit(void) | ^~~~~~~~~~~~~~ CC net/ipv4/netfilter/arptable_filter.o LD drivers/scsi/scsi_mod.o LD drivers/scsi/scsi_tgt.o LD drivers/scsi/built-in.o CC drivers/slimbus/slimbus.o CC net/ipv6/ipcomp6.o drivers/slimbus/slimbus.c: In function 'slim_change_existing_chans': drivers/slimbus/slimbus.c:2514:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2514 | if (slc->state == SLIM_CH_ACTIVE || | ^~ drivers/slimbus/slimbus.c:2517:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2517 | slc->interval = slc->newintr; | ^~~ LD net/ipv4/netfilter/nf_conntrack_ipv4.o LD net/ipv4/netfilter/nf_nat.o LD net/ipv4/netfilter/built-in.o CC net/ipv4/inet_diag.o CC net/ipv6/xfrm6_tunnel.o CC net/ipv6/tunnel6.o CC drivers/slimbus/slim-msm-ctrl.o CC net/ipv4/tcp_diag.o CC net/ipv6/xfrm6_mode_transport.o CC net/ipv4/tcp_cubic.o CC net/ipv6/xfrm6_mode_tunnel.o CC net/ipv6/xfrm6_mode_beet.o CC net/ipv4/xfrm4_policy.o LD drivers/slimbus/built-in.o CC drivers/spi/spi.o CC net/ipv6/mip6.o CC net/ipv4/xfrm4_state.o CC drivers/spi/spi_qsd.o net/ipv6/mip6.c: In function 'mip6_destopt_reject': net/ipv6/mip6.c:232:13: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] 232 | hao ? &hao->addr : &ipv6_hdr(skb)->saddr, | ^~~~~~~~~~ net/ipv6/mip6.c:254:29: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] 254 | (hao ? (xfrm_address_t *)&hao->addr : NULL)); | ^~~~~~~~~~ CC net/ipv6/netfilter/ip6_tables.o CC net/ipv4/xfrm4_input.o CC net/ipv4/xfrm4_output.o CC net/ipv6/netfilter/ip6table_filter.o CC [M] drivers/spi/spidev.o LD net/ipv4/built-in.o In file included from drivers/spi/spidev.c:23: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'spidev_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ drivers/spi/spidev.c:759:1: note: in expansion of macro 'module_init' 759 | module_init(spidev_init); | ^~~~~~~~~~~ drivers/spi/spidev.c:700:19: note: 'init_module' target declared here 700 | static int __init spidev_init(void) | ^~~~~~~~~~~ In file included from drivers/spi/spidev.c:23: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'spidev_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/spi/spidev.c:771:1: note: in expansion of macro 'module_exit' 771 | module_exit(spidev_exit); | ^~~~~~~~~~~ drivers/spi/spidev.c:761:20: note: 'cleanup_module' target declared here 761 | static void __exit spidev_exit(void) | ^~~~~~~~~~~ CC net/key/af_key.o CC net/ipv6/netfilter/ip6table_mangle.o LD drivers/spi/built-in.o CC drivers/staging/staging.o CC drivers/staging/android/binder.o CC net/ipv6/netfilter/ip6table_raw.o CC net/ipv6/netfilter/ip6table_security.o CC net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.o LD net/key/built-in.o CC net/ipv6/sit.o CC net/ipv6/netfilter/nf_conntrack_proto_icmpv6.o CC net/ipv6/netfilter/nf_defrag_ipv6_hooks.o CC net/ipv6/addrconf_core.o CC net/ipv6/netfilter/nf_conntrack_reasm.o CC net/ipv6/exthdrs_core.o CC net/ipv6/netfilter/ip6t_REJECT.o CC drivers/staging/android/ashmem.o CC net/ipv6/inet6_hashtables.o LD net/ipv6/netfilter/nf_conntrack_ipv6.o LD net/ipv6/netfilter/nf_defrag_ipv6.o LD net/ipv6/netfilter/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 AS arch/arm/lib/call_with_stack.o AS arch/arm/lib/changebit.o CC drivers/staging/android/persistent_ram.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 AS arch/arm/lib/csumpartial.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/staging/android/ram_console.o LD net/ipv6/ipv6.o AS arch/arm/lib/div64.o LD net/ipv6/built-in.o AS arch/arm/lib/findbit.o CC net/llc/llc_core.o AS arch/arm/lib/getuser.o AS arch/arm/lib/io-readsb.o AS arch/arm/lib/io-readsl.o CC drivers/staging/android/timed_output.o AS arch/arm/lib/io-readsw-armv4.o AS arch/arm/lib/io-writesb.o AS arch/arm/lib/io-writesl.o AS arch/arm/lib/io-writesw-armv4.o AS arch/arm/lib/lib1funcs.o AS arch/arm/lib/lshrdi3.o CC drivers/staging/android/timed_gpio.o AS arch/arm/lib/memchr.o AS arch/arm/lib/memcpy.o AS arch/arm/lib/memmove.o CC net/llc/llc_input.o AS arch/arm/lib/memset.o AS arch/arm/lib/memzero.o CC drivers/staging/android/lowmemorykiller.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/strncpy_from_user.o AS arch/arm/lib/strnlen_user.o AS arch/arm/lib/strrchr.o AS arch/arm/lib/testchangebit.o LD drivers/staging/android/built-in.o AS arch/arm/lib/testclearbit.o CC drivers/staging/iio/industrialio-core.o CC net/llc/llc_output.o AS arch/arm/lib/testsetbit.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 LD net/llc/llc.o LD net/llc/built-in.o CC net/netfilter/core.o CC drivers/staging/iio/industrialio-event.o CC lib/parser.o CC lib/halfmd4.o CC drivers/staging/iio/inkern.o CC net/netfilter/nf_log.o CC lib/debug_locks.o CC lib/random32.o CC drivers/staging/iio/industrialio-buffer.o CC lib/bust_spinlocks.o CC net/netfilter/nf_queue.o CC lib/hexdump.o CC lib/kasprintf.o CC drivers/staging/iio/industrialio-trigger.o CC lib/bitmap.o CC net/netfilter/nf_sockopt.o CC drivers/staging/iio/kfifo_buf.o CC lib/scatterlist.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 net/netfilter/nf_conntrack_core.o LD drivers/staging/iio/dac/built-in.o LD drivers/staging/iio/dds/built-in.o LD drivers/staging/iio/gyro/built-in.o CC lib/string_helpers.o LD drivers/staging/iio/impedance-analyzer/built-in.o CC drivers/staging/iio/imu/inv_mpu/inv_mpu_core.o CC lib/gcd.o CC lib/lcm.o CC lib/list_sort.o CC lib/uuid.o CC lib/flex_array.o CC drivers/staging/iio/imu/inv_mpu/inv_mpu_ring.o CC lib/bsearch.o CC lib/find_last_bit.o CC lib/find_next_bit.o CC net/netfilter/nf_conntrack_standalone.o CC lib/llist.o CC drivers/staging/iio/imu/inv_mpu/inv_mpu_trigger.o CC lib/kstrtox.o CC drivers/staging/iio/imu/inv_mpu/inv_mpu_misc.o CC lib/pci_iomap.o CC net/netfilter/nf_conntrack_expect.o CC lib/iomap_copy.o CC lib/devres.o CC drivers/staging/iio/imu/inv_mpu/inv_mpu3050_iio.o CC net/netfilter/nf_conntrack_helper.o CC lib/hweight.o CC lib/bitrev.o CC drivers/staging/iio/imu/inv_mpu/dmpDefaultMPU6050.o CC lib/crc-ccitt.o CC lib/crc16.o CC drivers/staging/iio/imu/inv_mpu/inv_slave_bma250.o CC net/netfilter/nf_conntrack_proto.o HOSTCC lib/gen_crc32table CC lib/libcrc32c.o LD drivers/staging/iio/imu/inv_mpu/inv-mpu-iio.o LD drivers/staging/iio/imu/inv_mpu/built-in.o LD drivers/staging/iio/imu/built-in.o LD drivers/staging/iio/inv_test/built-in.o LD drivers/staging/iio/light/built-in.o CC drivers/staging/iio/magnetometer/inv_compass/inv_ak89xx_core.o CC lib/genalloc.o CC net/netfilter/nf_conntrack_l3proto_generic.o CC lib/lzo/lzo1x_compress.o CC drivers/staging/iio/magnetometer/inv_compass/inv_ak89xx_ring.o CC net/netfilter/nf_conntrack_proto_generic.o CC lib/lzo/lzo1x_decompress.o CC drivers/staging/iio/magnetometer/inv_compass/inv_ak89xx_trigger.o LD lib/lzo/lzo_compress.o LD lib/lzo/lzo_decompress.o LD lib/lzo/built-in.o CC lib/reed_solomon/reed_solomon.o CC net/netfilter/nf_conntrack_proto_tcp.o LD drivers/staging/iio/magnetometer/inv_compass/inv-ak89xx-iio.o LD drivers/staging/iio/magnetometer/inv_compass/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 drivers/staging/iio/trigger/built-in.o LD drivers/staging/iio/industrialio.o LD drivers/staging/iio/built-in.o LD drivers/staging/media/built-in.o CC drivers/staging/qcache/qcache-main.o LD lib/reed_solomon/built-in.o CC lib/xz/xz_dec_syms.o CC lib/xz/xz_dec_stream.o CC net/netfilter/nf_conntrack_proto_udp.o CC lib/xz/xz_dec_lzma2.o CC drivers/staging/qcache/tmem.o CC net/netfilter/nf_conntrack_extend.o CC drivers/staging/qcache/fmem.o CC lib/xz/xz_dec_bcj.o LD drivers/staging/qcache/qcache.o LD drivers/staging/qcache/built-in.o LD drivers/staging/serial/built-in.o LD drivers/staging/built-in.o LD lib/xz/xz_dec.o CC drivers/switch/switch_class.o LD lib/xz/built-in.o CC lib/zlib_deflate/deflate.o CC net/netfilter/nf_conntrack_acct.o LD drivers/switch/built-in.o CC drivers/thermal/thermal_sys.o CC lib/zlib_deflate/deftree.o CC net/netfilter/nf_conntrack_ecache.o CC lib/zlib_deflate/deflate_syms.o CC net/netfilter/nf_conntrack_h323_main.o LD lib/zlib_deflate/zlib_deflate.o LD lib/zlib_deflate/built-in.o CC drivers/thermal/msm8960_tsens.o CC lib/zlib_inflate/inffast.o CC lib/zlib_inflate/inflate.o CC lib/zlib_inflate/infutil.o CC drivers/thermal/pm8xxx-tm.o CC lib/zlib_inflate/inftrees.o CC lib/zlib_inflate/inflate_syms.o CC net/netfilter/nf_conntrack_h323_asn1.o LD lib/zlib_inflate/zlib_inflate.o LD lib/zlib_inflate/built-in.o CC lib/textsearch.o CC drivers/thermal/msm_thermal.o CC net/netfilter/nfnetlink.o CC lib/ts_kmp.o LD drivers/thermal/built-in.o CC drivers/tty/tty_io.o CC lib/ts_bm.o CC net/netfilter/nfnetlink_queue.o CC lib/ts_fsm.o net/netfilter/nfnetlink_queue.c: In function 'nfqnl_build_packet_message': net/netfilter/nfnetlink_queue.c:286:20: warning: taking address of packed member of 'struct nfqnl_msg_packet_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 286 | *packet_id_ptr = &pmsg->packet_id; | ^~~~~~~~~~~~~~~~ CC lib/percpu_counter.o CC net/netfilter/nfnetlink_log.o CC lib/audit.o CC lib/dynamic_debug.o CC drivers/tty/n_tty.o LD net/netfilter/nf_conntrack.o CC net/netfilter/nf_conntrack_proto_dccp.o CC lib/nlattr.o CC net/netfilter/nf_conntrack_proto_gre.o CC lib/cpu_rmap.o CC drivers/tty/tty_ioctl.o CC lib/dynamic_queue_limits.o CC lib/argv_split.o CC net/netfilter/nf_conntrack_proto_sctp.o CC drivers/tty/tty_ldisc.o CC lib/bug.o CC lib/cmdline.o CC lib/cpumask.o CC net/netfilter/nf_conntrack_proto_udplite.o CC lib/ctype.o CC lib/dec_and_lock.o CC drivers/tty/tty_buffer.o CC lib/decompress.o CC lib/decompress_bunzip2.o CC net/netfilter/nf_conntrack_netlink.o CC drivers/tty/tty_port.o CC lib/decompress_inflate.o CC lib/decompress_unlzma.o CC drivers/tty/tty_mutex.o CC drivers/tty/pty.o CC lib/dump_stack.o CC lib/extable.o CC lib/idr.o CC net/netfilter/nf_conntrack_amanda.o CC drivers/tty/tty_audit.o CC lib/int_sqrt.o CC lib/ioremap.o CC drivers/tty/sysrq.o CC net/netfilter/nf_conntrack_ftp.o CC lib/irq_regs.o CC lib/is_single_threaded.o CC drivers/tty/n_smux.o CC lib/klist.o LD net/netfilter/nf_conntrack_h323.o CC net/netfilter/nf_conntrack_irc.o CC lib/kobject.o CC lib/kobject_uevent.o drivers/tty/n_smux.c: In function 'msm_smux_write': drivers/tty/n_smux.c:3352:3: warning: 'pkt' may be used uninitialized in this function [-Wmaybe-uninitialized] 3352 | smux_free_pkt(pkt); | ^~~~~~~~~~~~~~~~~~ CC net/netfilter/nf_conntrack_broadcast.o CC lib/md5.o CC lib/memory_alloc.o CC net/netfilter/nf_conntrack_netbios_ns.o CC drivers/tty/smux_debug.o CC drivers/tty/smux_test.o CC net/netfilter/nf_conntrack_pptp.o CC lib/plist.o CC lib/prio_heap.o CC lib/prio_tree.o CC lib/proportions.o CC net/netfilter/nf_conntrack_sane.o CC lib/radix-tree.o CC drivers/tty/smux_loopback.o CC net/netfilter/nf_conntrack_sip.o CC drivers/tty/smux_ctl.o CC lib/ratelimit.o CC lib/rbtree.o LD drivers/tty/ipwireless/built-in.o CC drivers/tty/serial/serial_core.o CC lib/reciprocal_div.o CC lib/rwsem-spinlock.o CC net/netfilter/nf_conntrack_tftp.o CC lib/sha1.o CC net/netfilter/nf_tproxy_core.o CC lib/show_mem.o CC drivers/tty/serial/msm_serial_hs.o CC net/netfilter/x_tables.o CC lib/string.o CC lib/timerqueue.o CC lib/vsprintf.o CC net/netfilter/xt_tcpudp.o CC drivers/tty/serial/msm_serial_hs_lite.o CC net/netfilter/xt_mark.o GEN lib/crc32table.h AR lib/lib.a CC lib/crc32.o CC net/netfilter/xt_connmark.o CC net/netfilter/xt_CLASSIFY.o LD lib/built-in.o LD drivers/tty/serial/built-in.o CC drivers/uio/uio.o CC drivers/tty/vt/vt_ioctl.o CC net/netfilter/xt_CONNSECMARK.o CC net/netfilter/xt_LOG.o CC drivers/uio/msm_sharedmem.o CC drivers/tty/vt/vc_screen.o LD drivers/uio/built-in.o CC drivers/usb/core/usb.o CC net/netfilter/xt_NFQUEUE.o CC drivers/tty/vt/selection.o drivers/usb/core/usb.c: In function 'usb_alloc_dev': drivers/usb/core/usb.c:432: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=] 432 | "%s.%d", parent->devpath, port1); | ^~ drivers/usb/core/usb.c:432:5: note: using the range [-2147483648, 2147483647] for directive argument 432 | "%s.%d", parent->devpath, port1); | ^~~~~~~ drivers/usb/core/usb.c:431:4: note: 'snprintf' output between 3 and 28 bytes into a destination of size 16 431 | snprintf(dev->devpath, sizeof dev->devpath, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 432 | "%s.%d", parent->devpath, port1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/usb/core/hub.o CC net/netfilter/xt_NOTRACK.o CC drivers/tty/vt/keyboard.o CC net/netfilter/xt_SECMARK.o CC net/netfilter/xt_TCPMSS.o CC drivers/tty/vt/consolemap.o CC net/netfilter/xt_IDLETIMER.o CC drivers/usb/core/hcd.o CONMK drivers/tty/vt/consolemap_deftbl.c CC drivers/tty/vt/vt.o CC net/netfilter/xt_comment.o drivers/usb/core/hcd.c: In function 'rh_string': drivers/usb/core/hcd.c:426:34: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size between 35 and 99 [-Wformat-truncation=] 426 | snprintf (buf, sizeof buf, "%s %s %s", init_utsname()->sysname, | ^~ 427 | init_utsname()->release, hcd->driver->description); | ~~~~~~~~~~~~~~~~~~~~~~~ drivers/usb/core/hcd.c:426:3: note: 'snprintf' output 3 or more bytes (assuming 131) into a destination of size 100 426 | snprintf (buf, sizeof buf, "%s %s %s", init_utsname()->sysname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 427 | init_utsname()->release, hcd->driver->description); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC net/netfilter/xt_connlimit.o CC drivers/usb/core/urb.o CC net/netfilter/xt_conntrack.o CC drivers/usb/core/message.o CC net/netfilter/xt_dscp.o CC net/netfilter/xt_ecn.o SHIPPED drivers/tty/vt/defkeymap.c CC drivers/tty/vt/consolemap_deftbl.o CC drivers/tty/vt/defkeymap.o LD drivers/tty/vt/built-in.o LD drivers/tty/built-in.o CC drivers/video/fb_notify.o CC drivers/usb/core/driver.o CC net/netfilter/xt_hashlimit.o CC drivers/video/fbmem.o CC drivers/usb/core/config.o CC net/netfilter/xt_helper.o CC drivers/video/fbmon.o CC net/netfilter/xt_hl.o CC drivers/usb/core/file.o CC drivers/video/fbcmap.o CC net/netfilter/xt_iprange.o CC drivers/usb/core/buffer.o CC drivers/video/fbsysfs.o CC net/netfilter/xt_length.o CC drivers/usb/core/sysfs.o CC net/netfilter/xt_limit.o CC drivers/video/modedb.o CC drivers/usb/core/endpoint.o CC drivers/usb/core/devio.o CC net/netfilter/xt_mac.o drivers/usb/core/devio.c: In function 'proc_do_submiturb': drivers/usb/core/devio.c:1169:43: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | if (uurb->buffer_length < (le16_to_cpup(&dr->wLength) + 8)) { | ^~~~~~~~~~~~ drivers/usb/core/devio.c:1174:24: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1174 | le16_to_cpup(&dr->wIndex)); | ^~~~~~~~~~~ drivers/usb/core/devio.c:1178:38: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1178 | uurb->buffer_length = le16_to_cpup(&dr->wLength); | ^~~~~~~~~~~~ In file included from include/linux/usb.h:18, from drivers/usb/core/devio.c:43: drivers/usb/core/devio.c:1191:19: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1191 | __le16_to_cpup(&dr->wValue), | ^~~~~~~~~~~ include/linux/device.h:950:58: note: in definition of macro 'dev_info' 950 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) | ^~~ drivers/usb/core/devio.c:1187:3: note: in expansion of macro 'snoop' 1187 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ drivers/usb/core/devio.c:1192:19: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1192 | __le16_to_cpup(&dr->wIndex), | ^~~~~~~~~~~ include/linux/device.h:950:58: note: in definition of macro 'dev_info' 950 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) | ^~~ drivers/usb/core/devio.c:1187:3: note: in expansion of macro 'snoop' 1187 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ drivers/usb/core/devio.c:1193:19: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1193 | __le16_to_cpup(&dr->wLength)); | ^~~~~~~~~~~~ include/linux/device.h:950:58: note: in definition of macro 'dev_info' 950 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) | ^~~ drivers/usb/core/devio.c:1187:3: note: in expansion of macro 'snoop' 1187 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ CC drivers/video/fbcvt.o CC net/netfilter/xt_multiport.o CC drivers/video/backlight/backlight.o CC drivers/usb/core/notify.o CC net/netfilter/xt_pkttype.o CC drivers/video/backlight/generic_bl.o CC drivers/usb/core/generic.o CC net/netfilter/xt_policy.o CC [M] drivers/video/backlight/lcd.o CC drivers/usb/core/quirks.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/video/backlight/lcd.c:8: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'lcd_class_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/init.h:286:32: note: in expansion of macro 'module_init' 286 | #define postcore_initcall(fn) module_init(fn) | ^~~~~~~~~~~ drivers/video/backlight/lcd.c:269:1: note: in expansion of macro 'postcore_initcall' 269 | postcore_initcall(lcd_class_init); | ^~~~~~~~~~~~~~~~~ drivers/video/backlight/lcd.c:252:19: note: 'init_module' target declared here 252 | static int __init lcd_class_init(void) | ^~~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from drivers/video/backlight/lcd.c:8: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'lcd_class_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/video/backlight/lcd.c:270:1: note: in expansion of macro 'module_exit' 270 | module_exit(lcd_class_exit); | ^~~~~~~~~~~ drivers/video/backlight/lcd.c:247:20: note: 'cleanup_module' target declared here 247 | static void __exit lcd_class_exit(void) | ^~~~~~~~~~~~~~ CC drivers/usb/core/devices.o LD drivers/video/backlight/built-in.o CC net/netfilter/xt_qtaguid_print.o CC drivers/video/console/dummycon.o LD drivers/video/console/built-in.o CC drivers/usb/core/hcd-pci.o CC drivers/video/msm/msm_fb.o CC net/netfilter/xt_qtaguid.o drivers/video/msm/msm_fb.c: In function 'msm_fb_detect_client': drivers/video/msm/msm_fb.c:237:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 237 | if (!strncmp((char *)msm_fb_pdata->prim_panel_name, | ^~ drivers/video/msm/msm_fb.c:240:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 240 | hdmi_prim_resolution = | ^~~~~~~~~~~~~~~~~~~~ LD drivers/usb/core/usbcore.o LD drivers/usb/core/built-in.o CC drivers/usb/gadget/udc-core.o CC drivers/usb/gadget/ci13xxx_msm.o CC drivers/video/msm/mdp.o CC net/netfilter/xt_quota.o CC net/netfilter/xt_quota2.o CC net/netfilter/xt_socket.o CC drivers/video/msm/mdp_debugfs.o CC drivers/usb/gadget/ether.o In file included from drivers/usb/gadget/ether.c:105: drivers/usb/gadget/composite.c: In function 'bos_desc': drivers/usb/gadget/composite.c:520:15: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 520 | le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE); | ^~~~~~~~~~~~~~~~~~ drivers/usb/gadget/composite.c:532:15: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 532 | le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE); | ^~~~~~~~~~~~~~~~~~ drivers/usb/gadget/composite.c: In function 'get_string': drivers/usb/gadget/composite.c:902:23: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 902 | collect_langs(sp, s->wData); | ~^~~~~~~ drivers/usb/gadget/composite.c:907:24: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 907 | collect_langs(sp, s->wData); | ~^~~~~~~ drivers/usb/gadget/composite.c:912:25: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 912 | collect_langs(sp, s->wData); | ~^~~~~~~ In file included from drivers/usb/gadget/ether.c:117: drivers/usb/gadget/u_ether.c: In function 'alloc_tx_buffer': drivers/usb/gadget/u_ether.c:602:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 602 | if (!req->buf) | ^~ drivers/usb/gadget/u_ether.c:605:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 605 | if (!req->buf) | ^~ CC net/netfilter/xt_state.o CC drivers/video/msm/mdp4_util.o CC net/netfilter/xt_statistic.o drivers/video/msm/mdp4_util.c: In function 'mdp4_mixer_blend_init': drivers/video/msm/mdp4_util.c:1321:6: warning: type of 'mixer_num' defaults to 'int' [-Wimplicit-int] 1321 | void mdp4_mixer_blend_init(mixer_num) | ^~~~~~~~~~~~~~~~~~~~~ CC net/netfilter/xt_string.o CC net/netfilter/xt_time.o In file included from drivers/usb/gadget/ether.c:105: drivers/usb/gadget/composite.c: In function 'composite_bind': drivers/usb/gadget/composite.c:1500:7: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size 50 [-Wformat-truncation=] 1500 | "%s %s with %s", | ^~ 1501 | init_utsname()->sysname, | ~~~~~~~~~~~~~~~~~~~~~~~ drivers/usb/gadget/composite.c:1498:4: note: 'snprintf' output 8 or more bytes (assuming 136) into a destination of size 50 1498 | snprintf(composite_manufacturer, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1499 | sizeof composite_manufacturer, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1500 | "%s %s with %s", | ~~~~~~~~~~~~~~~~ 1501 | init_utsname()->sysname, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1502 | init_utsname()->release, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1503 | gadget->name); | ~~~~~~~~~~~~~ CC net/netfilter/xt_u32.o CC drivers/video/msm/mdp4_overlay.o drivers/usb/gadget/ether.c: In function 'eth_bind': drivers/usb/gadget/ether.c:348:47: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size 50 [-Wformat-truncation=] 348 | snprintf(manufacturer, sizeof manufacturer, "%s %s with %s", | ^~ 349 | init_utsname()->sysname, init_utsname()->release, | ~~~~~~~~~~~~~~~~~~~~~~~ drivers/usb/gadget/ether.c:348:2: note: 'snprintf' output 8 or more bytes (assuming 136) into a destination of size 50 348 | snprintf(manufacturer, sizeof manufacturer, "%s %s with %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | init_utsname()->sysname, init_utsname()->release, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 350 | gadget->name); | ~~~~~~~~~~~~~ LD net/netfilter/netfilter.o LD net/netfilter/built-in.o CC net/netlink/af_netlink.o LD drivers/usb/gadget/g_ether.o LD drivers/usb/gadget/built-in.o CC drivers/usb/host/pci-quirks.o CC drivers/usb/host/ehci-hcd.o CC net/netlink/genetlink.o CC drivers/video/msm/mdp4_overlay_lcdc.o CC drivers/video/msm/mdp4_overlay_dsi_video.o LD net/netlink/built-in.o CC net/packet/af_packet.o net/packet/af_packet.c: In function 'packet_set_ring': net/packet/af_packet.c:3661:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3661 | if (!tx_ring) | ^~ net/packet/af_packet.c:3663:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3663 | break; | ^~~~~ CC drivers/video/msm/mdp4_overlay_dsi_cmd.o CC drivers/video/msm/mdp4_dtv.o LD net/packet/built-in.o CC net/rfkill/core.o CC drivers/video/msm/mdp4_overlay_dtv.o LD net/rfkill/rfkill.o LD net/rfkill/built-in.o CC net/sched/sch_generic.o CC drivers/video/msm/mdp_dma.o CC drivers/usb/host/host_ext_event.o drivers/usb/host/host_ext_event.c: In function 'host_send_uevent': drivers/usb/host/host_ext_event.c:67:49: warning: '%s' directive output may be truncated writing up to 32 bytes into a region of size 25 [-Wformat-truncation=] 67 | snprintf(module, MAX_MODULE_NAME_SIZE, "MODULE=%s", dev->name); | ^~ drivers/usb/host/host_ext_event.c:67:2: note: 'snprintf' output between 8 and 40 bytes into a destination of size 32 67 | snprintf(module, MAX_MODULE_NAME_SIZE, "MODULE=%s", dev->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD drivers/usb/host/built-in.o CC drivers/usb/misc/ehset.o CC drivers/video/msm/mdp_dma_s.o CC net/sched/sch_mq.o CC drivers/usb/misc/diag_bridge.o CC drivers/video/msm/mdp_vsync.o CC net/sched/sch_api.o CC drivers/usb/misc/mdm_ctrl_bridge.o CC drivers/video/msm/mdp_cursor.o CC drivers/video/msm/mdp_dma_tv.o CC drivers/usb/misc/mdm_data_bridge.o CC net/sched/sch_blackhole.o CC drivers/video/msm/msm_dss_io_8960.o CC net/sched/cls_api.o CC drivers/usb/misc/ks_bridge.o CC drivers/video/msm/mipi_dsi.o CC net/sched/act_api.o CC drivers/usb/misc/ipc_bridge.o CC drivers/video/msm/mipi_dsi_host.o CC drivers/usb/misc/ncp373.o CC net/sched/sch_fifo.o CC drivers/video/msm/mipi_dsi_panel_driver.o LD drivers/usb/misc/mdm_bridge.o LD drivers/usb/misc/built-in.o CC drivers/usb/otg/otg.o CC net/sched/sch_htb.o CC drivers/usb/otg/msm_otg.o CC drivers/video/msm/mipi_dsi_panel_debugfs.o CC net/sched/sch_prio.o CC drivers/video/msm/mipi_dsi_panel_r63306_sharp_ls043k3sx04.o CC drivers/video/msm/mipi_dsi_panel_r63306_tmd_mdw30.o CC net/sched/cls_u32.o CC drivers/video/msm/mipi_dsi_panel_r63311_jdc_mdy70.o CC drivers/video/msm/mipi_dsi_panel_r63311_sharp_ls050t3sx01.o LD drivers/usb/otg/built-in.o CC net/sched/cls_fw.o CC drivers/usb/serial/usb-serial.o CC drivers/video/msm/msm_fb_panel.o CC net/sched/cls_flow.o CC drivers/video/msm/logo.o CC drivers/usb/serial/generic.o CC net/sched/ematch.o CC drivers/video/msm/hdmi_msm.o CC drivers/usb/serial/bus.o CC drivers/usb/serial/csvt.o CC net/sched/em_cmp.o CC net/sched/em_nbyte.o LD drivers/usb/serial/usbserial.o LD drivers/usb/serial/built-in.o CC drivers/usb/storage/scsiglue.o CC net/sched/em_u32.o CC drivers/usb/storage/protocol.o CC net/sched/em_meta.o CC drivers/usb/storage/transport.o CC net/sched/em_text.o CC drivers/usb/storage/usb.o LD net/sched/built-in.o CC net/unix/af_unix.o CC drivers/usb/storage/initializers.o CC drivers/usb/storage/sierra_ms.o CC drivers/usb/storage/option_ms.o CC drivers/usb/storage/usual-tables.o CC net/unix/garbage.o CC drivers/video/msm/mhl_sii8334.o LD drivers/usb/storage/usb-storage.o LD drivers/usb/storage/built-in.o CC drivers/usb/usb-common.o CC net/unix/sysctl_net_unix.o LD drivers/usb/built-in.o CC net/wireless/core.o LD net/unix/unix.o LD net/unix/built-in.o CC net/xfrm/xfrm_policy.o CC drivers/video/msm/external_common.o drivers/video/msm/external_common.c: In function 'hdmi_common_rda_audio_caps.part.0': drivers/video/msm/external_common.c:846:21: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 846 | snprintf(t, 3, "%d", channels[i]); | ^ drivers/video/msm/external_common.c:846:3: note: 'snprintf' output between 2 and 4 bytes into a destination of size 3 846 | snprintf(t, 3, "%d", channels[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC net/wireless/sysfs.o CC drivers/video/msm/mdp4_wfd_writeback_panel.o CC net/wireless/radiotap.o net/wireless/radiotap.c: In function 'ieee80211_radiotap_iterator_init': net/wireless/radiotap.c:112:27: warning: taking address of packed member of 'struct ieee80211_radiotap_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 112 | iterator->_next_bitmap = &radiotap_header->it_present; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/video/msm/mdp4_wfd_writeback.o CC net/wireless/util.o CC drivers/video/msm/mdp4_overlay_writeback.o CC net/xfrm/xfrm_state.o drivers/video/msm/mdp4_overlay_writeback.c: In function 'mdp4_wfd_dequeue_update': drivers/video/msm/mdp4_overlay_writeback.c:852:28: warning: increment of a boolean expression [-Wbool-operation] 852 | mfd->writeback_active_cnt++; | ^~ drivers/video/msm/mdp4_overlay_writeback.c:867:29: warning: decrement of a boolean expression [-Wbool-operation] 867 | mfd->writeback_active_cnt--; | ^~ drivers/video/msm/mdp4_overlay_writeback.c: In function 'mdp4_wfd_queue_wakeup': drivers/video/msm/mdp4_overlay_writeback.c:897:27: warning: decrement of a boolean expression [-Wbool-operation] 897 | mfd->writeback_active_cnt--; | ^~ CC drivers/video/msm/vidc/common/init/vidc_init.o CC net/wireless/reg.o CC drivers/video/msm/vidc/common/vcd/vcd_api.o CC drivers/video/msm/vidc/common/vcd/vcd_power_sm.o CC net/wireless/scan.o CC net/xfrm/xfrm_hash.o CC net/xfrm/xfrm_input.o CC drivers/video/msm/vidc/common/vcd/vcd_client_sm.o CC net/wireless/nl80211.o CC net/xfrm/xfrm_output.o CC drivers/video/msm/vidc/common/vcd/vcd_device_sm.o CC drivers/video/msm/vidc/common/vcd/vcd_scheduler.o CC net/xfrm/xfrm_algo.o CC drivers/video/msm/vidc/common/vcd/vcd_sub.o CC net/xfrm/xfrm_sysctl.o CC net/xfrm/xfrm_replay.o CC drivers/video/msm/vidc/1080p/ddl/vcd_ddl_helper.o CC net/xfrm/xfrm_user.o CC drivers/video/msm/vidc/1080p/ddl/vcd_ddl_utils.o drivers/video/msm/vidc/1080p/ddl/vcd_ddl_utils.c: In function 'ddl_fw_release': drivers/video/msm/vidc/1080p/ddl/vcd_ddl_utils.c:412:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 412 | if (res_trk_check_for_sec_session()) | ^~ drivers/video/msm/vidc/1080p/ddl/vcd_ddl_utils.c:414:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 414 | res_trk_release_fw_addr(); | ^~~~~~~~~~~~~~~~~~~~~~~ CC drivers/video/msm/vidc/1080p/ddl/vcd_ddl_interrupt_handler.o CC drivers/video/msm/vidc/1080p/ddl/vcd_ddl_properties.o CC net/xfrm/xfrm_ipcomp.o CC net/wireless/mlme.o CC drivers/video/msm/vidc/1080p/ddl/vcd_ddl_errors.o CC net/wireless/ibss.o LD net/xfrm/built-in.o drivers/video/msm/vidc/1080p/ddl/vcd_ddl_errors.c: In function 'ddl_handle_core_recoverable_errors': drivers/video/msm/vidc/1080p/ddl/vcd_ddl_errors.c:289:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 289 | else | ^~~~ drivers/video/msm/vidc/1080p/ddl/vcd_ddl_errors.c:292:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 292 | status = true; | ^~~~~~ CC net/sysctl_net.o CC drivers/video/msm/vidc/1080p/ddl/vcd_ddl_shared_mem.o CC net/wireless/sme.o CC drivers/video/msm/vidc/1080p/ddl/vidc.o CC net/activity_stats.o CC drivers/video/msm/vidc/1080p/ddl/vidc_pix_cache.o CC net/wireless/chan.o CC drivers/video/msm/vidc/1080p/ddl/vcd_ddl_vidc.o CC net/wireless/ethtool.o CC drivers/video/msm/vidc/1080p/ddl/vcd_ddl.o CC net/wireless/mesh.o CC net/wireless/wext-core.o CC drivers/video/msm/vidc/1080p/ddl/vcd_ddl_metadata.o CC net/wireless/wext-proc.o CC drivers/video/msm/vidc/1080p/resource_tracker/vcd_res_tracker.o CC net/wireless/wext-spy.o drivers/video/msm/vidc/1080p/resource_tracker/vcd_res_tracker.c: In function 'res_trk_set_perf_level': drivers/video/msm/vidc/1080p/resource_tracker/vcd_res_tracker.c:644:61: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] 644 | if (!res_trk_update_bus_perf_level(dev_ctxt, req_perf_lvl) < 0) { | ^ drivers/video/msm/vidc/1080p/resource_tracker/vcd_res_tracker.c:644:61: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] drivers/video/msm/vidc/1080p/resource_tracker/vcd_res_tracker.c:644:6: note: add parentheses around left hand side expression to silence this warning 644 | if (!res_trk_update_bus_perf_level(dev_ctxt, req_perf_lvl) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) CC net/wireless/wext-priv.o CC drivers/video/msm/vidc/common/dec/vdec.o LD drivers/video/omap2/displays/built-in.o LD drivers/video/omap2/built-in.o CC drivers/video/cfbfillrect.o LD net/wireless/cfg80211.o LD net/wireless/built-in.o LD net/built-in.o CC drivers/video/msm/vidc/common/enc/venc.o CC drivers/video/cfbcopyarea.o CC drivers/video/cfbimgblt.o CC drivers/video/msm/vidc/common/enc/venc_internal.o CC drivers/video/sysfillrect.o drivers/video/msm/vidc/common/enc/venc_internal.c: In function 'vid_enc_set_recon_buffers': drivers/video/msm/vidc/common/enc/venc_internal.c:1978:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1978 | if (client_ctx->recon_buffer_ion_handle[i]) | ^~ drivers/video/msm/vidc/common/enc/venc_internal.c:1981:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1981 | client_ctx->recon_buffer_ion_handle[i] = NULL; | ^~~~~~~~~~ CC drivers/video/syscopyarea.o CC drivers/video/sysimgblt.o LD drivers/video/msm/vidc/vidc.o CC drivers/video/fb_sys_fops.o LD drivers/video/msm/vidc/vidc_vdec.o LD drivers/video/msm/vidc/vidc_venc.o LD drivers/video/msm/vidc/built-in.o LD drivers/video/msm/msm_mipi.o LD drivers/video/msm/built-in.o CC drivers/video/vfb.o CC drivers/video/mhl.o LD drivers/video/fb.o drivers/video/mhl.c: In function 'mhl_show_discovery': drivers/video/mhl.c:1441:31: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=] 1441 | return snprintf(buf, 4, "%s\n", result ? "mhl" : "usb"); | ^ drivers/video/mhl.c:1441:9: note: 'snprintf' output 5 bytes into a destination of size 4 1441 | return snprintf(buf, 4, "%s\n", result ? "mhl" : "usb"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD drivers/video/built-in.o LD drivers/built-in.o 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_rd.o CC init/do_mounts_initrd.o CC init/initramfs.o CC init/calibrate.o CC init/version.o LD init/mounts.o LD init/built-in.o LD .tmp_vmlinux1 KSYM .tmp_kallsyms1.S AS .tmp_kallsyms1.o LD .tmp_vmlinux2 KSYM .tmp_kallsyms2.S AS .tmp_kallsyms2.o LD vmlinux SYSMAP System.map SYSMAP .tmp_System.map Building modules, stage 2. OBJCOPY arch/arm/boot/Image MODPOST 19 modules Kernel: arch/arm/boot/Image is ready AS arch/arm/boot/compressed/head.o CC arch/arm/mach-msm/dma_test.mod.o CC arch/arm/mach-msm/msm-buspm-dev.mod.o LZO arch/arm/boot/compressed/piggy.lzo CC arch/arm/mach-msm/reset_modem.mod.o CC arch/arm/oprofile/oprofile.mod.o CC crypto/ansi_cprng.mod.o CC arch/arm/boot/compressed/misc.o CC drivers/char/adsprpc.mod.o CC arch/arm/boot/compressed/decompress.o CC drivers/crypto/msm/qce40.mod.o CC drivers/crypto/msm/qcedev.mod.o CC drivers/crypto/msm/qcrypto.mod.o CC arch/arm/boot/compressed/string.o CC drivers/gud/mcdrvmodule.mod.o CC drivers/gud/mckernelapi.mod.o SHIPPED arch/arm/boot/compressed/lib1funcs.S CC drivers/media/radio/radio-iris-transport.mod.o SHIPPED arch/arm/boot/compressed/ashldi3.S AS arch/arm/boot/compressed/piggy.lzo.o CC drivers/media/video/gspca/gspca_main.mod.o AS arch/arm/boot/compressed/lib1funcs.o AS arch/arm/boot/compressed/ashldi3.o CC drivers/misc/eeprom/eeprom_93cx6.mod.o CC drivers/mmc/card/mmc_test.mod.o LD arch/arm/boot/compressed/vmlinux OBJCOPY arch/arm/boot/zImage Kernel: arch/arm/boot/zImage is ready CC drivers/net/ethernet/micrel/ks8851.mod.o CC drivers/scsi/scsi_wait_scan.mod.o CC drivers/spi/spidev.mod.o CC drivers/video/backlight/lcd.mod.o LD [M] arch/arm/mach-msm/dma_test.ko LD [M] arch/arm/mach-msm/msm-buspm-dev.ko LD [M] arch/arm/mach-msm/reset_modem.ko LD [M] arch/arm/oprofile/oprofile.ko LD [M] crypto/ansi_cprng.ko LD [M] drivers/char/adsprpc.ko LD [M] drivers/crypto/msm/qce40.ko LD [M] drivers/crypto/msm/qcedev.ko LD [M] drivers/crypto/msm/qcrypto.ko LD [M] drivers/gud/mcdrvmodule.ko LD [M] drivers/gud/mckernelapi.ko LD [M] drivers/media/radio/radio-iris-transport.ko LD [M] drivers/media/video/gspca/gspca_main.ko LD [M] drivers/misc/eeprom/eeprom_93cx6.ko LD [M] drivers/mmc/card/mmc_test.ko LD [M] drivers/net/ethernet/micrel/ks8851.ko LD [M] drivers/scsi/scsi_wait_scan.ko LD [M] drivers/video/backlight/lcd.ko LD [M] drivers/spi/spidev.ko >>> linux-sony-yuga: Entering fakeroot... ]0;abuild-armhf: linux-sony-yugazImage found: zImage >>> linux-sony-yuga*: Running postcheck for linux-sony-yuga >>> linux-sony-yuga*: Preparing package linux-sony-yuga... >>> WARNING: linux-sony-yuga*: No arch specific binaries found so arch should probably be set to "noarch" >>> linux-sony-yuga*: Tracing dependencies... >>> linux-sony-yuga*: Package size: 7.8 MB >>> linux-sony-yuga*: Compressing data... >>> linux-sony-yuga*: Create checksum... >>> linux-sony-yuga*: Create linux-sony-yuga-3.4.0-r9.apk ]0;>>> linux-sony-yuga: Build complete at Fri, 31 Jul 2020 02:19:50 +0000 elapsed time 0h 11m 41s ]0;>>> linux-sony-yuga: Updating the pmos/armhf repository index... >>> linux-sony-yuga: Signing the index... mv: can't preserve ownership of '/mnt/pmbootstrap-packages/armhf/APKINDEX.tar.gz.2504': Operation not permitted ]0;(002343) [02:19:50] (native) uninstall build dependencies (002343) [02:19:50] (native) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps ]0;abuild: linux-sony-yugaWARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory (1/49) Purging .makedepends-linux-sony-yuga (20200731.020809) (2/49) Purging sed (4.8-r0) Executing sed-4.8-r0.post-deinstall (3/49) Purging installkernel (3.5-r0) (4/49) Purging bash (5.0.18-r0) Executing bash-5.0.18-r0.pre-deinstall (5/49) Purging gmp-dev (6.2.0-r0) (6/49) Purging libgmpxx (6.2.0-r0) (7/49) Purging bc (1.07.1-r1) (8/49) Purging linux-headers (5.7.8-r0) (9/49) Purging elfutils-dev (0.180-r0) (10/49) Purging libelf (0.180-r0) (11/49) Purging devicepkg-dev (0.12.2-r0) (12/49) Purging postmarketos-splash (1.0.0-r1) (13/49) Purging ttf-dejavu (2.37-r1) (14/49) Purging encodings (1.0.5-r0) (15/49) Purging mkfontscale (1.2.1-r1) (16/49) Purging ttf-droid (20200215-r1) (17/49) Purging fontconfig (2.13.1-r3) (18/49) Purging py3-pillow (7.2.0-r0) (19/49) Purging py3-olefile (0.46-r4) (20/49) Purging python3 (3.8.5-r0) (21/49) Purging git-perl (2.28.0-r0) (22/49) Purging perl-git (2.28.0-r0) (23/49) Purging perl-error (0.17029-r0) (24/49) Purging perl (5.30.3-r2) (25/49) Purging freetype (2.10.2-r0) (26/49) Purging libbz2 (1.0.8-r1) (27/49) Purging readline (8.0.4-r0) (28/49) Purging ncurses-libs (6.2_p20200725-r0) (29/49) Purging ncurses-terminfo-base (6.2_p20200725-r0) (30/49) Purging fts (1.2.7-r1) (31/49) Purging xz-dev (5.2.5-r0) (32/49) Purging xz-libs (5.2.5-r0) (33/49) Purging zlib-dev (1.2.11-r3) (34/49) Purging libpng (1.6.37-r1) (35/49) Purging libuuid (2.36-r0) (36/49) Purging libfontenc (1.1.4-r0) (37/49) Purging libimagequant (2.12.6-r0) (38/49) Purging tiff (4.1.0-r0) (39/49) Purging libjpeg-turbo (2.0.5-r0) (40/49) Purging lcms2 (2.11-r0) (41/49) Purging openjpeg (2.3.1-r4) (42/49) Purging libwebp (1.1.0-r0) (43/49) Purging libxcb (1.14-r1) (44/49) Purging libxau (1.0.9-r0) (45/49) Purging libxdmcp (1.1.3-r0) (46/49) Purging libbsd (0.10.0-r0) (47/49) Purging libffi (3.3-r2) (48/49) Purging gdbm (1.13-r1) (49/49) Purging sqlite-libs (3.32.3-r0) Executing busybox-1.32.0-r1.trigger OK: 313 MiB in 61 packages ]0;(002343) [02:19:51] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary) (002343) [02:19:51] Done