+ export BPO_JOB_ID=581875 + BPO_JOB_ID=581875 + pmbootstrap -m http://dl-4.alpinelinux.org/alpine/ -mp http://build.postmarketos.org/wip/ -mp http://mirror.postmarketos.org/postmarketos/ --aports=/home/build/pmaports --no-ccache --timeout 900 --details-to-stdout build --no-depends --strict --arch armv7 --force linux-sony-leo (002305) [09:04:37] % cd /home/build/pmaports; git remote -v origin https://gitlab.com/postmarketOS/pmaports.git/ (fetch) origin https://gitlab.com/postmarketOS/pmaports.git/ (push) (002305) [09:04:37] % cd /home/build/pmaports; git show origin/master:channels.cfg # Reference: https://postmarketos.org/channels.cfg [channels.cfg] recommended=edge [edge] description=Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge branch_pmaports=master branch_aports=master mirrordir_alpine=edge [v21.06] description=Latest release / Recommended for best stability branch_pmaports=v21.06 branch_aports=3.14-stable mirrordir_alpine=v3.14 [v21.03] description=Old release (unsupported) branch_pmaports=v21.03 branch_aports=3.13-stable mirrordir_alpine=v3.13 [v20.05] description=Old release (unsupported) branch_pmaports=v20.05 branch_aports=3.12-stable mirrordir_alpine=v3.12 (002305) [09:04:37] Shutdown complete (002305) [09:04:37] Calculate work folder size (002305) [09:04:37] % sudo du -ks /home/build/.local/var/pmbootstrap 20 /home/build/.local/var/pmbootstrap (002305) [09:04:37] Shutdown complete (002305) [09:04:37] % sudo du -ks /home/build/.local/var/pmbootstrap 20 /home/build/.local/var/pmbootstrap (002305) [09:04:37] Cleared up ~0 MB of space (002305) [09:04:37] APKINDEX outdated (file does not exist yet): http://build.postmarketos.org/wip/master/armv7/APKINDEX.tar.gz (002305) [09:04:37] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/armv7/APKINDEX.tar.gz (002305) [09:04:37] APKINDEX outdated (file does not exist yet): http://dl-4.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz (002305) [09:04:37] APKINDEX outdated (file does not exist yet): http://dl-4.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz (002305) [09:04:37] APKINDEX outdated (file does not exist yet): http://dl-4.alpinelinux.org/alpine/edge/testing/armv7/APKINDEX.tar.gz (002305) [09:04:37] Update package index for armv7 (5 file(s)) (002305) [09:04:37] % mkdir -p /home/build/.local/var/pmbootstrap/cache_http (002305) [09:04:37] Download http://build.postmarketos.org/wip/master/armv7/APKINDEX.tar.gz (002305) [09:04:37] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_armv7 (002305) [09:04:37] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_998f7344438a1788b147ed513f6089174b226690ae3d66156cb5ad15c0b72094 /home/build/.local/var/pmbootstrap/cache_apk_armv7/APKINDEX.af6ab7cc.tar.gz (002305) [09:04:37] Download http://mirror.postmarketos.org/postmarketos/master/armv7/APKINDEX.tar.gz (002305) [09:04:38] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_1ac903ac063665387c34164a0e83a5c312b7e081baa5ffa9d72b7c3c8a7e0d02 /home/build/.local/var/pmbootstrap/cache_apk_armv7/APKINDEX.bdd0d494.tar.gz (002305) [09:04:38] Download http://dl-4.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz (002305) [09:04:38] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b894cc111f87d781ddff66d11108cb154a7ec03d2ff6ede85d1981e0686cb930 /home/build/.local/var/pmbootstrap/cache_apk_armv7/APKINDEX.ed54c246.tar.gz (002305) [09:04:38] Download http://dl-4.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz (002305) [09:04:39] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_2711711070325f8796558accbc5c494a4477cd3aae3d87e2b77ac2088bf47f40 /home/build/.local/var/pmbootstrap/cache_apk_armv7/APKINDEX.e76b60f6.tar.gz (002305) [09:04:39] Download http://dl-4.alpinelinux.org/alpine/edge/testing/armv7/APKINDEX.tar.gz (002305) [09:04:40] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_a9dc322bd1623cfa5460d475f77fc452b38a9a192c6d6bf87ea68fd01b1c06b9 /home/build/.local/var/pmbootstrap/cache_apk_armv7/APKINDEX.24c95890.tar.gz (002305) [09:04:40] APKINDEX outdated (file does not exist yet): http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz (002305) [09:04:40] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz (002305) [09:04:40] APKINDEX outdated (file does not exist yet): http://dl-4.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz (002305) [09:04:40] APKINDEX outdated (file does not exist yet): http://dl-4.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz (002305) [09:04:40] APKINDEX outdated (file does not exist yet): http://dl-4.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz (002305) [09:04:40] Update package index for x86_64 (5 file(s)) (002305) [09:04:40] Download http://build.postmarketos.org/wip/master/x86_64/APKINDEX.tar.gz (002305) [09:04:40] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_x86_64 (002305) [09:04:40] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b5c42e3975be0fe9e47c9d10368cdb12b769d34497838f599f197797ceee4130 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.af6ab7cc.tar.gz (002305) [09:04:40] Download http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz (002305) [09:04:40] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.bdd0d494.tar.gz (002305) [09:04:40] Download http://dl-4.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz (002305) [09:04:41] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_aa67e23cbb4d0d6bd4a068d4c1ffaddafc17982b20d0b66bba28fd70e9dcca18 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.ed54c246.tar.gz (002305) [09:04:41] Download http://dl-4.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz (002305) [09:04:42] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_98c2384a26483d9f5a647c0da3addb5180f319fb8359ed26c35bd8d941d5a68d /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.e76b60f6.tar.gz (002305) [09:04:42] Download http://dl-4.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz (002305) [09:04:43] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b44671428b2a6d432bdd2a5fc8cee55ea633c42c3fc24145ccf43677cb953bb9 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.24c95890.tar.gz (002305) [09:04:50] Build is necessary for package 'linux-sony-leo': Binary package out of date (binary: 3.4.113-r3, aport: 3.4.113-r4) (002305) [09:04:50] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet! (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev (002305) [09:04:50] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm (002305) [09:04:50] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm (002305) [09:04:50] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3 (002305) [09:04:50] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5 (002305) [09:04:50] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7 (002305) [09:04:50] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8 (002305) [09:04:50] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9 (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc (002305) [09:04:50] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk (002305) [09:04:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache (002305) [09:04:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles (002305) [09:04:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git (002305) [09:04:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-rust (002305) [09:04:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-rust (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config (002305) [09:04:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys (002305) [09:04:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/edge (002305) [09:04:50] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages (002305) [09:04:50] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages (002305) [09:04:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap (002305) [09:04:50] Download http://dl-4.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.12.7-r0.apk (002305) [09:04:51] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002305) [09:04:51] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002305) [09:04:51] extracted: /tmp/pmbootstrap7luii11oapk (002305) [09:04:51] extracted: /tmp/pmbootstraps5pqswt5sig (002305) [09:04:51] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub (002305) [09:04:51] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstraps5pqswt5sig /tmp/pmbootstrap7luii11oapk Verified OK (002305) [09:04:51] Verify the version reported by the apk.static binary (must match the package version 2.12.7-r0) (002305) [09:04:51] % /tmp/pmbootstrap7luii11oapk --version apk-tools 2.12.7, compiled for x86_64. (002305) [09:04:51] (native) install alpine-base (002305) [09:04:51] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache (002305) [09:04:51] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002305) [09:04:51] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002305) [09:04:51] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002305) [09:04:51] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002305) [09:04:51] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002305) [09:04:51] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002305) [09:04:51] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002305) [09:04:51] % sudo cp /home/build/pmbootstrap/pmb/data/keys/wip.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002305) [09:04:51] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/ (002305) [09:04:51] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf (002305) [09:04:51] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk (002305) [09:04:51] (native) update /etc/apk/repositories (002305) [09:04:51] % sudo sh -c echo /mnt/pmbootstrap-packages >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002305) [09:04:51] % sudo sh -c echo http://build.postmarketos.org/wip/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002305) [09:04:51] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002305) [09:04:51] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002305) [09:04:51] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002305) [09:04:51] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories (002305) [09:04:51] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp (002305) [09:04:51] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo (002305) [09:04:51] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo (002305) [09:04:51] % sudo sh -c exec 3>/home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo; /home/build/.local/var/pmbootstrap/apk.static --no-progress --progress-fd 3 --root /home/build/.local/var/pmbootstrap/chroot_native --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_x86_64 --initdb --arch x86_64 add alpine-base (002305) [09:04:51] New background process: pid=2380, output=background WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory (1/20) Installing musl (1.2.2-r5) (2/20) Installing busybox (1.34.0-r2) Executing busybox-1.34.0-r2.post-install (3/20) Installing alpine-baselayout (3.2.0-r17) Executing alpine-baselayout-3.2.0-r17.pre-install Executing alpine-baselayout-3.2.0-r17.post-install (4/20) Installing ifupdown-ng (0.11.3-r0) (5/20) Installing openrc (0.43.5-r0) Executing openrc-0.43.5-r0.post-install (6/20) Installing alpine-conf (3.12.0-r0) (7/20) Installing libcrypto1.1 (1.1.1l-r0) (8/20) Installing libssl1.1 (1.1.1l-r0) (9/20) Installing ca-certificates-bundle (20191127-r5) (10/20) Installing libretls (3.3.4-r0) (11/20) Installing ssl_client (1.34.0-r2) (12/20) Installing zlib (1.2.11-r3) (13/20) Installing apk-tools (2.12.7-r0) (14/20) Installing busybox-suid (1.34.0-r2) (15/20) Installing busybox-initscripts (3.3-r1) Executing busybox-initscripts-3.3-r1.post-install (16/20) Installing scanelf (1.3.3-r0) (17/20) Installing musl-utils (1.2.2-r5) (18/20) Installing libc-utils (0.7.2-r3) (19/20) Installing alpine-keys (2.3-r1) (20/20) Installing alpine-base (3.15.0_alpha20210804-r0) Executing busybox-1.34.0-r2.trigger OK: 9 MiB in 20 packages (002305) [09:04:55] (native) % adduser -D pmos -u 12345 (002305) [09:04:55] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild (002305) [09:04:55] (native) % chown pmos:pmos /mnt/pmbootstrap-abuild-config (002305) [09:04:55] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache (002305) [09:04:55] (native) % chown pmos:pmos /mnt/pmbootstrap-ccache (002305) [09:04:55] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages (002305) [09:04:55] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos (002305) [09:04:55] (native) % chown pmos:pmos /mnt/pmbootstrap-packages (002305) [09:04:55] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry (002305) [09:04:55] (native) % mkdir -p /mnt/pmbootstrap-rust/registry/index (002305) [09:04:55] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/index /home/pmos/.cargo/registry/index (002305) [09:04:55] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/index (002305) [09:04:55] (native) % mkdir -p /mnt/pmbootstrap-rust/registry/cache (002305) [09:04:55] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/cache /home/pmos/.cargo/registry/cache (002305) [09:04:55] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/cache (002305) [09:04:55] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git (002305) [09:04:55] (native) % mkdir -p /mnt/pmbootstrap-rust/git/db (002305) [09:04:55] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/git/db /home/pmos/.cargo/git/db (002305) [09:04:55] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/git/db (002305) [09:04:55] (native) calculate depends of abuild, build-base, ccache, git (pmbootstrap -v for details) (002305) [09:04:55] (native) install abuild build-base ccache git (002305) [09:04:55] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo (002305) [09:04:55] (native) % cat /tmp/apk_progress_fifo (002305) [09:04:55] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add -u --virtual .pmbootstrap abuild build-base ccache git fakeroot openssl attr tar pkgconf patch lzip curl binutils file gcc g++ make libc-dev fortify-headers libgcc libstdc++ zstd-libs libcurl expat pcre2 libattr libacl ca-certificates libmagic libgomp libatomic libgphobos gmp isl22 mpc1 mpfr4 musl-dev brotli-libs nghttp2-libs (002305) [09:04:55] New background process: pid=2418, output=background WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory (1/40) Installing fakeroot (1.25.3-r3) (2/40) Installing openssl (1.1.1l-r0) (3/40) Installing libattr (2.5.1-r0) (4/40) Installing attr (2.5.1-r0) (5/40) Installing libacl (2.2.53-r0) (6/40) Installing tar (1.34-r0) (7/40) Installing pkgconf (1.8.0-r0) (8/40) Installing patch (2.7.6-r7) (9/40) Installing libgcc (10.3.1_git20210625-r1) (10/40) Installing libstdc++ (10.3.1_git20210625-r1) (11/40) Installing lzip (1.22-r1) (12/40) Installing ca-certificates (20191127-r5) (13/40) Installing brotli-libs (1.0.9-r5) (14/40) Installing nghttp2-libs (1.44.0-r0) (15/40) Installing libcurl (7.78.0-r0) (16/40) Installing curl (7.78.0-r0) (17/40) Installing abuild (3.8.0_rc4-r0) Executing abuild-3.8.0_rc4-r0.pre-install (18/40) Installing binutils (2.35.2-r2) (19/40) Installing libmagic (5.40-r1) (20/40) Installing file (5.40-r1) (21/40) Installing libgomp (10.3.1_git20210625-r1) (22/40) Installing libatomic (10.3.1_git20210625-r1) (23/40) Installing libgphobos (10.3.1_git20210625-r1) (24/40) Installing gmp (6.2.1-r0) (25/40) Installing isl22 (0.22-r0) (26/40) Installing mpfr4 (4.1.0-r0) (27/40) Installing mpc1 (1.2.1-r0) (28/40) Installing gcc (10.3.1_git20210625-r1) (29/40) Installing musl-dev (1.2.2-r5) (30/40) Installing libc-dev (0.7.2-r3) (31/40) Installing g++ (10.3.1_git20210625-r1) (32/40) Installing make (4.3-r0) (33/40) Installing fortify-headers (1.1-r1) (34/40) Installing build-base (0.5-r2) (35/40) Installing zstd-libs (1.5.0-r0) (36/40) Installing ccache (4.3-r0) (37/40) Installing expat (2.4.1-r0) (38/40) Installing pcre2 (10.37-r0) (39/40) Installing git (2.33.0-r0) (40/40) Installing .pmbootstrap (20210906.090456) Executing busybox-1.34.0-r2.trigger Executing ca-certificates-20191127-r5.trigger OK: 216 MiB in 60 packages (002305) [09:05:30] (native) % apk --no-progress add abuild build-base ccache git WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory OK: 216 MiB in 60 packages (002305) [09:05:30] (native) % apk --no-progress del .pmbootstrap WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory (1/1) Purging .pmbootstrap (20210906.090456) OK: 216 MiB in 59 packages (002305) [09:05:30] (native) % chown root:abuild /var/cache/distfiles (002305) [09:05:30] (native) % chmod g+w /var/cache/distfiles (002305) [09:05:30] (native) generate abuild keys (002305) [09:05:30] (native) % busybox su pmos -c PACKAGER='pmos ' 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 (002305) [09:05:30] (native) % cp /mnt/pmbootstrap-abuild-config/pmos@local-6135d9da.rsa.pub /etc/apk/keys/ (002305) [09:05:30] (native) % cp /tmp/gzip_wrapper.sh /usr/local/bin/gzip (002305) [09:05:30] (native) % chmod +x /usr/local/bin/gzip (002305) [09:05:31] (native) % adduser pmos abuild (002305) [09:05:31] (native) % sed -i -e s/^CLEANUP=.*/CLEANUP=''/ /etc/abuild.conf (002305) [09:05:31] (native) % sed -i -e s/^ERROR_CLEANUP=.*/ERROR_CLEANUP=''/ /etc/abuild.conf (002305) [09:05:31] (native) % touch /var/local/pmbootstrap_chroot_build_init_done (002305) [09:05:31] (native) % sed -i -e s/^export JOBS=.*/export JOBS=3/ /etc/abuild.conf (002305) [09:05:31] (native) % busybox su pmos -c HOME=/home/pmos ccache --max-size 5G Set cache size limit to 5.0 GB (002305) [09:05:31] (native) calculate depends of ccache-cross-symlinks, gcc-armv7, g++-armv7 (pmbootstrap -v for details) (002305) [09:05:31] (native) install ccache-cross-symlinks gcc-armv7 g++-armv7 (002305) [09:05:31] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo (002305) [09:05:31] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo (002305) [09:05:31] (native) % cat /tmp/apk_progress_fifo (002305) [09:05:31] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add -u --virtual .pmbootstrap ccache-cross-symlinks gcc-armv7 g++-armv7 isl binutils-armv7 (002305) [09:05:31] New background process: pid=2465, output=background WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory (1/6) Installing ccache-cross-symlinks (3-r0) (2/6) Installing isl (0.18-r1) (3/6) Installing binutils-armv7 (2.35.2-r2) (4/6) Installing gcc-armv7 (10.3.1_git20210625-r1) (5/6) Installing g++-armv7 (10.3.1_git20210625-r1) (6/6) Installing .pmbootstrap (20210906.090531) Executing busybox-1.34.0-r2.trigger OK: 379 MiB in 65 packages (002305) [09:06:03] (native) % apk --no-progress add ccache-cross-symlinks gcc-armv7 g++-armv7 WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory OK: 379 MiB in 65 packages (002305) [09:06:03] (native) % apk --no-progress del .pmbootstrap WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory (1/1) Purging .pmbootstrap (20210906.090531) OK: 379 MiB in 64 packages (002305) [09:06:04] (native) build armv7/linux-sony-leo-3.4.113-r4.apk (002305) [09:06:04] % sudo cp -rL /home/build/pmaports/device/testing/linux-sony-leo/ /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/build (002305) [09:06:04] (native) % chown -R pmos:pmos /home/pmos/build (002305) [09:06:04] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports (002305) [09:06:04] % sudo mount --bind /home/build/pmaports /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmaports (002305) [09:06:04] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build (002305) [09:06:04] (native) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git (002305) [09:06:04] (native) % cd /home/pmos/build; busybox su pmos -c CARCH=armv7 SUDO_APK='abuild-apk --no-progress' CROSS_COMPILE=armv7-alpine-linux-musleabihf- CC=armv7-alpine-linux-musleabihf-gcc CCACHE_DISABLE=1 HOME=/home/pmos abuild -D postmarketOS -r -f ]0;abuild-armv7: linux-sony-leo>>> linux-sony-leo: Building pmos/linux-sony-leo 3.4.113-r4 (using abuild 3.8.0_rc4-r0) started Mon, 06 Sep 2021 09:06:04 +0000 >>> linux-sony-leo: Checking sanity of /home/pmos/build/APKBUILD... >>> linux-sony-leo: Analyzing dependencies... >>> linux-sony-leo: Installing for build: build-base perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev devicepkg-dev xz WARNING: Ignoring /home/pmos/packages//pmos: No such file or directory WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory (1/52) Installing libbz2 (1.0.8-r1) (2/52) Installing perl (5.34.0-r1) (3/52) Installing sed (4.8-r0) (4/52) Installing installkernel (3.5-r1) (5/52) Installing ncurses-terminfo-base (6.2_p20210905-r0) (6/52) Installing ncurses-libs (6.2_p20210905-r0) (7/52) Installing readline (8.1.1-r0) (8/52) Installing bash (5.1.8-r0) Executing bash-5.1.8-r0.post-install (9/52) Installing libgmpxx (6.2.1-r0) (10/52) Installing gmp-dev (6.2.1-r0) (11/52) Installing bc (1.07.1-r1) (12/52) Installing linux-headers (5.10.41-r0) (13/52) Installing fts (1.2.7-r1) (14/52) Installing xz-libs (5.2.5-r0) (15/52) Installing libelf (0.185-r0) (16/52) Installing xz-dev (5.2.5-r0) (17/52) Installing zlib-dev (1.2.11-r3) (18/52) Installing elfutils-dev (0.185-r0) (19/52) Installing libpng (1.6.37-r1) (20/52) Installing freetype (2.11.0-r0) (21/52) Installing libuuid (2.37.2-r1) (22/52) Installing fontconfig (2.13.1-r4) (23/52) Installing encodings (1.0.5-r0) (24/52) Installing libfontenc (1.1.4-r0) (25/52) Installing mkfontscale (1.2.1-r1) (26/52) Installing ttf-dejavu (2.37-r1) (27/52) Installing ttf-droid (20200215-r1) (28/52) Installing py3-olefile (0.46-r5) (29/52) Installing libimagequant (2.15.1-r0) (30/52) Installing libjpeg-turbo (2.1.1-r0) (31/52) Installing lcms2 (2.12-r1) (32/52) Installing openjpeg (2.4.0-r2) (33/52) Installing libwebp (1.2.1-r0) (34/52) Installing tiff (4.2.0-r1) (35/52) Installing libxau (1.0.9-r0) (36/52) Installing libmd (1.0.3-r0) (37/52) Installing libbsd (0.11.3-r0) (38/52) Installing libxdmcp (1.1.3-r0) (39/52) Installing libxcb (1.14-r2) (40/52) Installing py3-pillow (8.1.2-r1) (41/52) Installing libffi (3.3-r2) (42/52) Installing gdbm (1.20-r2) (43/52) Installing mpdecimal (2.5.1-r1) (44/52) Installing sqlite-libs (9999-r0) (45/52) Installing python3 (3.9.6-r0) (46/52) Installing postmarketos-splash (1.0.0-r1) (47/52) Installing devicepkg-dev (0.13.0-r0) (48/52) Installing xz (5.2.5-r0) (49/52) Installing .makedepends-linux-sony-leo (20210906.090605) (50/52) Installing perl-error (0.17029-r1) (51/52) Installing perl-git (2.33.0-r0) (52/52) Installing git-perl (2.33.0-r0) Executing busybox-1.34.0-r2.trigger Executing fontconfig-2.13.1-r4.trigger Executing mkfontscale-1.2.1-r1.trigger OK: 506 MiB in 116 packages ]0;>>> linux-sony-leo: Cleaning up srcdir ]0;>>> linux-sony-leo: Cleaning up pkgdir >>> linux-sony-leo: Fetching linux-sony-leo-bd06661fef846ee569888a27f3d12db9cf1d8741.tar.gz::https://github.com/LineageOS/android_kernel_sony_msm8974/archive/bd06661fef846ee569888a27f3d12db9cf1d8741.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 838 0 --:--:-- --:--:-- --:--:-- 840 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 4410k 0 4410k 0 0 1883k 0 --:--:-- 0:00:02 --:--:-- 2311k 100 10.3M 0 10.3M 0 0 3169k 0 --:--:-- 0:00:03 --:--:-- 3642k 100 16.5M 0 16.5M 0 0 3897k 0 --:--:-- 0:00:04 --:--:-- 4329k 100 22.7M 0 22.7M 0 0 4366k 0 --:--:-- 0:00:05 --:--:-- 4752k 100 28.9M 0 28.9M 0 0 4679k 0 --:--:-- 0:00:06 --:--:-- 6049k 100 35.2M 0 35.2M 0 0 4913k 0 --:--:-- 0:00:07 --:--:-- 6332k 100 41.2M 0 41.2M 0 0 5057k 0 --:--:-- 0:00:08 --:--:-- 6318k 100 47.2M 0 47.2M 0 0 5177k 0 --:--:-- 0:00:09 --:--:-- 6290k 100 53.3M 0 53.3M 0 0 5281k 0 --:--:-- 0:00:10 --:--:-- 6257k 100 59.2M 0 59.2M 0 0 5351k 0 --:--:-- 0:00:11 --:--:-- 6204k 100 65.2M 0 65.2M 0 0 5411k 0 --:--:-- 0:00:12 --:--:-- 6141k 100 71.5M 0 71.5M 0 0 5490k 0 --:--:-- 0:00:13 --:--:-- 6213k 100 77.4M 0 77.4M 0 0 5527k 0 --:--:-- 0:00:14 --:--:-- 6181k 100 83.2M 0 83.2M 0 0 5554k 0 --:--:-- 0:00:15 --:--:-- 6119k 100 88.7M 0 88.7M 0 0 5563k 0 --:--:-- 0:00:16 --:--:-- 6044k 100 95.0M 0 95.0M 0 0 5613k 0 --:--:-- 0:00:17 --:--:-- 6112k 100 101M 0 101M 0 0 5649k 0 --:--:-- 0:00:18 --:--:-- 6073k 100 107M 0 107M 0 0 5673k 0 --:--:-- 0:00:19 --:--:-- 6092k 100 107M 0 107M 0 0 5675k 0 --:--:-- 0:00:19 --:--:-- 6128k >>> linux-sony-leo: Fetching linux-sony-leo-bd06661fef846ee569888a27f3d12db9cf1d8741.tar.gz::https://github.com/LineageOS/android_kernel_sony_msm8974/archive/bd06661fef846ee569888a27f3d12db9cf1d8741.tar.gz >>> linux-sony-leo: Checking sha512sums... linux-sony-leo-bd06661fef846ee569888a27f3d12db9cf1d8741.tar.gz: OK config-sony-leo.armv7: OK gcc7-give-up-on-ilog2-const-optimizations.patch: OK gcc8-fix-put-user.patch: OK gcc10-extern_YYLOC_global_declaration.patch: OK 00_fix-video-argb-setting.patch: OK >>> linux-sony-leo: Unpacking /var/cache/distfiles/linux-sony-leo-bd06661fef846ee569888a27f3d12db9cf1d8741.tar.gz... >>> linux-sony-leo: gcc7-give-up-on-ilog2-const-optimizations.patch patching file include/linux/log2.h >>> linux-sony-leo: gcc8-fix-put-user.patch patching file arch/arm/include/asm/uaccess.h Hunk #1 succeeded at 180 (offset 18 lines). >>> linux-sony-leo: gcc10-extern_YYLOC_global_declaration.patch patching file scripts/dtc/dtc-lexer.l patching file scripts/dtc/dtc-lexer.lex.c_shipped >>> linux-sony-leo: 00_fix-video-argb-setting.patch patching file drivers/video/msm/mdss/mdss_fb.c Hunk #1 succeeded at 1790 (offset 23 lines). Hunk #2 succeeded at 1809 (offset 23 lines). Hunk #3 succeeded at 2597 (offset -126 lines). Hunk #4 succeeded at 2695 (offset -126 lines). NOTE: replacing /home/pmos/build/src/android_kernel_sony_msm8974-bd06661fef846ee569888a27f3d12db9cf1d8741/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_msm8974-bd06661fef846ee569888a27f3d12db9cf1d8741/include/linux/compiler-gcc.h' make: Entering directory '/home/pmos/build/src/android_kernel_sony_msm8974-bd06661fef846ee569888a27f3d12db9cf1d8741' 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_msm8974-bd06661fef846ee569888a27f3d12db9cf1d8741' 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 CHK include/linux/version.h WRAP arch/arm/include/generated/asm/errno.h UPD include/linux/version.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 WRAP arch/arm/include/generated/asm/local64.h WRAP arch/arm/include/generated/asm/percpu.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/simd.h WRAP arch/arm/include/generated/asm/sizes.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/dtc/checks.o CC scripts/mod/empty.o HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/selinux/mdp/mdp Generating include/generated/mach-types.h HOSTCC scripts/kallsyms HOSTCC scripts/dtc/data.o CC kernel/bounds.s SHIPPED scripts/dtc/dtc-lexer.lex.c SHIPPED scripts/dtc/dtc-parser.tab.h SHIPPED scripts/dtc/dtc-parser.tab.c HOSTCC scripts/dtc/dtc.o GEN include/generated/bounds.h CC arch/arm/kernel/asm-offsets.s HOSTCC scripts/dtc/flattree.o HOSTCC scripts/mod/modpost.o GEN include/generated/asm-offsets.h CALL scripts/checksyscalls.sh HOSTCC scripts/mod/sumversion.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/srcpos.o HOSTLD scripts/mod/modpost HOSTCC scripts/conmakehash HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/util.o HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/bin2c HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/dtc 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 LD usr/built-in.o AS arch/arm/vfp/entry.o CC arch/arm/kernel/elf.o AS arch/arm/vfp/vfphw.o CC arch/arm/vfp/vfpsingle.o AS arch/arm/kernel/entry-armv.o AS arch/arm/kernel/entry-common.o CC arch/arm/kernel/irq.o CHK include/generated/compile.h UPD include/generated/compile.h CC init/do_mounts.o CC arch/arm/kernel/opcodes.o CC arch/arm/vfp/vfpdouble.o CC arch/arm/kernel/process.o CC init/do_mounts_rd.o CC arch/arm/kernel/ptrace.o LD arch/arm/vfp/vfp.o LD arch/arm/vfp/built-in.o CC arch/arm/mm/dma-mapping.o CC init/do_mounts_initrd.o CC arch/arm/kernel/return_address.o CC arch/arm/kernel/setup.o CC init/initramfs.o CC arch/arm/mm/extable.o CC arch/arm/mm/fault.o CC arch/arm/kernel/signal.o CC init/calibrate.o CC init/version.o CC arch/arm/mm/init.o LD init/mounts.o LD init/built-in.o CC arch/arm/kernel/stacktrace.o CC arch/arm/mm/iomap.o CC arch/arm/kernel/sys_arm.o CC arch/arm/kernel/time.o CC arch/arm/mm/fault-armv.o CC arch/arm/kernel/traps.o CC arch/arm/kernel/cpuidle.o CC arch/arm/mm/flush.o CC arch/arm/mm/idmap.o CC arch/arm/kernel/armksyms.o CC arch/arm/kernel/module.o CC arch/arm/mm/ioremap.o AS arch/arm/kernel/sleep.o CC arch/arm/mm/mmap.o CC arch/arm/kernel/suspend.o CC arch/arm/kernel/smp.o CC arch/arm/kernel/smp_tlb.o CC arch/arm/mm/pgd.o CC arch/arm/mm/mmu.o CC arch/arm/kernel/smp_scu.o CC arch/arm/mm/vmregion.o CC arch/arm/kernel/arch_timer.o CC arch/arm/kernel/unwind.o CC arch/arm/mm/proc-syms.o CC arch/arm/kernel/devtree.o CC arch/arm/kernel/swp_emulate.o CC arch/arm/mm/alignment.o CC arch/arm/mm/highmem.o CC arch/arm/kernel/hw_breakpoint.o CC arch/arm/kernel/pmu.o AS arch/arm/mm/abort-ev7.o AS arch/arm/mm/pabort-v7.o AS arch/arm/mm/cache-v7.o CC arch/arm/mm/copypage-v6.o CC arch/arm/mm/context.o CC arch/arm/kernel/perf_event.o CC arch/arm/kernel/topology.o AS arch/arm/mm/tlb-v7.o AS arch/arm/mm/proc-v7.o LD arch/arm/mm/built-in.o CC arch/arm/kernel/io.o CC arch/arm/common/gic.o AS arch/arm/kernel/head.o LD arch/arm/net/built-in.o CC arch/arm/kernel/init_task.o AS arch/arm/crypto/aes-armv4.o CC arch/arm/crypto/aes_glue.o AS arch/arm/crypto/sha1-armv7-neon.o LD arch/arm/common/built-in.o CC arch/arm/crypto/sha1_neon_glue.o LDS arch/arm/kernel/vmlinux.lds CC arch/arm/mach-msm/io.o LD arch/arm/kernel/built-in.o CC arch/arm/mach-msm/dma.o AS arch/arm/crypto/sha1-armv4-large.o CC arch/arm/crypto/sha1_glue.o CC arch/arm/perfmon/perf-function-hooks.o LD arch/arm/perfmon/built-in.o AS arch/arm/crypto/sha512-armv7-neon.o CC arch/arm/mach-msm/memory.o CC kernel/fork.o CC arch/arm/crypto/sha512_neon_glue.o LD arch/arm/crypto/aes-arm.o CC arch/arm/mach-msm/clock.o LD arch/arm/crypto/sha1-arm.o LD arch/arm/crypto/sha1-arm-neon.o LD arch/arm/crypto/sha512-arm-neon.o LD arch/arm/crypto/built-in.o CC arch/arm/mach-msm/clock-voter.o CC mm/filemap.o CC arch/arm/mach-msm/clock-dummy.o CC arch/arm/mach-msm/clock-generic.o CC kernel/exec_domain.o CC arch/arm/mach-msm/modem_notifier.o CC arch/arm/mach-msm/board-dt.o CC arch/arm/mach-msm/nohlt.o CC kernel/panic.o CC arch/arm/mach-msm/clock-debug.o CC kernel/printk.o CC mm/mempool.o arch/arm/mach-msm/clock-debug.c: In function 'fmax_rates_show': arch/arm/mach-msm/clock-debug.c:204:49: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 204 | snprintf(reg_name, ARRAY_SIZE(reg_name), "reg %d", i); | ^~ arch/arm/mach-msm/clock-debug.c:204:44: note: directive argument in the range [0, 2147483646] 204 | snprintf(reg_name, ARRAY_SIZE(reg_name), "reg %d", i); | ^~~~~~~~ arch/arm/mach-msm/clock-debug.c:204:3: note: 'snprintf' output between 6 and 15 bytes into a destination of size 10 204 | snprintf(reg_name, ARRAY_SIZE(reg_name), "reg %d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC arch/arm/mach-msm/acpuclock.o CC arch/arm/mach-msm/perf_trace_counters.o CC mm/oom_kill.o CC arch/arm/mach-msm/clock-krait.o CC mm/fadvise.o CC arch/arm/mach-msm/msm-krait-l2-accessors.o CC kernel/cpu.o CC arch/arm/mach-msm/perf_event_msm_krait_l2.o CC mm/maccess.o CC mm/page_alloc.o CC kernel/exit.o CC arch/arm/mach-msm/krait-scm.o CC arch/arm/mach-msm/perf_debug.o AS arch/arm/mach-msm/headsmp.o CC arch/arm/mach-msm/platsmp.o CC arch/arm/mach-msm/hotplug.o AS arch/arm/mach-msm/idle-v7.o CC arch/arm/mach-msm/smd.o CC kernel/itimer.o HZFILE kernel/hz.bc CC kernel/softirq.o CC mm/page-writeback.o CC kernel/resource.o CC arch/arm/mach-msm/smd_debug.o CC kernel/sysctl.o CC mm/readahead.o CC mm/swap.o CC arch/arm/mach-msm/remote_spinlock.o CC arch/arm/mach-msm/smd_private.o CC kernel/sysctl_binary.o CC arch/arm/mach-msm/smem.o CC mm/truncate.o CC kernel/capability.o CC arch/arm/mach-msm/smd_init_dt.o CC mm/vmscan.o CC kernel/ptrace.o CC arch/arm/mach-msm/smd_init_plat.o CC arch/arm/mach-msm/smp2p.o CC kernel/timer.o CC arch/arm/mach-msm/smp2p_debug.o CC arch/arm/mach-msm/smp2p_gpio.o CC arch/arm/mach-msm/smp2p_loopback.o CC arch/arm/mach-msm/smp2p_test.o CC kernel/user.o CC mm/shmem.o CC kernel/signal.o CC arch/arm/mach-msm/smp2p_gpio_test.o CC arch/arm/mach-msm/smp2p_spinlock_test.o CC arch/arm/mach-msm/scm.o CC arch/arm/mach-msm/scm-boot.o CC mm/prio_tree.o CC arch/arm/mach-msm/scm-mpu.o CC mm/util.o CC arch/arm/mach-msm/peripheral-loader.o CC kernel/sys.o arch/arm/mach-msm/peripheral-loader.c: In function 'pil_desc_init': arch/arm/mach-msm/peripheral-loader.c:819:2: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation] 819 | strncpy(buf, desc->name, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC arch/arm/mach-msm/scm-pas.o CC arch/arm/mach-msm/pil-q6v5.o CC mm/mmzone.o CC arch/arm/mach-msm/pil-q6v5-lpass.o CC mm/vmstat.o CC kernel/kmod.o CC arch/arm/mach-msm/pil-msa.o In file included 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/pil-msa.c:13: arch/arm/mach-msm/pil-msa.c: In function 'pil_msa_wait_for_mba_ready': arch/arm/mach-msm/pil-msa.c:150:58: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 150 | status != 0, POLL_INTERVAL_US, pbl_mba_boot_timeout_ms * 1000); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ include/linux/kernel.h:180:39: note: in definition of macro 'might_sleep_if' 180 | #define might_sleep_if(cond) do { if (cond) might_sleep(); } while (0) | ^~~~ arch/arm/mach-msm/pil-msa.c:149:8: note: in expansion of macro 'readl_poll_timeout' 149 | ret = readl_poll_timeout(drv->rmb_base + RMB_PBL_STATUS, status, | ^~~~~~~~~~~~~~~~~~ In file included from arch/arm/mach-msm/pil-msa.c:15: arch/arm/mach-msm/pil-msa.c:150:58: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 150 | status != 0, POLL_INTERVAL_US, pbl_mba_boot_timeout_ms * 1000); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ include/linux/iopoll.h:45:7: note: in definition of macro 'readl_poll_timeout' 45 | if (timeout_us && ktime_compare(ktime_get(), timeout) > 0) { \ | ^~~~~~~~~~ In file included 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/pil-msa.c:13: arch/arm/mach-msm/pil-msa.c:162:58: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 162 | status != 0, POLL_INTERVAL_US, pbl_mba_boot_timeout_ms * 1000); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ include/linux/kernel.h:180:39: note: in definition of macro 'might_sleep_if' 180 | #define might_sleep_if(cond) do { if (cond) might_sleep(); } while (0) | ^~~~ arch/arm/mach-msm/pil-msa.c:161:8: note: in expansion of macro 'readl_poll_timeout' 161 | ret = readl_poll_timeout(drv->rmb_base + RMB_MBA_STATUS, status, | ^~~~~~~~~~~~~~~~~~ In file included from arch/arm/mach-msm/pil-msa.c:15: arch/arm/mach-msm/pil-msa.c:162:58: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 162 | status != 0, POLL_INTERVAL_US, pbl_mba_boot_timeout_ms * 1000); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ include/linux/iopoll.h:45:7: note: in definition of macro 'readl_poll_timeout' 45 | if (timeout_us && ktime_compare(ktime_get(), timeout) > 0) { \ | ^~~~~~~~~~ In file included 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/pil-msa.c:13: arch/arm/mach-msm/pil-msa.c: In function 'pil_msa_mba_init_image': arch/arm/mach-msm/pil-msa.c:322:43: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 322 | POLL_INTERVAL_US, modem_auth_timeout_ms * 1000); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ include/linux/kernel.h:180:39: note: in definition of macro 'might_sleep_if' 180 | #define might_sleep_if(cond) do { if (cond) might_sleep(); } while (0) | ^~~~ arch/arm/mach-msm/pil-msa.c:320:8: note: in expansion of macro 'readl_poll_timeout' 320 | ret = readl_poll_timeout(drv->rmb_base + RMB_MBA_STATUS, status, | ^~~~~~~~~~~~~~~~~~ In file included from arch/arm/mach-msm/pil-msa.c:15: arch/arm/mach-msm/pil-msa.c:322:43: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 322 | POLL_INTERVAL_US, modem_auth_timeout_ms * 1000); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ include/linux/iopoll.h:45:7: note: in definition of macro 'readl_poll_timeout' 45 | if (timeout_us && ktime_compare(ktime_get(), timeout) > 0) { \ | ^~~~~~~~~~ In file included 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/pil-msa.c:13: arch/arm/mach-msm/pil-msa.c: In function 'pil_msa_mba_auth': arch/arm/mach-msm/pil-msa.c:370:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 370 | 50, modem_auth_timeout_ms * 1000); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ include/linux/kernel.h:180:39: note: in definition of macro 'might_sleep_if' 180 | #define might_sleep_if(cond) do { if (cond) might_sleep(); } while (0) | ^~~~ arch/arm/mach-msm/pil-msa.c:368:8: note: in expansion of macro 'readl_poll_timeout' 368 | ret = readl_poll_timeout(drv->rmb_base + RMB_MBA_STATUS, status, | ^~~~~~~~~~~~~~~~~~ In file included from arch/arm/mach-msm/pil-msa.c:15: arch/arm/mach-msm/pil-msa.c:370:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 370 | 50, modem_auth_timeout_ms * 1000); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ include/linux/iopoll.h:45:7: note: in definition of macro 'readl_poll_timeout' 45 | if (timeout_us && ktime_compare(ktime_get(), timeout) > 0) { \ | ^~~~~~~~~~ CC kernel/workqueue.o CC arch/arm/mach-msm/pil-q6v5-mss.o CC mm/backing-dev.o CC arch/arm/mach-msm/pil-venus.o CC arch/arm/mach-msm/bam_dmux.o CC mm/page_isolation.o CC mm/mm_init.o CC mm/mmu_context.o CC mm/percpu.o CC kernel/pid.o CC mm/compaction.o CC kernel/rcupdate.o CC kernel/extable.o CC mm/fremap.o CC arch/arm/mach-msm/smem_log.o CC kernel/params.o CC mm/highmem.o CC kernel/posix-timers.o CC mm/madvise.o CC arch/arm/mach-msm/ipc_logging.o CC mm/memory.o CC kernel/kthread.o CC arch/arm/mach-msm/ipc_logging_debug.o CC arch/arm/mach-msm/socinfo.o CC kernel/wait.o arch/arm/mach-msm/socinfo.c: In function 'msm_set_image_crm_version': arch/arm/mach-msm/socinfo.c:1079:62: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 1079 | snprintf(store_address, SMEM_IMAGE_VERSION_OEM_SIZE, "%-.32s", buf); | ^ arch/arm/mach-msm/socinfo.c:1079:2: note: 'snprintf' output between 1 and 33 bytes into a destination of size 32 1079 | snprintf(store_address, SMEM_IMAGE_VERSION_OEM_SIZE, "%-.32s", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/socinfo.c: In function 'msm_set_image_variant': arch/arm/mach-msm/socinfo.c:999:66: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 999 | snprintf(store_address, SMEM_IMAGE_VERSION_VARIANT_SIZE, "%-.20s", buf); | ^ arch/arm/mach-msm/socinfo.c:999:2: note: 'snprintf' output between 1 and 21 bytes into a destination of size 20 999 | snprintf(store_address, SMEM_IMAGE_VERSION_VARIANT_SIZE, "%-.20s", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/socinfo.c: In function 'msm_set_image_version': arch/arm/mach-msm/socinfo.c:957:63: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 957 | snprintf(store_address, SMEM_IMAGE_VERSION_NAME_SIZE, "%-.75s", buf); | ^ arch/arm/mach-msm/socinfo.c:957:2: note: 'snprintf' output between 1 and 76 bytes into a destination of size 75 957 | snprintf(store_address, SMEM_IMAGE_VERSION_NAME_SIZE, "%-.75s", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC kernel/kfifo.o CC arch/arm/mach-msm/smd_tty.o CC mm/mincore.o CC kernel/sys_ni.o CC kernel/posix-cpu-timers.o CC mm/mlock.o CC arch/arm/mach-msm/smd_qmi.o CC mm/mmap.o CC arch/arm/mach-msm/smd_pkt.o CC kernel/mutex.o CC kernel/hrtimer.o CC arch/arm/mach-msm/smd_nmea.o CC arch/arm/mach-msm/reset_modem.o CC mm/mprotect.o CC arch/arm/mach-msm/ipc_router_smd_xprt.o CC kernel/rwsem.o CC mm/mremap.o CC kernel/nsproxy.o CC arch/arm/mach-msm/ipc_router.o CC mm/msync.o CC kernel/srcu.o CC kernel/semaphore.o CC mm/rmap.o CC kernel/notifier.o CC kernel/ksysfs.o CC kernel/cred.o CC mm/vmalloc.o CC arch/arm/mach-msm/ipc_socket.o CC kernel/async.o CC kernel/range.o CC kernel/groups.o CC arch/arm/mach-msm/msm_ipc_router_security.o CC kernel/lglock.o CC mm/pagewalk.o CC arch/arm/mach-msm/msm_qmi_interface.o CC kernel/events/core.o CC mm/pgtable-generic.o CC mm/process_vm_access.o MKCAP arch/arm/mach-msm/smd_rpc_sym.c CC arch/arm/mach-msm/msm_bus/msm_bus_core.o CC arch/arm/mach-msm/msm_bus/msm_bus_fabric.o CC mm/showmem.o CC mm/vmpressure.o CC mm/init-mm.o CC mm/bootmem.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/memblock.o In function 'perf_event_mmap_event', inlined from 'perf_event_mmap' at kernel/events/core.c:4973:2: kernel/events/core.c:4893:11: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 4893 | name = strncpy(tmp, arch_vma_name(mmap_event->vma), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4894 | sizeof(tmp)); | ~~~~~~~~~~~~ CC mm/bounce.o CC arch/arm/mach-msm/msm_bus/msm_bus_bimc.o CC kernel/events/ring_buffer.o CC mm/page_io.o CC arch/arm/mach-msm/msm_bus/msm_bus_noc.o CC kernel/events/callchain.o CC mm/swap_state.o CC kernel/events/hw_breakpoint.o CC arch/arm/mach-msm/msm_bus/msm_bus_of.o CC mm/swapfile.o LD kernel/events/built-in.o CC kernel/irq/irqdesc.o CC arch/arm/mach-msm/msm_bus/msm_bus_rpm_smd.o CC kernel/irq/handle.o CC arch/arm/mach-msm/msm_bus/msm_bus_board_8974.o CC kernel/irq/manage.o CC arch/arm/mach-msm/msm_bus/msm_bus_dbg.o CC mm/dmapool.o CC kernel/irq/spurious.o LD arch/arm/mach-msm/msm_bus/built-in.o CC arch/arm/mach-msm/qdsp6v2/apr.o CC mm/ksm.o CC kernel/irq/resend.o CC kernel/irq/chip.o CC arch/arm/mach-msm/qdsp6v2/apr_v2.o CC arch/arm/mach-msm/qdsp6v2/apr_tal.o CC kernel/irq/dummychip.o CC mm/slub.o CC kernel/irq/devres.o CC arch/arm/mach-msm/qdsp6v2/dsp_debug.o CC kernel/irq/autoprobe.o CC kernel/irq/irqdomain.o CC arch/arm/mach-msm/qdsp6v2/voice_svc.o arch/arm/mach-msm/qdsp6v2/voice_svc.c: In function 'voice_svc_send_req': arch/arm/mach-msm/qdsp6v2/voice_svc.c:229:2: warning: converting a packed 'struct apr_data' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 229 | ret = apr_send_pkt(apr_handle, (uint32_t *)aprdata); | ^~~ arch/arm/mach-msm/qdsp6v2/voice_svc.c:55:8: note: defined here 55 | struct apr_data { | ^~~~~~~~ CC kernel/irq/proc.o CC arch/arm/mach-msm/qdsp6v2/aac_in.o CC kernel/irq/pm.o CC arch/arm/mach-msm/qdsp6v2/qcelp_in.o LD kernel/irq/built-in.o CC kernel/power/qos.o CC kernel/power/main.o CC arch/arm/mach-msm/qdsp6v2/evrc_in.o CC mm/migrate.o CC arch/arm/mach-msm/qdsp6v2/amrnb_in.o CC kernel/power/console.o CC kernel/power/process.o CC arch/arm/mach-msm/qdsp6v2/audio_utils.o CC mm/memcontrol.o CC kernel/power/suspend.o CC arch/arm/mach-msm/qdsp6v2/audio_wma.o CC kernel/power/autosleep.o CC arch/arm/mach-msm/qdsp6v2/audio_wmapro.o CC kernel/power/wakelock.o CC arch/arm/mach-msm/qdsp6v2/audio_aac.o CC kernel/power/poweroff.o LD kernel/power/built-in.o CC kernel/sched/core.o CC arch/arm/mach-msm/qdsp6v2/audio_multi_aac.o CC arch/arm/mach-msm/qdsp6v2/audio_utils_aio.o CC mm/page_cgroup.o CC mm/zsmalloc.o CC arch/arm/mach-msm/qdsp6v2/q6audio_v2.o CC arch/arm/mach-msm/qdsp6v2/q6audio_v2_aio.o LD mm/built-in.o CC arch/arm/mach-msm/qdsp6v2/msm_audio_ion.o CC fs/open.o CC arch/arm/mach-msm/qdsp6v2/audio_mp3.o CC arch/arm/mach-msm/qdsp6v2/audio_amrnb.o CC fs/read_write.o CC arch/arm/mach-msm/qdsp6v2/audio_amrwb.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; | ^~~~~ CC arch/arm/mach-msm/qdsp6v2/audio_evrc.o CC fs/file_table.o CC arch/arm/mach-msm/qdsp6v2/audio_qcelp.o CC kernel/sched/clock.o CC fs/super.o CC kernel/sched/idle_task.o CC arch/arm/mach-msm/qdsp6v2/amrwb_in.o CC kernel/sched/fair.o CC arch/arm/mach-msm/qdsp6v2/adsp-loader.o CC arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.o CC fs/char_dev.o arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c: In function 'q6usm_memory_map': arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:82:20: warning: taking address of packed member of 'struct usm_cmd_memory_map_region' may result in an unaligned pointer value [-Waddress-of-packed-member] 82 | q6usm_add_mmaphdr(&mem_region_map.hdr, | ^~~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:96:2: warning: converting a packed 'struct usm_cmd_memory_map_region' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 96 | rc = apr_send_pkt(this_mmap.apr, (uint32_t *) &mem_region_map); | ^~ In file included from arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:21: arch/arm/mach-msm/include/mach/qdsp6v2/apr_us_b.h:21:8: note: defined here 21 | struct usm_cmd_memory_map_region { | ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c: In function 'q6usm_memory_unmap': arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:129:20: warning: taking address of packed member of 'struct usm_cmd_memory_unmap_region' may result in an unaligned pointer value [-Waddress-of-packed-member] 129 | q6usm_add_mmaphdr(&mem_unmap.hdr, | ^~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:135:2: warning: converting a packed 'struct usm_cmd_memory_unmap_region' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 135 | rc = apr_send_pkt(this_mmap.apr, (uint32_t *) &mem_unmap); | ^~ In file included from arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:21: arch/arm/mach-msm/include/mach/qdsp6v2/apr_us_b.h:37:8: note: defined here 37 | struct usm_cmd_memory_unmap_region { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c: In function 'q6usm_open_read': arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:778:21: warning: taking address of packed member of 'struct usm_stream_cmd_open_read' may result in an unaligned pointer value [-Waddress-of-packed-member] 778 | q6usm_add_hdr(usc, &open.hdr, sizeof(open), true); | ^~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:790:2: warning: converting a packed 'struct usm_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] 790 | rc = apr_send_pkt(usc->apr, (uint32_t *) &open); | ^~ In file included from arch/arm/mach-msm/include/mach/qdsp6v2/apr_us_b.h:16, from arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:21: arch/arm/mach-msm/include/mach/qdsp6v2/apr_us.h:31:8: note: defined here 31 | struct usm_stream_cmd_open_read { | ^~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c: In function 'q6usm_enc_cfg_blk': arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:853:21: warning: taking address of packed member of 'struct usm_stream_cmd_encdec_cfg_blk' may result in an unaligned pointer value [-Waddress-of-packed-member] 853 | q6usm_add_hdr(usc, &enc_cfg->hdr, total_cfg_size - APR_HDR_SIZE, true); | ^~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:900:2: warning: converting a packed 'struct usm_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] 900 | rc = apr_send_pkt(usc->apr, (uint32_t *) enc_cfg); | ^~ In file included from arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:21: arch/arm/mach-msm/include/mach/qdsp6v2/apr_us_b.h:90:8: note: defined here 90 | struct usm_stream_cmd_encdec_cfg_blk { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c: In function 'q6usm_dec_cfg_blk': arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:967:21: warning: taking address of packed member of 'struct usm_stream_media_format_update' may result in an unaligned pointer value [-Waddress-of-packed-member] 967 | q6usm_add_hdr(usc, &dec_cfg->hdr, total_cfg_size - APR_HDR_SIZE, true); | ^~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:988:2: warning: converting a packed 'struct usm_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] 988 | rc = apr_send_pkt(usc->apr, (uint32_t *) dec_cfg); | ^~ In file included from arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:21: arch/arm/mach-msm/include/mach/qdsp6v2/apr_us_b.h:70:8: note: defined here 70 | struct usm_stream_media_format_update { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c: In function 'q6usm_open_write': arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:1025:21: warning: taking address of packed member of 'struct usm_stream_cmd_open_write' may result in an unaligned pointer value [-Waddress-of-packed-member] 1025 | q6usm_add_hdr(usc, &open.hdr, sizeof(open), true); | ^~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:1036:2: warning: converting a packed 'struct usm_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] 1036 | rc = apr_send_pkt(usc->apr, (uint32_t *) &open); | ^~ In file included from arch/arm/mach-msm/include/mach/qdsp6v2/apr_us_b.h:16, from arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:21: arch/arm/mach-msm/include/mach/qdsp6v2/apr_us.h:40:8: note: defined here 40 | struct usm_stream_cmd_open_write { | ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c: In function 'q6usm_run': arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:1067:21: warning: taking address of packed member of 'struct usm_stream_cmd_run' may result in an unaligned pointer value [-Waddress-of-packed-member] 1067 | q6usm_add_hdr(usc, &run.hdr, sizeof(run), true); | ^~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:1074:2: warning: converting a packed 'struct usm_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] 1074 | rc = apr_send_pkt(usc->apr, (uint32_t *) &run); | ^~ In file included from arch/arm/mach-msm/include/mach/qdsp6v2/apr_us_b.h:16, from arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:21: arch/arm/mach-msm/include/mach/qdsp6v2/apr_us.h:22:8: note: defined here 22 | struct usm_stream_cmd_run { | ^~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c: In function 'q6usm_read': arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:1126:21: warning: taking address of packed member of 'struct usm_stream_cmd_read' may result in an unaligned pointer value [-Waddress-of-packed-member] 1126 | q6usm_add_hdr(usc, &read.hdr, (sizeof(read) - APR_HDR_SIZE), false); | ^~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:1146:3: warning: converting a packed 'struct usm_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] 1146 | rc = apr_send_pkt(usc->apr, (uint32_t *) &read); | ^~ In file included from arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:21: arch/arm/mach-msm/include/mach/qdsp6v2/apr_us_b.h:43:8: note: defined here 43 | struct usm_stream_cmd_read { | ^~~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c: In function 'q6usm_write': arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:1197:21: warning: taking address of packed member of 'struct usm_stream_cmd_write' may result in an unaligned pointer value [-Waddress-of-packed-member] 1197 | q6usm_add_hdr(usc, &cmd_write.hdr, | ^~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:1220:3: warning: converting a packed 'struct usm_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] 1220 | rc = apr_send_pkt(usc->apr, (uint32_t *) &cmd_write); | ^~ In file included from arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:21: arch/arm/mach-msm/include/mach/qdsp6v2/apr_us_b.h:56:8: note: defined here 56 | struct usm_stream_cmd_write { | ^~~~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c: In function 'q6usm_set_us_detection': arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:1311:21: warning: taking address of packed member of 'struct usm_session_cmd_detect_info' may result in an unaligned pointer value [-Waddress-of-packed-member] 1311 | q6usm_add_hdr(usc, &detect_info->hdr, | ^~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:1316:2: warning: converting a packed 'struct usm_session_cmd_detect_info' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1316 | rc = apr_send_pkt(usc->apr, (uint32_t *)detect_info); | ^~ In file included from arch/arm/mach-msm/include/mach/qdsp6v2/apr_us_b.h:16, from arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:21: arch/arm/mach-msm/include/mach/qdsp6v2/apr_us.h:104:8: note: defined here 104 | struct usm_session_cmd_detect_info { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c: In function 'q6usm_set_us_stream_param': arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:1347:21: warning: taking address of packed member of 'struct usm_stream_cmd_set_param' may result in an unaligned pointer value [-Waddress-of-packed-member] 1347 | q6usm_add_hdr(usc, &cmd_set_param.hdr, | ^~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:1360:2: warning: converting a packed 'struct usm_stream_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] 1360 | rc = apr_send_pkt(usc->apr, (uint32_t *) &cmd_set_param); | ^~ In file included from arch/arm/mach-msm/include/mach/qdsp6v2/apr_us_b.h:16, from arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:21: arch/arm/mach-msm/include/mach/qdsp6v2/apr_us.h:49:8: note: defined here 49 | struct usm_stream_cmd_set_param { | ^~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c: In function 'q6usm_get_us_stream_param': arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:1393:21: warning: taking address of packed member of 'struct usm_stream_cmd_get_param' may result in an unaligned pointer value [-Waddress-of-packed-member] 1393 | q6usm_add_hdr(usc, &cmd_get_param.hdr, | ^~~~~~~~~~~~~~~~~~ arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:1406:2: warning: converting a packed 'struct usm_stream_cmd_get_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] 1406 | rc = apr_send_pkt(usc->apr, (uint32_t *) &cmd_get_param); | ^~ In file included from arch/arm/mach-msm/include/mach/qdsp6v2/apr_us_b.h:16, from arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/q6usm_b.c:21: arch/arm/mach-msm/include/mach/qdsp6v2/apr_us.h:60:8: note: defined here 60 | struct usm_stream_cmd_get_param { | ^~~~~~~~~~~~~~~~~~~~~~~~ CC fs/stat.o CC arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/../usf.o CC fs/exec.o fs/exec.c: In function 'get_task_comm': fs/exec.c:1075: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] 1075 | strncpy(buf, tsk->comm, sizeof(tsk->comm)); | ^ CC kernel/sched/rt.o CC arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/../usfcdev.o CC fs/pipe.o LD arch/arm/mach-msm/qdsp6v2/ultrasound/version_b/built-in.o LD arch/arm/mach-msm/qdsp6v2/built-in.o CC arch/arm/mach-msm/pm-boot.o CC arch/arm/mach-msm/pm-stats.o CC kernel/sched/stop_task.o CC kernel/sched/sched_avg.o CC arch/arm/mach-msm/spm-v2.o CC kernel/sched/cpupri.o CC fs/namei.o CC arch/arm/mach-msm/spm_devices.o CC kernel/sched/stats.o CC kernel/sched/debug.o CC arch/arm/mach-msm/keypad-surf-ffa.o CC arch/arm/mach-msm/boot_stats.o CC arch/arm/mach-msm/rpm-regulator-smd.o LD kernel/sched/built-in.o CC kernel/time/timekeeping.o CC arch/arm/mach-msm/subsystem_notif.o arch/arm/mach-msm/subsystem_notif.c: In function 'subsys_notif_queue_notification': arch/arm/mach-msm/subsystem_notif.c:160:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 160 | if (notif_type < 0 || notif_type >= SUBSYS_NOTIF_TYPE_COUNT) | ^~ arch/arm/mach-msm/subsystem_notif.c:163:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 163 | ret = srcu_notifier_call_chain( | ^~~ CC arch/arm/mach-msm/subsystem_restart.o CC fs/fcntl.o CC kernel/time/ntp.o CC kernel/time/clocksource.o CC arch/arm/mach-msm/ramdump.o CC fs/ioctl.o CC kernel/time/jiffies.o CC arch/arm/mach-msm/sysmon.o CC fs/readdir.o CC kernel/time/timer_list.o CC arch/arm/mach-msm/msm_watchdog_v2.o CC fs/select.o CC kernel/time/timecompare.o CC kernel/time/timeconv.o CC arch/arm/mach-msm/msm_memory_dump.o CC kernel/time/posix-clock.o CC fs/fifo.o CC arch/arm/mach-msm/bms-batterydata.o CC arch/arm/mach-msm/bms-batterydata-desay.o CC arch/arm/mach-msm/batterydata-lib.o CC kernel/time/alarmtimer.o CC fs/dcache.o CC arch/arm/mach-msm/bms-batterydata-qrd-4v35-2000mah.o CC arch/arm/mach-msm/bms-batterydata-qrd-4v2-1300mah.o CC arch/arm/mach-msm/board-8974.o CC kernel/time/clockevents.o CC arch/arm/mach-msm/board-8974-console.o CC arch/arm/mach-msm/clock-krait-8974.o CC kernel/time/tick-common.o CC kernel/time/tick-broadcast.o CC arch/arm/mach-msm/clock-local2.o CC kernel/time/sched_clock.o CC fs/inode.o CC arch/arm/mach-msm/clock-pll.o CC kernel/time/tick-oneshot.o CC kernel/time/tick-sched.o CC arch/arm/mach-msm/clock-8974.o LD kernel/time/built-in.o CC fs/attr.o CC kernel/trace/trace_clock.o CC kernel/trace/ring_buffer.o CC arch/arm/mach-msm/clock-rpm.o CC fs/bad_inode.o CC arch/arm/mach-msm/clock-mdss-8974.o CC fs/file.o CC fs/filesystems.o CC fs/namespace.o CC kernel/trace/trace.o kernel/trace/trace.c: In function 'set_cmdline_ftrace': kernel/trace/trace.c:131:2: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 131 | strncpy(bootup_tracer_buf, str, MAX_TRACER_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC fs/seq_file.o CC fs/xattr.o CC arch/arm/mach-msm/gdsc.o CC arch/arm/mach-msm/krait-regulator.o CC fs/libfs.o CC kernel/trace/trace_output.o CC arch/arm/mach-msm/krait-regulator-pmic.o CC fs/fs-writeback.o CC arch/arm/mach-msm/msm-pm.o CC kernel/trace/trace_stat.o CC kernel/trace/trace_printk.o In file included from include/trace/define_trace.h:86, from include/trace/events/writeback.h:470, from fs/fs-writeback.c:94: include/trace/events/writeback.h: In function 'perf_trace_writeback_work_class': include/trace/events/writeback.h:52:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 52 | strncpy(__entry->name, dev_name(dev), 32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/trace/ftrace.h:755:4: note: in definition of macro 'DECLARE_EVENT_CLASS' 755 | { assign; } \ | ^~~~~~ include/trace/events/writeback.h:48:2: note: in expansion of macro 'TP_fast_assign' 48 | TP_fast_assign( | ^~~~~~~~~~~~~~ include/trace/events/writeback.h: In function 'perf_trace_writeback_class': include/trace/events/writeback.h:103:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 103 | strncpy(__entry->name, dev_name(bdi->dev), 32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/trace/ftrace.h:755:4: note: in definition of macro 'DECLARE_EVENT_CLASS' 755 | { assign; } \ | ^~~~~~ include/trace/events/writeback.h:102:2: note: in expansion of macro 'TP_fast_assign' 102 | TP_fast_assign( | ^~~~~~~~~~~~~~ include/trace/events/writeback.h: In function 'perf_trace_wbc_class': include/trace/events/writeback.h:140:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 140 | strncpy(__entry->name, dev_name(bdi->dev), 32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/trace/ftrace.h:755:4: note: in definition of macro 'DECLARE_EVENT_CLASS' 755 | { assign; } \ | ^~~~~~ include/trace/events/writeback.h:139:2: note: in expansion of macro 'TP_fast_assign' 139 | TP_fast_assign( | ^~~~~~~~~~~~~~ include/trace/events/writeback.h: In function 'perf_trace_writeback_queue_io': include/trace/events/writeback.h:187:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 187 | strncpy(__entry->name, dev_name(wb->bdi->dev), 32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/trace/ftrace.h:755:4: note: in definition of macro 'DECLARE_EVENT_CLASS' 755 | { assign; } \ | ^~~~~~ include/trace/ftrace.h:37:9: note: in expansion of macro 'PARAMS' 37 | PARAMS(assign), \ | ^~~~~~ include/trace/events/writeback.h:173:1: note: in expansion of macro 'TRACE_EVENT' 173 | TRACE_EVENT(writeback_queue_io, | ^~~~~~~~~~~ include/trace/events/writeback.h:185:2: note: in expansion of macro 'TP_fast_assign' 185 | TP_fast_assign( | ^~~~~~~~~~~~~~ In file included from include/trace/define_trace.h:86, from include/trace/events/writeback.h:470, from fs/fs-writeback.c:94: include/trace/events/writeback.h: In function 'ftrace_raw_event_writeback_work_class': include/trace/events/writeback.h:52:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 52 | strncpy(__entry->name, dev_name(dev), 32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/trace/ftrace.h:547:4: note: in definition of macro 'DECLARE_EVENT_CLASS' 547 | { assign; } \ | ^~~~~~ include/trace/events/writeback.h:48:2: note: in expansion of macro 'TP_fast_assign' 48 | TP_fast_assign( | ^~~~~~~~~~~~~~ include/trace/events/writeback.h: In function 'ftrace_raw_event_writeback_class': include/trace/events/writeback.h:103:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 103 | strncpy(__entry->name, dev_name(bdi->dev), 32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/trace/ftrace.h:547:4: note: in definition of macro 'DECLARE_EVENT_CLASS' 547 | { assign; } \ | ^~~~~~ include/trace/events/writeback.h:102:2: note: in expansion of macro 'TP_fast_assign' 102 | TP_fast_assign( | ^~~~~~~~~~~~~~ include/trace/events/writeback.h: In function 'ftrace_raw_event_wbc_class': include/trace/events/writeback.h:140:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 140 | strncpy(__entry->name, dev_name(bdi->dev), 32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/trace/ftrace.h:547:4: note: in definition of macro 'DECLARE_EVENT_CLASS' 547 | { assign; } \ | ^~~~~~ include/trace/events/writeback.h:139:2: note: in expansion of macro 'TP_fast_assign' 139 | TP_fast_assign( | ^~~~~~~~~~~~~~ include/trace/events/writeback.h: In function 'ftrace_raw_event_writeback_queue_io': include/trace/events/writeback.h:187:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 187 | strncpy(__entry->name, dev_name(wb->bdi->dev), 32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/trace/ftrace.h:547:4: note: in definition of macro 'DECLARE_EVENT_CLASS' 547 | { assign; } \ | ^~~~~~ include/trace/ftrace.h:37:9: note: in expansion of macro 'PARAMS' 37 | PARAMS(assign), \ | ^~~~~~ include/trace/events/writeback.h:173:1: note: in expansion of macro 'TRACE_EVENT' 173 | TRACE_EVENT(writeback_queue_io, | ^~~~~~~~~~~ include/trace/events/writeback.h:185:2: note: in expansion of macro 'TP_fast_assign' 185 | TP_fast_assign( | ^~~~~~~~~~~~~~ In file included from include/trace/define_trace.h:86, from include/trace/events/writeback.h:470, from fs/fs-writeback.c:94: include/trace/events/writeback.h: In function 'perf_trace_writeback_single_inode_template': include/trace/events/writeback.h:430:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 430 | strncpy(__entry->name, | ^~~~~~~~~~~~~~~~~~~~~~ 431 | dev_name(inode_to_bdi(inode)->dev), 32); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/trace/ftrace.h:755:4: note: in definition of macro 'DECLARE_EVENT_CLASS' 755 | { assign; } \ | ^~~~~~ include/trace/events/writeback.h:429:2: note: in expansion of macro 'TP_fast_assign' 429 | TP_fast_assign( | ^~~~~~~~~~~~~~ In file included from include/trace/define_trace.h:86, from include/trace/events/writeback.h:470, from fs/fs-writeback.c:94: include/trace/events/writeback.h: In function 'ftrace_raw_event_writeback_single_inode_template': include/trace/events/writeback.h:430:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 430 | strncpy(__entry->name, | ^~~~~~~~~~~~~~~~~~~~~~ 431 | dev_name(inode_to_bdi(inode)->dev), 32); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/trace/ftrace.h:547:4: note: in definition of macro 'DECLARE_EVENT_CLASS' 547 | { assign; } \ | ^~~~~~ include/trace/events/writeback.h:429:2: note: in expansion of macro 'TP_fast_assign' 429 | TP_fast_assign( | ^~~~~~~~~~~~~~ CC arch/arm/mach-msm/pm-data.o CC kernel/trace/trace_sched_switch.o CC arch/arm/mach-msm/ext-buck-control.o CC arch/arm/mach-msm/board-sony_leo-gpiomux.o CC kernel/trace/trace_nop.o CC fs/pnode.o CC arch/arm/mach-msm/board-sony_leo_samba-gpiomux-diff.o CC arch/arm/mach-msm/bms-batterydata-leo.o CC arch/arm/mach-msm/board-sony_shinano-nfc.o CC fs/drop_caches.o CC kernel/trace/blktrace.o CC arch/arm/mach-msm/board-sony_shinano-wifi.o CC fs/splice.o CC kernel/trace/trace_events.o CC arch/arm/mach-msm/board-sony_shinano-hw.o CC arch/arm/mach-msm/sony_gpiomux.o CC arch/arm/mach-msm/board-sony_shinano-gpiomux-ref.o CC arch/arm/mach-msm/rpm-smd.o CC kernel/trace/trace_export.o CC fs/sync.o CC kernel/trace/trace_event_perf.o CC fs/utimes.o CC kernel/trace/trace_events_filter.o CC arch/arm/mach-msm/lpm_levels.o CC fs/stack.o CC fs/fs_struct.o CC fs/statfs.o CC arch/arm/mach-msm/mpm-of.o CC fs/buffer.o CC kernel/trace/power-traces.o CC arch/arm/mach-msm/rpm_stats.o CC kernel/trace/rpm-traces.o CC arch/arm/mach-msm/rpm_master_stat.o LD kernel/trace/built-in.o CC kernel/freezer.o CC arch/arm/mach-msm/rpm_rbcpr_stats_v2.o CC kernel/profile.o CC arch/arm/mach-msm/rpm_log.o CC fs/bio.o CC kernel/stacktrace.o CC arch/arm/mach-msm/tz_log.o CC kernel/futex.o CC arch/arm/mach-msm/iommu_domains.o CC fs/block_dev.o CC arch/arm/mach-msm/event_timer.o CC arch/arm/mach-msm/ocmem.o CC kernel/rtmutex.o CC fs/direct-io.o CC arch/arm/mach-msm/ocmem_allocator.o CC kernel/smp.o CC arch/arm/mach-msm/ocmem_notifier.o CC arch/arm/mach-msm/ocmem_sched.o CC kernel/spinlock.o CC kernel/uid16.o CC fs/mpage.o CC kernel/module.o CC arch/arm/mach-msm/ocmem_api.o CC fs/ioprio.o CC arch/arm/mach-msm/ocmem_rdm.o CC arch/arm/mach-msm/ocmem_core.o CC fs/proc_namespace.o CC arch/arm/mach-msm/sensors_adsp.o LD fs/cifs/built-in.o CC [M] fs/cifs/cifsfs.o CC arch/arm/mach-msm/gpiomux-v2.o CC arch/arm/mach-msm/gpiomux.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 fs/cifs/cifsfs.c:30: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'init_cifs': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ fs/cifs/cifsfs.c:1243:1: note: in expansion of macro 'module_init' 1243 | module_init(init_cifs) | ^~~~~~~~~~~ fs/cifs/cifsfs.c:1112:1: note: 'init_module' target declared here 1112 | init_cifs(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 fs/cifs/cifsfs.c:30: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'exit_cifs': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ fs/cifs/cifsfs.c:1244:1: note: in expansion of macro 'module_exit' 1244 | module_exit(exit_cifs) | ^~~~~~~~~~~ fs/cifs/cifsfs.c:1217:1: note: 'cleanup_module' target declared here 1217 | exit_cifs(void) | ^~~~~~~~~ CC kernel/kallsyms.o CC arch/arm/mach-msm/msm_rq_stats.o CC [M] fs/cifs/cifssmb.o CC kernel/cgroup.o CC arch/arm/mach-msm/msm_show_resume_irq.o CC arch/arm/mach-msm/restart.o fs/cifs/cifssmb.c: In function 'inc_rfc1001_len': fs/cifs/cifssmb.c:398:15: warning: taking address of packed member of 'struct smb_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 398 | be32_add_cpu(&hdr->smb_buf_length, count); | ^~~~~~~~~~~~~~~~~~~~ CC arch/arm/mach-msm/msm_rtb.o CC arch/arm/mach-msm/cache_erp.o CC arch/arm/mach-msm/wdog_debug.o CC arch/arm/mach-msm/msm_mem_hole.o CC arch/arm/mach-msm/modem_restart_monitor.o CC arch/arm/mach-msm/msm_mpmctr.o CC arch/arm/mach-msm/cpufreq.o CC kernel/cgroup_freezer.o CC arch/arm/mach-msm/devfreq_cpubw.o CC [M] fs/cifs/cifs_debug.o GZIP kernel/config_data.gz CC kernel/res_counter.o CC arch/arm/mach-msm/smd_rpc_sym.o LD arch/arm/mach-msm/built-in.o CC kernel/stop_machine.o CC [M] fs/cifs/connect.o CC ipc/util.o CC kernel/audit.o CC ipc/msgutil.o CC ipc/msg.o CC kernel/auditfilter.o CC ipc/sem.o CC [M] fs/cifs/dir.o CC kernel/auditsc.o CC ipc/shm.o CC [M] fs/cifs/file.o CC ipc/ipcns_notifier.o CC kernel/audit_watch.o CC ipc/syscall.o CC ipc/ipc_sysctl.o LD ipc/built-in.o CC [M] fs/cifs/inode.o CC kernel/audit_tree.o CC kernel/seccomp.o CC kernel/rcutree.o CC [M] fs/cifs/link.o CC [M] fs/cifs/misc.o CC kernel/relay.o CC [M] fs/cifs/netmisc.o CC [M] fs/cifs/smbencrypt.o kernel/relay.c: In function 'relay_create_buf_file': kernel/relay.c:424:35: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 424 | snprintf(tmpname, NAME_MAX, "%s%d", chan->base_filename, cpu); | ^ kernel/relay.c:424:2: note: 'snprintf' output between 2 and 266 bytes into a destination of size 255 424 | snprintf(tmpname, NAME_MAX, "%s%d", chan->base_filename, cpu); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs/cifs/netmisc.c:133:40: warning: 'mapping_table_ERRHRD' defined but not used [-Wunused-const-variable=] 133 | static const struct smb_to_posix_error mapping_table_ERRHRD[] = { | ^~~~~~~~~~~~~~~~~~~~ CC kernel/utsname_sysctl.o CC [M] fs/cifs/transport.o CC kernel/taskstats.o CC kernel/tsacct.o CC [M] fs/cifs/asn1.o CC kernel/tracepoint.o CC kernel/elfcore.o CC [M] fs/cifs/cifs_unicode.o CC [M] fs/cifs/nterr.o CC kernel/irq_work.o CC [M] fs/cifs/xattr.o CC kernel/cpu_pm.o BC kernel/timeconst.h CHK kernel/config_data.h UPD kernel/config_data.h CC kernel/time.o CC [M] fs/cifs/cifsencrypt.o CC kernel/configs.o CC [M] fs/cifs/readdir.o LD kernel/built-in.o CC security/keys/gc.o GEN security/selinux/flask.h security/selinux/av_permissions.h CC security/selinux/avc.o CC security/keys/key.o CC [M] fs/cifs/ioctl.o CC [M] fs/cifs/sess.o CC security/keys/keyring.o CC security/selinux/hooks.o CC security/keys/keyctl.o CC [M] fs/cifs/export.o LD [M] fs/cifs/cifs.o CC fs/configfs/inode.o CC security/keys/permission.o CC fs/configfs/file.o CC security/keys/process_keys.o CC fs/configfs/dir.o CC security/keys/request_key.o CC security/keys/request_key_auth.o CC fs/configfs/symlink.o In function 'fill_item_path', inlined from 'configfs_get_target_path' at fs/configfs/symlink.c:251:2, inlined from 'configfs_getlink' at fs/configfs/symlink.c:273:10, inlined from 'configfs_follow_link' at fs/configfs/symlink.c:288:11: fs/configfs/symlink.c:67:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 67 | strncpy(buffer + length,config_item_name(p),cur); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs/configfs/symlink.c: In function 'configfs_follow_link': fs/configfs/symlink.c:63:13: note: length computed here 63 | int cur = strlen(config_item_name(p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC security/keys/user_defined.o CC fs/configfs/mount.o CC security/selinux/selinuxfs.o CC fs/configfs/item.o CC security/keys/proc.o LD fs/configfs/configfs.o LD fs/configfs/built-in.o CC fs/debugfs/inode.o CC security/keys/sysctl.o LD security/keys/built-in.o CC fs/debugfs/file.o CC security/commoncap.o CC security/selinux/netlink.o LD fs/debugfs/debugfs.o LD fs/debugfs/built-in.o CC fs/devpts/inode.o CC security/selinux/nlmsgtab.o CC security/min_addr.o LD fs/devpts/devpts.o LD fs/devpts/built-in.o CC fs/ecryptfs/dentry.o CC fs/ecryptfs/file.o CC security/selinux/netif.o CC security/selinux/netnode.o CC fs/ecryptfs/inode.o CC fs/ecryptfs/main.o CC security/selinux/netport.o CC security/selinux/exports.o CC fs/ecryptfs/super.o CC fs/ecryptfs/mmap.o CC security/selinux/ss/ebitmap.o CC security/selinux/ss/hashtab.o CC fs/ecryptfs/read_write.o CC security/selinux/ss/symtab.o CC fs/ecryptfs/crypto.o CC security/selinux/ss/sidtab.o CC security/selinux/ss/avtab.o CC fs/ecryptfs/keystore.o CC security/selinux/ss/policydb.o fs/ecryptfs/keystore.c: In function 'decrypt_pki_encrypted_session_key': fs/ecryptfs/keystore.c:1162:41: warning: taking address of packed member of 'struct ecryptfs_auth_tok' may result in an unaligned pointer value [-Waddress-of-packed-member] 1162 | rc = write_tag_64_packet(auth_tok_sig, &(auth_tok->session_key), | ^~~~~~~~~~~~~~~~~~~~~~~~ fs/ecryptfs/keystore.c:1181:27: warning: taking address of packed member of 'struct ecryptfs_auth_tok' may result in an unaligned pointer value [-Waddress-of-packed-member] 1181 | rc = parse_tag_65_packet(&(auth_tok->session_key), | ^~~~~~~~~~~~~~~~~~~~~~~~ CC security/selinux/ss/services.o CC fs/ecryptfs/messaging.o CC fs/ecryptfs/miscdev.o CC fs/ecryptfs/kthread.o CC fs/ecryptfs/debug.o CC security/selinux/ss/conditional.o LD fs/ecryptfs/ecryptfs.o CC security/selinux/ss/mls.o LD fs/ecryptfs/built-in.o LD fs/exofs/built-in.o CC fs/ext4/balloc.o CC fs/ext4/bitmap.o CC security/selinux/ss/status.o CC security/security.o CC fs/ext4/dir.o LD security/selinux/selinux.o LD security/selinux/built-in.o CC security/capability.o CC fs/ext4/file.o CC fs/ext4/fsync.o CC security/lsm_audit.o CC fs/ext4/ialloc.o LD security/built-in.o CC fs/ext4/inode.o CC crypto/api.o CC crypto/cipher.o CC crypto/compress.o CC fs/ext4/page-io.o CC crypto/memneq.o CC crypto/algapi.o CC crypto/scatterwalk.o CC fs/ext4/ioctl.o CC crypto/proc.o CC crypto/ablkcipher.o CC fs/ext4/namei.o CC crypto/blkcipher.o CC crypto/ahash.o CC fs/ext4/super.o CC crypto/shash.o CC crypto/algboss.o CC fs/ext4/symlink.o CC crypto/testmgr.o CC crypto/crypto_wq.o CC fs/ext4/hash.o CC crypto/aead.o LD crypto/crypto_blkcipher.o CC fs/ext4/resize.o crypto/aead.c: In function 'crypto_nivaead_report': crypto/aead.c:206:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 206 | strncpy(raead.geniv, aead->geniv, sizeof(raead.geniv)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC crypto/chainiv.o CC crypto/eseqiv.o LD crypto/crypto_hash.o CC crypto/pcompress.o LD crypto/cryptomgr.o CC fs/ext4/extents.o fs/ext4/super.c: In function '__save_error_info': fs/ext4/super.c:396:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 396 | strncpy(es->s_last_error_func, func, sizeof(es->s_last_error_func)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs/ext4/super.c:400:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 400 | strncpy(es->s_first_error_func, func, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 401 | sizeof(es->s_first_error_func)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC crypto/hmac.o CC crypto/xcbc.o CC crypto/crypto_null.o CC crypto/md4.o CC crypto/md5.o CC crypto/sha1_generic.o CC crypto/sha256_generic.o CC crypto/sha512_generic.o CC fs/ext4/ext4_jbd2.o CC crypto/gf128mul.o CC fs/ext4/migrate.o CC crypto/ecb.o CC crypto/cbc.o CC fs/ext4/mballoc.o CC crypto/xts.o CC fs/ext4/block_validity.o crypto/xts.c:337:13: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 337 | static void free(struct crypto_instance *inst) | ^~~~ crypto/xts.c:27:1: note: 'free' is declared in header '' 26 | #include +++ |+#include 27 | CC crypto/cryptd.o CC crypto/des_generic.o CC crypto/twofish_generic.o CC crypto/twofish_common.o CC fs/ext4/move_extent.o CC crypto/aes_generic.o CC crypto/arc4.o CC fs/ext4/mmp.o CC crypto/deflate.o CC crypto/crc32c.o CC crypto/authenc.o CC fs/ext4/indirect.o CC crypto/authencesn.o CC fs/ext4/xattr.o CC crypto/rng.o CC crypto/krng.o CC crypto/ansi_cprng.o CC fs/ext4/xattr_user.o LD crypto/crypto.o CC fs/ext4/xattr_trusted.o LD crypto/crypto_algapi.o LD crypto/built-in.o CC block/elevator.o CC fs/ext4/xattr_security.o CC block/blk-core.o LD fs/ext4/ext4.o LD fs/ext4/built-in.o block/elevator.c: In function 'elv_register': block/elevator.c:955:14: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 955 | "%s_io_cq", e->elevator_name); | ^ block/elevator.c:954:3: note: 'snprintf' output between 7 and 22 bytes into a destination of size 21 954 | snprintf(e->icq_cache_name, sizeof(e->icq_cache_name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 955 | "%s_io_cq", e->elevator_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC fs/f2fs/dir.o In file included from fs/f2fs/dir.c:13: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC fs/f2fs/file.o In file included from fs/f2fs/file.c:26: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC block/blk-tag.o CC fs/f2fs/inode.o In file included from fs/f2fs/inode.c:16: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC block/blk-sysfs.o CC fs/f2fs/namei.o In file included from fs/f2fs/namei.c:19: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC block/blk-flush.o CC fs/f2fs/hash.o In file included from fs/f2fs/hash.c:21: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC block/blk-settings.o CC fs/f2fs/super.o CC block/blk-ioc.o In file included from fs/f2fs/super.c:28: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC block/blk-map.o CC fs/f2fs/inline.o In file included from fs/f2fs/inline.c:14: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC block/blk-exec.o CC block/blk-merge.o CC block/blk-softirq.o CC fs/f2fs/checkpoint.o CC block/blk-timeout.o In file included from fs/f2fs/checkpoint.c:20: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC block/blk-iopoll.o CC block/blk-lib.o CC fs/f2fs/gc.o In file included from fs/f2fs/gc.c:20: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC block/ioctl.o CC block/genhd.o CC fs/f2fs/data.o CC block/scsi_ioctl.o In file included from fs/f2fs/data.c:27: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC fs/f2fs/node.o CC block/partition-generic.o In file included from fs/f2fs/node.c:19: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC block/partitions/check.o CC block/partitions/msdos.o CC block/partitions/efi.o CC fs/f2fs/segment.o LD block/partitions/built-in.o CC block/bsg.o In file included from fs/f2fs/segment.c:20: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC block/noop-iosched.o CC fs/f2fs/recovery.o CC block/deadline-iosched.o In file included from fs/f2fs/recovery.c:13: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC block/row-iosched.o CC block/cfq-iosched.o CC fs/f2fs/shrinker.o In file included from fs/f2fs/shrinker.c:15: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC fs/f2fs/extent_cache.o CC block/bfq-iosched.o In file included from fs/f2fs/extent_cache.c:17: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC fs/f2fs/debug.o CC fs/f2fs/xattr.o In file included from fs/f2fs/debug.c:21: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ In file included from fs/f2fs/xattr.c:24: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC fs/f2fs/acl.o CC fs/fat/cache.o In file included from fs/f2fs/acl.c:16: fs/f2fs/f2fs.h: In function 'blkaddr_in_node': fs/f2fs/f2fs.h:1501:30: warning: taking address of packed member of 'struct f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ fs/f2fs/f2fs.h:1501:47: warning: taking address of packed member of 'struct direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member] 1501 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; | ^~~~ CC fs/fat/dir.o LD fs/f2fs/f2fs.o LD fs/f2fs/built-in.o CC fs/fat/fatent.o LD block/built-in.o CC fs/fat/file.o LD drivers/auxdisplay/built-in.o CC drivers/base/core.o CC fs/fat/inode.o CC drivers/bif/bif-core.o CC drivers/base/bus.o CC fs/fat/misc.o CC fs/fat/namei_msdos.o CC drivers/base/dd.o CC drivers/base/syscore.o CC fs/fat/namei_vfat.o CC drivers/bif/qpnp-bsi.o CC drivers/base/driver.o CC drivers/base/class.o LD fs/fat/fat.o LD fs/fat/vfat.o LD fs/fat/msdos.o LD fs/fat/built-in.o CC fs/fuse/dev.o LD drivers/bif/built-in.o CC fs/fuse/dir.o CC drivers/base/platform.o CC drivers/base/cpu.o CC drivers/block/brd.o CC drivers/base/firmware.o CC drivers/base/init.o CC drivers/base/map.o CC fs/fuse/file.o CC drivers/base/devres.o CC drivers/block/loop.o CC drivers/base/attribute_container.o CC drivers/base/transport_class.o CC drivers/base/topology.o CC drivers/base/sys.o CC drivers/block/zram/zcomp_lzo.o CC fs/fuse/inode.o CC drivers/block/zram/zcomp.o CC drivers/base/devtmpfs.o CC drivers/block/zram/zram_drv.o CC drivers/base/dma-contiguous.o CC fs/fuse/control.o CC drivers/base/power/sysfs.o LD fs/fuse/fuse.o LD fs/fuse/built-in.o LD fs/isofs/built-in.o CC [M] fs/isofs/namei.o CC drivers/block/zram/zcomp_lz4.o CC drivers/base/power/generic_ops.o CC [M] fs/isofs/inode.o LD drivers/block/zram/zram.o LD drivers/block/zram/built-in.o LD drivers/block/built-in.o CC [M] fs/isofs/dir.o CC drivers/base/power/common.o In file included from fs/isofs/inode.c:14: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'init_iso9660_fs': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ fs/isofs/inode.c:1579:1: note: in expansion of macro 'module_init' 1579 | module_init(init_iso9660_fs) | ^~~~~~~~~~~ fs/isofs/inode.c:1546:19: note: 'init_module' target declared here 1546 | static int __init init_iso9660_fs(void) | ^~~~~~~~~~~~~~~ In file included from fs/isofs/inode.c:14: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'exit_iso9660_fs': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ fs/isofs/inode.c:1580:1: note: in expansion of macro 'module_exit' 1580 | module_exit(exit_iso9660_fs) | ^~~~~~~~~~~ fs/isofs/inode.c:1570:20: note: 'cleanup_module' target declared here 1570 | static void __exit exit_iso9660_fs(void) | ^~~~~~~~~~~~~~~ CC drivers/base/power/qos.o CC drivers/base/power/main.o CC [M] fs/isofs/util.o CC drivers/base/power/wakeup.o CC [M] fs/isofs/rock.o CC [M] fs/isofs/export.o CC drivers/base/power/runtime.o CC drivers/base/power/clock_ops.o LD [M] fs/isofs/isofs.o CC fs/jbd2/transaction.o LD fs/lockd/built-in.o CC [M] fs/lockd/clntlock.o LD drivers/base/power/built-in.o CC drivers/base/regmap/regmap.o CC [M] fs/lockd/clntproc.o CC fs/jbd2/commit.o CC drivers/base/regmap/regcache.o CC [M] fs/lockd/clntxdr.o CC fs/jbd2/recovery.o CC drivers/base/regmap/regcache-rbtree.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 [M] fs/lockd/host.o CC drivers/base/regmap/regcache-lzo.o CC fs/jbd2/checkpoint.o CC drivers/base/regmap/regmap-debugfs.o CC [M] fs/lockd/svc.o CC fs/jbd2/revoke.o CC drivers/base/regmap/regmap-i2c.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 fs/lockd/svc.c:15: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'init_nlm': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ fs/lockd/svc.c:616:1: note: in expansion of macro 'module_init' 616 | module_init(init_nlm); | ^~~~~~~~~~~ fs/lockd/svc.c:583:19: note: 'init_module' target declared here 583 | static int __init init_nlm(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 fs/lockd/svc.c:15: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'exit_nlm': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ fs/lockd/svc.c:617:1: note: in expansion of macro 'module_exit' 617 | module_exit(exit_nlm); | ^~~~~~~~~~~ fs/lockd/svc.c:606:20: note: 'cleanup_module' target declared here 606 | static void __exit exit_nlm(void) | ^~~~~~~~ CC drivers/base/regmap/regmap-spi.o CC [M] fs/lockd/svclock.o LD drivers/base/regmap/built-in.o CC drivers/base/dma-mapping.o CC fs/jbd2/journal.o CC drivers/base/dma-coherent.o CC drivers/base/dma-buf.o CC [M] fs/lockd/svcshare.o CC drivers/base/genlock.o CC [M] fs/lockd/svcproc.o CC drivers/base/firmware_class.o CC [M] fs/lockd/svcsubs.o CC drivers/base/module.o LD fs/jbd2/jbd2.o LD fs/jbd2/built-in.o CC drivers/bluetooth/hci_ldisc.o CC drivers/base/soc.o CC [M] fs/lockd/mon.o CC drivers/base/sync.o CC drivers/bluetooth/bcm4339.o CC [M] fs/lockd/xdr.o CC drivers/base/sw_sync.o CC [M] fs/lockd/grace.o CC drivers/bluetooth/broadcom/bt_protocol_driver/brcm_bt_drv.o LD [M] fs/lockd/lockd.o LD fs/nfs/built-in.o CC [M] fs/nfs/client.o LD drivers/base/built-in.o CC [M] fs/nfs/dir.o fs/nfs/client.c: In function 'nfs_volume_list_show': fs/nfs/client.c:2011:23: warning: '%u' directive output may be truncated writing between 1 and 7 bytes into a region of size between 3 and 6 [-Wformat-truncation=] 2011 | snprintf(dev, 8, "%u:%u", | ^~ fs/nfs/client.c:2011:19: note: directive argument in the range [0, 1048575] 2011 | snprintf(dev, 8, "%u:%u", | ^~~~~~~ fs/nfs/client.c:2011:2: note: 'snprintf' output between 4 and 13 bytes into a destination of size 8 2011 | snprintf(dev, 8, "%u:%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2012 | MAJOR(server->s_dev), MINOR(server->s_dev)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD drivers/bluetooth/broadcom/bt_protocol_driver/built-in.o CC drivers/bluetooth/broadcom/line_discipline_driver/brcm_hci.o CC [M] fs/nfs/file.o CC [M] fs/nfs/getroot.o CC drivers/bluetooth/broadcom/line_discipline_driver/brcm_sh_ldisc.o CC drivers/bluetooth/broadcom/line_discipline_driver/brcm_bluesleep.o CC [M] fs/nfs/inode.o CC [M] fs/nfs/super.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 fs/nfs/inode.c:16: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'init_nfs_fs': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ fs/nfs/inode.c:1757:1: note: in expansion of macro 'module_init' 1757 | module_init(init_nfs_fs) | ^~~~~~~~~~~ fs/nfs/inode.c:1650:19: note: 'init_module' target declared here 1650 | static int __init init_nfs_fs(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 fs/nfs/inode.c:16: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'exit_nfs_fs': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ fs/nfs/inode.c:1758:1: note: in expansion of macro 'module_exit' 1758 | module_exit(exit_nfs_fs) | ^~~~~~~~~~~ fs/nfs/inode.c:1733:20: note: 'cleanup_module' target declared here 1733 | static void __exit exit_nfs_fs(void) | ^~~~~~~~~~~ LD drivers/bluetooth/broadcom/line_discipline_driver/brcm_hci_ldisc.o LD drivers/bluetooth/broadcom/line_discipline_driver/built-in.o CC drivers/bluetooth/broadcom/v4l2_fm_driver/fmdrv_main.o LD drivers/cdrom/built-in.o CC [M] fs/nfs/nfs2xdr.o CC drivers/char/mem.o CC drivers/bluetooth/broadcom/v4l2_fm_driver/fmdrv_v4l2.o CC drivers/char/random.o CC [M] fs/nfs/direct.o CC drivers/bluetooth/broadcom/v4l2_fm_driver/fmdrv_rx.o CC drivers/char/misc.o CC [M] fs/nfs/pagelist.o CC drivers/char/hw_random/core.o LD drivers/bluetooth/broadcom/v4l2_fm_driver/fm_drv.o LD drivers/bluetooth/broadcom/v4l2_fm_driver/built-in.o LD drivers/bluetooth/broadcom/built-in.o LD drivers/bluetooth/hci_uart.o LD drivers/bluetooth/built-in.o CC drivers/char/hw_random/msm_rng.o CC drivers/char/hw_random/fips_drbg.o CC [M] fs/nfs/proc.o CC drivers/clk/clkdev.o CC drivers/char/hw_random/ctr_drbg.o LD drivers/clk/built-in.o CC drivers/char/hw_random/msm_fips_selftest.o LD drivers/clocksource/built-in.o CC drivers/cpufreq/cpufreq.o CC [M] fs/nfs/read.o LD drivers/char/hw_random/rng-core.o LD drivers/char/hw_random/built-in.o CC drivers/char/adsprpc.o In file included 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:16: drivers/char/adsprpc.c: In function 'fastrpc_internal_invoke': include/linux/printk.h:12:18: warning: format '%d' expects a matching 'int' argument [-Wformat=] 12 | #define KERN_ERR "<3>" /* error conditions */ | ^~~~~ include/linux/printk.h:183:9: note: in expansion of macro 'KERN_ERR' 183 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~ drivers/char/adsprpc.c:966:4: note: in expansion of macro 'pr_err' 966 | pr_err("adsprpc: ERROR: %s: user application %s trying to send a kernel RPC message to channel %d", | ^~~~~~ CC drivers/cpufreq/cpu-boost.o CC [M] fs/nfs/symlink.o LD drivers/char/built-in.o CC [M] fs/nfs/unlink.o CC drivers/cpufreq/cpufreq_stats.o CC drivers/cpufreq/cpufreq_performance.o CC [M] fs/nfs/write.o fs/nfs/write.c:47:34: warning: 'nfs_commit_ops' defined but not used [-Wunused-const-variable=] 47 | static const struct rpc_call_ops nfs_commit_ops; | ^~~~~~~~~~~~~~ CC drivers/cpufreq/cpufreq_powersave.o CC [M] fs/nfs/namespace.o CC drivers/cpufreq/cpufreq_userspace.o CC drivers/cpufreq/cpufreq_ondemand.o CC drivers/cpufreq/cpufreq_conservative.o CC [M] fs/nfs/mount_clnt.o CC [M] fs/nfs/dns_resolve.o CC drivers/cpufreq/cpufreq_interactive.o CC [M] fs/nfs/cache_lib.o CC drivers/cpufreq/freq_table.o CC [M] fs/nfs/sysctl.o CC drivers/cpuidle/cpuidle.o LD [M] fs/nfs/nfs.o LD fs/nfs_common/built-in.o CC fs/nls/nls_base.o LD drivers/cpufreq/built-in.o CC drivers/cpuidle/driver.o CC fs/nls/nls_cp437.o CC drivers/crypto/msm/qcedev.o CC drivers/cpuidle/governor.o CC fs/nls/nls_ascii.o CC drivers/cpuidle/sysfs.o CC fs/nls/nls_iso8859-1.o CC fs/nls/nls_utf8.o LD fs/nls/built-in.o CC fs/notify/fsnotify.o CC drivers/cpuidle/governors/ladder.o CC drivers/cpuidle/governors/menu.o CC fs/notify/notification.o LD drivers/cpuidle/governors/built-in.o LD drivers/cpuidle/built-in.o CC drivers/crypto/msm/qce50.o CC fs/notify/group.o CC fs/notify/inode_mark.o CC fs/notify/mark.o drivers/crypto/msm/qce50.c: In function 'qce_ablk_cipher_req': drivers/crypto/msm/qce50.c:4777:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4777 | if (rc) | ^~ drivers/crypto/msm/qce50.c:4779:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4779 | return 0; | ^~~~~~ drivers/crypto/msm/qce50.c: In function 'qce_process_sha_req': drivers/crypto/msm/qce50.c:4847:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4847 | if (rc) | ^~ drivers/crypto/msm/qce50.c:4849:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4849 | return 0; | ^~~~~~ CC drivers/crypto/msm/qcrypto.o CC fs/notify/vfsmount_mark.o CC fs/notify/dnotify/dnotify.o LD fs/notify/dnotify/built-in.o LD fs/notify/fanotify/built-in.o CC fs/notify/inotify/inotify_fsnotify.o CC fs/notify/inotify/inotify_user.o LD fs/notify/inotify/built-in.o LD fs/notify/built-in.o CC fs/proc/mmu.o CC fs/proc/task_mmu.o CC fs/quota/dquot.o LD drivers/crypto/msm/built-in.o LD drivers/crypto/built-in.o CC drivers/devfreq/devfreq.o CC fs/proc/inode.o In function 'devfreq_add_device', inlined from 'devfreq_add_device' at drivers/devfreq/devfreq.c:485:17: drivers/devfreq/devfreq.c:522:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 522 | strncpy(devfreq->governor_name, governor_name, DEVFREQ_NAME_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/devfreq/governor_simpleondemand.o CC fs/proc/root.o CC drivers/devfreq/governor_performance.o CC drivers/devfreq/governor_powersave.o CC fs/proc/base.o CC drivers/devfreq/governor_userspace.o CC fs/quota/quota.o CC drivers/devfreq/governor_msm_adreno_tz.o LD fs/quota/built-in.o CC fs/proc/generic.o CC drivers/devfreq/governor_msm_cpufreq.o CC drivers/devfreq/governor_cpubw_hwmon.o LD drivers/devfreq/built-in.o LD drivers/firewire/built-in.o LD drivers/firmware/built-in.o CC fs/proc/array.o CC drivers/gpio/gpiolib.o CC drivers/gpio/devres.o CC fs/proc/proc_tty.o CC drivers/gpio/gpio-msm-common.o CC fs/proc/cmdline.o CC fs/proc/consoles.o CC drivers/gpio/gpio-msm-v3.o CC fs/proc/cpuinfo.o CC drivers/gpio/qpnp-pin.o CC fs/proc/devices.o CC fs/proc/interrupts.o drivers/gpio/qpnp-pin.c: In function '_qpnp_pin_config': drivers/gpio/qpnp-pin.c:536:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 536 | if (Q_HAVE_HW_SP(Q_PIN_CFG_INVERT, q_spec, param->invert)) | ^~ drivers/gpio/qpnp-pin.c:539:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 539 | q_reg_clr_set(&q_spec->regs[Q_REG_I_MODE_CTL], | ^~~~~~~~~~~~~ LD drivers/gpu/drm/i2c/built-in.o LD drivers/gpu/drm/built-in.o CC drivers/gpu/ion/ion.o CC fs/proc/loadavg.o drivers/gpu/ion/ion.c: In function 'user_ion_free_nolock': drivers/gpu/ion/ion.c:677:30: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 677 | if (!handle->user_ref_count > 0) { | ^ drivers/gpu/ion/ion.c:677:6: note: add parentheses around left hand side expression to silence this warning 677 | if (!handle->user_ref_count > 0) { | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) LD drivers/gpio/built-in.o CC fs/proc/meminfo.o CC drivers/hid/hid-lg.o CC fs/proc/stat.o CC drivers/hid/hid-lgff.o CC fs/proc/uptime.o CC drivers/hid/hid-lg2ff.o CC fs/proc/version.o CC drivers/gpu/ion/ion_heap.o CC drivers/hid/hid-lg3ff.o CC fs/proc/softirqs.o CC drivers/hid/hid-lg4ff.o CC fs/proc/namespaces.o CC drivers/gpu/ion/ion_page_pool.o CC drivers/hid/hid-wiimote-core.o CC fs/proc/proc_sysctl.o CC drivers/gpu/ion/ion_system_heap.o CC drivers/hid/hid-wiimote-ext.o CC drivers/gpu/ion/ion_carveout_heap.o CC drivers/hid/hid-wiimote-debug.o CC fs/proc/proc_net.o CC drivers/gpu/ion/ion_chunk_heap.o CC drivers/hid/hid-debug.o CC drivers/gpu/ion/ion_cma_heap.o CC fs/proc/proc_devtree.o CC fs/proc/kmsg.o CC drivers/gpu/ion/ion_cma_secure_heap.o CC drivers/hid/hid-core.o CC fs/proc/page.o CC drivers/gpu/ion/ion_cp_heap.o LD fs/proc/proc.o LD fs/proc/built-in.o CC fs/ramfs/inode.o CC drivers/gpu/ion/ion_removed_heap.o CC fs/ramfs/file-mmu.o CC drivers/hid/hid-input.o LD fs/ramfs/ramfs.o LD fs/ramfs/built-in.o CC fs/sdcardfs/dentry.o CC drivers/gpu/ion/msm/msm_ion.o CC fs/sdcardfs/file.o CC drivers/gpu/ion/msm/ion_cp_common.o CC fs/sdcardfs/inode.o CC drivers/hid/hidraw.o CC drivers/gpu/ion/msm/ion_iommu_map.o LD drivers/gpu/ion/msm/built-in.o LD drivers/gpu/ion/built-in.o CC drivers/gpu/msm/adreno_ringbuffer.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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC fs/sdcardfs/main.o CC drivers/hid/hid-generic.o CC drivers/hid/hid-a4tech.o CC fs/sdcardfs/super.o CC drivers/gpu/msm/adreno_drawctxt.o CC drivers/hid/hid-axff.o CC fs/sdcardfs/lookup.o CC drivers/hid/hid-apple.o CC drivers/gpu/msm/adreno_dispatch.o CC drivers/hid/hid-belkin.o CC fs/sdcardfs/mmap.o CC drivers/hid/hid-cherry.o CC fs/sdcardfs/packagelist.o CC drivers/hid/hid-chicony.o CC drivers/hid/hid-cypress.o CC drivers/hid/hid-dr.o CC drivers/gpu/msm/adreno_postmortem.o CC drivers/hid/hid-emsff.o CC fs/sdcardfs/derived_perm.o CC drivers/hid/hid-elecom.o CC drivers/gpu/msm/adreno_snapshot.o CC drivers/hid/hid-ezkey.o CC drivers/hid/hid-gyration.o LD fs/sdcardfs/sdcardfs.o LD fs/sdcardfs/built-in.o CC fs/sdfat/sdfat.o CC drivers/hid/hid-holtekff.o CC drivers/gpu/msm/adreno_coresight.o CC drivers/hid/hid-kensington.o CC drivers/gpu/msm/adreno_trace.o CC drivers/hid/hid-keytouch.o CC drivers/hid/hid-kye.o CC drivers/hid/hid-lcpower.o CC drivers/gpu/msm/adreno_a2xx.o LD drivers/hid/hid-logitech.o CC drivers/hid/hid-logitech-dj.o CC fs/sdfat/core.o drivers/hid/hid-logitech-dj.c: In function 'delayedwork_callback': drivers/hid/hid-logitech-dj.c:259:37: warning: '%d' directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] 259 | snprintf(tmpstr, sizeof(tmpstr), ":%d", dj_report->device_index); | ^~ drivers/hid/hid-logitech-dj.c:259:35: note: directive argument in the range [0, 255] 259 | snprintf(tmpstr, sizeof(tmpstr), ":%d", dj_report->device_index); | ^~~~~ drivers/hid/hid-logitech-dj.c:259:2: note: 'snprintf' output between 3 and 5 bytes into a destination of size 3 259 | snprintf(tmpstr, sizeof(tmpstr), ":%d", dj_report->device_index); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/hid/hid-magicmouse.o CC drivers/gpu/msm/adreno_a2xx_trace.o CC drivers/hid/hid-microsoft.o CC drivers/gpu/msm/adreno_a2xx_snapshot.o CC drivers/hid/hid-monterey.o CC drivers/hid/hid-multitouch.o CC drivers/gpu/msm/adreno_a3xx.o CC fs/sdfat/core_fat.o CC drivers/hid/hid-ntrig.o CC drivers/hid/hid-ortek.o CC fs/sdfat/core_exfat.o CC drivers/hid/hid-prodikeys.o CC drivers/hid/hid-pl.o CC drivers/gpu/msm/adreno_a3xx_trace.o CC fs/sdfat/api.o CC drivers/hid/hid-petalynx.o CC drivers/hid/hid-picolcd.o CC drivers/gpu/msm/adreno_a3xx_snapshot.o CC fs/sdfat/blkdev.o CC drivers/gpu/msm/adreno.o CC fs/sdfat/fatent.o drivers/gpu/msm/adreno.c: In function 'adreno_perfcounter_start': drivers/gpu/msm/adreno.c:438:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 438 | if (adreno_dev->gpudev->perfcounter_enable) | ^~ drivers/gpu/msm/adreno.c:442:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 442 | if (ret) | ^~ CC drivers/hid/hid-primax.o CC fs/sdfat/amap_smart.o CC drivers/hid/hid-roccat.o fs/sdfat/amap_smart.c: In function 'amap_get_packing_au': fs/sdfat/amap_smart.c:635:60: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 635 | #define PACKING_HARDLIMIT (amap->option.packing_ratio * 4) | ^ fs/sdfat/amap_smart.c:711:7: note: in expansion of macro 'PACKING_HARDLIMIT' 711 | if ((PACKING_HARDLIMIT) && amap->n_need_packing >= PACKING_HARDLIMIT) { | ^~~~~~~~~~~~~~~~~ CC drivers/hid/hid-roccat-common.o CC fs/sdfat/cache.o CC drivers/hid/hid-roccat-arvo.o CC drivers/gpu/msm/adreno_debugfs.o CC drivers/hid/hid-roccat-isku.o CC fs/sdfat/dfr.o CC drivers/gpu/msm/adreno_profile.o CC drivers/hid/hid-roccat-kone.o CC fs/sdfat/nls.o CC drivers/hid/hid-roccat-koneplus.o CC drivers/gpu/msm/kgsl.o CC fs/sdfat/misc.o CC fs/sdfat/mpage.o CC drivers/hid/hid-roccat-kovaplus.o CC fs/sdfat/extent.o CC drivers/hid/hid-roccat-pyra.o CC fs/sdfat/xattr.o CC fs/sdfat/statistics.o CC drivers/hid/hid-saitek.o CC drivers/hid/hid-samsung.o LD fs/sdfat/sdfat_fs.o LD fs/sdfat/built-in.o CC fs/sysfs/inode.o CC drivers/hid/hid-sjoy.o CC fs/sysfs/file.o CC drivers/gpu/msm/kgsl_trace.o CC drivers/hid/hid-sony.o CC fs/sysfs/dir.o CC drivers/hid/hid-speedlink.o CC drivers/hid/hid-sunplus.o CC drivers/hid/hid-gaff.o CC fs/sysfs/symlink.o CC drivers/hid/hid-tmff.o In function 'sysfs_get_target_path', inlined from 'sysfs_getlink' at fs/sysfs/symlink.c:268:10, inlined from 'sysfs_follow_link' at fs/sysfs/symlink.c:279:11: fs/sysfs/symlink.c:250:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 250 | strncpy(s + len, sd->s_name, slen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs/sysfs/symlink.c: In function 'sysfs_follow_link': fs/sysfs/symlink.c:247:14: note: length computed here 247 | int slen = strlen(sd->s_name); | ^~~~~~~~~~~~~~~~~~ CC fs/sysfs/mount.o CC drivers/hid/hid-tivo.o CC fs/sysfs/bin.o CC drivers/hid/hid-topseed.o CC drivers/gpu/msm/kgsl_sharedmem.o CC fs/sysfs/group.o CC drivers/hid/hid-twinhan.o LD fs/sysfs/built-in.o LD fs/udf/built-in.o CC [M] fs/udf/balloc.o CC drivers/hid/hid-uclogic.o fs/udf/balloc.c: In function 'udf_add_free_space': fs/udf/balloc.c:103:15: warning: taking address of packed member of 'struct logicalVolIntegrityDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] 103 | le32_add_cpu(&lvid->freeSpaceTable[partition], cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs/udf/balloc.c: In function 'udf_table_free_blocks': fs/udf/balloc.c:510:19: warning: taking address of packed member of 'struct allocExtDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] 510 | le32_add_cpu(&aed->lengthAllocDescs, | ^~~~~~~~~~~~~~~~~~~~~~ fs/udf/balloc.c:564:18: warning: taking address of packed member of 'struct allocExtDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] 564 | le32_add_cpu(&aed->lengthAllocDescs, adsize); | ^~~~~~~~~~~~~~~~~~~~~~ CC drivers/hid/hid-zpff.o fs/udf/balloc.c: In function 'udf_add_free_space': fs/udf/balloc.c:103:36: warning: array subscript 65535 is outside the bounds of an interior zero-length array '__le32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 103 | le32_add_cpu(&lvid->freeSpaceTable[partition], cnt); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from fs/udf/udfdecl.h:6, from fs/udf/balloc.c:22: fs/udf/ecma_167.h:346:11: note: while referencing 'freeSpaceTable' 346 | __le32 freeSpaceTable[0]; | ^~~~~~~~~~~~~~ fs/udf/balloc.c:103:36: warning: array subscript 65535 is outside the bounds of an interior zero-length array '__le32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 103 | le32_add_cpu(&lvid->freeSpaceTable[partition], cnt); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from fs/udf/udfdecl.h:6, from fs/udf/balloc.c:22: fs/udf/ecma_167.h:346:11: note: while referencing 'freeSpaceTable' 346 | __le32 freeSpaceTable[0]; | ^~~~~~~~~~~~~~ CC drivers/gpu/msm/kgsl_pwrctrl.o CC [M] fs/udf/dir.o CC drivers/hid/hid-zydacron.o CC [M] fs/udf/file.o CC drivers/hid/hid-wacom.o CC drivers/hid/hid-waltop.o CC [M] fs/udf/ialloc.o fs/udf/ialloc.c: In function 'udf_free_inode': fs/udf/ialloc.c:39:17: warning: taking address of packed member of 'struct logicalVolIntegrityDescImpUse' may result in an unaligned pointer value [-Waddress-of-packed-member] 39 | le32_add_cpu(&lvidiu->numDirs, -1); | ^~~~~~~~~~~~~~~~ fs/udf/ialloc.c:41:17: warning: taking address of packed member of 'struct logicalVolIntegrityDescImpUse' may result in an unaligned pointer value [-Waddress-of-packed-member] 41 | le32_add_cpu(&lvidiu->numFiles, -1); | ^~~~~~~~~~~~~~~~~ fs/udf/ialloc.c: In function 'udf_new_inode': fs/udf/ialloc.c:102:17: warning: taking address of packed member of 'struct logicalVolIntegrityDescImpUse' may result in an unaligned pointer value [-Waddress-of-packed-member] 102 | le32_add_cpu(&lvidiu->numDirs, 1); | ^~~~~~~~~~~~~~~~ fs/udf/ialloc.c:104:17: warning: taking address of packed member of 'struct logicalVolIntegrityDescImpUse' may result in an unaligned pointer value [-Waddress-of-packed-member] 104 | le32_add_cpu(&lvidiu->numFiles, 1); | ^~~~~~~~~~~~~~~~~ LD drivers/hid/hid-wiimote.o CC drivers/hid/usbhid/hid-core.o CC drivers/gpu/msm/kgsl_pwrscale.o CC [M] fs/udf/inode.o fs/udf/inode.c: In function 'udf_add_aext': fs/udf/inode.c:1856:18: warning: taking address of packed member of 'struct allocExtDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1856 | le32_add_cpu(&aed->lengthAllocDescs, adsize); | ^~~~~~~~~~~~~~~~~~~~~~ fs/udf/inode.c:1906:16: warning: taking address of packed member of 'struct allocExtDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] 1906 | le32_add_cpu(&aed->lengthAllocDescs, adsize); | ^~~~~~~~~~~~~~~~~~~~~~ fs/udf/inode.c: In function 'udf_delete_aext': fs/udf/inode.c:2117:17: warning: taking address of packed member of 'struct allocExtDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] 2117 | le32_add_cpu(&aed->lengthAllocDescs, -(2 * adsize)); | ^~~~~~~~~~~~~~~~~~~~~~ fs/udf/inode.c:2134:17: warning: taking address of packed member of 'struct allocExtDesc' may result in an unaligned pointer value [-Waddress-of-packed-member] 2134 | le32_add_cpu(&aed->lengthAllocDescs, -adsize); | ^~~~~~~~~~~~~~~~~~~~~~ CC drivers/gpu/msm/kgsl_mmu.o CC drivers/hid/usbhid/hid-quirks.o CC drivers/gpu/msm/kgsl_gpummu.o CC drivers/hid/usbhid/hiddev.o CC [M] fs/udf/lowlevel.o CC [M] fs/udf/namei.o CC drivers/gpu/msm/kgsl_iommu.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 [M] fs/udf/partition.o LD drivers/hsi/clients/built-in.o LD drivers/hsi/built-in.o CC [M] fs/udf/super.o CC drivers/hwmon/hwmon.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/wait.h:24, from include/linux/fs.h:409, from fs/udf/udfdecl.h:9, from fs/udf/super.c:41: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'init_udf_fs': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ fs/udf/super.c:235:1: note: in expansion of macro 'module_init' 235 | module_init(init_udf_fs) | ^~~~~~~~~~~ fs/udf/super.c:209:19: note: 'init_module' target declared here 209 | static int __init init_udf_fs(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/wait.h:24, from include/linux/fs.h:409, from fs/udf/udfdecl.h:9, from fs/udf/super.c:41: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'exit_udf_fs': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ fs/udf/super.c:236:1: note: in expansion of macro 'module_exit' 236 | module_exit(exit_udf_fs) | ^~~~~~~~~~~ fs/udf/super.c:229:20: note: 'cleanup_module' target declared here 229 | static void __exit exit_udf_fs(void) | ^~~~~~~~~~~ CC drivers/hwmon/epm_adc.o CC drivers/gpu/msm/kgsl_snapshot.o In file included from /home/pmos/build/src/android_kernel_sony_msm8974-bd06661fef846ee569888a27f3d12db9cf1d8741/arch/arm/include/asm/byteorder.h:21, from include/asm-generic/bitops/le.h:5, from /home/pmos/build/src/android_kernel_sony_msm8974-bd06661fef846ee569888a27f3d12db9cf1d8741/arch/arm/include/asm/bitops.h:308, from include/linux/bitops.h:22, from include/linux/thread_info.h:52, from include/linux/preempt.h:9, from include/linux/spinlock.h:50, from include/linux/wait.h:24, from include/linux/fs.h:409, from fs/udf/udfdecl.h:9, from fs/udf/super.c:41: fs/udf/super.c: In function 'udf_statfs': fs/udf/super.c:2292:26: warning: array subscript 65535 is outside the bounds of an interior zero-length array '__le32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 2292 | lvid->freeSpaceTable[sbi->s_partition]); include/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__le32_to_cpu' 33 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ fs/udf/super.c:2291:12: note: in expansion of macro 'le32_to_cpu' 2291 | accum = le32_to_cpu( | ^~~~~~~~~~~ In file included from fs/udf/udfdecl.h:6, from fs/udf/super.c:41: fs/udf/ecma_167.h:346:11: note: while referencing 'freeSpaceTable' 346 | __le32 freeSpaceTable[0]; | ^~~~~~~~~~~~~~ In function 'udf_load_pvoldesc', inlined from 'udf_process_sequence' at fs/udf/super.c:1556:6: fs/udf/super.c:812:4: warning: 'strncpy' output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation] 812 | strncpy(UDF_SB(sb)->s_volume_ident, outstr->u_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 813 | outstr->u_len > 31 ? 31 : outstr->u_len); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/msm/kgsl_snapshot.c: In function 'snapshot_os': drivers/gpu/msm/kgsl_snapshot.c:184:42: warning: taking address of packed member of 'struct kgsl_snapshot_linux' may result in an unaligned pointer value [-Waddress-of-packed-member] 184 | 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:597:37: warning: taking address of packed member of 'struct kgsl_snapshot_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 597 | header->gpuid = kgsl_gpuid(device, &header->chipid); | ^~~~~~~~~~~~~~~ CC [M] fs/udf/truncate.o CC drivers/gpu/msm/kgsl_events.o CC [M] fs/udf/symlink.o CC drivers/hwmon/qpnp-adc-voltage.o CC [M] fs/udf/directory.o CC drivers/gpu/msm/kgsl_debugfs.o CC [M] fs/udf/misc.o CC drivers/gpu/msm/kgsl_sync.o CC drivers/hwmon/qpnp-adc-common.o CC [M] fs/udf/udftime.o CC [M] fs/udf/unicode.o CC drivers/gpu/msm/z180.o LD [M] fs/udf/udf.o CC fs/eventpoll.o CC drivers/hwmon/qpnp-adc-current.o CC drivers/gpu/msm/z180_postmortem.o CC fs/anon_inodes.o CC drivers/gpu/msm/z180_trace.o LD drivers/hwmon/built-in.o LD drivers/gpu/stub/built-in.o CC drivers/i2c/i2c-boardinfo.o CC fs/signalfd.o LD drivers/gpu/msm/msm_kgsl_core.o CC drivers/i2c/i2c-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/vga/built-in.o LD drivers/gpu/built-in.o CC drivers/i2c/i2c-dev.o CC fs/timerfd.o CC fs/eventfd.o LD drivers/i2c/algos/built-in.o CC drivers/i2c/busses/i2c-msm.o CC drivers/i2c/busses/i2c-qup.o CC fs/aio.o drivers/i2c/busses/i2c-msm.c: In function 'msm_i2c_xfer': drivers/i2c/busses/i2c-msm.c:422:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 422 | if (ret) | ^~ drivers/i2c/busses/i2c-msm.c:424:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 424 | if (ret) { | ^~ CC fs/locks.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/input/input-compat.o CC fs/binfmt_script.o CC drivers/input/input-mt.o CC fs/binfmt_elf.o CC fs/mbcache.o CC drivers/input/ff-core.o CC drivers/input/ff-memless.o CC fs/posix_acl.o CC drivers/input/evdev.o CC fs/xattr_acl.o LD drivers/input/joystick/built-in.o CC [M] drivers/input/joystick/analog.o CC fs/generic_acl.o drivers/input/joystick/analog.c:175:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] 175 | #warning Precise timer not defined for this architecture. | ^~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/delay.h:10, from drivers/input/joystick/analog.c:29: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'analog_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ drivers/input/joystick/analog.c:772:1: note: in expansion of macro 'module_init' 772 | module_init(analog_init); | ^~~~~~~~~~~ drivers/input/joystick/analog.c:761:19: note: 'init_module' target declared here 761 | static int __init analog_init(void) | ^~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/delay.h:10, from drivers/input/joystick/analog.c:29: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'analog_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/input/joystick/analog.c:773:1: note: in expansion of macro 'module_exit' 773 | module_exit(analog_exit); | ^~~~~~~~~~~ drivers/input/joystick/analog.c:767:20: note: 'cleanup_module' target declared here 767 | static void __exit analog_exit(void) | ^~~~~~~~~~~ CC fs/dcookies.o drivers/input/joystick/analog.c: In function 'analog_connect': drivers/input/joystick/analog.c:415:3: warning: 'snprintf' argument 4 overlaps destination object '' [-Wrestrict] 415 | snprintf(analog->name, sizeof(analog->name), "%s %d-hat", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 416 | analog->name, hweight16(analog->mask & ANALOG_HATS_ALL)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/input/joystick/analog.c:440:7: warning: '/input' directive output may be truncated writing 6 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 440 | "%s/input%d", port->gameport->phys, index); | ^~~~~~ drivers/input/joystick/analog.c:440:4: note: directive argument in the range [0, 1] 440 | "%s/input%d", port->gameport->phys, index); | ^~~~~~~~~~~~ drivers/input/joystick/analog.c:439:2: note: 'snprintf' output between 8 and 39 bytes into a destination of size 32 439 | snprintf(analog->phys, sizeof(analog->phys), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 440 | "%s/input%d", port->gameport->phys, index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/input/keyboard/atkbd.o CC [M] drivers/input/joystick/xpad.o LD fs/built-in.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from drivers/input/joystick/xpad.c:77: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'xpad_driver_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ include/linux/device.h:1038:1: note: in expansion of macro 'module_exit' 1038 | module_exit(__driver##_exit); | ^~~~~~~~~~~ include/linux/usb.h:1066:2: note: in expansion of macro 'module_driver' 1066 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ drivers/input/joystick/xpad.c:1051:1: note: in expansion of macro 'module_usb_driver' 1051 | module_usb_driver(xpad_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/usb.h:18, from include/linux/usb/input.h:12, from drivers/input/joystick/xpad.c:82: drivers/input/joystick/xpad.c:1051:19: note: 'cleanup_module' target declared here 1051 | module_usb_driver(xpad_driver); | ^~~~~~~~~~~ include/linux/device.h:1034:20: note: in definition of macro 'module_driver' 1034 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ drivers/input/joystick/xpad.c:1051:1: note: in expansion of macro 'module_usb_driver' 1051 | module_usb_driver(xpad_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from drivers/input/joystick/xpad.c:77: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'xpad_driver_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/device.h:1033:1: note: in expansion of macro 'module_init' 1033 | module_init(__driver##_init); \ | ^~~~~~~~~~~ include/linux/usb.h:1066:2: note: in expansion of macro 'module_driver' 1066 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ drivers/input/joystick/xpad.c:1051:1: note: in expansion of macro 'module_usb_driver' 1051 | module_usb_driver(xpad_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/usb.h:18, from include/linux/usb/input.h:12, from drivers/input/joystick/xpad.c:82: drivers/input/joystick/xpad.c:1051:19: note: 'init_module' target declared here 1051 | module_usb_driver(xpad_driver); | ^~~~~~~~~~~ include/linux/device.h:1029:19: note: in definition of macro 'module_driver' 1029 | static int __init __driver##_init(void) \ | ^~~~~~~~ drivers/input/joystick/xpad.c:1051:1: note: in expansion of macro 'module_usb_driver' 1051 | module_usb_driver(xpad_driver); | ^~~~~~~~~~~~~~~~~ CC sound/sound_core.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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD sound/arm/built-in.o LD sound/atmel/built-in.o CC sound/core/compress_offload.o CC sound/core/hwdep.o CC drivers/input/keyboard/gpio_keys.o CC sound/core/memalloc.o CC drivers/input/misc/bu520x1nvx.o LD drivers/input/keyboard/built-in.o CC drivers/input/misc/gpio_event.o CC sound/core/pcm.o LD drivers/input/tablet/built-in.o CC [M] drivers/input/tablet/acecad.o CC drivers/input/misc/gpio_matrix.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from drivers/input/tablet/acecad.c:28: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'usb_acecad_driver_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ include/linux/device.h:1038:1: note: in expansion of macro 'module_exit' 1038 | module_exit(__driver##_exit); | ^~~~~~~~~~~ include/linux/usb.h:1066:2: note: in expansion of macro 'module_driver' 1066 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ drivers/input/tablet/acecad.c:272:1: note: in expansion of macro 'module_usb_driver' 272 | module_usb_driver(usb_acecad_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/usb.h:18, from include/linux/usb/input.h:12, from drivers/input/tablet/acecad.c:32: drivers/input/tablet/acecad.c:272:19: note: 'cleanup_module' target declared here 272 | module_usb_driver(usb_acecad_driver); | ^~~~~~~~~~~~~~~~~ include/linux/device.h:1034:20: note: in definition of macro 'module_driver' 1034 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ drivers/input/tablet/acecad.c:272:1: note: in expansion of macro 'module_usb_driver' 272 | module_usb_driver(usb_acecad_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from drivers/input/tablet/acecad.c:28: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'usb_acecad_driver_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/device.h:1033:1: note: in expansion of macro 'module_init' 1033 | module_init(__driver##_init); \ | ^~~~~~~~~~~ include/linux/usb.h:1066:2: note: in expansion of macro 'module_driver' 1066 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ drivers/input/tablet/acecad.c:272:1: note: in expansion of macro 'module_usb_driver' 272 | module_usb_driver(usb_acecad_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/usb.h:18, from include/linux/usb/input.h:12, from drivers/input/tablet/acecad.c:32: drivers/input/tablet/acecad.c:272:19: note: 'init_module' target declared here 272 | module_usb_driver(usb_acecad_driver); | ^~~~~~~~~~~~~~~~~ include/linux/device.h:1029:19: note: in definition of macro 'module_driver' 1029 | static int __init __driver##_init(void) \ | ^~~~~~~~ drivers/input/tablet/acecad.c:272:1: note: in expansion of macro 'module_usb_driver' 272 | module_usb_driver(usb_acecad_driver); | ^~~~~~~~~~~~~~~~~ CC [M] drivers/input/tablet/aiptek.o CC sound/core/pcm_native.o CC drivers/input/misc/gpio_input.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/jiffies.h:5, from drivers/input/tablet/aiptek.c:73: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'aiptek_driver_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ include/linux/device.h:1038:1: note: in expansion of macro 'module_exit' 1038 | module_exit(__driver##_exit); | ^~~~~~~~~~~ include/linux/usb.h:1066:2: note: in expansion of macro 'module_driver' 1066 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ drivers/input/tablet/aiptek.c:1935:1: note: in expansion of macro 'module_usb_driver' 1935 | module_usb_driver(aiptek_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/usb.h:18, from include/linux/usb/input.h:12, from drivers/input/tablet/aiptek.c:78: drivers/input/tablet/aiptek.c:1935:19: note: 'cleanup_module' target declared here 1935 | module_usb_driver(aiptek_driver); | ^~~~~~~~~~~~~ include/linux/device.h:1034:20: note: in definition of macro 'module_driver' 1034 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ drivers/input/tablet/aiptek.c:1935:1: note: in expansion of macro 'module_usb_driver' 1935 | module_usb_driver(aiptek_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/jiffies.h:5, from drivers/input/tablet/aiptek.c:73: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'aiptek_driver_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/device.h:1033:1: note: in expansion of macro 'module_init' 1033 | module_init(__driver##_init); \ | ^~~~~~~~~~~ include/linux/usb.h:1066:2: note: in expansion of macro 'module_driver' 1066 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ drivers/input/tablet/aiptek.c:1935:1: note: in expansion of macro 'module_usb_driver' 1935 | module_usb_driver(aiptek_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/usb.h:18, from include/linux/usb/input.h:12, from drivers/input/tablet/aiptek.c:78: drivers/input/tablet/aiptek.c:1935:19: note: 'init_module' target declared here 1935 | module_usb_driver(aiptek_driver); | ^~~~~~~~~~~~~ include/linux/device.h:1029:19: note: in definition of macro 'module_driver' 1029 | static int __init __driver##_init(void) \ | ^~~~~~~~ drivers/input/tablet/aiptek.c:1935:1: note: in expansion of macro 'module_usb_driver' 1935 | module_usb_driver(aiptek_driver); | ^~~~~~~~~~~~~~~~~ CC drivers/input/misc/gpio_output.o CC drivers/input/misc/gpio_axis.o CC [M] drivers/input/tablet/gtco.o CC drivers/input/misc/hbtp_input.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from drivers/input/tablet/gtco.c:55: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'gtco_driverinfo_table_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ include/linux/device.h:1038:1: note: in expansion of macro 'module_exit' 1038 | module_exit(__driver##_exit); | ^~~~~~~~~~~ include/linux/usb.h:1066:2: note: in expansion of macro 'module_driver' 1066 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ drivers/input/tablet/gtco.c:1033:1: note: in expansion of macro 'module_usb_driver' 1033 | module_usb_driver(gtco_driverinfo_table); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/input.h:1172, from drivers/input/tablet/gtco.c:60: drivers/input/tablet/gtco.c:1033:19: note: 'cleanup_module' target declared here 1033 | module_usb_driver(gtco_driverinfo_table); | ^~~~~~~~~~~~~~~~~~~~~ include/linux/device.h:1034:20: note: in definition of macro 'module_driver' 1034 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ drivers/input/tablet/gtco.c:1033:1: note: in expansion of macro 'module_usb_driver' 1033 | module_usb_driver(gtco_driverinfo_table); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from drivers/input/tablet/gtco.c:55: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'gtco_driverinfo_table_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/device.h:1033:1: note: in expansion of macro 'module_init' 1033 | module_init(__driver##_init); \ | ^~~~~~~~~~~ include/linux/usb.h:1066:2: note: in expansion of macro 'module_driver' 1066 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ drivers/input/tablet/gtco.c:1033:1: note: in expansion of macro 'module_usb_driver' 1033 | module_usb_driver(gtco_driverinfo_table); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/input.h:1172, from drivers/input/tablet/gtco.c:60: drivers/input/tablet/gtco.c:1033:19: note: 'init_module' target declared here 1033 | module_usb_driver(gtco_driverinfo_table); | ^~~~~~~~~~~~~~~~~~~~~ include/linux/device.h:1029:19: note: in definition of macro 'module_driver' 1029 | static int __init __driver##_init(void) \ | ^~~~~~~~ drivers/input/tablet/gtco.c:1033:1: note: in expansion of macro 'module_usb_driver' 1033 | module_usb_driver(gtco_driverinfo_table); | ^~~~~~~~~~~~~~~~~ CC [M] drivers/input/tablet/hanwang.o CC drivers/input/misc/keychord.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from drivers/input/tablet/hanwang.c:26: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'hanwang_driver_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ include/linux/device.h:1038:1: note: in expansion of macro 'module_exit' 1038 | module_exit(__driver##_exit); | ^~~~~~~~~~~ include/linux/usb.h:1066:2: note: in expansion of macro 'module_driver' 1066 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ drivers/input/tablet/hanwang.c:435:1: note: in expansion of macro 'module_usb_driver' 435 | module_usb_driver(hanwang_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/usb.h:18, from include/linux/usb/input.h:12, from drivers/input/tablet/hanwang.c:30: drivers/input/tablet/hanwang.c:435:19: note: 'cleanup_module' target declared here 435 | module_usb_driver(hanwang_driver); | ^~~~~~~~~~~~~~ include/linux/device.h:1034:20: note: in definition of macro 'module_driver' 1034 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ drivers/input/tablet/hanwang.c:435:1: note: in expansion of macro 'module_usb_driver' 435 | module_usb_driver(hanwang_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from drivers/input/tablet/hanwang.c:26: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'hanwang_driver_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/device.h:1033:1: note: in expansion of macro 'module_init' 1033 | module_init(__driver##_init); \ | ^~~~~~~~~~~ include/linux/usb.h:1066:2: note: in expansion of macro 'module_driver' 1066 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ drivers/input/tablet/hanwang.c:435:1: note: in expansion of macro 'module_usb_driver' 435 | module_usb_driver(hanwang_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/usb.h:18, from include/linux/usb/input.h:12, from drivers/input/tablet/hanwang.c:30: drivers/input/tablet/hanwang.c:435:19: note: 'init_module' target declared here 435 | module_usb_driver(hanwang_driver); | ^~~~~~~~~~~~~~ include/linux/device.h:1029:19: note: in definition of macro 'module_driver' 1029 | static int __init __driver##_init(void) \ | ^~~~~~~~ drivers/input/tablet/hanwang.c:435:1: note: in expansion of macro 'module_usb_driver' 435 | module_usb_driver(hanwang_driver); | ^~~~~~~~~~~~~~~~~ CC sound/core/pcm_lib.o CC [M] drivers/input/tablet/kbtab.o CC drivers/input/misc/uinput.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from drivers/input/tablet/kbtab.c:1: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'kbtab_driver_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ include/linux/device.h:1038:1: note: in expansion of macro 'module_exit' 1038 | module_exit(__driver##_exit); | ^~~~~~~~~~~ include/linux/usb.h:1066:2: note: in expansion of macro 'module_driver' 1066 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ drivers/input/tablet/kbtab.c:201:1: note: in expansion of macro 'module_usb_driver' 201 | module_usb_driver(kbtab_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/usb.h:18, from include/linux/usb/input.h:12, from drivers/input/tablet/kbtab.c:5: drivers/input/tablet/kbtab.c:201:19: note: 'cleanup_module' target declared here 201 | module_usb_driver(kbtab_driver); | ^~~~~~~~~~~~ include/linux/device.h:1034:20: note: in definition of macro 'module_driver' 1034 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ drivers/input/tablet/kbtab.c:201:1: note: in expansion of macro 'module_usb_driver' 201 | module_usb_driver(kbtab_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from drivers/input/tablet/kbtab.c:1: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'kbtab_driver_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/device.h:1033:1: note: in expansion of macro 'module_init' 1033 | module_init(__driver##_init); \ | ^~~~~~~~~~~ include/linux/usb.h:1066:2: note: in expansion of macro 'module_driver' 1066 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ drivers/input/tablet/kbtab.c:201:1: note: in expansion of macro 'module_usb_driver' 201 | module_usb_driver(kbtab_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/usb.h:18, from include/linux/usb/input.h:12, from drivers/input/tablet/kbtab.c:5: drivers/input/tablet/kbtab.c:201:19: note: 'init_module' target declared here 201 | module_usb_driver(kbtab_driver); | ^~~~~~~~~~~~ include/linux/device.h:1029:19: note: in definition of macro 'module_driver' 1029 | static int __init __driver##_init(void) \ | ^~~~~~~~ drivers/input/tablet/kbtab.c:201:1: note: in expansion of macro 'module_usb_driver' 201 | module_usb_driver(kbtab_driver); | ^~~~~~~~~~~~~~~~~ CC [M] drivers/input/tablet/wacom_wac.o LD drivers/input/misc/built-in.o CC sound/core/pcm_timer.o CC drivers/input/touchscreen/clearpad_rmi_dev.o CC [M] drivers/input/tablet/wacom_sys.o CC sound/core/pcm_misc.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from drivers/input/tablet/wacom.h:85, from drivers/input/tablet/wacom_sys.c:15: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'wacom_driver_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/device.h:1033:1: note: in expansion of macro 'module_init' 1033 | module_init(__driver##_init); \ | ^~~~~~~~~~~ include/linux/usb.h:1066:2: note: in expansion of macro 'module_driver' 1066 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ drivers/input/tablet/wacom_sys.c:1168:1: note: in expansion of macro 'module_usb_driver' 1168 | module_usb_driver(wacom_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/usb.h:18, from include/linux/usb/input.h:12, from drivers/input/tablet/wacom.h:90, from drivers/input/tablet/wacom_sys.c:15: drivers/input/tablet/wacom_sys.c:1168:19: note: 'init_module' target declared here 1168 | module_usb_driver(wacom_driver); | ^~~~~~~~~~~~ include/linux/device.h:1029:19: note: in definition of macro 'module_driver' 1029 | static int __init __driver##_init(void) \ | ^~~~~~~~ drivers/input/tablet/wacom_sys.c:1168:1: note: in expansion of macro 'module_usb_driver' 1168 | module_usb_driver(wacom_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from drivers/input/tablet/wacom.h:85, from drivers/input/tablet/wacom_sys.c:15: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'wacom_driver_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ include/linux/device.h:1038:1: note: in expansion of macro 'module_exit' 1038 | module_exit(__driver##_exit); | ^~~~~~~~~~~ include/linux/usb.h:1066:2: note: in expansion of macro 'module_driver' 1066 | module_driver(__usb_driver, usb_register, \ | ^~~~~~~~~~~~~ drivers/input/tablet/wacom_sys.c:1168:1: note: in expansion of macro 'module_usb_driver' 1168 | module_usb_driver(wacom_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/usb.h:18, from include/linux/usb/input.h:12, from drivers/input/tablet/wacom.h:90, from drivers/input/tablet/wacom_sys.c:15: drivers/input/tablet/wacom_sys.c:1168:19: note: 'cleanup_module' target declared here 1168 | module_usb_driver(wacom_driver); | ^~~~~~~~~~~~ include/linux/device.h:1034:20: note: in definition of macro 'module_driver' 1034 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ drivers/input/tablet/wacom_sys.c:1168:1: note: in expansion of macro 'module_usb_driver' 1168 | module_usb_driver(wacom_driver); | ^~~~~~~~~~~~~~~~~ CC drivers/input/touchscreen/clearpad_core.o drivers/input/tablet/wacom_sys.c: In function 'wacom_led1_select_show': drivers/input/tablet/wacom_sys.c:673:26: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=] 673 | return snprintf(buf, 2, "%d\n", wacom->led.select[SET_ID]); \ | ^~~~~~ drivers/input/tablet/wacom_sys.c:680:1: note: in expansion of macro 'DEVICE_LED_SELECT_ATTR' 680 | DEVICE_LED_SELECT_ATTR(1); | ^~~~~~~~~~~~~~~~~~~~~~ drivers/input/tablet/wacom_sys.c:673:31: note: format string is defined here 673 | return snprintf(buf, 2, "%d\n", wacom->led.select[SET_ID]); \ | ^ drivers/input/tablet/wacom_sys.c:673:9: note: 'snprintf' output between 3 and 5 bytes into a destination of size 2 673 | return snprintf(buf, 2, "%d\n", wacom->led.select[SET_ID]); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/input/tablet/wacom_sys.c:680:1: note: in expansion of macro 'DEVICE_LED_SELECT_ATTR' 680 | DEVICE_LED_SELECT_ATTR(1); | ^~~~~~~~~~~~~~~~~~~~~~ drivers/input/tablet/wacom_sys.c: In function 'wacom_led0_select_show': drivers/input/tablet/wacom_sys.c:673:26: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=] 673 | return snprintf(buf, 2, "%d\n", wacom->led.select[SET_ID]); \ | ^~~~~~ drivers/input/tablet/wacom_sys.c:679:1: note: in expansion of macro 'DEVICE_LED_SELECT_ATTR' 679 | DEVICE_LED_SELECT_ATTR(0); | ^~~~~~~~~~~~~~~~~~~~~~ drivers/input/tablet/wacom_sys.c:673:31: note: format string is defined here 673 | return snprintf(buf, 2, "%d\n", wacom->led.select[SET_ID]); \ | ^ drivers/input/tablet/wacom_sys.c:673:9: note: 'snprintf' output between 3 and 5 bytes into a destination of size 2 673 | return snprintf(buf, 2, "%d\n", wacom->led.select[SET_ID]); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/input/tablet/wacom_sys.c:679:1: note: in expansion of macro 'DEVICE_LED_SELECT_ATTR' 679 | DEVICE_LED_SELECT_ATTR(0); | ^~~~~~~~~~~~~~~~~~~~~~ CC sound/core/pcm_memory.o LD [M] drivers/input/tablet/wacom.o CC sound/core/rawmidi.o CC drivers/input/keyreset.o CC sound/core/timer.o LD drivers/input/input-core.o CC sound/core/sound.o CC sound/core/init.o CC sound/core/memory.o drivers/input/touchscreen/clearpad_core.c: In function 'clearpad_initialize': drivers/input/touchscreen/clearpad_core.c:1497:6: warning: ', family 0x' directive output may be truncated writing 11 bytes into a region of size between 1 and 129 [-Wformat-truncation=] 1497 | "%s, family 0x%02x, fw rev 0x%02x.%02x, extra 0x%02x, (%s)\n", | ^~~~~~~~~~~ drivers/input/touchscreen/clearpad_core.c:1497:3: note: directive argument in the range [0, 255] 1497 | "%s, family 0x%02x, fw rev 0x%02x.%02x, extra 0x%02x, (%s)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/input/touchscreen/clearpad_core.c:1497:3: note: directive argument in the range [0, 255] drivers/input/touchscreen/clearpad_core.c:1497:3: note: directive argument in the range [0, 255] drivers/input/touchscreen/clearpad_core.c:1497:3: note: directive argument in the range [0, 255] drivers/input/touchscreen/clearpad_core.c:1496:2: note: 'snprintf' output between 57 and 187 bytes into a destination of size 129 1496 | snprintf(this->result_info, sizeof(this->result_info), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1497 | "%s, family 0x%02x, fw rev 0x%02x.%02x, extra 0x%02x, (%s)\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1498 | clearpad_s(this->device_info.product_id, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1499 | HEADER_PRODUCT_ID_SIZE), | ~~~~~~~~~~~~~~~~~~~~~~~~ 1500 | this->device_info.customer_family, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1501 | this->device_info.firmware_revision_major, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1502 | this->device_info.firmware_revision_minor, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1503 | this->device_info.firmware_revision_extra, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1504 | this->flash_requested ? "fw updated" : "no fw update"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/input/touchscreen/clearpad_core.c: In function 'clearpad_flash': drivers/input/touchscreen/clearpad_core.c:1941:7: warning: ', family 0x' directive output may be truncated writing 11 bytes into a region of size between 0 and 128 [-Wformat-truncation=] 1941 | "%s, family 0x%02x, fw rev 0x%02x.%02x, " \ | ^~~~~~~~~~~ drivers/input/touchscreen/clearpad_core.c:1941:4: note: directive argument in the range [0, 255] 1941 | "%s, family 0x%02x, fw rev 0x%02x.%02x, " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/input/touchscreen/clearpad_core.c:1941:4: note: directive argument in the range [0, 255] drivers/input/touchscreen/clearpad_core.c:1941:4: note: directive argument in the range [0, 255] drivers/input/touchscreen/clearpad_core.c:1941:4: note: directive argument in the range [0, 255] drivers/input/touchscreen/clearpad_core.c:1940:3: note: 'snprintf' output between 61 and 189 bytes into a destination of size 128 1940 | snprintf(this->result_info, SYN_STRING_LENGTH, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1941 | "%s, family 0x%02x, fw rev 0x%02x.%02x, " \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1942 | "extra 0x%02x, failed fw update\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1943 | clearpad_s(this->device_info.product_id, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1944 | HEADER_PRODUCT_ID_SIZE), | ~~~~~~~~~~~~~~~~~~~~~~~~ 1945 | this->device_info.customer_family, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1946 | this->device_info.firmware_revision_major, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1947 | this->device_info.firmware_revision_minor, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1948 | this->device_info.firmware_revision_extra); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/input/touchscreen/clearpad_i2c.o drivers/input/touchscreen/clearpad_core.c: In function 'clearpad_command_fw_flash': drivers/input/touchscreen/clearpad_core.c:3529:6: warning: ', family 0x' directive output may be truncated writing 11 bytes into a region of size between 0 and 128 [-Wformat-truncation=] 3529 | "%s, family 0x%02x, fw rev 0x%02x.%02x, extra 0x%02x, " \ | ^~~~~~~~~~~ drivers/input/touchscreen/clearpad_core.c:3529:3: note: directive argument in the range [0, 255] 3529 | "%s, family 0x%02x, fw rev 0x%02x.%02x, extra 0x%02x, " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/input/touchscreen/clearpad_core.c:3529:3: note: directive argument in the range [0, 255] drivers/input/touchscreen/clearpad_core.c:3529:3: note: directive argument in the range [0, 255] drivers/input/touchscreen/clearpad_core.c:3529:3: note: directive argument in the range [0, 255] drivers/input/touchscreen/clearpad_core.c:3528:2: note: 'snprintf' output between 61 and 189 bytes into a destination of size 128 3528 | snprintf(this->result_info, SYN_STRING_LENGTH, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3529 | "%s, family 0x%02x, fw rev 0x%02x.%02x, extra 0x%02x, " \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3530 | "failed fw update\n", | ~~~~~~~~~~~~~~~~~~~~~ 3531 | clearpad_s(this->device_info.product_id, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3532 | HEADER_PRODUCT_ID_SIZE), | ~~~~~~~~~~~~~~~~~~~~~~~~ 3533 | this->device_info.customer_family, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3534 | this->device_info.firmware_revision_major, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3535 | this->device_info.firmware_revision_minor, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3536 | this->device_info.firmware_revision_extra); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC sound/core/info.o CC sound/core/control.o CC drivers/input/touchscreen/gen_vkeys.o CC sound/core/misc.o LD drivers/input/touchscreen/built-in.o LD drivers/input/built-in.o LD sound/drivers/mpu401/built-in.o LD drivers/input/gameport/built-in.o LD sound/drivers/opl3/built-in.o LD sound/drivers/opl4/built-in.o LD sound/drivers/pcsp/built-in.o CC [M] drivers/input/gameport/gameport.o LD sound/drivers/vx/built-in.o LD sound/drivers/built-in.o CC sound/core/device.o LD sound/firewire/built-in.o CC sound/core/jack.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/input/gameport/gameport.c:17: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'gameport_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/init.h:288:30: note: in expansion of macro 'module_init' 288 | #define subsys_initcall(fn) module_init(fn) | ^~~~~~~~~~~ drivers/input/gameport/gameport.c:817:1: note: in expansion of macro 'subsys_initcall' 817 | subsys_initcall(gameport_init); | ^~~~~~~~~~~~~~~ drivers/input/gameport/gameport.c:792:19: note: 'init_module' target declared here 792 | static int __init gameport_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/input/gameport/gameport.c:17: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'gameport_exit': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/input/gameport/gameport.c:818:1: note: in expansion of macro 'module_exit' 818 | module_exit(gameport_exit); | ^~~~~~~~~~~ drivers/input/gameport/gameport.c:806:20: note: 'cleanup_module' target declared here 806 | static void __exit gameport_exit(void) | ^~~~~~~~~~~~~ LD sound/i2c/other/built-in.o LD sound/i2c/built-in.o LD sound/isa/ad1816a/built-in.o LD sound/isa/ad1848/built-in.o LD sound/isa/cs423x/built-in.o CC drivers/input/serio/serio.o LD sound/isa/es1688/built-in.o LD sound/isa/galaxy/built-in.o LD sound/core/snd.o LD sound/isa/gus/built-in.o LD sound/core/snd-hwdep.o LD sound/isa/msnd/built-in.o LD sound/core/snd-timer.o LD sound/isa/opti9xx/built-in.o LD sound/isa/sb/built-in.o LD sound/core/snd-pcm.o LD sound/isa/wavefront/built-in.o LD sound/isa/wss/built-in.o LD sound/core/snd-page-alloc.o LD sound/isa/built-in.o LD sound/core/snd-rawmidi.o LD sound/core/snd-compress.o LD sound/core/built-in.o LD sound/mips/built-in.o CC drivers/input/serio/serport.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 CC drivers/input/serio/libps2.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/pcmcia/pdaudiocf/built-in.o LD sound/pci/lola/built-in.o LD sound/pcmcia/vx/built-in.o LD sound/pcmcia/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/ppc/built-in.o LD sound/pci/oxygen/built-in.o LD sound/sh/built-in.o LD sound/pci/pcxhr/built-in.o LD sound/pci/riptide/built-in.o CC sound/soc/soc-core.o LD sound/pci/rme9652/built-in.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 LD drivers/input/serio/built-in.o CC drivers/iommu/iommu.o CC drivers/iommu/msm_iommu.o LD sound/sparc/built-in.o CC drivers/iommu/msm_iommu-v1.o LD sound/spi/built-in.o CC drivers/iommu/msm_iommu_dev-v1.o LD sound/synth/built-in.o CC drivers/iommu/msm_iommu_pagetable.o CC sound/usb/card.o CC drivers/iommu/msm_iommu_sec.o sound/soc/soc-core.c: In function 'fmt_single_name': sound/soc/soc-core.c:3321:35: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 3321 | snprintf(tmp, NAME_SIZE, "%s.%s", dev->driver->name, name); | ^ sound/soc/soc-core.c:3321:4: note: 'snprintf' output 2 or more bytes (assuming 33) into a destination of size 32 3321 | snprintf(tmp, NAME_SIZE, "%s.%s", dev->driver->name, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/iommu/msm_iommu_sec.c: In function 'msm_iommu_reg_dump_to_regs': drivers/iommu/msm_iommu_sec.c:153:30: warning: taking address of packed member of 'struct msm_scm_fault_regs_dump' may result in an unaligned pointer value [-Waddress-of-packed-member] 153 | uint32_t *it = (uint32_t *) dump->dump_data; | ^~~~ CC sound/usb/clock.o LD drivers/iommu/built-in.o CC drivers/leds/led-core.o CC drivers/leds/led-class.o CC sound/usb/endpoint.o CC sound/soc/soc-dapm.o CC drivers/leds/led-triggers.o sound/usb/endpoint.c: In function 'prepare_capture_sync_urb': sound/usb/endpoint.c:372:21: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 372 | urb->iso_frame_desc[0].length = 3; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c:373:21: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 373 | urb->iso_frame_desc[0].offset = 0; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c: In function 'prepare_capture_sync_urb_hs': sound/usb/endpoint.c:394:21: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 394 | urb->iso_frame_desc[0].length = 4; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c:395:21: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 395 | urb->iso_frame_desc[0].offset = 0; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c: In function 'prepare_capture_urb': sound/usb/endpoint.c:434:22: warning: array subscript '() + -1' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 434 | urb->iso_frame_desc[i].offset = offs; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c:435:22: warning: array subscript '() + -1' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 435 | urb->iso_frame_desc[i].length = subs->curpacksize; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c: In function 'prepare_playback_sync_urb': sound/usb/endpoint.c:530:21: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 530 | urb->iso_frame_desc[0].length = min(4u, ctx->subs->syncmaxsize); | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c:531:21: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 531 | urb->iso_frame_desc[0].offset = 0; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c: In function 'retire_capture_urb': sound/usb/endpoint.c:462:67: warning: array subscript '() + -1' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 462 | cp = (unsigned char *)urb->transfer_buffer + urb->iso_frame_desc[i].offset + subs->pkt_offset_adj; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c:463:26: warning: array subscript '() + -1' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 463 | if (urb->iso_frame_desc[i].status && printk_ratelimit()) { | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c:467:30: warning: array subscript '() + -1' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 467 | bytes = urb->iso_frame_desc[i].actual_length; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c: In function 'retire_playback_sync_urb': sound/usb/endpoint.c:553:25: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 553 | if (urb->iso_frame_desc[0].status != 0 || | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c:554:25: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 554 | urb->iso_frame_desc[0].actual_length < 3) | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c: In function 'prepare_playback_urb': sound/usb/endpoint.c:675:22: warning: array subscript '() + -1' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 675 | urb->iso_frame_desc[i].offset = frames * stride; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c:676:22: warning: array subscript '() + -1' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 676 | urb->iso_frame_desc[i].length = counts * stride; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c:689:25: warning: array subscript '() + -1' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 689 | urb->iso_frame_desc[i].length = | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c:696:25: warning: array subscript '() + -1' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 696 | urb->iso_frame_desc[i].offset = | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c:698:25: warning: array subscript '() + -1' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 698 | urb->iso_frame_desc[i].length = 0; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c: In function 'prepare_nodata_playback_urb': sound/usb/endpoint.c:636:22: warning: array subscript '() + 4294967295' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 636 | urb->iso_frame_desc[i].offset = offs * stride; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ sound/usb/endpoint.c:637:22: warning: array subscript '() + 4294967295' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 637 | urb->iso_frame_desc[i].length = counts * stride; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sound/usb/endpoint.c:22: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ CC drivers/leds/leds-qpnp.o CC sound/usb/format.o CC sound/usb/helper.o CC sound/usb/mixer.o CC sound/soc/soc-jack.o CC drivers/leds/ledtrig-backlight.o CC sound/soc/soc-cache.o CC drivers/leds/ledtrig-default-on.o CC sound/usb/mixer_quirks.o LD drivers/leds/built-in.o LD drivers/lguest/built-in.o LD drivers/macintosh/built-in.o CC drivers/md/dm-uevent.o CC sound/soc/soc-utils.o CC sound/usb/pcm.o CC drivers/md/dm.o CC sound/soc/soc-pcm.o CC sound/usb/proc.o CC sound/usb/quirks.o CC drivers/md/dm-table.o CC sound/usb/stream.o CC sound/usb/midi.o CC sound/soc/soc-compress.o CC drivers/md/dm-target.o CC drivers/md/dm-linear.o CC sound/soc/soc-io.o CC drivers/md/dm-stripe.o LD sound/soc/atmel/built-in.o LD sound/soc/au1x/built-in.o LD sound/usb/6fire/built-in.o LD sound/soc/blackfin/built-in.o LD sound/usb/caiaq/built-in.o LD sound/usb/misc/built-in.o CC sound/soc/codecs/msm_hdmi_codec_rx.o LD sound/usb/usx2y/built-in.o LD sound/usb/snd-usb-audio.o LD sound/usb/snd-usbmidi-lib.o LD sound/usb/built-in.o CC sound/soc/codecs/msm_stub.o CC drivers/md/dm-ioctl.o CC drivers/md/dm-io.o CC sound/soc/codecs/tfa98xx.o drivers/md/dm-ioctl.c: In function 'retrieve_status': drivers/md/dm-ioctl.c:1082:3: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 1082 | strncpy(spec->target_type, ti->type->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1083 | sizeof(spec->target_type)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/md/dm-kcopyd.o CC sound/soc/codecs/hal/src/NXP_I2C.o CC drivers/md/dm-sysfs.o CC sound/soc/codecs/tfa/src/initTfa9890.o CC drivers/md/dm-builtin.o CC sound/soc/codecs/tfa/src/Tfa98xx.o CC sound/soc/codecs/wcd9xxx-resmgr.o CC drivers/md/dm-bufio.o CC sound/soc/codecs/wcd9320.o CC drivers/md/dm-crypt.o CC sound/soc/codecs/wcd9320-tables.o sound/soc/codecs/wcd9320.c:1071:30: warning: 'tabla_ear_pa_gain_enum' defined but not used [-Wunused-const-variable=] 1071 | static const struct soc_enum tabla_ear_pa_gain_enum[] = { | ^~~~~~~~~~~~~~~~~~~~~~ In file included from sound/soc/codecs/wcd9320.c:32: sound/soc/codecs/wcd9320.c:305:35: warning: 'aux_pga_gain' defined but not used [-Wunused-const-variable=] 305 | static const DECLARE_TLV_DB_SCALE(aux_pga_gain, 0, 2, 0); | ^~~~~~~~~~~~ include/sound/tlv.h:54:15: note: in definition of macro 'DECLARE_TLV_DB_SCALE' 54 | unsigned int name[] = { TLV_DB_SCALE_ITEM(min, step, mute) } | ^~~~ CC drivers/md/dm-verity.o CC sound/soc/codecs/wcd9xxx-mbhc.o LD drivers/md/dm-mod.o LD drivers/md/built-in.o CC drivers/media/media-device.o sound/soc/codecs/wcd9xxx-mbhc.c: In function 'wcd9xxx_mbhc_cal_btn_det_mp': sound/soc/codecs/wcd9xxx-mbhc.c:476:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 476 | void *ret = &btn_det->_v_btn_low; | ^ CC drivers/media/media-devnode.o CC sound/soc/codecs/wcd9xxx-common.o CC drivers/media/media-entity.o CC drivers/media/common/tuners/tuner-xc2028.o sound/soc/codecs/wcd9xxx-common.c: In function 'state_to_str.constprop': sound/soc/codecs/wcd9xxx-common.c:475:9: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 475 | cnt = snprintf(buf, buflen - cnt - 1, "%s%s%s", buf, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 476 | buf[0] == '\0' ? "[" : "|", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 477 | states[i]); | ~~~~~~~~~~ sound/soc/codecs/wcd9xxx-common.c:452:49: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 452 | static const char *state_to_str(u8 state, char *buf, size_t buflen) | ~~~~~~^~~ 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 sound/soc/codecs/wcdcal-hwdep.o CC drivers/media/common/tuners/tuner-simple.o CC drivers/media/common/tuners/tuner-types.o CC drivers/media/common/tuners/mt20xx.o CC drivers/media/common/tuners/tda8290.o LD sound/soc/codecs/snd-soc-wcd9320.o LD sound/soc/codecs/snd-soc-msm-stub.o LD sound/soc/codecs/snd-soc-tfa98xx.o LD sound/soc/codecs/built-in.o LD sound/soc/davinci/built-in.o LD sound/soc/ep93xx/built-in.o LD sound/soc/fsl/built-in.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/apq8074.o CC drivers/media/common/tuners/tea5767.o sound/soc/msm/apq8074.c:891:38: warning: 'int_btsco_rate_mixer_controls' defined but not used [-Wunused-const-variable=] 891 | static const struct snd_kcontrol_new int_btsco_rate_mixer_controls[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/media/common/tuners/tea5761.o CC drivers/media/common/tuners/tda9887.o CC drivers/media/common/tuners/tda827x.o CC sound/soc/msm/msm-pcm-hostless.o CC drivers/media/common/tuners/tda18271-maps.o CC drivers/media/common/tuners/tda18271-common.o CC sound/soc/msm/msm8974.o CC drivers/media/common/tuners/tda18271-fe.o CC drivers/media/common/tuners/xc5000.o sound/soc/msm/msm8974.c:776:41: warning: 'msm8974_dapm_widgets' defined but not used [-Wunused-const-variable=] 776 | static const struct snd_soc_dapm_widget msm8974_dapm_widgets[] = { | ^~~~~~~~~~~~~~~~~~~~ CC drivers/media/common/tuners/xc4000.o CC drivers/media/common/tuners/mc44s803.o CC sound/soc/msm/msm-dai-fe.o LD drivers/media/common/tuners/tda18271.o CC sound/soc/msm/qdsp6v2/audio_ocmem.o CC sound/soc/msm/qdsp6v2/msm-dai-q6-v2.o LD drivers/media/common/tuners/built-in.o LD drivers/media/common/built-in.o CC drivers/media/platform/msm/camera_v2/msm.o CC drivers/media/platform/msm/camera_v2/camera/camera.o In file included from /home/pmos/build/src/android_kernel_sony_msm8974-bd06661fef846ee569888a27f3d12db9cf1d8741/arch/arm/include/asm/bug.h:59, from include/linux/bug.h:4, from include/linux/kref.h:18, from include/linux/of.h:21, from drivers/media/platform/msm/camera_v2/msm.c:14: drivers/media/platform/msm/camera_v2/msm.c: In function 'msm_probe': drivers/media/platform/msm/camera_v2/msm.c:1023:17: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] 1023 | 0, NULL, 0)) < 0)) | ^ include/asm-generic/bug.h:86:25: note: in definition of macro 'WARN_ON' 86 | int __ret_warn_on = !!(condition); \ | ^~~~~~~~~ CC sound/soc/msm/qdsp6v2/msm-pcm-q6-v2.o LD drivers/media/platform/msm/camera_v2/camera/built-in.o CC sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.o LD drivers/media/platform/msm/camera_v2/gemini/built-in.o CC drivers/media/platform/msm/camera_v2/isp/msm_isp.o sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c:3371:18: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 3371 | static const int const slim0_rx_vi_fb_tx_lch_value[] = { | ^~~~~ CC drivers/media/platform/msm/camera_v2/isp/msm_buf_mgr.o CC sound/soc/msm/qdsp6v2/msm-compress-q6-v2.o CC drivers/media/platform/msm/camera_v2/ispif/msm_ispif.o CC drivers/media/platform/msm/camera_v2/isp/msm_isp_util.o CC sound/soc/msm/qdsp6v2/msm-compr-q6-v2.o LD drivers/media/platform/msm/camera_v2/ispif/built-in.o CC sound/soc/msm/qdsp6v2/msm-multi-ch-pcm-q6-v2.o CC drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.o CC drivers/media/platform/msm/camera_v2/jpeg_10/msm_jpeg_dev.o CC sound/soc/msm/qdsp6v2/msm-pcm-lpa-v2.o CC drivers/media/platform/msm/camera_v2/isp/msm_isp_stats_util.o CC drivers/media/platform/msm/camera_v2/jpeg_10/msm_jpeg_sync.o CC drivers/media/platform/msm/camera_v2/isp/msm_isp40.o CC sound/soc/msm/qdsp6v2/msm-pcm-afe-v2.o CC drivers/media/platform/msm/camera_v2/jpeg_10/msm_jpeg_core.o CC sound/soc/msm/qdsp6v2/msm-pcm-voip-v2.o CC drivers/media/platform/msm/camera_v2/isp/msm_isp32.o CC drivers/media/platform/msm/camera_v2/jpeg_10/msm_jpeg_hw.o CC drivers/media/platform/msm/camera_v2/jpeg_10/msm_jpeg_platform.o CC sound/soc/msm/qdsp6v2/msm-pcm-voice-v2.o LD drivers/media/platform/msm/camera_v2/isp/built-in.o CC sound/soc/msm/qdsp6v2/msm-dai-q6-hdmi-v2.o sound/soc/msm/qdsp6v2/msm-pcm-voice-v2.c:569:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 569 | static const char const *tty_mode[] = {"OFF", "HCO", "VCO", "FULL"}; | ^~~~~ LD drivers/media/platform/msm/camera_v2/jpeg_10/built-in.o CC drivers/media/platform/msm/camera_v2/msm_buf_mgr/msm_generic_buf_mgr.o CC sound/soc/msm/qdsp6v2/msm-lsm-client.o CC sound/soc/msm/qdsp6v2/msm-audio-effects-q6-v2.o drivers/media/platform/msm/camera_v2/msm_buf_mgr/msm_generic_buf_mgr.c:214:34: warning: 'msm_buf_mngr_dt_match' defined but not used [-Wunused-const-variable=] 214 | static const struct of_device_id msm_buf_mngr_dt_match[] = { | ^~~~~~~~~~~~~~~~~~~~~ LD drivers/media/platform/msm/camera_v2/msm_buf_mgr/built-in.o CC drivers/media/platform/msm/camera_v2/msm_vb2/msm_vb2.o CC sound/soc/msm/qdsp6v2/msm-pcm-loopback-v2.o CC drivers/media/platform/msm/camera_v2/pproc/cpp/msm_cpp.o LD drivers/media/platform/msm/camera_v2/msm_vb2/built-in.o CC drivers/media/platform/msm/camera_v2/sensor/actuator/msm_actuator.o CC sound/soc/msm/qdsp6v2/msm-pcm-dtmf-v2.o LD drivers/media/platform/msm/camera_v2/sensor/actuator/built-in.o CC drivers/media/platform/msm/camera_v2/sensor/cci/msm_cci.o CC sound/soc/msm/qdsp6v2/msm-dai-stub-v2.o CC sound/soc/msm/qdsp6v2/msm-dolby-dap-config.o LD drivers/media/platform/msm/camera_v2/pproc/cpp/built-in.o CC drivers/media/platform/msm/camera_v2/pproc/vpe/msm_vpe.o LD drivers/media/platform/msm/camera_v2/sensor/cci/built-in.o CC drivers/media/platform/msm/camera_v2/sensor/csid/msm_csid.o CC sound/soc/msm/qdsp6v2/q6adm.o sound/soc/msm/qdsp6v2/q6adm.c: In function 'srs_trumedia_open': sound/soc/msm/qdsp6v2/q6adm.c:293:2: warning: converting a packed 'struct adm_cmd_set_pp_params_inband_v5' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 293 | ret = apr_send_pkt(this_adm.apr, (uint32_t *)adm_params); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6adm.c:21: include/sound/apr_audio-v2.h:295:8: note: defined here 295 | struct adm_cmd_set_pp_params_inband_v5 { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6adm.c: In function 'adm_dolby_dap_send_params': sound/soc/msm/qdsp6v2/q6adm.c:352:2: warning: converting a packed 'struct adm_cmd_set_pp_params_v5' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 352 | rc = apr_send_pkt(this_adm.apr, (uint32_t *)adm_params); | ^~ In file included from sound/soc/msm/qdsp6v2/q6adm.c:21: include/sound/apr_audio-v2.h:253:8: note: defined here 253 | struct adm_cmd_set_pp_params_v5 { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6adm.c: In function 'adm_get_params': sound/soc/msm/qdsp6v2/q6adm.c:416:2: warning: converting a packed 'struct adm_cmd_get_pp_params_v5' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 416 | rc = apr_send_pkt(this_adm.apr, (uint32_t *)adm_params); | ^~ In file included from sound/soc/msm/qdsp6v2/q6adm.c:21: include/sound/apr_audio-v2.h:339:8: note: defined here 339 | struct adm_cmd_get_pp_params_v5 { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6adm.c: In function 'send_adm_custom_topology': sound/soc/msm/qdsp6v2/q6adm.c:748:2: warning: converting a packed 'struct cmd_set_topologies' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 748 | result = apr_send_pkt(this_adm.apr, (uint32_t *)&adm_top); | ^~~~~~ In file included from sound/soc/msm/qdsp6v2/q6adm.c:21: include/sound/apr_audio-v2.h:6568:8: note: defined here 6568 | struct cmd_set_topologies { | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6adm.c: In function 'send_adm_cal_block': sound/soc/msm/qdsp6v2/q6adm.c:818:2: warning: converting a packed 'struct adm_cmd_set_pp_params_v5' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 818 | result = apr_send_pkt(this_adm.apr, (uint32_t *)&adm_params); | ^~~~~~ In file included from sound/soc/msm/qdsp6v2/q6adm.c:21: include/sound/apr_audio-v2.h:253:8: note: defined here 253 | struct adm_cmd_set_pp_params_v5 { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6adm.c: In function 'adm_connect_afe_port': sound/soc/msm/qdsp6v2/q6adm.c:1096:2: warning: converting a packed 'struct adm_cmd_connect_afe_port_v5' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1096 | ret = apr_send_pkt(this_adm.apr, (uint32_t *)&cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6adm.c:21: include/sound/apr_audio-v2.h:615:8: note: defined here 615 | struct adm_cmd_connect_afe_port_v5 { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6adm.c: In function 'adm_open': sound/soc/msm/qdsp6v2/q6adm.c:1271:3: warning: converting a packed 'struct adm_cmd_device_open_v5' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1271 | ret = apr_send_pkt(this_adm.apr, (uint32_t *)&open); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6adm.c:21: include/sound/apr_audio-v2.h:151:8: note: defined here 151 | struct adm_cmd_device_open_v5 { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6adm.c: In function 'adm_memory_unmap_regions': sound/soc/msm/qdsp6v2/q6adm.c:1579:2: warning: converting a packed 'struct avs_cmd_shared_mem_unmap_regions' 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(this_adm.apr, (uint32_t *) &unmap_regions); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6adm.c:21: include/sound/apr_audio-v2.h:2421:8: note: defined here 2421 | struct avs_cmd_shared_mem_unmap_regions { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD drivers/media/platform/msm/camera_v2/sensor/csid/built-in.o CC drivers/media/platform/msm/camera_v2/sensor/csiphy/msm_csiphy.o LD drivers/media/platform/msm/camera_v2/pproc/vpe/built-in.o LD drivers/media/platform/msm/camera_v2/pproc/built-in.o CC sound/soc/msm/qdsp6v2/q6afe.o LD drivers/media/platform/msm/camera_v2/sensor/csiphy/built-in.o CC drivers/media/platform/msm/camera_v2/sensor/eeprom/msm_eeprom.o sound/soc/msm/qdsp6v2/q6afe.c: In function 'afe_spk_prot_prepare': sound/soc/msm/qdsp6v2/q6afe.c:581:2: warning: converting a packed 'struct afe_spkr_prot_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] 581 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &config); | ^~~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6afe.c:21: include/sound/apr_audio-v2.h:6647:8: note: defined here 6647 | struct afe_spkr_prot_config_command { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6afe.c: In function 'afe_dtmf_generate_rx': sound/soc/msm/qdsp6v2/q6afe.c:2734:2: warning: converting a packed 'struct afe_dtmf_generation_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] 2734 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &cmd_dtmf); | ^~~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6afe.c:21: include/sound/apr_audio-v2.h:7109:8: note: defined here 7109 | struct afe_dtmf_generation_command { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6afe.c: In function 'afe_set_lpass_clock': sound/soc/msm/qdsp6v2/q6afe.c:3201:2: warning: converting a packed 'struct afe_lpass_clk_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] 3201 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &clk_cfg); | ^~~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6afe.c:21: include/sound/apr_audio-v2.h:7053:8: note: defined here 7053 | struct afe_lpass_clk_config_command { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6afe.c: In function 'afe_set_lpass_internal_digital_codec_clock': sound/soc/msm/qdsp6v2/q6afe.c:3274:2: warning: converting a packed 'struct afe_lpass_digital_clk_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] 3274 | ret = apr_send_pkt(this_afe.apr, (uint32_t *) &clk_cfg); | ^~~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6afe.c:21: include/sound/apr_audio-v2.h:7096:8: note: defined here 7096 | struct afe_lpass_digital_clk_config_command { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6afe.c: In function 'afe_spk_prot_get_calib_data': sound/soc/msm/qdsp6v2/q6afe.c:3355:2: warning: converting a packed 'struct afe_spkr_prot_get_vi_calib' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3355 | ret = apr_send_pkt(this_afe.apr, (uint32_t *)calib_resp); | ^~~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6afe.c:21: include/sound/apr_audio-v2.h:6654:8: note: defined here 6654 | struct afe_spkr_prot_get_vi_calib { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC sound/soc/msm/qdsp6v2/q6asm.o sound/soc/msm/qdsp6v2/q6asm.c: In function 'send_asm_custom_topology': sound/soc/msm/qdsp6v2/q6asm.c:572:36: warning: taking address of packed member of 'struct cmd_set_topologies' may result in an unaligned pointer value [-Waddress-of-packed-member] 572 | q6asm_add_hdr_custom_topology(ac, &asm_top.hdr, | ^~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:586:2: warning: converting a packed 'struct cmd_set_topologies' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 586 | result = apr_send_pkt(ac->apr, (uint32_t *) &asm_top); | ^~~~~~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:6568:8: note: defined here 6568 | struct cmd_set_topologies { | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function '__q6asm_open_read': sound/soc/msm/qdsp6v2/q6asm.c:1907:20: warning: taking address of packed member of 'struct asm_stream_cmd_open_read_v3' may result in an unaligned pointer value [-Waddress-of-packed-member] 1907 | q6asm_add_hdr(ac, &open.hdr, sizeof(open), TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:1956:2: warning: converting a packed 'struct asm_stream_cmd_open_read_v3' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1956 | rc = apr_send_pkt(ac->apr, (uint32_t *) &open); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:4021:8: note: defined here 4021 | struct asm_stream_cmd_open_read_v3 { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function '__q6asm_open_write': sound/soc/msm/qdsp6v2/q6asm.c:2001:27: warning: taking address of packed member of 'struct asm_stream_cmd_open_write_v3' may result in an unaligned pointer value [-Waddress-of-packed-member] 2001 | q6asm_stream_add_hdr(ac, &open.hdr, sizeof(open), TRUE, stream_id); | ^~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2063:2: warning: converting a packed 'struct asm_stream_cmd_open_write_v3' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2063 | rc = apr_send_pkt(ac->apr, (uint32_t *) &open); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3920:8: note: defined here 3920 | struct asm_stream_cmd_open_write_v3 { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_open_read_write': sound/soc/msm/qdsp6v2/q6asm.c:2119:20: warning: taking address of packed member of 'struct asm_stream_cmd_open_readwrite_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 2119 | q6asm_add_hdr(ac, &open.hdr, sizeof(open), TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2201:2: warning: converting a packed 'struct asm_stream_cmd_open_readwrite_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] 2201 | rc = apr_send_pkt(ac->apr, (uint32_t *) &open); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:4107:8: note: defined here 4107 | struct asm_stream_cmd_open_readwrite_v2 { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_open_loopback_v2': sound/soc/msm/qdsp6v2/q6asm.c:2229:20: warning: taking address of packed member of 'struct asm_stream_cmd_open_loopback_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 2229 | q6asm_add_hdr(ac, &open.hdr, sizeof(open), TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2243:2: warning: converting a packed 'struct asm_stream_cmd_open_loopback_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] 2243 | rc = apr_send_pkt(ac->apr, (uint32_t *) &open); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:4196:8: note: defined here 4196 | struct asm_stream_cmd_open_loopback_v2 { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_run': sound/soc/msm/qdsp6v2/q6asm.c:2272:20: warning: taking address of packed member of 'struct asm_session_cmd_run_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 2272 | q6asm_add_hdr(ac, &run.hdr, sizeof(run), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2282:2: warning: converting a packed 'struct asm_session_cmd_run_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] 2282 | rc = apr_send_pkt(ac->apr, (uint32_t *) &run); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3721:8: note: defined here 3721 | struct asm_session_cmd_run_v2 { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function '__q6asm_run_nowait': sound/soc/msm/qdsp6v2/q6asm.c:2310:33: warning: taking address of packed member of 'struct asm_session_cmd_run_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 2310 | q6asm_stream_add_hdr_async(ac, &run.hdr, sizeof(run), TRUE, stream_id); | ^~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2319:2: warning: converting a packed 'struct asm_session_cmd_run_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] 2319 | rc = apr_send_pkt(ac->apr, (uint32_t *) &run); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3721:8: note: defined here 3721 | struct asm_session_cmd_run_v2 { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_enc_cfg_blk_aac': sound/soc/msm/qdsp6v2/q6asm.c:2352:20: warning: taking address of packed member of 'struct asm_aac_enc_cfg_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 2352 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2368:2: warning: converting a packed 'struct asm_aac_enc_cfg_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] 2368 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:2807:8: note: defined here 2807 | struct asm_aac_enc_cfg_v2 { | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_set_encdec_chan_map': sound/soc/msm/qdsp6v2/q6asm.c:2400:20: warning: taking address of packed member of 'struct asm_dec_out_chan_map_param' may result in an unaligned pointer value [-Waddress-of-packed-member] 2400 | q6asm_add_hdr(ac, &chan_map.hdr, sizeof(chan_map), TRUE); | ^~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2413:2: warning: converting a packed 'struct asm_dec_out_chan_map_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] 2413 | rc = apr_send_pkt(ac->apr, (uint32_t *) &chan_map); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:4712:8: note: defined here 4712 | struct asm_dec_out_chan_map_param { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function '__q6asm_enc_cfg_blk_pcm': sound/soc/msm/qdsp6v2/q6asm.c:2450:20: warning: taking address of packed member of 'struct asm_multi_channel_pcm_enc_cfg_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 2450 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2471:2: warning: converting a packed 'struct asm_multi_channel_pcm_enc_cfg_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] 2471 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:2682:8: note: defined here 2682 | struct asm_multi_channel_pcm_enc_cfg_v2 { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_enc_cfg_blk_pcm_native': sound/soc/msm/qdsp6v2/q6asm.c:2517:20: warning: taking address of packed member of 'struct asm_multi_channel_pcm_enc_cfg_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 2517 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2539:2: warning: converting a packed 'struct asm_multi_channel_pcm_enc_cfg_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] 2539 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:2682:8: note: defined here 2682 | struct asm_multi_channel_pcm_enc_cfg_v2 { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_enable_sbrps': sound/soc/msm/qdsp6v2/q6asm.c:2616:20: warning: taking address of packed member of 'struct asm_aac_sbr_ps_flag_param' may result in an unaligned pointer value [-Waddress-of-packed-member] 2616 | q6asm_add_hdr(ac, &sbrps.hdr, sizeof(sbrps), TRUE); | ^~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2629:2: warning: converting a packed 'struct asm_aac_sbr_ps_flag_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] 2629 | rc = apr_send_pkt(ac->apr, (uint32_t *) &sbrps); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:4361:8: note: defined here 4361 | struct asm_aac_sbr_ps_flag_param { | ^~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_cfg_dual_mono_aac': sound/soc/msm/qdsp6v2/q6asm.c:2658:20: warning: taking address of packed member of 'struct asm_aac_dual_mono_mapping_param' may result in an unaligned pointer value [-Waddress-of-packed-member] 2658 | q6asm_add_hdr(ac, &dual_mono.hdr, sizeof(dual_mono), TRUE); | ^~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2668:2: warning: converting a packed 'struct asm_aac_dual_mono_mapping_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] 2668 | rc = apr_send_pkt(ac->apr, (uint32_t *) &dual_mono); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:4391:8: note: defined here 4391 | struct asm_aac_dual_mono_mapping_param { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_cfg_aac_sel_mix_coef': sound/soc/msm/qdsp6v2/q6asm.c:2694:20: warning: taking address of packed member of 'struct asm_aac_stereo_mix_coeff_selection_param_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 2694 | q6asm_add_hdr(ac, &aac_mix_coeff.hdr, sizeof(aac_mix_coeff), TRUE); | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2703:2: warning: converting a packed 'struct asm_aac_stereo_mix_coeff_selection_param_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] 2703 | rc = apr_send_pkt(ac->apr, (uint32_t *) &aac_mix_coeff); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:585:8: note: defined here 585 | struct asm_aac_stereo_mix_coeff_selection_param_v2 { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_enc_cfg_blk_qcelp': sound/soc/msm/qdsp6v2/q6asm.c:2735:20: warning: taking address of packed member of 'struct asm_v13k_enc_cfg' may result in an unaligned pointer value [-Waddress-of-packed-member] 2735 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2750:2: warning: converting a packed 'struct asm_v13k_enc_cfg' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2750 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:2989:8: note: defined here 2989 | struct asm_v13k_enc_cfg { | ^~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_enc_cfg_blk_evrc': sound/soc/msm/qdsp6v2/q6asm.c:2777:20: warning: taking address of packed member of 'struct asm_evrc_enc_cfg' may result in an unaligned pointer value [-Waddress-of-packed-member] 2777 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2792:2: warning: converting a packed 'struct asm_evrc_enc_cfg' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2792 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3043:8: note: defined here 3043 | struct asm_evrc_enc_cfg { | ^~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_enc_cfg_blk_amrnb': sound/soc/msm/qdsp6v2/q6asm.c:2817:20: warning: taking address of packed member of 'struct asm_amrnb_enc_cfg' may result in an unaligned pointer value [-Waddress-of-packed-member] 2817 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2830:2: warning: converting a packed 'struct asm_amrnb_enc_cfg' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2830 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:2889:8: note: defined here 2889 | struct asm_amrnb_enc_cfg { | ^~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_enc_cfg_blk_amrwb': sound/soc/msm/qdsp6v2/q6asm.c:2855:20: warning: taking address of packed member of 'struct asm_amrwb_enc_cfg' may result in an unaligned pointer value [-Waddress-of-packed-member] 2855 | q6asm_add_hdr(ac, &enc_cfg.hdr, sizeof(enc_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2868:2: warning: converting a packed 'struct asm_amrwb_enc_cfg' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2868 | rc = apr_send_pkt(ac->apr, (uint32_t *) &enc_cfg); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:2939:8: note: defined here 2939 | struct asm_amrwb_enc_cfg { | ^~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function '__q6asm_media_format_block_pcm': sound/soc/msm/qdsp6v2/q6asm.c:2901:20: warning: taking address of packed member of 'struct asm_multi_channel_pcm_fmt_blk_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 2901 | q6asm_add_hdr(ac, &fmt.hdr, sizeof(fmt), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2919:2: warning: converting a packed 'struct asm_multi_channel_pcm_fmt_blk_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] 2919 | rc = apr_send_pkt(ac->apr, (uint32_t *) &fmt); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:2589:8: note: defined here 2589 | struct asm_multi_channel_pcm_fmt_blk_v2 { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function '__q6asm_media_format_block_multi_ch_pcm': sound/soc/msm/qdsp6v2/q6asm.c:2967:20: warning: taking address of packed member of 'struct asm_multi_channel_pcm_fmt_blk_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 2967 | q6asm_add_hdr(ac, &fmt.hdr, sizeof(fmt), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:2992:2: warning: converting a packed 'struct asm_multi_channel_pcm_fmt_blk_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] 2992 | rc = apr_send_pkt(ac->apr, (uint32_t *) &fmt); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:2589:8: note: defined here 2589 | struct asm_multi_channel_pcm_fmt_blk_v2 { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function '__q6asm_media_format_block_multi_aac': sound/soc/msm/qdsp6v2/q6asm.c:3036:27: warning: taking address of packed member of 'struct asm_aac_fmt_blk_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 3036 | q6asm_stream_add_hdr(ac, &fmt.hdr, sizeof(fmt), TRUE, stream_id); | ^~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:3065:2: warning: converting a packed 'struct asm_aac_fmt_blk_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] 3065 | rc = apr_send_pkt(ac->apr, (uint32_t *) &fmt); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:2750:8: note: defined here 2750 | struct asm_aac_fmt_blk_v2 { | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_media_format_block_wma': sound/soc/msm/qdsp6v2/q6asm.c:3112:20: warning: taking address of packed member of 'struct asm_wmastdv9_fmt_blk_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 3112 | q6asm_add_hdr(ac, &fmt.hdr, sizeof(fmt), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:3128:2: warning: converting a packed 'struct asm_wmastdv9_fmt_blk_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] 3128 | rc = apr_send_pkt(ac->apr, (uint32_t *) &fmt); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3149:8: note: defined here 3149 | struct asm_wmastdv9_fmt_blk_v2 { | ^~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_media_format_block_wmapro': sound/soc/msm/qdsp6v2/q6asm.c:3158:20: warning: taking address of packed member of 'struct asm_wmaprov10_fmt_blk_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 3158 | q6asm_add_hdr(ac, &fmt.hdr, sizeof(fmt), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:3177:2: warning: converting a packed 'struct asm_wmaprov10_fmt_blk_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] 3177 | rc = apr_send_pkt(ac->apr, (uint32_t *) &fmt); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3085:8: note: defined here 3085 | struct asm_wmaprov10_fmt_blk_v2 { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_media_format_block_amrwbplus': sound/soc/msm/qdsp6v2/q6asm.c:3206:20: warning: taking address of packed member of 'struct asm_amrwbplus_fmt_blk_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 3206 | q6asm_add_hdr(ac, &fmt.hdr, sizeof(fmt), TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:3214:2: warning: converting a packed 'struct asm_amrwbplus_fmt_blk_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] 3214 | rc = apr_send_pkt(ac->apr, (uint32_t *) &fmt); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3235:8: note: defined here 3235 | struct asm_amrwbplus_fmt_blk_v2 { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_ds1_set_endp_params': sound/soc/msm/qdsp6v2/q6asm.c:3238:20: warning: taking address of packed member of 'struct asm_dec_ddp_endp_param_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 3238 | q6asm_add_hdr(ac, &ddp_cfg.hdr, sizeof(ddp_cfg), TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:3246:2: warning: converting a packed 'struct asm_dec_ddp_endp_param_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] 3246 | rc = apr_send_pkt(ac->apr, (uint32_t *) &ddp_cfg); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:2672:8: note: defined here 2672 | struct asm_dec_ddp_endp_param_v2 { | ^~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_memory_map': sound/soc/msm/qdsp6v2/q6asm.c:3298:24: warning: taking address of packed member of 'struct avs_cmd_shared_mem_map_regions' may result in an unaligned pointer value [-Waddress-of-packed-member] 3298 | q6asm_add_mmaphdr(ac, &mmap_regions->hdr, cmd_size, | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_memory_unmap': sound/soc/msm/qdsp6v2/q6asm.c:3361:24: warning: taking address of packed member of 'struct avs_cmd_shared_mem_unmap_regions' may result in an unaligned pointer value [-Waddress-of-packed-member] 3361 | q6asm_add_mmaphdr(ac, &mem_unmap.hdr, | ^~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:3384:2: warning: converting a packed 'struct avs_cmd_shared_mem_unmap_regions' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3384 | rc = apr_send_pkt(ac->mmap_apr, (uint32_t *) &mem_unmap); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:2421:8: note: defined here 2421 | struct avs_cmd_shared_mem_unmap_regions { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_memory_map_regions': sound/soc/msm/qdsp6v2/q6asm.c:3488:24: warning: taking address of packed member of 'struct avs_cmd_shared_mem_map_regions' may result in an unaligned pointer value [-Waddress-of-packed-member] 3488 | q6asm_add_mmaphdr(ac, &mmap_regions->hdr, cmd_size, TRUE, | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_memory_unmap_regions': sound/soc/msm/qdsp6v2/q6asm.c:3570:24: warning: taking address of packed member of 'struct avs_cmd_shared_mem_unmap_regions' may result in an unaligned pointer value [-Waddress-of-packed-member] 3570 | q6asm_add_mmaphdr(ac, &mem_unmap.hdr, cmd_size, | ^~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:3595:2: warning: converting a packed 'struct avs_cmd_shared_mem_unmap_regions' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3595 | rc = apr_send_pkt(ac->mmap_apr, (uint32_t *) &mem_unmap); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:2421:8: note: defined here 2421 | struct avs_cmd_shared_mem_unmap_regions { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_set_lrgain': sound/soc/msm/qdsp6v2/q6asm.c:3643:26: warning: taking address of packed member of 'struct asm_volume_ctrl_lr_chan_gain' may result in an unaligned pointer value [-Waddress-of-packed-member] 3643 | q6asm_add_hdr_async(ac, &lrgain.hdr, sz, TRUE); | ^~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:3658:2: warning: converting a packed 'struct asm_volume_ctrl_lr_chan_gain' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3658 | rc = apr_send_pkt(ac->apr, (uint32_t *) &lrgain); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:5629:8: note: defined here 5629 | struct asm_volume_ctrl_lr_chan_gain { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_set_mute': sound/soc/msm/qdsp6v2/q6asm.c:3692:26: warning: taking address of packed member of 'struct asm_volume_ctrl_mute_config' may result in an unaligned pointer value [-Waddress-of-packed-member] 3692 | q6asm_add_hdr_async(ac, &mute.hdr, sz, TRUE); | ^~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:3706:2: warning: converting a packed 'struct asm_volume_ctrl_mute_config' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3706 | rc = apr_send_pkt(ac->apr, (uint32_t *) &mute); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:5651:8: note: defined here 5651 | struct asm_volume_ctrl_mute_config { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_set_volume': sound/soc/msm/qdsp6v2/q6asm.c:3740:26: warning: taking address of packed member of 'struct asm_volume_ctrl_master_gain' may result in an unaligned pointer value [-Waddress-of-packed-member] 3740 | q6asm_add_hdr_async(ac, &vol.hdr, sz, TRUE); | ^~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:3754:2: warning: converting a packed 'struct asm_volume_ctrl_master_gain' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3754 | rc = apr_send_pkt(ac->apr, (uint32_t *) &vol); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:5605:8: note: defined here 5605 | struct asm_volume_ctrl_master_gain { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_set_softpause': sound/soc/msm/qdsp6v2/q6asm.c:3789:26: warning: taking address of packed member of 'struct asm_soft_pause_params' may result in an unaligned pointer value [-Waddress-of-packed-member] 3789 | q6asm_add_hdr_async(ac, &softpause.hdr, sz, TRUE); | ^~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:3808:2: warning: converting a packed 'struct asm_soft_pause_params' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3808 | rc = apr_send_pkt(ac->apr, (uint32_t *) &softpause); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:5713:8: note: defined here 5713 | struct asm_soft_pause_params { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_set_softvolume': sound/soc/msm/qdsp6v2/q6asm.c:3843:26: warning: taking address of packed member of 'struct asm_soft_step_volume_params' may result in an unaligned pointer value [-Waddress-of-packed-member] 3843 | q6asm_add_hdr_async(ac, &softvol.hdr, sz, TRUE); | ^~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:3860:2: warning: converting a packed 'struct asm_soft_step_volume_params' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3860 | rc = apr_send_pkt(ac->apr, (uint32_t *) &softvol); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:5681:8: note: defined here 5681 | struct asm_soft_step_volume_params { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_equalizer': sound/soc/msm/qdsp6v2/q6asm.c:3902:20: warning: taking address of packed member of 'struct asm_eq_params' may result in an unaligned pointer value [-Waddress-of-packed-member] 3902 | q6asm_add_hdr(ac, &eq.hdr, sz, TRUE); | ^~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:3939:2: warning: converting a packed 'struct asm_eq_params' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3939 | rc = apr_send_pkt(ac->apr, (uint32_t *)&eq); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:6320:8: note: defined here 6320 | struct asm_eq_params { | ^~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_read': sound/soc/msm/qdsp6v2/q6asm.c:3976:21: warning: taking address of packed member of 'struct asm_data_cmd_read_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 3976 | q6asm_add_hdr(ac, &read.hdr, sizeof(read), FALSE); | ^~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:4017:3: warning: converting a packed 'struct asm_data_cmd_read_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] 4017 | rc = apr_send_pkt(ac->apr, (uint32_t *) &read); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3370:8: note: defined here 3370 | struct asm_data_cmd_read_v2 { | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_read_nolock': sound/soc/msm/qdsp6v2/q6asm.c:4044:27: warning: taking address of packed member of 'struct asm_data_cmd_read_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 4044 | q6asm_add_hdr_async(ac, &read.hdr, sizeof(read), FALSE); | ^~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:4079:3: warning: converting a packed 'struct asm_data_cmd_read_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] 4079 | rc = apr_send_pkt(ac->apr, (uint32_t *) &read); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3370:8: note: defined here 3370 | struct asm_data_cmd_read_v2 { | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_async_write': sound/soc/msm/qdsp6v2/q6asm.c:4110:8: warning: taking address of packed member of 'struct asm_data_cmd_write_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 4110 | ac, &write.hdr, sizeof(write), FALSE, ac->stream_id); | ^~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:4156:2: warning: converting a packed 'struct asm_data_cmd_write_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] 4156 | rc = apr_send_pkt(ac->apr, (uint32_t *) &write); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3272:8: note: defined here 3272 | struct asm_data_cmd_write_v2 { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_async_read': sound/soc/msm/qdsp6v2/q6asm.c:4184:26: warning: taking address of packed member of 'struct asm_data_cmd_read_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 4184 | q6asm_add_hdr_async(ac, &read.hdr, sizeof(read), FALSE); | ^~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:4216:2: warning: converting a packed 'struct asm_data_cmd_read_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] 4216 | rc = apr_send_pkt(ac->apr, (uint32_t *) &read); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3370:8: note: defined here 3370 | struct asm_data_cmd_read_v2 { | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_write': sound/soc/msm/qdsp6v2/q6asm.c:4245:21: warning: taking address of packed member of 'struct asm_data_cmd_write_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 4245 | q6asm_add_hdr(ac, &write.hdr, sizeof(write), | ^~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:4283:3: warning: converting a packed 'struct asm_data_cmd_write_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] 4283 | rc = apr_send_pkt(ac->apr, (uint32_t *) &write); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3272:8: note: defined here 3272 | struct asm_data_cmd_write_v2 { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_write_nolock': sound/soc/msm/qdsp6v2/q6asm.c:4313:27: warning: taking address of packed member of 'struct asm_data_cmd_write_v2' may result in an unaligned pointer value [-Waddress-of-packed-member] 4313 | q6asm_add_hdr_async(ac, &write.hdr, sizeof(write), | ^~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:4347:3: warning: converting a packed 'struct asm_data_cmd_write_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] 4347 | rc = apr_send_pkt(ac->apr, (uint32_t *) &write); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3272:8: note: defined here 3272 | struct asm_data_cmd_write_v2 { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function '__q6asm_send_meta_data': sound/soc/msm/qdsp6v2/q6asm.c:4638:33: warning: taking address of packed member of 'struct asm_data_cmd_remove_silence' may result in an unaligned pointer value [-Waddress-of-packed-member] 4638 | q6asm_stream_add_hdr_async(ac, &silence.hdr, sizeof(silence), FALSE, | ^~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:4655:2: warning: converting a packed 'struct asm_data_cmd_remove_silence' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 4655 | rc = apr_send_pkt(ac->apr, (uint32_t *) &silence); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:4794:8: note: defined here 4794 | struct asm_data_cmd_remove_silence { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:4664:2: warning: converting a packed 'struct asm_data_cmd_remove_silence' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 4664 | rc = apr_send_pkt(ac->apr, (uint32_t *) &silence); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:4794:8: note: defined here 4794 | struct asm_data_cmd_remove_silence { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_reg_tx_overflow': sound/soc/msm/qdsp6v2/q6asm.c:4726:20: warning: taking address of packed member of 'struct asm_session_cmd_regx_overflow' may result in an unaligned pointer value [-Waddress-of-packed-member] 4726 | q6asm_add_hdr(ac, &tx_overflow.hdr, sizeof(tx_overflow), TRUE); | ^~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:4734:2: warning: converting a packed 'struct asm_session_cmd_regx_overflow' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 4734 | rc = apr_send_pkt(ac->apr, (uint32_t *) &tx_overflow); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3779:8: note: defined here 3779 | struct asm_session_cmd_regx_overflow { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c: In function 'q6asm_reg_rx_underflow': sound/soc/msm/qdsp6v2/q6asm.c:4762:26: warning: taking address of packed member of 'struct asm_session_cmd_rgstr_rx_underflow' may result in an unaligned pointer value [-Waddress-of-packed-member] 4762 | q6asm_add_hdr_async(ac, &rx_underflow.hdr, sizeof(rx_underflow), FALSE); | ^~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6asm.c:4769:2: warning: converting a packed 'struct asm_session_cmd_rgstr_rx_underflow' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 4769 | rc = apr_send_pkt(ac->apr, (uint32_t *) &rx_underflow); | ^~ In file included from include/sound/q6asm-v2.h:17, from include/linux/msm_audio_ion.h:17, from sound/soc/msm/qdsp6v2/q6asm.c:33: include/sound/apr_audio-v2.h:3764:8: note: defined here 3764 | struct asm_session_cmd_rgstr_rx_underflow { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD drivers/media/platform/msm/camera_v2/sensor/eeprom/built-in.o CC drivers/media/platform/msm/camera_v2/sensor/flash/msm_led_flash.o CC drivers/media/platform/msm/camera_v2/sensor/flash/msm_led_trigger.o CC drivers/media/platform/msm/camera_v2/sensor/flash/msm_led_i2c_trigger.o CC drivers/media/platform/msm/camera_v2/sensor/flash/adp1660.o drivers/media/platform/msm/camera_v2/sensor/flash/adp1660.c:72:35: warning: 'flash_i2c_id' defined but not used [-Wunused-const-variable=] 72 | static const struct i2c_device_id flash_i2c_id[] = { | ^~~~~~~~~~~~ CC sound/soc/msm/qdsp6v2/q6audio-v2.o CC drivers/media/platform/msm/camera_v2/sensor/flash/msm_led_torch.o CC sound/soc/msm/qdsp6v2/q6voice.o LD drivers/media/platform/msm/camera_v2/sensor/flash/built-in.o CC drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_io_util.o sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_dual_control_cmd': sound/soc/msm/qdsp6v2/q6voice.c:606: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] 606 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_voice_ctl_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:320:8: note: defined here 320 | struct mvm_modem_dual_control_session_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_create_mvm_cvs_session': sound/soc/msm/qdsp6v2/q6voice.c:703: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] 703 | (uint32_t *) &mvm_session_cmd); | ^ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:315:8: note: defined here 315 | struct mvm_create_ctl_session_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c:738: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] 738 | (uint32_t *) &mvm_session_cmd); | ^ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:315:8: note: defined here 315 | struct mvm_create_ctl_session_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c:800: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] 800 | (uint32_t *) &cvs_session_cmd); | ^ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:811:8: note: defined here 811 | struct cvs_create_passive_ctl_session_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c:848: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] 848 | (uint32_t *) &cvs_full_ctl_cmd); | ^ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:816:8: note: defined here 816 | struct cvs_create_full_ctl_session_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c:886: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] 886 | (uint32_t *) &attach_stream_cmd); | ^ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:330:8: note: defined here 330 | struct mvm_attach_stream_cmd { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_destroy_mvm_cvs_session': sound/soc/msm/qdsp6v2/q6voice.c:950: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] 950 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &detach_stream); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:335:8: note: defined here 335 | struct mvm_detach_stream_cmd { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_tty_mode_cmd': sound/soc/msm/qdsp6v2/q6voice.c:1110:2: 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] 1110 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_tty_mode_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:325:8: note: defined here 325 | struct mvm_set_tty_mode_cmd { | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_set_pp_enable_cmd': sound/soc/msm/qdsp6v2/q6voice.c:1169: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] 1169 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_set_pp_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:869:8: note: defined here 869 | struct cvs_set_pp_enable_cmd { | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_set_dtx': sound/soc/msm/qdsp6v2/q6voice.c:1223: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] 1223 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_set_dtx); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:855:8: note: defined here 855 | struct cvs_set_enc_dtx_mode_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_mvm_media_type_cmd': sound/soc/msm/qdsp6v2/q6voice.c:1276:2: warning: converting a packed 'struct vss_imvm_cmd_set_cal_media_type_t' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 1276 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_set_cal_media_type); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:426:8: note: defined here 426 | struct vss_imvm_cmd_set_cal_media_type_t { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_dtmf_rx_detection_cmd': sound/soc/msm/qdsp6v2/q6voice.c:1333:2: warning: converting a packed 'struct cvs_set_rx_dtmf_detection_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] 1333 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_dtmf_rx_detection); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:805:8: note: defined here 805 | struct cvs_set_rx_dtmf_detection_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_config_cvs_vocoder_amr_rate': sound/soc/msm/qdsp6v2/q6voice.c:1580:2: 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] 1580 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_set_amr_rate); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:840:8: note: defined here 840 | struct cvs_set_amr_enc_rate_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_config_cvs_vocoder': sound/soc/msm/qdsp6v2/q6voice.c:1639: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] 1639 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_set_media_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:830:8: note: defined here 830 | struct cvs_set_media_type_cmd { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c:1683: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] 1683 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_set_cdma_rate); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:850:8: note: defined here 850 | struct cvs_set_cdma_enc_minmax_rate_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_set_device_cmd': sound/soc/msm/qdsp6v2/q6voice.c:1928:4: warning: taking address of packed member of 'struct vss_ivocproc_cmd_set_device_v2_t' may result in an unaligned pointer value [-Waddress-of-packed-member] 1928 | &cvp_setdev_cmd.cvp_set_device_v2.tx_topology_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c:1929:4: warning: taking address of packed member of 'struct vss_ivocproc_cmd_set_device_v2_t' may result in an unaligned pointer value [-Waddress-of-packed-member] 1929 | &cvp_setdev_cmd.cvp_set_device_v2.rx_topology_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c:1951: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] 1951 | ret = apr_send_pkt(apr_cvp, (uint32_t *) &cvp_setdev_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:1164:8: note: defined here 1164 | struct cvp_set_device_cmd { | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_cvs_register_cal_cmd': sound/soc/msm/qdsp6v2/q6voice.c:2088: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] 2088 | ret = apr_send_pkt(common.apr_q6_cvs, (uint32_t *) &cvs_reg_cal_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:860:8: note: defined here 860 | struct cvs_register_cal_data_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_cvs_deregister_cal_cmd': sound/soc/msm/qdsp6v2/q6voice.c:2153: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] 2153 | ret = apr_send_pkt(common.apr_q6_cvs, (uint32_t *) &cvs_dereg_cal_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:865:8: note: defined here 865 | struct cvs_deregister_cal_data_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_cvp_register_dev_cfg_cmd': sound/soc/msm/qdsp6v2/q6voice.c:2224:7: warning: converting a packed 'struct cvp_register_dev_cfg_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] 2224 | (uint32_t *) &cvp_reg_dev_cfg_cmd); | ^ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:1183:8: note: defined here 1183 | struct cvp_register_dev_cfg_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_cvp_deregister_dev_cfg_cmd': sound/soc/msm/qdsp6v2/q6voice.c:2292:7: warning: converting a packed 'struct cvp_deregister_dev_cfg_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] 2292 | (uint32_t *) &cvp_dereg_dev_cfg_cmd); | ^ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:1188:8: note: defined here 1188 | struct cvp_deregister_dev_cfg_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_cvp_register_cal_cmd': sound/soc/msm/qdsp6v2/q6voice.c:2380: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] 2380 | ret = apr_send_pkt(common.apr_q6_cvp, (uint32_t *) &cvp_reg_cal_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:1192:8: note: defined here 1192 | struct cvp_register_cal_data_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_cvp_deregister_cal_cmd': sound/soc/msm/qdsp6v2/q6voice.c:2445: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] 2445 | ret = apr_send_pkt(common.apr_q6_cvp, (uint32_t *) &cvp_dereg_cal_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:1197:8: note: defined here 1197 | struct cvp_deregister_cal_data_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_cvp_register_vol_cal_cmd': sound/soc/msm/qdsp6v2/q6voice.c:2535:7: warning: converting a packed 'struct cvp_register_vol_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] 2535 | (uint32_t *) &cvp_reg_vol_cal_cmd); | ^ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:1201:8: note: defined here 1201 | struct cvp_register_vol_cal_data_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_cvp_deregister_vol_cal_cmd': sound/soc/msm/qdsp6v2/q6voice.c:2602:7: warning: converting a packed 'struct cvp_deregister_vol_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] 2602 | (uint32_t *) &cvp_dereg_vol_cal_cmd); | ^ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:1206:8: note: defined here 1206 | struct cvp_deregister_vol_cal_data_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_map_memory_physical_cmd': sound/soc/msm/qdsp6v2/q6voice.c:2698:2: warning: converting a packed 'struct vss_imemory_cmd_map_physical_t' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 2698 | ret = apr_send_pkt(common.apr_q6_mvm, (uint32_t *) &mvm_map_phys_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:390:8: note: defined here 390 | struct vss_imemory_cmd_map_physical_t { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_setup_vocproc': sound/soc/msm/qdsp6v2/q6voice.c:3098:4: warning: taking address of packed member of 'struct vss_ivocproc_cmd_create_full_control_session_v2_t' may result in an unaligned pointer value [-Waddress-of-packed-member] 3098 | &cvp_session_cmd.cvp_session.tx_topology_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c:3099:4: warning: taking address of packed member of 'struct vss_ivocproc_cmd_create_full_control_session_v2_t' may result in an unaligned pointer value [-Waddress-of-packed-member] 3099 | &cvp_session_cmd.cvp_session.rx_topology_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c:3129: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] 3129 | ret = apr_send_pkt(apr_cvp, (uint32_t *) &cvp_session_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:1155:8: note: defined here 1155 | struct cvp_create_full_ctl_session_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_mvm_cal_network_cmd': sound/soc/msm/qdsp6v2/q6voice.c:3284:2: warning: converting a packed 'struct vss_imvm_cmd_set_cal_network_t' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3284 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_set_cal_network); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:421:8: note: defined here 421 | struct vss_imvm_cmd_set_cal_network_t { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_netid_timing_cmd': sound/soc/msm/qdsp6v2/q6voice.c:3344: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] 3344 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_set_network); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:340:8: note: defined here 340 | struct mvm_set_network_cmd { | ^~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c:3379: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] 3379 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_set_voice_timing); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:345:8: note: defined here 345 | struct mvm_set_voice_timing_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_attach_vocproc_cmd': sound/soc/msm/qdsp6v2/q6voice.c:3434: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] 3434 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_a_vocproc_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:305:8: note: defined here 305 | struct mvm_attach_vocproc_cmd { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_destroy_vocproc': sound/soc/msm/qdsp6v2/q6voice.c:3530: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] 3530 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mvm_d_vocproc_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:310:8: note: defined here 310 | struct mvm_detach_vocproc_cmd { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_mvm_unmap_memory_physical_cmd': sound/soc/msm/qdsp6v2/q6voice.c:3619:2: warning: converting a packed 'struct vss_imemory_cmd_unmap_t' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3619 | ret = apr_send_pkt(apr_mvm, (uint32_t *) &mem_unmap); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:431:8: note: defined here 431 | struct vss_imemory_cmd_unmap_t { | ^~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_cvs_packet_exchange_config_cmd': sound/soc/msm/qdsp6v2/q6voice.c:3691:2: warning: converting a packed 'struct vss_istream_cmd_set_oob_packet_exchange_config_t' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3691 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &packet_exchange_config_pkt); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:891:8: note: defined here 891 | struct vss_istream_cmd_set_oob_packet_exchange_config_t { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_cvs_data_exchange_mode_cmd': sound/soc/msm/qdsp6v2/q6voice.c:3740:2: warning: converting a packed 'struct vss_istream_cmd_set_packet_exchange_mode_t' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 3740 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &data_exchange_pkt); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:900:8: note: defined here 900 | struct vss_istream_cmd_set_packet_exchange_mode_t { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_stream_mute_cmd': sound/soc/msm/qdsp6v2/q6voice.c:3791: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] 3791 | ret = apr_send_pkt(common.apr_q6_cvs, (uint32_t *) &cvs_mute_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:825:8: note: defined here 825 | struct cvs_set_mute_cmd { | ^~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_device_mute_cmd': sound/soc/msm/qdsp6v2/q6voice.c:3845: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] 3845 | ret = apr_send_pkt(common.apr_q6_cvp, (uint32_t *) &cvp_mute_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:1210:8: note: defined here 1210 | struct cvp_set_mute_cmd { | ^~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_send_vol_step_cmd': sound/soc/msm/qdsp6v2/q6voice.c:3905:2: warning: converting a packed 'struct cvp_set_rx_volume_step_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] 3905 | ret = apr_send_pkt(apr_cvp, (uint32_t *) &cvp_vol_step_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:1178:8: note: defined here 1178 | struct cvp_set_rx_volume_step_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_cvs_start_record': sound/soc/msm/qdsp6v2/q6voice.c:3981: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] 3981 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_start_record); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:873:8: note: defined here 873 | struct cvs_start_record_cmd { | ^~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'voice_cvs_start_playback': sound/soc/msm/qdsp6v2/q6voice.c:4241:3: warning: converting a packed 'struct cvs_start_playback_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] 4241 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &cvs_start_playback); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:878:8: note: defined here 878 | struct cvs_start_playback_cmd { | ^~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c: In function 'qdsp_cvs_callback': sound/soc/msm/qdsp6v2/q6voice.c:5606:4: warning: converting a packed 'struct cvs_enc_buffer_consumed_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] 5606 | (uint32_t *) &send_enc_buf_consumed_cmd); | ^ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:887:8: note: defined here 887 | struct cvs_enc_buffer_consumed_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6voice.c:5653:4: warning: converting a packed 'struct cvs_dec_buffer_ready_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] 5653 | ret = apr_send_pkt(apr_cvs, (uint32_t *) &send_dec_buf); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6voice.c:30: sound/soc/msm/qdsp6v2/q6voice.h:883:8: note: defined here 883 | struct cvs_dec_buffer_ready_cmd { | ^~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_cci_i2c.o CC drivers/media/platform/msm/camera_v2/sensor/msm_sensor_init.o CC sound/soc/msm/qdsp6v2/q6core.o CC drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_qup_i2c.o sound/soc/msm/qdsp6v2/q6core.c: In function 'core_get_low_power_segments': sound/soc/msm/qdsp6v2/q6core.c:195:2: warning: converting a packed 'struct avcs_cmd_get_low_power_segments_info' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 195 | ret = apr_send_pkt(q6core_lcl.core_handle_q, (uint32_t *) &lp_ocm_cmd); | ^~~ In file included from sound/soc/msm/qdsp6v2/q6core.c:24: include/sound/q6core.h:21:8: note: defined here 21 | struct avcs_cmd_get_low_power_segments_info { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_i2c_mux.o CC sound/soc/msm/qdsp6v2/audio_acdb.o CC drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_spi.o CC drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_dt_util.o CC sound/soc/msm/qdsp6v2/rtac.o CC drivers/media/platform/msm/camera_v2/sensor/msm_sensor_driver.o LD drivers/media/platform/msm/camera_v2/sensor/io/built-in.o CC sound/soc/msm/qdsp6v2/q6lsm.o sound/soc/msm/qdsp6v2/q6lsm.c: In function 'q6lsm_open': sound/soc/msm/qdsp6v2/q6lsm.c:332:24: warning: taking address of packed member of 'struct lsm_stream_cmd_open_tx' may result in an unaligned pointer value [-Waddress-of-packed-member] 332 | q6lsm_add_hdr(client, &open.hdr, sizeof(open), true); | ^~~~~~~~~ sound/soc/msm/qdsp6v2/q6lsm.c: In function 'q6lsm_set_params': sound/soc/msm/qdsp6v2/q6lsm.c:353:24: warning: taking address of packed member of 'struct lsm_cmd_set_params' may result in an unaligned pointer value [-Waddress-of-packed-member] 353 | q6lsm_add_hdr(client, ¶ms.hdr, sizeof(params), true); | ^~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6lsm.c: In function 'q6lsm_register_sound_model': sound/soc/msm/qdsp6v2/q6lsm.c:438:24: warning: taking address of packed member of 'struct lsm_cmd_reg_snd_model' may result in an unaligned pointer value [-Waddress-of-packed-member] 438 | q6lsm_add_hdr(client, &cmd.hdr, sizeof(cmd), true); | ^~~~~~~~ sound/soc/msm/qdsp6v2/q6lsm.c: In function 'q6lsm_deregister_sound_model': sound/soc/msm/qdsp6v2/q6lsm.c:473:24: warning: taking address of packed member of 'struct lsm_cmd_reg_snd_model' may result in an unaligned pointer value [-Waddress-of-packed-member] 473 | q6lsm_add_hdr(client, &cmd.hdr, sizeof(cmd.hdr), false); | ^~~~~~~~ sound/soc/msm/qdsp6v2/q6lsm.c: In function 'q6lsm_memory_map_regions': sound/soc/msm/qdsp6v2/q6lsm.c:528:28: warning: taking address of packed member of 'struct avs_cmd_shared_mem_map_regions' may result in an unaligned pointer value [-Waddress-of-packed-member] 528 | q6lsm_add_mmaphdr(client, &mmap_regions->hdr, cmd_size, true, | ^~~~~~~~~~~~~~~~~~ sound/soc/msm/qdsp6v2/q6lsm.c: In function 'q6lsm_memory_unmap_regions': sound/soc/msm/qdsp6v2/q6lsm.c:563:28: warning: taking address of packed member of 'struct avs_cmd_shared_mem_unmap_regions' may result in an unaligned pointer value [-Waddress-of-packed-member] 563 | q6lsm_add_mmaphdr(client, &unmap.hdr, cmd_size, | ^~~~~~~~~~ sound/soc/msm/qdsp6v2/q6lsm.c: In function 'q6lsm_send_cal': sound/soc/msm/qdsp6v2/q6lsm.c:592:24: warning: taking address of packed member of 'struct lsm_cmd_set_params' may result in an unaligned pointer value [-Waddress-of-packed-member] 592 | q6lsm_add_hdr(client, ¶ms.hdr, sizeof(params), true); | ^~~~~~~~~~~ CC drivers/media/platform/msm/camera_v2/sensor/msm_sensor.o CC sound/soc/msm/qdsp6v2/sony-hweffect-params.o CC sound/soc/msm/qdsp6v2/msm-sony-hweffect.o CC drivers/media/platform/msm/camera_v2/sensor/sony_camera_v4l2.o LD sound/soc/msm/qdsp6v2/ocmem-audio.o LD sound/soc/msm/qdsp6v2/snd-soc-qdsp6v2.o LD sound/soc/msm/qdsp6v2/built-in.o LD sound/soc/msm/snd-soc-hostless-pcm.o LD sound/soc/msm/snd-soc-msm8974.o LD sound/soc/msm/snd-soc-qdsp6v2.o LD sound/soc/msm/snd-soc-apq8074.o LD sound/soc/msm/built-in.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 LD sound/soc/snd-soc-core.o LD sound/soc/built-in.o LD drivers/media/platform/msm/vcap/built-in.o CC drivers/media/platform/msm/vidc/msm_v4l2_vidc.o CC sound/last.o drivers/media/platform/msm/vidc/msm_v4l2_vidc.c:262:36: warning: 'msm_v4l2_enc_ioctl_ops' defined but not used [-Wunused-const-variable=] 262 | static const struct v4l2_ioctl_ops msm_v4l2_enc_ioctl_ops = { | ^~~~~~~~~~~~~~~~~~~~~~ LD sound/soundcore.o LD sound/built-in.o CC drivers/media/platform/msm/vidc/msm_vidc_common.o LD firmware/built-in.o CC arch/arm/oprofile/../../../drivers/oprofile/oprof.o LD drivers/media/platform/msm/camera_v2/sensor/built-in.o LD drivers/media/platform/msm/camera_v2/built-in.o CC drivers/media/platform/msm/wfd/wfd-ioctl.o CC arch/arm/oprofile/../../../drivers/oprofile/cpu_buffer.o CC arch/arm/oprofile/../../../drivers/oprofile/buffer_sync.o CC arch/arm/oprofile/../../../drivers/oprofile/event_buffer.o CC arch/arm/oprofile/../../../drivers/oprofile/oprofile_files.o CC drivers/media/platform/msm/wfd/wfd-util.o CC arch/arm/oprofile/../../../drivers/oprofile/oprofilefs.o CC drivers/media/platform/msm/wfd/vsg-subdev.o CC arch/arm/oprofile/../../../drivers/oprofile/oprofile_stats.o CC arch/arm/oprofile/../../../drivers/oprofile/timer_int.o CC arch/arm/oprofile/../../../drivers/oprofile/oprofile_perf.o CC drivers/media/platform/msm/wfd/mdp-5-subdev.o CC arch/arm/oprofile/common.o CC drivers/media/platform/msm/wfd/enc-venus-subdev.o LD arch/arm/oprofile/oprofile.o LD arch/arm/oprofile/built-in.o CC net/socket.o CC drivers/media/platform/msm/vidc/msm_vidc.o LD drivers/media/platform/msm/wfd/built-in.o CC drivers/media/platform/msm/vidc/msm_vdec.o CC drivers/media/platform/msm/vidc/msm_venc.o CC net/802/p8022.o CC net/802/psnap.o CC drivers/media/platform/msm/vidc/msm_smem.o CC net/802/stp.o LD net/802/built-in.o CC net/bluetooth/af_bluetooth.o CC drivers/media/platform/msm/vidc/msm_vidc_debug.o CC drivers/media/platform/msm/vidc/msm_vidc_res_parse.o CC net/bluetooth/hci_core.o CC drivers/media/platform/msm/vidc/venus_hfi.o CC drivers/media/platform/msm/vidc/hfi_response_handler.o 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/media/platform/msm/vidc/hfi_packetization.o CC net/bluetooth/hci_conn.o CC drivers/media/platform/msm/vidc/vidc_hfi.o CC drivers/media/platform/msm/vidc/q6_hfi.o CC net/bluetooth/hci_event.o CC net/bluetooth/mgmt.o LD drivers/media/platform/msm/vidc/built-in.o LD drivers/media/platform/msm/built-in.o CC net/bluetooth/hci_sock.o LD drivers/media/platform/built-in.o LD drivers/media/radio/built-in.o LD drivers/media/rc/keymaps/built-in.o LD drivers/media/rc/built-in.o CC drivers/media/video/v4l2-dev.o CC drivers/media/video/v4l2-ioctl.o CC net/bluetooth/hci_sysfs.o CC net/bluetooth/l2cap_core.o CC net/bluetooth/l2cap_sock.o net/bluetooth/l2cap_sock.c: In function 'l2cap_sock_setsockopt': net/bluetooth/l2cap_sock.c:765:30: warning: passing argument 1 of 'smp_conn_security' from incompatible pointer type [-Wincompatible-pointer-types] 765 | if (smp_conn_security(conn->hcon, sec.level)) | ~~~~^~~~~~ | | | struct hci_conn * In file included from net/bluetooth/l2cap_sock.c:35: include/net/bluetooth/smp.h:126:42: note: expected 'struct l2cap_conn *' but argument is of type 'struct hci_conn *' 126 | int smp_conn_security(struct l2cap_conn *conn, __u8 sec_level); | ~~~~~~~~~~~~~~~~~~~^~~~ CC drivers/media/video/v4l2-device.o CC net/bluetooth/smp.o CC drivers/media/video/v4l2-fh.o CC drivers/media/video/v4l2-event.o CC net/bluetooth/sco.o CC drivers/media/video/v4l2-ctrls.o drivers/media/video/v4l2-ctrls.c: In function 'validate_new': drivers/media/video/v4l2-ctrls.c:1169:33: warning: taking address of packed member of 'struct v4l2_ext_control' may result in an unaligned pointer value [-Waddress-of-packed-member] 1169 | return validate_new_int(ctrl, &c->value); | ^~~~~~~~~ CC net/bluetooth/lib.o CC net/bluetooth/amp.o CC drivers/media/video/v4l2-subdev.o CC drivers/media/video/v4l2-int-device.o CC drivers/media/video/v4l2-common.o CC net/bluetooth/bnep/core.o CC drivers/media/video/videobuf2-core.o CC net/bluetooth/hidp/core.o CC net/bluetooth/bnep/sock.o net/bluetooth/hidp/core.c: In function '__hidp_copy_session': net/bluetooth/hidp/core.c:141:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 141 | strncpy(ci->name, session->input->name, 128); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/media/video/videobuf2-memops.o In function 'hidp_setup_hid', inlined from 'hidp_add_connection' at net/bluetooth/hidp/core.c:898:9: net/bluetooth/hidp/core.c:820:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 820 | strncpy(hid->phys, batostr(&bt_sk(session->ctrl_sock->sk)->src), 64); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net/bluetooth/hidp/core.c:821:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 821 | strncpy(hid->uniq, batostr(&bt_sk(session->ctrl_sock->sk)->dst), 64); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC net/bluetooth/bnep/netdev.o CC net/bluetooth/hidp/sock.o CC drivers/media/video/videobuf2-vmalloc.o LD net/bluetooth/bnep/bnep.o LD net/bluetooth/bnep/built-in.o CC net/bluetooth/rfcomm/core.o CC drivers/media/video/videobuf2-dma-contig.o LD net/bluetooth/hidp/hidp.o LD net/bluetooth/hidp/built-in.o LD net/bluetooth/bluetooth.o CC drivers/media/video/videobuf2-dma-sg.o CC drivers/media/video/videobuf2-msm-mem.o LD drivers/media/video/davinci/built-in.o LD drivers/media/video/videodev.o LD drivers/media/video/built-in.o CC net/bluetooth/rfcomm/sock.o LD drivers/media/media.o LD drivers/media/built-in.o CC drivers/mfd/mfd-core.o CC drivers/mfd/wcd9xxx-core.o CC net/bluetooth/rfcomm/tty.o CC drivers/mfd/wcd9xxx-irq.o CC drivers/mfd/wcd9xxx-slimslave.o CC drivers/mfd/wcd9xxx-core-resource.o CC drivers/misc/pn547.o LD net/bluetooth/rfcomm/rfcomm.o LD net/bluetooth/rfcomm/built-in.o LD net/bluetooth/built-in.o LD drivers/mfd/built-in.o CC net/bridge/br.o CC drivers/mmc/card/block.o CC drivers/misc/uid_stat.o CC net/bridge/br_device.o LD drivers/misc/carma/built-in.o LD drivers/misc/cb710/built-in.o CC drivers/misc/eeprom/eeprom_93cx6.o LD drivers/misc/eeprom/built-in.o LD drivers/misc/felica_snfc/built-in.o LD drivers/misc/lis3lv02d/built-in.o LD drivers/misc/ti-st/built-in.o CC drivers/misc/pm8941-flash.o CC net/bridge/br_fdb.o CC drivers/mmc/card/queue.o CC drivers/misc/qpnp-vibrator.o CC net/bridge/br_forward.o CC drivers/misc/qseecom.o drivers/misc/qseecom.c: In function '__qseecom_update_cmd_buf': drivers/misc/qseecom.c:1684:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1684 | else | ^~~~ drivers/misc/qseecom.c:1687:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1687 | len += (uint32_t)sg->length; | ^~~ LD drivers/mmc/card/mmc_block.o LD drivers/mmc/card/built-in.o CC drivers/mmc/core/core.o CC net/bridge/br_if.o CC net/bridge/br_input.o CC net/bridge/br_ioctl.o CC drivers/mmc/core/bus.o CC drivers/misc/qpnp-misc.o CC net/bridge/br_notify.o CC drivers/misc/uid_cputime.o CC drivers/mmc/core/host.o LD drivers/misc/built-in.o CC drivers/mmc/core/mmc.o CC net/bridge/br_stp.o CC net/bridge/br_stp_bpdu.o CC drivers/mmc/core/mmc_ops.o CC net/bridge/br_stp_if.o CC net/bridge/br_stp_timer.o CC drivers/mmc/core/sd.o CC drivers/mmc/core/sd_ops.o CC net/bridge/br_netlink.o CC net/bridge/br_sysfs_if.o CC drivers/mmc/core/sdio.o CC drivers/mmc/core/sdio_ops.o CC net/bridge/br_sysfs_br.o CC net/bridge/br_netfilter.o CC drivers/mmc/core/sdio_bus.o CC drivers/mmc/core/sdio_cis.o CC drivers/mmc/core/sdio_io.o CC drivers/mmc/core/sdio_irq.o CC net/bridge/br_multicast.o CC drivers/mmc/core/quirks.o CC drivers/net/dummy.o CC drivers/mmc/core/cd-gpio.o CC drivers/net/mii.o CC drivers/mmc/core/debugfs.o CC drivers/net/Space.o LD drivers/mmc/core/mmc_core.o LD drivers/mmc/core/built-in.o CC drivers/mmc/host/sdhci.o CC net/bridge/netfilter/ebtables.o CC drivers/net/loopback.o CC drivers/net/tun.o CC net/bridge/netfilter/ebtable_broute.o LD drivers/net/ethernet/8390/built-in.o LD drivers/net/ethernet/broadcom/built-in.o LD drivers/net/ethernet/chelsio/built-in.o LD drivers/net/ethernet/cirrus/built-in.o LD drivers/net/ethernet/faraday/built-in.o LD drivers/net/ethernet/i825xx/built-in.o LD drivers/net/ethernet/intel/built-in.o LD drivers/net/ethernet/marvell/built-in.o LD net/bridge/netfilter/built-in.o LD net/bridge/bridge.o CC drivers/net/ethernet/micrel/ks8851.o LD net/bridge/built-in.o CC net/core/sock.o CC drivers/mmc/host/msm_sdcc.o LD drivers/net/ethernet/micrel/built-in.o LD drivers/net/ethernet/microchip/built-in.o CC drivers/net/ethernet/msm/msm_rmnet_bam.o CC net/core/request_sock.o LD drivers/net/ethernet/msm/built-in.o LD drivers/net/ethernet/natsemi/built-in.o LD drivers/net/ethernet/seeq/built-in.o LD drivers/net/ethernet/smsc/built-in.o LD drivers/net/ethernet/stmicro/built-in.o LD drivers/net/ethernet/built-in.o CC drivers/net/ppp/ppp_generic.o CC net/core/skbuff.o CC drivers/net/ppp/ppp_async.o CC net/core/iovec.o CC drivers/mmc/host/msm_sdcc_dml.o CC drivers/mmc/host/sdhci-pltfm.o CC drivers/net/ppp/bsd_comp.o CC net/core/datagram.o CC drivers/mmc/host/sdhci-msm.o CC drivers/net/ppp/ppp_deflate.o CC drivers/net/ppp/ppp_mppe.o CC net/core/stream.o CC drivers/net/ppp/ppp_synctty.o CC net/core/scm.o CC drivers/net/ppp/pppox.o CC net/core/gen_stats.o CC drivers/net/ppp/pppolac.o LD drivers/mmc/host/built-in.o LD drivers/mmc/built-in.o LD drivers/nfc/built-in.o CC drivers/of/base.o CC net/core/gen_estimator.o CC drivers/net/ppp/pppopns.o CC net/core/net_namespace.o CC drivers/of/fdt.o LD drivers/net/ppp/built-in.o CC drivers/net/slip/slip.o CC drivers/of/address.o CC net/core/secure_seq.o CC net/core/flow_dissector.o CC drivers/of/irq.o CC drivers/net/slip/slhc.o CC net/core/sysctl_net_core.o CC drivers/of/device.o CC drivers/of/platform.o CC net/core/dev.o CC drivers/of/gpio.o LD drivers/net/slip/built-in.o CC drivers/net/usb/asix.o CC drivers/of/of_i2c.o CC drivers/of/of_net.o CC drivers/of/of_spi.o CC drivers/net/usb/cdc_eem.o CC drivers/of/of_spmi.o CC drivers/net/usb/dm9601.o CC drivers/of/of_slimbus.o CC drivers/of/of_batterydata.o CC drivers/net/usb/smsc75xx.o LD drivers/of/built-in.o CC drivers/net/usb/smsc95xx.o LD drivers/pinctrl/built-in.o CC drivers/net/usb/gl620a.o CC drivers/platform/msm/usb_bam.o CC net/core/ethtool.o CC drivers/net/usb/plusb.o CC drivers/net/usb/mcs7830.o CC net/core/dev_addr_lists.o CC drivers/platform/msm/sps/bam.o CC drivers/net/usb/usbnet.o CC net/core/dst.o drivers/net/usb/usbnet.c:87:19: warning: 'driver_name' defined but not used [-Wunused-const-variable=] 87 | static const char driver_name [] = "usbnet"; | ^~~~~~~~~~~ drivers/net/usb/usbnet.c: In function 'usbnet_get_drvinfo': drivers/net/usb/usbnet.c:888:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 888 | strncpy (info->driver, dev->driver_name, sizeof info->driver); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/usb/usbnet.c:890:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 890 | strncpy (info->fw_version, dev->driver_info->description, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 891 | sizeof info->fw_version); | ~~~~~~~~~~~~~~~~~~~~~~~~ CC net/core/netevent.o CC drivers/net/usb/int51x1.o CC net/core/neighbour.o CC drivers/net/usb/kalmia.o CC drivers/net/usb/sierra_net.o CC drivers/platform/msm/sps/sps_bam.o CC drivers/net/usb/cx82310_eth.o CC net/core/rtnetlink.o LD drivers/net/usb/built-in.o CC drivers/net/wireless/bcmdhd/dhd_pno.o CC drivers/platform/msm/sps/sps.o drivers/net/wireless/bcmdhd/dhd_pno.c:99:25: warning: 'dhd_pno_get_legacy_pno_ssid' declared 'static' but never defined [-Wunused-function] 99 | static wlc_ssid_ext_t * dhd_pno_get_legacy_pno_ssid(dhd_pub_t *dhd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC net/core/utils.o CC net/core/link_watch.o CC net/core/filter.o CC drivers/platform/msm/sps/sps_dma.o CC drivers/net/wireless/bcmdhd/dhd_common.o CC net/core/sock_diag.o CC drivers/platform/msm/sps/sps_map.o CC drivers/platform/msm/sps/sps_mem.o In file included from drivers/net/wireless/bcmdhd/dhd_common.c:30: drivers/net/wireless/bcmdhd/dhd_common.c: In function 'dhd_pktfilter_offload_set': drivers/net/wireless/bcmdhd/include/bcmutils.h:31:57: warning: 'strncpy' output truncated before terminating nul copying 14 bytes from a string of the same length [-Wstringop-truncation] 31 | #define bcm_strncpy_s(dst, noOfElements, src, count) strncpy((dst), (src), (count)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/bcmdhd/dhd_common.c:1931:2: note: in expansion of macro 'bcm_strncpy_s' 1931 | bcm_strncpy_s(buf, BUF_SIZE, str, str_len); | ^~~~~~~~~~~~~ CC drivers/platform/msm/sps/sps_rm.o CC net/core/flow.o LD drivers/platform/msm/sps/built-in.o CC drivers/platform/msm/qpnp-pwm.o CC net/core/net-sysfs.o CC drivers/net/wireless/bcmdhd/dhd_ip.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/platform/msm/qpnp-power-on.o CC net/core/fib_rules.o CC drivers/net/wireless/bcmdhd/dhd_custom_gpio.o CC drivers/platform/msm/qpnp-clkdiv.o CC drivers/platform/msm/qpnp-coincell.o CC drivers/net/wireless/bcmdhd/dhd_linux.o CC drivers/platform/msm/qpnp-revid.o CC net/core/net-traces.o CC drivers/platform/msm/qpnp-powerkey-forcecrash.o CC drivers/platform/msm/mpmtime.o LD drivers/platform/msm/built-in.o LD drivers/platform/built-in.o CC drivers/power/power_supply_core.o drivers/net/wireless/bcmdhd/dhd_linux.c: In function 'dhd_dev_start_mkeep_alive': drivers/net/wireless/bcmdhd/dhd_linux.c:8918:2: warning: 'strncpy' output truncated before terminating nul copying 11 bytes from a string of the same length [-Wstringop-truncation] 8918 | strncpy(pbuf, str, str_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/bcmdhd/dhd_linux.c: In function 'dhd_dev_stop_mkeep_alive': drivers/net/wireless/bcmdhd/dhd_linux.c:9034:3: warning: 'strncpy' output truncated before terminating nul copying 11 bytes from a string of the same length [-Wstringop-truncation] 9034 | strncpy(pbuf, str, str_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/power/power_supply_sysfs.o LD net/core/built-in.o CC net/ethernet/eth.o CC drivers/power/power_supply_leds.o drivers/net/wireless/bcmdhd/dhd_linux.c: In function 'dhd_allocate_if': drivers/net/wireless/bcmdhd/dhd_linux.c:4582:3: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 4582 | strncpy(ifp->net->name, name, IFNAMSIZ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/power/bq28400_battery.o LD net/ethernet/built-in.o CC net/ipv4/route.o CC drivers/power/qpnp-bms.o CC drivers/net/wireless/bcmdhd/dhd_linux_sched.o CC net/ipv4/inetpeer.o CC drivers/net/wireless/bcmdhd/dhd_cfg80211.o CC net/ipv4/protocol.o CC drivers/net/wireless/bcmdhd/dhd_linux_wq.o CC drivers/power/qpnp-charger.o CC net/ipv4/ip_input.o CC drivers/net/wireless/bcmdhd/aiutils.o CC net/ipv4/ip_fragment.o CC drivers/net/wireless/bcmdhd/bcmevent.o CC drivers/net/wireless/bcmdhd/bcmutils.o CC net/ipv4/ip_forward.o drivers/net/wireless/bcmdhd/bcmutils.c: In function 'pktsetprio': drivers/net/wireless/bcmdhd/bcmutils.c:768:17: warning: converting a packed 'struct ether_header' pointer (alignment 1) to a 'struct ethervlan_header' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 768 | evh = (struct ethervlan_header *)eh; | ^~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/bcmdhd/bcmutils.c:57: drivers/net/wireless/bcmdhd/include/proto/ethernet.h:126:30: note: defined here 126 | BWL_PRE_PACKED_STRUCT struct ether_header { | ^~~~~~~~~~~~ In file included from drivers/net/wireless/bcmdhd/bcmutils.c:58: drivers/net/wireless/bcmdhd/include/proto/vlan.h:59:8: note: defined here 59 | struct ethervlan_header { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/bcmdhd/bcmutils.c: In function 'pktgetdscp': drivers/net/wireless/bcmdhd/bcmutils.c:863:17: warning: converting a packed 'struct ether_header' pointer (alignment 1) to a 'struct ethervlan_header' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 863 | evh = (struct ethervlan_header *)eh; | ^~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/bcmdhd/bcmutils.c:57: drivers/net/wireless/bcmdhd/include/proto/ethernet.h:126:30: note: defined here 126 | BWL_PRE_PACKED_STRUCT struct ether_header { | ^~~~~~~~~~~~ In file included from drivers/net/wireless/bcmdhd/bcmutils.c:58: drivers/net/wireless/bcmdhd/include/proto/vlan.h:59:8: note: defined here 59 | struct ethervlan_header { | ^~~~~~~~~~~~~~~~ drivers/net/wireless/bcmdhd/bcmutils.c: In function 'bcm_ipv6_ntoa': drivers/net/wireless/bcmdhd/bcmutils.c:699:33: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 699 | snprintf(p, 16, ":%u.%u.%u.%u", a4[0], a4[1], a4[2], a4[3]); | ^ drivers/net/wireless/bcmdhd/bcmutils.c:699:4: note: 'snprintf' output between 9 and 17 bytes into a destination of size 16 699 | snprintf(p, 16, ":%u.%u.%u.%u", a4[0], a4[1], a4[2], a4[3]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC net/ipv4/ip_options.o drivers/net/wireless/bcmdhd/bcmutils.c: In function 'bcm_format_field': drivers/net/wireless/bcmdhd/bcmutils.c:1477:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1477 | strncpy(buf, name, slen+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/bcmdhd/bcmutils.c:1475:19: note: length computed here 1475 | if (len > (int)strlen(name)) { | ^~~~~~~~~~~~ drivers/net/wireless/bcmdhd/bcmutils.c: In function 'bcm_format_flags': drivers/net/wireless/bcmdhd/bcmutils.c:1520:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1520 | strncpy(p, name, nlen + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/bcmdhd/bcmutils.c:1511:10: note: length computed here 1511 | nlen = strlen(name); | ^~~~~~~~~~~~ CC drivers/net/wireless/bcmdhd/bcmwifi_channels.o CC drivers/power/battery_current_limit.o net/ipv4/ip_options.c: In function 'ip_options_undo': net/ipv4/ip_options.c:482:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 482 | memcpy(optptr+3, &opt->faddr, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC net/ipv4/ip_output.o LD drivers/power/power_supply.o LD drivers/power/built-in.o CC drivers/regulator/core.o CC drivers/net/wireless/bcmdhd/hndpmu.o CC drivers/net/wireless/bcmdhd/linux_osl.o CC net/ipv4/ip_sockglue.o CC drivers/net/wireless/bcmdhd/sbutils.o CC drivers/regulator/dummy.o CC drivers/regulator/fixed-helper.o CC net/ipv4/inet_hashtables.o CC drivers/regulator/of_regulator.o CC drivers/net/wireless/bcmdhd/siutils.o CC drivers/regulator/fixed.o drivers/net/wireless/bcmdhd/siutils.c: In function 'si_doattach': drivers/net/wireless/bcmdhd/siutils.c:487:14: warning: self-comparison always evaluates to false [-Wtautological-compare] 487 | if (bustype != BUSTYPE(bustype)) { | ^~ CC drivers/regulator/stub-regulator.o CC net/ipv4/inet_timewait_sock.o CC drivers/regulator/qpnp-regulator.o drivers/regulator/qpnp-regulator.c:897:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 897 | static const char const *qpnp_print_actions[] = { | ^~~~~ CC net/ipv4/inet_connection_sock.o LD drivers/regulator/built-in.o CC drivers/net/wireless/bcmdhd/wl_android.o CC drivers/rtc/rtc-lib.o CC drivers/rtc/hctosys.o CC net/ipv4/tcp.o CC drivers/rtc/class.o CC drivers/net/wireless/bcmdhd/wl_roam.o CC drivers/rtc/interface.o CC drivers/net/wireless/bcmdhd/wl_cfg80211.o CC drivers/rtc/rtc-dev.o drivers/net/wireless/bcmdhd/wl_cfg80211.c: In function 'wl_cfg80211_disconnect': drivers/net/wireless/bcmdhd/wl_cfg80211.c:4198:13: warning: unused variable 'dhdp' [-Wunused-variable] 4198 | dhd_pub_t *dhdp = (dhd_pub_t *)(cfg->pub); | ^~~~ CC drivers/rtc/rtc-proc.o drivers/net/wireless/bcmdhd/wl_cfg80211.c: In function 'wl_cfg80211_mgmt_tx': drivers/net/wireless/bcmdhd/wl_cfg80211.c:5892:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5892 | if ((dev == bcmcfg_to_prmry_ndev(cfg)) && cfg->p2p) | ^~ drivers/net/wireless/bcmdhd/wl_cfg80211.c:5894:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5894 | wl_cfgp2p_set_management_ie(cfg, dev, bssidx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/bcmdhd/wl_cfg80211.c: At top level: drivers/net/wireless/bcmdhd/wl_cfg80211.c:7835:17: warning: initialization of 'int (*)(struct wiphy *, struct net_device *, struct ieee80211_channel *, enum nl80211_chan_width)' from incompatible pointer type 's32 (*)(struct wiphy *, struct net_device *, struct ieee80211_channel *, enum nl80211_channel_type)' {aka 'int (*)(struct wiphy *, struct net_device *, struct ieee80211_channel *, enum nl80211_channel_type)'} [-Wincompatible-pointer-types] 7835 | .set_channel = wl_cfg80211_set_channel, | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/bcmdhd/wl_cfg80211.c:7835:17: note: (near initialization for 'wl_cfg80211_ops.set_channel') drivers/net/wireless/bcmdhd/wl_cfg80211.c: In function 'wl_inform_single_bss': drivers/net/wireless/bcmdhd/wl_cfg80211.c:8316:1: warning: label 'out_err' defined but not used [-Wunused-label] 8316 | out_err: | ^~~~~~~ drivers/net/wireless/bcmdhd/wl_cfg80211.c:8168:6: warning: unused variable 'payload_len' [-Wunused-variable] 8168 | u32 payload_len; | ^~~~~~~~~~~ drivers/net/wireless/bcmdhd/wl_cfg80211.c:8167:6: warning: unused variable 'alloc_len' [-Wunused-variable] 8167 | u32 alloc_len; | ^~~~~~~~~ drivers/net/wireless/bcmdhd/wl_cfg80211.c:8166:11: warning: unused variable 'tlv_data' [-Wunused-variable] 8166 | tlv_log *tlv_data = NULL; | ^~~~~~~~ drivers/net/wireless/bcmdhd/wl_cfg80211.c:8165:20: warning: unused variable 'event_data' [-Wunused-variable] 8165 | log_conn_event_t *event_data = NULL; | ^~~~~~~~~~ drivers/net/wireless/bcmdhd/wl_cfg80211.c:8164:13: warning: unused variable 'dhdp' [-Wunused-variable] 8164 | dhd_pub_t *dhdp = (dhd_pub_t *)(cfg->pub); | ^~~~ CC drivers/rtc/rtc-sysfs.o drivers/net/wireless/bcmdhd/wl_cfg80211.c: In function 'wl_cfg80211_ibss_vsie_delete': drivers/net/wireless/bcmdhd/wl_cfg80211.c:2843:3: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 2843 | strncpy(cfg->ibss_vsie->cmd, "del", VNDR_IE_CMD_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/rtc/qpnp-rtc.o CC net/ipv4/tcp_input.o LD drivers/rtc/rtc-core.o LD drivers/rtc/built-in.o CC drivers/scsi/scsi.o CC drivers/scsi/hosts.o CC drivers/scsi/scsi_ioctl.o CC drivers/scsi/constants.o CC drivers/scsi/scsicam.o CC drivers/scsi/scsi_error.o CC net/ipv4/tcp_output.o CC drivers/scsi/scsi_lib.o CC net/ipv4/tcp_timer.o CC drivers/scsi/scsi_lib_dma.o CC drivers/scsi/scsi_scan.o CC net/ipv4/tcp_ipv4.o CC drivers/net/wireless/bcmdhd/wl_cfgp2p.o CC drivers/scsi/scsi_sysfs.o CC drivers/scsi/scsi_devinfo.o CC net/ipv4/tcp_minisocks.o drivers/scsi/scsi_devinfo.c: In function 'scsi_strcpy_devinfo': drivers/scsi/scsi_devinfo.c:286:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 286 | strncpy(to, from, min(to_length, from_length)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/scsi/scsi_devinfo.c:285:16: note: length computed here 285 | from_length = strlen(from); | ^~~~~~~~~~~~ drivers/scsi/scsi_devinfo.c:297:4: warning: 'strncpy' output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation] 297 | strncpy(&to[from_length], spaces, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | to_length - from_length); | ~~~~~~~~~~~~~~~~~~~~~~~~ drivers/scsi/scsi_devinfo.c: In function 'scsi_dev_info_list_add_str': drivers/scsi/scsi_devinfo.c:512:4: warning: '%s' directive argument is null [-Wformat-overflow=] 512 | printk(KERN_ERR "%s: bad dev info string '%s' '%s'" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 513 | " '%s'\n", __func__, vendor, model, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 514 | strflags); | ~~~~~~~~~ drivers/scsi/scsi_devinfo.c:513:14: note: format string is defined here 513 | " '%s'\n", __func__, vendor, model, | ^~ CC drivers/scsi/scsi_sysctl.o CC drivers/net/wireless/bcmdhd/wl_cfg_btcoex.o CC drivers/scsi/scsi_proc.o CC net/ipv4/tcp_cong.o CC drivers/scsi/scsi_trace.o drivers/net/wireless/bcmdhd/wl_cfg_btcoex.c: In function 'wl_cfg80211_set_btcoex_dhcp': drivers/net/wireless/bcmdhd/wl_cfg_btcoex.c:435:2: warning: 'strncpy' specified bound 1 equals destination size [-Wstringop-truncation] 435 | strncpy((char *)&powermode_val, command + strlen("BTCOEXMODE") +1, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/net/wireless/bcmdhd/wldev_common.o CC drivers/scsi/scsi_pm.o CC net/ipv4/datagram.o CC net/ipv4/raw.o CC drivers/scsi/scsi_tgt_lib.o CC drivers/net/wireless/bcmdhd/wl_linux_mon.o CC drivers/scsi/scsi_tgt_if.o CC drivers/net/wireless/bcmdhd/dhd_linux_platdev.o CC net/ipv4/udp.o drivers/scsi/scsi_tgt_if.c: In function 'scsi_tgt_uspace_send_it_nexus_request': drivers/scsi/scsi_tgt_if.c:192:3: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 192 | strncpy(ev.p.it_nexus_req.initiator_id, initiator_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | sizeof(ev.p.it_nexus_req.initiator_id)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/scsi/sd.o CC drivers/net/wireless/bcmdhd/dhd_rtt.o drivers/net/wireless/bcmdhd/dhd_rtt.c:295:33: warning: 'ftm_ranging_state_value_loginfo' defined but not used [-Wunused-const-variable=] 295 | static const ftm_strmap_entry_t ftm_ranging_state_value_loginfo [] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/bcmdhd/dhd_rtt.c:207:33: warning: 'ftm_tlvid_loginfo' defined but not used [-Wunused-const-variable=] 207 | static const ftm_strmap_entry_t ftm_tlvid_loginfo[] = { | ^~~~~~~~~~~~~~~~~ LD drivers/scsi/arm/built-in.o LD drivers/scsi/sd_mod.o CC [M] drivers/scsi/scsi_wait_scan.o CC drivers/net/wireless/bcmdhd/hnd_pktq.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) | ^~~~~~~~~~~~~~ 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/ipv4/udplite.o drivers/slimbus/slimbus.c: In function 'slim_change_existing_chans': drivers/slimbus/slimbus.c:2665:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2665 | if (slc->state == SLIM_CH_ACTIVE || | ^~ drivers/slimbus/slimbus.c:2668:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2668 | slc->interval = slc->newintr; | ^~~ CC drivers/net/wireless/bcmdhd/hnd_pktpool.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/net/wireless/bcmdhd/wl_cfgvendor.o CC net/ipv4/icmp.o CC drivers/slimbus/slim-msm.o CC net/ipv4/devinet.o CC drivers/slimbus/slim-msm-ngd.o CC drivers/net/wireless/bcmdhd/bcmxtlv.o CC drivers/net/wireless/bcmdhd/dhd_debug.o LD drivers/slimbus/built-in.o CC drivers/spi/spi.o CC net/ipv4/af_inet.o CC drivers/net/wireless/bcmdhd/dhd_debug_linux.o CC drivers/spi/spi_qsd.o CC net/ipv4/igmp.o CC drivers/net/wireless/bcmdhd/bcmsdh.o CC drivers/net/wireless/bcmdhd/bcmsdh_linux.o CC drivers/net/wireless/bcmdhd/bcmsdh_sdmmc.o CC net/ipv4/fib_frontend.o CC drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.o LD drivers/spi/built-in.o CC drivers/spmi/spmi.o CC drivers/net/wireless/bcmdhd/dhd_cdc.o CC drivers/spmi/spmi-resources.o CC net/ipv4/fib_semantics.o CC drivers/spmi/spmi-pmic-arb.o CC drivers/net/wireless/bcmdhd/dhd_wlfc.o CC drivers/spmi/qpnp-int.o CC net/ipv4/fib_trie.o CC drivers/spmi/spmi-dbgfs.o LD drivers/spmi/built-in.o CC drivers/staging/staging.o CC drivers/staging/android/binder.o CC drivers/net/wireless/bcmdhd/dhd_sdio.o CC net/ipv4/inet_fragment.o drivers/net/wireless/bcmdhd/dhd_sdio.c: In function 'dhd_bus_devreset': drivers/net/wireless/bcmdhd/dhd_sdio.c:8144:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 8144 | } else | ^~~~ drivers/net/wireless/bcmdhd/dhd_sdio.c:8147:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 8147 | dhd_os_sdunlock(dhdp); | ^~~~~~~~~~~~~~~ CC net/ipv4/ping.o CC net/ipv4/sysctl_net_ipv4.o CC net/ipv4/sysfs_net_ipv4.o CC net/ipv4/proc.o CC drivers/staging/android/ashmem.o CC net/ipv4/fib_rules.o CC drivers/staging/android/persistent_ram.o CC drivers/staging/android/ram_console.o CC net/ipv4/ah4.o CC drivers/staging/android/timed_output.o LD drivers/net/wireless/bcmdhd/bcmdhd.o LD drivers/net/wireless/bcmdhd/built-in.o LD drivers/net/wireless/built-in.o LD drivers/net/built-in.o CC drivers/staging/android/timed_gpio.o CC net/ipv4/esp4.o CC [M] drivers/staging/android/logger.o CC net/ipv4/ipcomp.o In file included from include/linux/printk.h:4, from include/linux/kernel.h:22, from include/linux/sched.h:55, from drivers/staging/android/logger.c:20: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'logger_init': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/init.h:290:30: note: in expansion of macro 'module_init' 290 | #define device_initcall(fn) module_init(fn) | ^~~~~~~~~~~ drivers/staging/android/logger.c:793:1: note: in expansion of macro 'device_initcall' 793 | device_initcall(logger_init); | ^~~~~~~~~~~~~~~ drivers/staging/android/logger.c:770:19: note: 'init_module' target declared here 770 | static int __init logger_init(void) | ^~~~~~~~~~~ LD drivers/staging/android/built-in.o LD drivers/staging/media/built-in.o LD drivers/staging/serial/built-in.o LD drivers/staging/built-in.o CC drivers/switch/switch_class.o CC drivers/thermal/thermal_sys.o CC net/ipv4/xfrm4_tunnel.o LD drivers/switch/built-in.o CC drivers/tty/tty_io.o CC net/ipv4/xfrm4_mode_beet.o CC drivers/thermal/msm_thermal.o CC net/ipv4/tunnel4.o CC drivers/tty/n_tty.o CC net/ipv4/xfrm4_mode_transport.o CC net/ipv4/xfrm4_mode_tunnel.o CC drivers/thermal/msm_thermal-dev.o CC drivers/tty/tty_ioctl.o CC net/ipv4/ipconfig.o CC drivers/thermal/msm8974-tsens.o CC drivers/tty/tty_ldisc.o CC drivers/thermal/qpnp-temp-alarm.o CC net/ipv4/netfilter.o CC drivers/tty/tty_buffer.o CC drivers/thermal/qpnp-adc-tm.o CC drivers/tty/tty_port.o CC net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.o CC drivers/tty/tty_mutex.o CC net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o LD drivers/thermal/built-in.o CC drivers/uio/uio.o CC drivers/tty/pty.o CC drivers/tty/tty_audit.o CC drivers/uio/msm_sharedmem.o CC net/ipv4/netfilter/nf_conntrack_proto_icmp.o LD drivers/uio/built-in.o CC drivers/usb/core/usb.o CC drivers/tty/sysrq.o CC net/ipv4/netfilter/nf_nat_l3proto_ipv4.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 LD drivers/tty/ipwireless/built-in.o CC drivers/tty/serial/serial_core.o CC net/ipv4/netfilter/nf_nat_proto_icmp.o CC net/ipv4/netfilter/nf_defrag_ipv4.o CC drivers/tty/serial/msm_serial_hs.o CC net/ipv4/netfilter/nf_nat_h323.o CC drivers/usb/core/hcd.o CC net/ipv4/netfilter/nf_nat_pptp.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/ipv4/netfilter/nf_nat_proto_gre.o CC drivers/usb/core/urb.o LD drivers/tty/serial/built-in.o CC drivers/tty/vt/vt_ioctl.o CC net/ipv4/netfilter/ip_tables.o drivers/usb/core/urb.c: In function 'usb_submit_urb': drivers/usb/core/urb.c:389:29: warning: array subscript 2147483646 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 389 | len = urb->iso_frame_desc[n].length; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from drivers/usb/core/urb.c:7: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/core/urb.c:392:23: warning: array subscript 2147483646 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 392 | urb->iso_frame_desc[n].status = -EXDEV; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from drivers/usb/core/urb.c:7: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/core/urb.c:393:23: warning: array subscript 2147483646 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 393 | urb->iso_frame_desc[n].actual_length = 0; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from drivers/usb/core/urb.c:7: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ CC drivers/usb/core/message.o CC drivers/tty/vt/vc_screen.o CC net/ipv4/netfilter/iptable_filter.o CC drivers/tty/vt/selection.o CC drivers/usb/core/driver.o CC net/ipv4/netfilter/iptable_mangle.o CC drivers/tty/vt/keyboard.o CC drivers/usb/core/config.o CC net/ipv4/netfilter/iptable_nat.o CC net/ipv4/netfilter/iptable_raw.o CC drivers/usb/core/file.o CC drivers/tty/vt/consolemap.o CC drivers/usb/core/buffer.o CC net/ipv4/netfilter/iptable_security.o CC drivers/usb/core/sysfs.o CONMK drivers/tty/vt/consolemap_deftbl.c CC drivers/tty/vt/vt.o CC net/ipv4/netfilter/ipt_ah.o CC drivers/usb/core/endpoint.o CC net/ipv4/netfilter/ipt_rpfilter.o CC drivers/usb/core/devio.o CC net/ipv4/netfilter/ipt_MASQUERADE.o drivers/usb/core/devio.c: In function 'proc_do_submiturb': drivers/usb/core/devio.c:1194:43: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1194 | if (uurb->buffer_length < (le16_to_cpup(&dr->wLength) + 8)) { | ^~~~~~~~~~~~ drivers/usb/core/devio.c:1199:24: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1199 | le16_to_cpup(&dr->wIndex)); | ^~~~~~~~~~~ drivers/usb/core/devio.c:1203:38: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1203 | 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:1216:19: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1216 | __le16_to_cpup(&dr->wValue), | ^~~~~~~~~~~ include/linux/device.h:960:58: note: in definition of macro 'dev_info' 960 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) | ^~~ drivers/usb/core/devio.c:1212:3: note: in expansion of macro 'snoop' 1212 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ drivers/usb/core/devio.c:1217:19: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1217 | __le16_to_cpup(&dr->wIndex), | ^~~~~~~~~~~ include/linux/device.h:960:58: note: in definition of macro 'dev_info' 960 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) | ^~~ drivers/usb/core/devio.c:1212:3: note: in expansion of macro 'snoop' 1212 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ drivers/usb/core/devio.c:1218:19: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member] 1218 | __le16_to_cpup(&dr->wLength)); | ^~~~~~~~~~~~ include/linux/device.h:960:58: note: in definition of macro 'dev_info' 960 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) | ^~~ drivers/usb/core/devio.c:1212:3: note: in expansion of macro 'snoop' 1212 | snoop(&ps->dev->dev, "control urb: bRequestType=%02x " | ^~~~~ In file included from include/linux/poll.h:14, from drivers/usb/core/devio.c:41: drivers/usb/core/devio.c: In function 'processcompl': drivers/usb/core/devio.c:1483:36: warning: array subscript '() + 4294967295' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1483 | if (put_user(urb->iso_frame_desc[i].actual_length, | ~~~~~~~~~~~~~~~~~~~^~~ /home/pmos/build/src/android_kernel_sony_msm8974-bd06661fef846ee569888a27f3d12db9cf1d8741/arch/arm/include/asm/uaccess.h:180:43: note: in definition of macro 'put_user' 180 | register typeof(*(p)) __r2 asm("r2") = (x); \ | ^ In file included from drivers/usb/core/devio.c:43: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from include/linux/poll.h:14, from drivers/usb/core/devio.c:41: drivers/usb/core/devio.c:1486:36: warning: array subscript '() + 4294967295' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1486 | if (put_user(urb->iso_frame_desc[i].status, | ~~~~~~~~~~~~~~~~~~~^~~ /home/pmos/build/src/android_kernel_sony_msm8974-bd06661fef846ee569888a27f3d12db9cf1d8741/arch/arm/include/asm/uaccess.h:180:43: note: in definition of macro 'put_user' 180 | register typeof(*(p)) __r2 asm("r2") = (x); \ | ^ In file included from drivers/usb/core/devio.c:43: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/core/devio.c: In function 'proc_getdriver': drivers/usb/core/devio.c:1053:3: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 1053 | strncpy(gd.driver, intf->dev.driver->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1054 | sizeof(gd.driver)); | ~~~~~~~~~~~~~~~~~~ drivers/usb/core/devio.c: In function 'usbdev_ioctl': drivers/usb/core/devio.c:1345:26: warning: array subscript '() + 4294967295' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1345 | as->urb->iso_frame_desc[u].offset = totlen; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from drivers/usb/core/devio.c:43: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/core/devio.c:1346:26: warning: array subscript '() + 4294967295' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1346 | as->urb->iso_frame_desc[u].length = isopkt[u].length; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from drivers/usb/core/devio.c:43: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ CC net/ipv4/netfilter/ipt_NETMAP.o CC net/ipv4/netfilter/ipt_REDIRECT.o CC drivers/usb/core/notify.o SHIPPED drivers/tty/vt/defkeymap.c CC drivers/tty/vt/consolemap_deftbl.o CC drivers/tty/vt/defkeymap.o CC drivers/usb/core/generic.o LD drivers/tty/vt/built-in.o LD drivers/tty/built-in.o CC drivers/video/fb_notify.o CC net/ipv4/netfilter/ipt_REJECT.o CC drivers/usb/core/quirks.o CC drivers/video/fbmem.o CC drivers/usb/core/devices.o CC net/ipv4/netfilter/arp_tables.o LD drivers/usb/core/usbcore.o LD drivers/usb/core/built-in.o CC drivers/usb/dwc3/core.o CC drivers/video/fbmon.o CC drivers/video/fbcmap.o CC drivers/usb/dwc3/host.o CC net/ipv4/netfilter/arpt_mangle.o CC drivers/video/fbsysfs.o CC drivers/usb/dwc3/gadget.o CC net/ipv4/netfilter/arptable_filter.o CC drivers/video/modedb.o LD net/ipv4/netfilter/nf_conntrack_ipv4.o LD net/ipv4/netfilter/nf_nat_ipv4.o LD net/ipv4/netfilter/built-in.o CC net/ipv4/inet_diag.o CC drivers/video/fbcvt.o CC drivers/video/backlight/backlight.o CC drivers/usb/dwc3/ep0.o LD drivers/video/backlight/built-in.o CC drivers/video/console/dummycon.o LD drivers/video/console/built-in.o CC drivers/video/msm/mdss/mdss_dsi.o CC net/ipv4/tcp_diag.o drivers/video/msm/mdss/mdss_dsi.c: In function 'mdss_dsi_panel_power_detect': drivers/video/msm/mdss/mdss_dsi.c:1394:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1394 | return; | ^~~~~~ drivers/video/msm/mdss/mdss_dsi.c:1383:5: note: declared here 1383 | int mdss_dsi_panel_power_detect(struct platform_device *pdev, int enable) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/video/msm/mdss/mdss_dsi.c:1403:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1403 | return; | ^~~~~~ drivers/video/msm/mdss/mdss_dsi.c:1383:5: note: declared here 1383 | int mdss_dsi_panel_power_detect(struct platform_device *pdev, int enable) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/video/msm/mdss/mdss_dsi.c:1409:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1409 | return; | ^~~~~~ drivers/video/msm/mdss/mdss_dsi.c:1383:5: note: declared here 1383 | int mdss_dsi_panel_power_detect(struct platform_device *pdev, int enable) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/video/msm/mdss/mdss_dsi.c:1418:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1418 | return; | ^~~~~~ drivers/video/msm/mdss/mdss_dsi.c:1383:5: note: declared here 1383 | int mdss_dsi_panel_power_detect(struct platform_device *pdev, int enable) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/video/msm/mdss/mdss_dsi.c:1425:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1425 | return; | ^~~~~~ drivers/video/msm/mdss/mdss_dsi.c:1383:5: note: declared here 1383 | int mdss_dsi_panel_power_detect(struct platform_device *pdev, int enable) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC drivers/usb/dwc3/dwc3_otg.o CC net/ipv4/tcp_cubic.o CC drivers/video/msm/mdss/mdss_dsi_host.o CC drivers/usb/dwc3/debugfs.o CC net/ipv4/xfrm4_policy.o CC drivers/usb/dwc3/dwc3-msm.o CC net/ipv4/xfrm4_state.o CC drivers/video/msm/mdss/mdss_dsi_cmd.o CC net/ipv4/xfrm4_input.o CC drivers/video/msm/mdss/mdss_dsi_status.o CC net/ipv4/xfrm4_output.o CC drivers/video/msm/mdss/mdss_dsi_panel_driver.o LD net/ipv4/built-in.o CC net/ipv6/af_inet6.o CC drivers/usb/dwc3/dwc3-exynos.o LD drivers/usb/dwc3/dwc3.o LD drivers/usb/dwc3/built-in.o CC drivers/usb/gadget/udc-core.o CC drivers/usb/gadget/android.o CC net/ipv6/anycast.o CC drivers/video/msm/mdss/mdss_dsi_panel_debugfs.o In file included from drivers/usb/gadget/android.c:61: drivers/usb/gadget/composite.c: In function 'bos_desc': drivers/usb/gadget/composite.c:524:15: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 524 | le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE); | ^~~~~~~~~~~~~~~~~~ drivers/usb/gadget/composite.c:537:16: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 537 | 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:931:23: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 931 | collect_langs(sp, s->wData); | ~^~~~~~~ drivers/usb/gadget/composite.c:936:24: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 936 | collect_langs(sp, s->wData); | ~^~~~~~~ drivers/usb/gadget/composite.c:941:25: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member] 941 | collect_langs(sp, s->wData); | ~^~~~~~~ In file included from drivers/usb/gadget/android.c:76: drivers/usb/gadget/f_fs.c: In function 'ffs_epfile_ioctl': drivers/usb/gadget/f_fs.c:1016:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1016 | if (ret) | ^~ drivers/usb/gadget/f_fs.c:1018:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1018 | return ret; | ^~~~~~ CC drivers/video/msm/mdss/msm_mdss_io_8974.o CC net/ipv6/ip6_output.o In file included from drivers/usb/gadget/android.c:84: drivers/usb/gadget/u_ctrl_hsic.c: In function 'ghsic_ctrl_setup': drivers/usb/gadget/u_ctrl_hsic.c:534:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 534 | for (i = first_port_id; i < no_ctrl_ports; i++) | ^~~ drivers/usb/gadget/u_ctrl_hsic.c:536:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 536 | no_ctrl_ports = first_port_id; | ^~~~~~~~~~~~~ In file included from drivers/usb/gadget/android.c:85: drivers/usb/gadget/u_data_hsic.c: In function 'ghsic_data_setup': drivers/usb/gadget/u_data_hsic.c:1175:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1175 | for (i = first_port_id; i < no_data_ports; i++) | ^~~ drivers/usb/gadget/u_data_hsic.c:1177:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1177 | no_data_ports = first_port_id; | ^~~~~~~~~~~~~ In file included from drivers/usb/gadget/android.c:86: drivers/usb/gadget/u_ctrl_hsuart.c: In function 'ghsuart_ctrl_setup': drivers/usb/gadget/u_ctrl_hsuart.c:476:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 476 | for (i = first_port_id; i < num_ctrl_ports; i++) | ^~~ drivers/usb/gadget/u_ctrl_hsuart.c:478:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 478 | num_ctrl_ports = first_port_id; | ^~~~~~~~~~~~~~ In file included from drivers/usb/gadget/android.c:87: drivers/usb/gadget/u_data_hsuart.c: In function 'ghsuart_data_setup': drivers/usb/gadget/u_data_hsuart.c:1136:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1136 | for (i = first_port_id; i < num_data_ports; i++) | ^~~ drivers/usb/gadget/u_data_hsuart.c:1138:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1138 | num_data_ports = first_port_id; | ^~~~~~~~~~~~~~ CC drivers/video/msm/mdss/mdss_mdp.o CC net/ipv6/ip6_input.o CC net/ipv6/addrconf.o CC drivers/video/msm/mdss/mdss_mdp_ctl.o CC drivers/video/msm/mdss/mdss_mdp_pipe.o CC net/ipv6/addrlabel.o CC net/ipv6/route.o CC drivers/video/msm/mdss/mdss_mdp_util.o CC drivers/video/msm/mdss/dsi_status_6g.o CC drivers/video/msm/mdss/mdss_mdp_pp.o drivers/video/msm/mdss/mdss_mdp_pp.c: In function 'mdss_mdp_ad_input': drivers/video/msm/mdss/mdss_mdp_pp.c:4349:17: warning: comparison of constant '15' with boolean expression is always false [-Wbool-compare] 4349 | !input->mode == MDSS_AD_MODE_CALIB) { | ^~ drivers/video/msm/mdss/mdss_mdp_pp.c:4349:17: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] drivers/video/msm/mdss/mdss_mdp_pp.c:4349:4: note: add parentheses around left hand side expression to silence this warning 4349 | !input->mode == MDSS_AD_MODE_CALIB) { | ^~~~~~~~~~~~ | ( ) CC net/ipv6/ip6_fib.o CC net/ipv6/ipv6_sockglue.o In file included from drivers/usb/gadget/android.c:61: drivers/usb/gadget/composite.c: In function 'composite_bind': drivers/usb/gadget/composite.c:1554:7: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size 50 [-Wformat-truncation=] 1554 | "%s %s with %s", | ^~ 1555 | init_utsname()->sysname, | ~~~~~~~~~~~~~~~~~~~~~~~ drivers/usb/gadget/composite.c:1552:4: note: 'snprintf' output 8 or more bytes (assuming 136) into a destination of size 50 1552 | snprintf(composite_manufacturer, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1553 | sizeof composite_manufacturer, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1554 | "%s %s with %s", | ~~~~~~~~~~~~~~~~ 1555 | init_utsname()->sysname, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1556 | init_utsname()->release, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1557 | gadget->name); | ~~~~~~~~~~~~~ CC net/ipv6/ndisc.o net/ipv6/ndisc.c: In function 'ndisc_router_discovery': net/ipv6/ndisc.c:1357: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] 1357 | struct route_info *ri = (struct route_info *)p; | ^~~~~~~~~~ In file included from include/net/ipv6.h:20, 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 drivers/video/msm/mdss/mdss_mdp_intf_video.o drivers/video/msm/mdss/mdss_mdp_intf_video.c: In function 'mdss_mdp_video_wait4comp': drivers/video/msm/mdss/mdss_mdp_intf_video.c:459:19: warning: increment of a boolean expression [-Wbool-operation] 459 | ctx->polling_en++; | ^~ CC net/ipv6/udp.o CC drivers/video/msm/mdss/mdss_mdp_intf_cmd.o CC drivers/video/msm/mdss/mdss_mdp_intf_writeback.o CC drivers/video/msm/mdss/mdss_mdp_rotator.o CC net/ipv6/udplite.o CC net/ipv6/raw.o CC drivers/video/msm/mdss/mdss_mdp_overlay.o In file included from drivers/usb/gadget/android.c:76: drivers/usb/gadget/f_fs.c: In function 'ffs_ep0_write': drivers/usb/gadget/f_fs.c:1501:29: warning: '%u' directive writing between 1 and 5 bytes into a region of size 3 [-Wformat-overflow=] 1501 | sprintf(epfiles->name, "ep%u", i); | ^~ drivers/usb/gadget/f_fs.c:1501:26: note: directive argument in the range [1, 65535] 1501 | sprintf(epfiles->name, "ep%u", i); | ^~~~~~ drivers/usb/gadget/f_fs.c:1501:3: note: 'sprintf' output between 4 and 8 bytes into a destination of size 5 1501 | sprintf(epfiles->name, "ep%u", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC net/ipv6/protocol.o CC net/ipv6/icmp.o CC drivers/video/msm/mdss/mdss_mdp_splash_logo.o CC net/ipv6/mcast.o CC drivers/video/msm/mdss/mdss_mdp_wb.o CC drivers/video/msm/mdss/mdss_debug.o CC net/ipv6/reassembly.o CC drivers/video/msm/mdss/mdss_debug_xlog.o LD drivers/video/msm/mdss/mdss-dsi.o CC drivers/video/msm/mdss/mdss_edp.o CC net/ipv6/tcp_ipv6.o CC drivers/video/msm/mdss/mdss_edp_aux.o LD drivers/usb/gadget/g_android.o LD drivers/usb/gadget/built-in.o CC drivers/usb/host/ehci-hcd.o CC drivers/video/msm/mdss/mdss_io_util.o CC net/ipv6/ping.o CC drivers/video/msm/mdss/mdss_hdmi_tx.o CC net/ipv6/exthdrs.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 net/ipv6/datagram.o In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-hcd.c: In function 'ehci_work': drivers/usb/host/ehci-sched.c:2132:30: warning: array subscript 'urb_index' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2132 | desc = &urb->iso_frame_desc [urb_index]; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:2132:30: warning: array subscript 'urb_index' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2132 | desc = &urb->iso_frame_desc [urb_index]; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:2132:30: warning: array subscript 'urb_index' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2132 | desc = &urb->iso_frame_desc [urb_index]; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:2132:30: warning: array subscript 'urb_index' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2132 | desc = &urb->iso_frame_desc [urb_index]; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:2132:30: warning: array subscript 'urb_index' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2132 | desc = &urb->iso_frame_desc [urb_index]; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:2132:30: warning: array subscript 'urb_index' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2132 | desc = &urb->iso_frame_desc [urb_index]; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:1724:31: warning: array subscript -1 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1724 | desc = &urb->iso_frame_desc [urb_index]; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:1724:31: warning: array subscript -1 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1724 | desc = &urb->iso_frame_desc [urb_index]; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:1724:31: warning: array subscript -1 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1724 | desc = &urb->iso_frame_desc [urb_index]; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:1724:31: warning: array subscript -1 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1724 | desc = &urb->iso_frame_desc [urb_index]; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:1724:31: warning: array subscript -1 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1724 | desc = &urb->iso_frame_desc [urb_index]; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:1724:31: warning: array subscript -1 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1724 | desc = &urb->iso_frame_desc [urb_index]; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:1724:31: warning: array subscript -1 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1724 | desc = &urb->iso_frame_desc [urb_index]; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ CC drivers/video/msm/mdss/mdss_hdmi_util.o In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-hcd.c: In function 'ehci_urb_enqueue': drivers/usb/host/ehci-sched.c:1903:32: warning: array subscript '() + 4294967295' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1903 | length = urb->iso_frame_desc [i].length & 0x03ff; | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:1904:35: warning: array subscript '() + 4294967295' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1904 | buf = dma + urb->iso_frame_desc [i].offset; | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:1197:32: warning: array subscript '() + 4294967295' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1197 | length = urb->iso_frame_desc [i].length; | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ In file included from drivers/usb/host/ehci-hcd.c:391: drivers/usb/host/ehci-sched.c:1198:35: warning: array subscript '() + 4294967295' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 1198 | buf = dma + urb->iso_frame_desc [i].offset; | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from drivers/usb/host/ehci-hcd.c:37: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ CC net/ipv6/ip6_flowlabel.o CC drivers/video/msm/mdss/mdss_hdmi_edid.o CC net/ipv6/inet6_connection_sock.o CC drivers/usb/host/xhci.o CC net/ipv6/sysctl_net_ipv6.o CC drivers/video/msm/mdss/mdss_hdmi_hdcp.o CC net/ipv6/xfrm6_policy.o net/ipv6/xfrm6_policy.c: In function '_decode_session6': net/ipv6/xfrm6_policy.c:163: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] 163 | __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/ipv6/xfrm6_state.o CC drivers/video/msm/mdss/mdss_hdmi_cec.o CC drivers/usb/host/xhci-mem.o CC net/ipv6/xfrm6_input.o CC drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_platform_base.o CC net/ipv6/xfrm6_output.o CC drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_platform_power.o CC drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_sii8620_8061_device.o CC net/ipv6/netfilter.o CC drivers/usb/host/xhci-ring.o drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_sii8620_8061_device.c: In function 'mhl_device_hdcp_show': drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_sii8620_8061_device.c:1975:40: warning: ' ' directive output truncated writing 1 byte into a region of size 0 [-Wformat-truncation=] 1975 | return snprintf(buf, sizeof(bool), "%x\n", | ^~ drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_sii8620_8061_device.c:1975:9: note: 'snprintf' output 3 bytes into a destination of size 1 1975 | return snprintf(buf, sizeof(bool), "%x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1976 | is_hdcp_support); | ~~~~~~~~~~~~~~~~ CC net/ipv6/fib6_rules.o CC net/ipv6/proc.o CC drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_sii8620_device_edid.o drivers/usb/host/xhci-ring.c: In function 'xhci_irq': drivers/usb/host/xhci-ring.c:2124:34: warning: array subscript 'idx' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2124 | frame = &td->urb->iso_frame_desc[idx]; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-ring.c:2124:34: warning: array subscript 'idx' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2124 | frame = &td->urb->iso_frame_desc[idx]; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-ring.c:2124:34: warning: array subscript 'idx' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2124 | frame = &td->urb->iso_frame_desc[idx]; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-ring.c:2124:34: warning: array subscript 'idx' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2124 | frame = &td->urb->iso_frame_desc[idx]; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-ring.c:2124:34: warning: array subscript 'idx' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2124 | frame = &td->urb->iso_frame_desc[idx]; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-ring.c:2124:34: warning: array subscript 'idx' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2124 | frame = &td->urb->iso_frame_desc[idx]; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-ring.c:2124:34: warning: array subscript 'idx' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2124 | frame = &td->urb->iso_frame_desc[idx]; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-ring.c:2124:34: warning: array subscript 'idx' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2124 | frame = &td->urb->iso_frame_desc[idx]; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-ring.c:2124:34: warning: array subscript 'idx' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2124 | frame = &td->urb->iso_frame_desc[idx]; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-ring.c:2124:34: warning: array subscript 'idx' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2124 | frame = &td->urb->iso_frame_desc[idx]; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-ring.c:2202:34: warning: array subscript 'idx' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2202 | frame = &td->urb->iso_frame_desc[idx]; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-ring.c:2202:34: warning: array subscript 'idx' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 2202 | frame = &td->urb->iso_frame_desc[idx]; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ CC net/ipv6/ah6.o drivers/usb/host/xhci-ring.c: In function 'xhci_queue_isoc_tx_prepare': drivers/usb/host/xhci-ring.c:3829:42: warning: array subscript 2147483646 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 3829 | addr = start_addr + urb->iso_frame_desc[i].offset; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-ring.c:3830:31: warning: array subscript 2147483646 is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 3830 | td_len = urb->iso_frame_desc[i].length; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-ring.c:3723:55: warning: array subscript '(num_tds) + -1' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 3723 | addr = (u64) (urb->transfer_dma + urb->iso_frame_desc[i].offset); | ~~~~~~~~~~~~~~~~~~~^~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-ring.c:3724:30: warning: array subscript '(num_tds) + -1' is outside the bounds of an interior zero-length array 'struct usb_iso_packet_descriptor[0]' [-Wzero-length-bounds] 3724 | td_len = urb->iso_frame_desc[i].length; | ~~~~~~~~~~~~~~~~~~~^~~ In file included from drivers/usb/host/xhci.h:27, from drivers/usb/host/xhci-ring.c:69: include/linux/usb.h:1351:35: note: while referencing 'iso_frame_desc' 1351 | struct usb_iso_packet_descriptor iso_frame_desc[0]; | ^~~~~~~~~~~~~~ CC drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_platform.o CC drivers/usb/host/xhci-hub.o CC drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_tx.o CC drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_platform_i2c.o CC net/ipv6/esp6.o CC drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_lib_edid.o CC drivers/usb/host/xhci-dbg.o CC net/ipv6/ipcomp6.o CC drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_cbus_control.o CC drivers/usb/host/xhci-plat.o drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_cbus_control.c: In function 'read_devcap_fifo': drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_cbus_control.c:1479:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1479 | else | ^~~~ drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_cbus_control.c:1488:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1488 | mhl_pf_write_reg(REG_PAGE_2_EDID_FIFO_ADDR, 0); | ^~~~~~~~~~~~~~~~ drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_cbus_control.c: In function 'return_block_queue_entry_impl': drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_cbus_control.c:2197:11: warning: taking address of packed member of 'struct block_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 2197 | list_add(&pReq->link, &cbus_context.block_protocol.free_list); | ^~~~~~~~~~~ drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_cbus_control.c: In function 'mhl_tx_push_block_transactions': drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_cbus_control.c:2320:17: warning: taking address of packed member of 'struct block_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 2320 | list_add_tail(&req->link, &cbus_context.block_protocol.queue); | ^~~~~~~~~~ drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_cbus_control.c: In function 'mhl_tx_get_sub_payload_buffer': drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_cbus_control.c:2391:17: warning: taking address of packed member of 'struct block_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 2391 | list_add_tail(&req->link, &cbus_context.block_protocol.queue); | ^~~~~~~~~~ drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_cbus_control.c: In function 'mhl_tx_initialize_block_transport': drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_cbus_control.c:2477:12: warning: taking address of packed member of 'struct block_req' may result in an unaligned pointer value [-Waddress-of-packed-member] 2477 | list_add(&req->link, &cbus_context.block_protocol.free_list); | ^~~~~~~~~~ CC net/ipv6/xfrm6_tunnel.o LD drivers/usb/host/xhci-hcd.o LD drivers/usb/host/built-in.o CC drivers/usb/misc/ehset.o LD drivers/usb/misc/built-in.o CC drivers/usb/otg/otg.o CC net/ipv6/tunnel6.o CC drivers/usb/otg/msm_otg.o CC drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_tx_rcp.o CC net/ipv6/xfrm6_mode_transport.o drivers/usb/otg/msm_otg.c: In function 'msm_otg_probe': drivers/usb/otg/msm_otg.c:4741:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4741 | if (motg->pdata->mpm_dpshv_int || motg->pdata->mpm_dmshv_int) | ^~ drivers/usb/otg/msm_otg.c:4743:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4743 | device_create_file(&pdev->dev, | ^~~~~~~~~~~~~~~~~~ CC drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_lib_infoframe.o CC net/ipv6/xfrm6_mode_tunnel.o CC drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_lib_timer.o CC net/ipv6/xfrm6_mode_beet.o CC drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_cbus_write_burst.o LD drivers/video/msm/mdss/mhl_sii8620_8061_drv/mhl_sii8620_8061_drv.o LD drivers/video/msm/mdss/mhl_sii8620_8061_drv/built-in.o CC drivers/video/msm/mdss/mdss_wb.o CC net/ipv6/mip6.o CC drivers/video/msm/mdss/mdss_fb.o net/ipv6/mip6.c: In function 'mip6_destopt_reject': net/ipv6/mip6.c:234:13: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] 234 | hao ? &hao->addr : &ipv6_hdr(skb)->saddr, | ^~~~~~~~~~ net/ipv6/mip6.c:256:29: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member] 256 | (hao ? (xfrm_address_t *)&hao->addr : NULL)); | ^~~~~~~~~~ CC net/ipv6/netfilter/ip6_tables.o LD drivers/usb/otg/built-in.o CC drivers/usb/storage/scsiglue.o CC drivers/usb/storage/protocol.o CC drivers/usb/storage/transport.o CC net/ipv6/netfilter/ip6table_filter.o LD drivers/video/msm/mdss/mdss-mdp.o LD drivers/video/msm/mdss/built-in.o CC drivers/video/msm/logo.o CC net/ipv6/netfilter/ip6table_mangle.o CC drivers/usb/storage/usb.o LD drivers/video/msm/built-in.o LD drivers/video/omap2/displays/built-in.o LD drivers/video/omap2/built-in.o CC drivers/video/cfbfillrect.o CC net/ipv6/netfilter/ip6table_raw.o CC drivers/usb/storage/initializers.o CC drivers/video/cfbcopyarea.o CC net/ipv6/netfilter/ip6table_nat.o CC drivers/usb/storage/sierra_ms.o CC drivers/video/cfbimgblt.o CC net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.o CC drivers/usb/storage/option_ms.o LD drivers/video/fb.o LD drivers/video/built-in.o CC drivers/usb/storage/usual-tables.o CC drivers/usb/usb-common.o CC net/ipv6/netfilter/nf_conntrack_proto_icmpv6.o LD drivers/usb/storage/usb-storage.o LD drivers/usb/storage/built-in.o CC net/ipv6/netfilter/nf_defrag_ipv6_hooks.o LD drivers/usb/built-in.o LD drivers/built-in.o CC net/ipv6/netfilter/nf_conntrack_reasm.o CC net/ipv6/netfilter/nf_nat_l3proto_ipv6.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 AS arch/arm/lib/clear_user.o AS arch/arm/lib/clearbit.o AS arch/arm/lib/copy_from_user.o CC net/ipv6/netfilter/nf_nat_proto_icmpv6.o AS arch/arm/lib/copy_page.o AS arch/arm/lib/copy_to_user.o CC net/ipv6/netfilter/ip6t_ah.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 AS arch/arm/lib/div64.o AS arch/arm/lib/findbit.o CC net/ipv6/netfilter/ip6t_eui64.o AS arch/arm/lib/getuser.o AS arch/arm/lib/io-readsb.o AS arch/arm/lib/io-readsl.o AS arch/arm/lib/io-readsw-armv4.o CC net/ipv6/netfilter/ip6t_frag.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 AS arch/arm/lib/memchr.o AS arch/arm/lib/memcpy.o AS arch/arm/lib/memmove.o AS arch/arm/lib/memset.o CC net/ipv6/netfilter/ip6t_ipv6header.o AS arch/arm/lib/memzero.o AS arch/arm/lib/muldi3.o CC net/ipv6/netfilter/ip6t_mh.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 CC net/ipv6/netfilter/ip6t_hbh.o AS arch/arm/lib/testclearbit.o AS arch/arm/lib/testsetbit.o AS arch/arm/lib/ucmpdi2.o CC net/ipv6/netfilter/ip6t_rpfilter.o AR arch/arm/lib/lib.a CC lib/bcd.o CC lib/div64.o CC lib/sort.o CC lib/parser.o CC lib/halfmd4.o CC net/ipv6/netfilter/ip6t_rt.o CC net/ipv6/netfilter/ip6t_REJECT.o CC lib/debug_locks.o CC lib/random32.o CC lib/bust_spinlocks.o CC lib/hexdump.o CC lib/kasprintf.o LD net/ipv6/netfilter/nf_conntrack_ipv6.o CC lib/bitmap.o LD net/ipv6/netfilter/nf_defrag_ipv6.o LD net/ipv6/netfilter/nf_nat_ipv6.o LD net/ipv6/netfilter/built-in.o CC net/ipv6/sit.o CC net/ipv6/addrconf_core.o CC lib/scatterlist.o CC lib/string_helpers.o CC net/ipv6/exthdrs_core.o CC lib/gcd.o CC lib/lcm.o CC net/ipv6/output_core.o CC lib/list_sort.o CC lib/uuid.o CC net/ipv6/inet6_hashtables.o CC lib/flex_array.o CC lib/bsearch.o CC lib/find_last_bit.o LD net/ipv6/ipv6.o CC lib/find_next_bit.o CC lib/llist.o DTC arch/arm/boot/msm8974pro-ac-shinano_leo.dtb CC lib/kstrtox.o CC lib/pci_iomap.o LD net/ipv6/built-in.o CC net/key/af_key.o CC lib/iomap_copy.o CC lib/devres.o CC net/l2tp/l2tp_core.o CC lib/hweight.o CC lib/bitrev.o CC lib/crc-ccitt.o CC lib/crc16.o HOSTCC lib/gen_crc32table CC lib/libcrc32c.o CC lib/genalloc.o CC net/l2tp/l2tp_ppp.o CC lib/lz4/lz4_compress.o LD net/key/built-in.o CC net/llc/llc_core.o CC lib/lz4/lz4_decompress.o LD lib/lz4/built-in.o CC lib/lzo/lzo1x_compress.o CC net/llc/llc_input.o LD net/l2tp/built-in.o CC net/netfilter/core.o CC lib/lzo/lzo1x_decompress_safe.o CC net/llc/llc_output.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 LD net/llc/llc.o LD net/llc/built-in.o CC net/netlink/af_netlink.o CC net/netfilter/nf_log.o LD lib/reed_solomon/built-in.o CC lib/zlib_deflate/deflate.o CC net/netfilter/nf_queue.o CC lib/zlib_deflate/deftree.o CC net/netfilter/nf_sockopt.o CC net/netlink/genetlink.o CC lib/zlib_deflate/deflate_syms.o CC net/netfilter/nf_conntrack_core.o LD lib/zlib_deflate/zlib_deflate.o LD lib/zlib_deflate/built-in.o CC lib/zlib_inflate/inffast.o CC lib/zlib_inflate/inflate.o LD net/netlink/built-in.o CC lib/zlib_inflate/infutil.o CC lib/zlib_inflate/inftrees.o CC net/packet/af_packet.o CC lib/zlib_inflate/inflate_syms.o LD lib/zlib_inflate/zlib_inflate.o LD lib/zlib_inflate/built-in.o CC lib/textsearch.o net/packet/af_packet.c: In function 'packet_set_ring': net/packet/af_packet.c:3685:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3685 | if (!tx_ring) | ^~ net/packet/af_packet.c:3687:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3687 | break; | ^~~~~ CC lib/ts_kmp.o CC net/netfilter/nf_conntrack_standalone.o CC lib/ts_bm.o CC lib/ts_fsm.o CC lib/percpu_counter.o CC net/netfilter/nf_conntrack_expect.o CC lib/audit.o CC lib/dynamic_debug.o LD net/packet/built-in.o CC net/netfilter/nf_conntrack_helper.o CC net/rfkill/core.o CC lib/nlattr.o CC net/netfilter/nf_conntrack_proto.o LD net/rfkill/rfkill.o LD net/rfkill/built-in.o CC lib/cpu_rmap.o CC lib/dynamic_queue_limits.o CC net/sched/sch_generic.o CC net/netfilter/nf_conntrack_l3proto_generic.o CC lib/qmi_encdec.o CC lib/argv_split.o CC net/netfilter/nf_conntrack_proto_generic.o CC lib/bug.o CC net/sched/sch_mq.o CC lib/cmdline.o CC net/netfilter/nf_conntrack_proto_tcp.o CC lib/cpumask.o CC lib/ctype.o CC lib/dec_and_lock.o CC lib/decompress.o CC net/sched/sch_api.o CC lib/decompress_bunzip2.o CC lib/decompress_inflate.o CC net/netfilter/nf_conntrack_proto_udp.o CC lib/decompress_unlzma.o CC net/sched/sch_blackhole.o CC lib/dump_stack.o CC lib/extable.o CC net/netfilter/nf_conntrack_extend.o CC lib/idr.o CC net/sched/cls_api.o CC net/netfilter/nf_conntrack_acct.o CC lib/int_sqrt.o CC lib/ioremap.o CC net/netfilter/nf_conntrack_ecache.o CC net/sched/act_api.o CC lib/irq_regs.o CC lib/is_single_threaded.o CC net/netfilter/nf_conntrack_h323_main.o CC lib/klist.o CC lib/kobject.o In function 'fill_kobj_path', inlined from 'kobject_get_path' at lib/kobject.c:115:2: lib/kobject.c:88:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 88 | strncpy(path + length, kobject_name(parent), cur); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/kobject.c: In function 'kobject_get_path': lib/kobject.c:85:13: note: length computed here 85 | int cur = strlen(kobject_name(parent)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC net/sched/sch_fifo.o CC lib/kobject_uevent.o CC net/sched/sch_htb.o CC net/netfilter/nf_conntrack_h323_asn1.o CC lib/md5.o CC net/netfilter/nf_nat_core.o CC lib/memory_alloc.o CC lib/plist.o CC net/sched/sch_prio.o CC lib/prio_heap.o CC lib/prio_tree.o CC net/netfilter/nf_nat_proto_unknown.o CC net/sched/cls_u32.o CC lib/proportions.o CC net/netfilter/nf_nat_proto_common.o CC lib/radix-tree.o CC net/netfilter/nf_nat_proto_udp.o CC net/sched/cls_fw.o CC lib/ratelimit.o CC net/netfilter/nf_nat_proto_tcp.o CC lib/rbtree.o CC lib/reciprocal_div.o CC net/sched/cls_flow.o CC lib/rwsem-spinlock.o CC net/netfilter/nf_nat_helper.o CC lib/sha1.o CC lib/show_mem.o CC net/sched/ematch.o CC net/netfilter/nfnetlink_queue_core.o CC lib/string.o CC lib/timerqueue.o net/netfilter/nfnetlink_queue_core.c: In function 'nfqnl_build_packet_message': net/netfilter/nfnetlink_queue_core.c:294:20: warning: taking address of packed member of 'struct nfqnl_msg_packet_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 294 | *packet_id_ptr = &pmsg->packet_id; | ^~~~~~~~~~~~~~~~ CC net/sched/em_cmp.o CC lib/vsprintf.o CC net/netfilter/nfnetlink_queue_ct.o CC net/sched/em_nbyte.o CC net/netfilter/nfnetlink.o CC net/sched/em_u32.o CC [M] lib/crc-itu-t.o GEN lib/crc32table.h AR lib/lib.a CC net/sched/em_meta.o CC lib/crc32.o LD net/netfilter/nfnetlink_queue.o CC net/netfilter/nfnetlink_log.o LD lib/built-in.o LD net/netfilter/nf_conntrack.o CC net/netfilter/nf_conntrack_proto_dccp.o CC net/sched/em_text.o CC net/netfilter/nf_conntrack_proto_gre.o LD net/sched/built-in.o LD net/sunrpc/built-in.o CC [M] net/sunrpc/clnt.o CC net/netfilter/nf_conntrack_proto_sctp.o CC net/netfilter/nf_conntrack_proto_udplite.o CC net/netfilter/nf_conntrack_netlink.o CC net/netfilter/nfnetlink_cthelper.o net/sunrpc/clnt.c: In function 'rpc_create': net/sunrpc/clnt.c:428:46: warning: '%s' directive output may be truncated writing up to 107 bytes into a region of size 48 [-Wformat-truncation=] 428 | snprintf(servername, sizeof(servername), "%s", | ^~ net/sunrpc/clnt.c:428:4: note: 'snprintf' output between 1 and 108 bytes into a destination of size 48 428 | snprintf(servername, sizeof(servername), "%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 429 | sun->sun_path); | ~~~~~~~~~~~~~~ CC [M] net/sunrpc/xprt.o net/netfilter/nfnetlink_cthelper.c: In function 'nfnl_cthelper_from_nlattr': net/netfilter/nfnetlink_cthelper.c:94:9: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 94 | memcpy(&help->data, nla_data(attr), help->helper->data_len); | ^~~~~~~~~~~ In file included from include/linux/string.h:21, from include/linux/bitmap.h:8, from include/linux/nodemask.h:95, from include/linux/mmzone.h:16, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from net/netfilter/nfnetlink_cthelper.c:11: /home/pmos/build/src/android_kernel_sony_msm8974-bd06661fef846ee569888a27f3d12db9cf1d8741/arch/arm/include/asm/string.h:16:22: note: expected 'void *' but argument is of type 'const char (*)[]' 16 | extern void * memcpy(void *, const void *, __kernel_size_t); | ^~~~~~ In function 'nfnl_cthelper_create', inlined from 'nfnl_cthelper_new' at net/netfilter/nfnetlink_cthelper.c:324:9: net/netfilter/nfnetlink_cthelper.c:208:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 208 | strncpy(helper->name, nla_data(tb[NFCTH_NAME]), NF_CT_HELPER_NAME_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC net/netfilter/nf_conntrack_amanda.o CC [M] net/sunrpc/socklib.o CC net/netfilter/nf_conntrack_ftp.o LD net/netfilter/nf_conntrack_h323.o CC net/netfilter/nf_conntrack_irc.o CC [M] net/sunrpc/xprtsock.o CC net/netfilter/nf_conntrack_broadcast.o CC net/netfilter/nf_conntrack_netbios_ns.o CC net/netfilter/nf_conntrack_pptp.o CC net/netfilter/nf_conntrack_sane.o CC net/netfilter/nf_conntrack_sip.o CC [M] net/sunrpc/sched.o CC net/netfilter/nf_conntrack_tftp.o LD net/netfilter/nf_nat.o CC net/netfilter/nf_nat_proto_dccp.o CC net/netfilter/nf_nat_proto_udplite.o CC net/netfilter/nf_nat_proto_sctp.o CC [M] net/sunrpc/auth.o CC net/netfilter/nf_nat_amanda.o CC net/netfilter/nf_nat_ftp.o CC [M] net/sunrpc/auth_null.o CC net/netfilter/nf_nat_irc.o CC net/netfilter/nf_nat_sip.o CC [M] net/sunrpc/auth_unix.o CC net/netfilter/nf_nat_tftp.o CC net/netfilter/nf_tproxy_core.o CC net/netfilter/x_tables.o CC [M] net/sunrpc/auth_generic.o CC net/netfilter/xt_tcpudp.o CC [M] net/sunrpc/svc.o CC net/netfilter/xt_mark.o CC net/netfilter/xt_connmark.o CC net/netfilter/xt_nat.o CC [M] net/sunrpc/svcsock.o CC net/netfilter/xt_CLASSIFY.o CC net/netfilter/xt_CONNSECMARK.o CC net/netfilter/xt_CT.o CC net/netfilter/xt_HL.o CC net/netfilter/xt_HMARK.o CC [M] net/sunrpc/svcauth.o CC net/netfilter/xt_LOG.o CC [M] net/sunrpc/svcauth_unix.o CC net/netfilter/xt_NFLOG.o CC net/netfilter/xt_NFQUEUE.o CC net/netfilter/xt_SECMARK.o CC [M] net/sunrpc/addr.o CC net/netfilter/xt_TPROXY.o CC net/netfilter/xt_TCPMSS.o CC [M] net/sunrpc/rpcb_clnt.o CC net/netfilter/xt_TEE.o CC net/netfilter/xt_TRACE.o CC [M] net/sunrpc/timer.o CC net/netfilter/xt_IDLETIMER.o CC net/netfilter/xt_comment.o CC [M] net/sunrpc/xdr.o CC net/netfilter/xt_connlimit.o CC net/netfilter/xt_conntrack.o CC [M] net/sunrpc/sunrpc_syms.o CC net/netfilter/xt_dscp.o CC net/netfilter/xt_ecn.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 net/sunrpc/sunrpc_syms.c:9: include/linux/init.h:299:6: warning: 'init_module' specifies less restrictive attribute than its target 'init_sunrpc': 'cold' [-Wmissing-attributes] 299 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/init.h:289:27: note: in expansion of macro 'module_init' 289 | #define fs_initcall(fn) module_init(fn) | ^~~~~~~~~~~ net/sunrpc/sunrpc_syms.c:126:1: note: in expansion of macro 'fs_initcall' 126 | fs_initcall(init_sunrpc); /* Ensure we're initialised before nfs */ | ^~~~~~~~~~~ net/sunrpc/sunrpc_syms.c:76:1: note: 'init_module' target declared here 76 | init_sunrpc(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 net/sunrpc/sunrpc_syms.c:9: include/linux/init.h:305:7: warning: 'cleanup_module' specifies less restrictive attribute than its target 'cleanup_sunrpc': 'cold' [-Wmissing-attributes] 305 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ net/sunrpc/sunrpc_syms.c:127:1: note: in expansion of macro 'module_exit' 127 | module_exit(cleanup_sunrpc); | ^~~~~~~~~~~ net/sunrpc/sunrpc_syms.c:112:1: note: 'cleanup_module' target declared here 112 | cleanup_sunrpc(void) | ^~~~~~~~~~~~~~ CC [M] net/sunrpc/cache.o CC net/netfilter/xt_esp.o CC net/netfilter/xt_hashlimit.o CC net/netfilter/xt_helper.o CC net/netfilter/xt_hl.o CC [M] net/sunrpc/rpc_pipe.o CC net/netfilter/xt_iprange.o CC net/netfilter/xt_length.o CC net/netfilter/xt_limit.o CC [M] net/sunrpc/svc_xprt.o CC net/netfilter/xt_mac.o CC net/netfilter/xt_multiport.o CC net/netfilter/xt_pkttype.o CC net/netfilter/xt_policy.o CC [M] net/sunrpc/stats.o CC net/netfilter/xt_qtaguid_print.o CC net/netfilter/xt_qtaguid.o CC net/netfilter/xt_quota.o CC [M] net/sunrpc/sysctl.o LD [M] net/sunrpc/sunrpc.o CC net/netfilter/xt_quota2.o CC net/unix/af_unix.o CC net/unix/garbage.o CC net/unix/sysctl_net_unix.o CC net/netfilter/xt_socket.o LD net/unix/unix.o LD net/unix/built-in.o CC net/wireless/core.o CC net/wireless/sysfs.o CC net/netfilter/xt_state.o CC net/wireless/radiotap.o CC net/netfilter/xt_statistic.o net/wireless/radiotap.c: In function 'ieee80211_radiotap_iterator_init': net/wireless/radiotap.c:116:27: warning: taking address of packed member of 'struct ieee80211_radiotap_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 116 | iterator->_next_bitmap = &radiotap_header->it_present; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC net/netfilter/xt_string.o CC net/wireless/util.o CC net/netfilter/xt_tcpmss.o CC net/wireless/reg.o CC net/netfilter/xt_time.o CC net/netfilter/xt_u32.o CC net/wireless/scan.o CC net/wireless/nl80211.o LD net/netfilter/netfilter.o LD net/netfilter/built-in.o CC net/xfrm/xfrm_policy.o CC net/sysctl_net.o CC net/wireless/mlme.o CC net/xfrm/xfrm_state.o CC net/activity_stats.o CC net/wireless/ibss.o CC net/wireless/sme.o CC net/xfrm/xfrm_hash.o CC net/xfrm/xfrm_input.o CC net/wireless/chan.o CC net/wireless/ethtool.o CC net/xfrm/xfrm_output.o CC net/wireless/mesh.o CC net/wireless/wext-compat.o CC net/xfrm/xfrm_algo.o CC net/wireless/wext-sme.o CC net/wireless/wext-core.o CC net/xfrm/xfrm_sysctl.o CC net/wireless/wext-proc.o CC net/xfrm/xfrm_replay.o CC net/xfrm/xfrm_user.o LD net/wireless/cfg80211.o LD net/wireless/built-in.o CC net/xfrm/xfrm_ipcomp.o LD net/xfrm/built-in.o LD net/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 18 modules Kernel: arch/arm/boot/Image is ready AS arch/arm/boot/compressed/head.o GZIP arch/arm/boot/compressed/piggy.gzip CC drivers/input/gameport/gameport.mod.o CC drivers/input/joystick/analog.mod.o CC arch/arm/boot/compressed/misc.o CC drivers/input/joystick/xpad.mod.o CC drivers/input/tablet/acecad.mod.o CC arch/arm/boot/compressed/decompress.o CC drivers/input/tablet/aiptek.mod.o CC drivers/input/tablet/gtco.mod.o CC arch/arm/boot/compressed/string.o CC drivers/input/tablet/hanwang.mod.o CC drivers/input/tablet/kbtab.mod.o SHIPPED arch/arm/boot/compressed/lib1funcs.S CC drivers/input/tablet/wacom.mod.o SHIPPED arch/arm/boot/compressed/ashldi3.S CC drivers/scsi/scsi_wait_scan.mod.o AS arch/arm/boot/compressed/piggy.gzip.o CC drivers/staging/android/logger.mod.o AS arch/arm/boot/compressed/lib1funcs.o AS arch/arm/boot/compressed/ashldi3.o CC fs/cifs/cifs.mod.o LD arch/arm/boot/compressed/vmlinux OBJCOPY arch/arm/boot/zImage Kernel: arch/arm/boot/zImage is ready CAT arch/arm/boot/zImage-dtb Kernel: arch/arm/boot/zImage-dtb is ready CC fs/isofs/isofs.mod.o CC fs/lockd/lockd.mod.o CC fs/nfs/nfs.mod.o CC fs/udf/udf.mod.o CC lib/crc-itu-t.mod.o CC net/sunrpc/sunrpc.mod.o LD [M] drivers/input/gameport/gameport.ko LD [M] drivers/input/joystick/analog.ko LD [M] drivers/input/joystick/xpad.ko LD [M] drivers/input/tablet/acecad.ko LD [M] drivers/input/tablet/aiptek.ko LD [M] drivers/input/tablet/gtco.ko LD [M] drivers/input/tablet/hanwang.ko LD [M] drivers/input/tablet/kbtab.ko LD [M] drivers/input/tablet/wacom.ko LD [M] drivers/scsi/scsi_wait_scan.ko LD [M] drivers/staging/android/logger.ko LD [M] fs/cifs/cifs.ko LD [M] fs/isofs/isofs.ko LD [M] fs/lockd/lockd.ko LD [M] fs/nfs/nfs.ko LD [M] fs/udf/udf.ko LD [M] lib/crc-itu-t.ko LD [M] net/sunrpc/sunrpc.ko >>> linux-sony-leo: Entering fakeroot... ]0;abuild-armv7: linux-sony-leozImage found: zImage-dtb >>> linux-sony-leo*: Running postcheck for linux-sony-leo >>> linux-sony-leo*: Preparing package linux-sony-leo... >>> WARNING: linux-sony-leo*: No arch specific binaries found so arch should probably be set to "noarch" >>> linux-sony-leo*: Tracing dependencies... >>> linux-sony-leo*: Package size: 8.3 MB >>> linux-sony-leo*: Compressing data... >>> linux-sony-leo*: Create checksum... >>> linux-sony-leo*: Create linux-sony-leo-3.4.113-r4.apk ]0;>>> linux-sony-leo: Build complete at Mon, 06 Sep 2021 09:21:13 +0000 elapsed time 0h 15m 9s ]0;>>> linux-sony-leo: Updating the pmos/armv7 repository index... >>> linux-sony-leo: Signing the index... mv: can't preserve ownership of '/mnt/pmbootstrap-packages/armv7/APKINDEX.tar.gz.2477': Operation not permitted ]0;(002305) [09:21:13] (native) uninstall build dependencies (002305) [09:21:13] (native) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps ]0;abuild: linux-sony-leoWARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory (1/52) Purging .makedepends-linux-sony-leo (20210906.090605) (2/52) Purging sed (4.8-r0) Executing sed-4.8-r0.post-deinstall (3/52) Purging installkernel (3.5-r1) (4/52) Purging bash (5.1.8-r0) Executing bash-5.1.8-r0.pre-deinstall (5/52) Purging gmp-dev (6.2.1-r0) (6/52) Purging libgmpxx (6.2.1-r0) (7/52) Purging bc (1.07.1-r1) (8/52) Purging linux-headers (5.10.41-r0) (9/52) Purging elfutils-dev (0.185-r0) (10/52) Purging libelf (0.185-r0) (11/52) Purging devicepkg-dev (0.13.0-r0) (12/52) Purging postmarketos-splash (1.0.0-r1) (13/52) Purging ttf-dejavu (2.37-r1) (14/52) Purging encodings (1.0.5-r0) (15/52) Purging mkfontscale (1.2.1-r1) (16/52) Purging ttf-droid (20200215-r1) (17/52) Purging fontconfig (2.13.1-r4) (18/52) Purging py3-pillow (8.1.2-r1) (19/52) Purging py3-olefile (0.46-r5) (20/52) Purging python3 (3.9.6-r0) (21/52) Purging xz (5.2.5-r0) (22/52) Purging git-perl (2.33.0-r0) (23/52) Purging perl-git (2.33.0-r0) (24/52) Purging perl-error (0.17029-r1) (25/52) Purging perl (5.34.0-r1) (26/52) Purging freetype (2.11.0-r0) (27/52) Purging libbz2 (1.0.8-r1) (28/52) Purging readline (8.1.1-r0) (29/52) Purging ncurses-libs (6.2_p20210905-r0) (30/52) Purging ncurses-terminfo-base (6.2_p20210905-r0) (31/52) Purging fts (1.2.7-r1) (32/52) Purging xz-dev (5.2.5-r0) (33/52) Purging tiff (4.2.0-r1) (34/52) Purging xz-libs (5.2.5-r0) (35/52) Purging zlib-dev (1.2.11-r3) (36/52) Purging libpng (1.6.37-r1) (37/52) Purging libuuid (2.37.2-r1) (38/52) Purging libfontenc (1.1.4-r0) (39/52) Purging libimagequant (2.15.1-r0) (40/52) Purging libjpeg-turbo (2.1.1-r0) (41/52) Purging lcms2 (2.12-r1) (42/52) Purging openjpeg (2.4.0-r2) (43/52) Purging libwebp (1.2.1-r0) (44/52) Purging libxcb (1.14-r2) (45/52) Purging libxau (1.0.9-r0) (46/52) Purging libxdmcp (1.1.3-r0) (47/52) Purging libbsd (0.11.3-r0) (48/52) Purging libmd (1.0.3-r0) (49/52) Purging libffi (3.3-r2) (50/52) Purging gdbm (1.20-r2) (51/52) Purging mpdecimal (2.5.1-r1) (52/52) Purging sqlite-libs (9999-r0) Executing busybox-1.34.0-r2.trigger OK: 379 MiB in 64 packages ]0;(002305) [09:21:13] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary) (002305) [09:21:13] DONE!