Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp281630imn; Mon, 25 Jul 2022 16:28:02 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vw8FDX1hV3ngAO3IMSLmfT6w1YxIadQdHue+QLI+cLw3HTK2hminyaeAAgFR2dvIX6aMp0 X-Received: by 2002:a63:4f0f:0:b0:41b:8a7:2ac2 with SMTP id d15-20020a634f0f000000b0041b08a72ac2mr3710098pgb.295.1658791681836; Mon, 25 Jul 2022 16:28:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658791681; cv=none; d=google.com; s=arc-20160816; b=wjToWqsPqmckJrmfRPCWoVr4H6BQEFqlQl7vw0mAK6TOVxgsS7VCs8pfXAHz4yq514 fXgmJDK+ChouKdGA9YnxjNCiTIrTvFTBp4W/tIdwhN624vrO1E2+0u591YN0XFrTDZNU mAPdB4Nr5cW4HIVIYM5mOkVjjtNMYCp5XzcE6HgKvQCY8UFwx3QV4932o5armuZKIBm5 LcsBwb2sRQqCrrpoY6bFj0rgdd4YhhvrYSVPx/Xr1IEIxRu9fJKGjve6mrzbKtgRwmum Pl03c4F4+Lkv16W1D9zVruIv/nmNvkYDhNlF6UyWSvZDXm6f/aW0gfQh8M04+h898R8M 90bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hZvI/zUsEEKeBjIR8Cp/q31cMHFiVriUg7euguYyEfk=; b=Ud7VL1plBoRmsrLYeENeUlLbcRxR2WtIKLLitDjGk7xMvQIN3V9NZlKIah9WZK4KoH 9qtDmSEztVhxOkvMgyUvKfJfOvsihh8jf7DxsNAwhWAZzMxXefC180o1QNMedBZHmCwj i/G+3m/LJhepV/J/+KHBFJ4U14mudz186lwp9K24DSG8hll36taoTkww0Eatf/6wx7wa iGEp5Lu5fBMjGowXHXgaVGFcnWEX3UvTNH3odVisBvYQjy3BWKPb+QPbnbmgxrS77kjV uOlCTRiMKRFpz6nxbLPBk3Ma/ynuEi+Ky3eICNty3u2eHKoGhW1/1F2UYo4pu0N4pJt/ Ls8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EBeV3UOB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g6-20020a636b06000000b0041a49631080si14837750pgc.857.2022.07.25.16.27.46; Mon, 25 Jul 2022 16:28:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EBeV3UOB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237177AbiGYWeV (ORCPT + 99 others); Mon, 25 Jul 2022 18:34:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236517AbiGYWeU (ORCPT ); Mon, 25 Jul 2022 18:34:20 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F12D25C5C for ; Mon, 25 Jul 2022 15:34:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5B3EAB80EBD for ; Mon, 25 Jul 2022 22:34:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7261C341C8; Mon, 25 Jul 2022 22:34:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658788457; bh=YUM91tAW6kCbHBwCMTDSAq1X+h3xTTK/y1W6Pq3tGBY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EBeV3UOBkPdruyjvVEXN0JPRa8LYxQxYIOipxldxaXG5RZHQOu03+uTMnfLx7Cbmf 5pVDaLW2EgMskPVPh5u6048/QbEqaZeYOKQlp2RV5oCORXGfpH6m27Z6Tc+3N8fkq4 3AhwDQCNUDZj+pNe5z5Hdil/FaYMixfskr6b6U4pIVIbKe0ipTBki0vCu+Imn+m0GA 0w+W+11GM7TsX67yAbAMGoZyojeX/Lqp+0PUkFQ1/xtByx0wNiUFepmA8a1WsacguT iNPp+0tyo4b1Sbc1KQYo6hZZ5/TP06I8VFfL2YQQPBCAoVzr29q1RJ5wDyModc3fhB QsKHA1sPxIt3w== Date: Mon, 25 Jul 2022 15:34:15 -0700 From: Nathan Chancellor To: kernel test robot Cc: Simon Trimmer , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Mark Brown Subject: Re: sound/soc/codecs/wm_adsp.c:1490:32: warning: taking address of packed member 'name' of class or structure 'wm_adsp_host_buf_coeff_v1' may result in an unaligned pointer value Message-ID: References: <202207260648.ERQjXCRB-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202207260648.ERQjXCRB-lkp@intel.com> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 26, 2022 at 06:29:46AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: e0dccc3b76fb35bb257b4118367a883073d7390e > commit: 353bb6a5f2ac495f289b7c7a528c7d134c9a8ec4 ASoC: wm_adsp: Compressed stream DSP memory structs should be __packed > date: 5 months ago > config: arm-randconfig-r013-20220724 (https://download.01.org/0day-ci/archive/20220726/202207260648.ERQjXCRB-lkp@intel.com/config) > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 9e88cbcc403bdf82f29259ad60ff60a8fc4434a1) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install arm cross compiling tool for clang build > # apt-get install binutils-arm-linux-gnueabi > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=353bb6a5f2ac495f289b7c7a528c7d134c9a8ec4 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout 353bb6a5f2ac495f289b7c7a528c7d134c9a8ec4 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash sound/soc/codecs/ > > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> sound/soc/codecs/wm_adsp.c:1490:32: warning: taking address of packed member 'name' of class or structure 'wm_adsp_host_buf_coeff_v1' may result in an unaligned pointer value [-Waddress-of-packed-member] > cs_dsp_remove_padding((u32 *)&coeff_v1.name, ARRAY_SIZE(coeff_v1.name)); > ^~~~~~~~~~~~~ > 1 warning generated. This warning is disabled in the main Makefile but a recent change in LLVM has caused that check to fail, sorry for the noise :( https://github.com/ClangBuiltLinux/linux/issues/1674 Cheers, Nathan