Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp343716pxb; Tue, 1 Feb 2022 00:44:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwZlblKyBUIIPOawYVT8xXirdYSUEiBwSLEd7aXNAT87BCQ9NAWUdpGuVaTQGOVEMkCtA95 X-Received: by 2002:a17:907:7da8:: with SMTP id oz40mr14243548ejc.328.1643705047662; Tue, 01 Feb 2022 00:44:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643705047; cv=none; d=google.com; s=arc-20160816; b=UeeAf8jCl1WwlIrJtPDtuhhrjElbyF8En0w2LszGKsNgIkdKTH2jQRii4yuL4kl3pT tQjgxFF6pz6CXFOX+w27f6a5nKKmNvFHTRjQ/8wbAPDcxf39GLZX4G1mfNmPl1t99T54 evMQtvOfHyfofWYv2m0ognnhrIG9hMd23XkdJeLdXznsXjnJKZDp/sNhXFT1dJhuNVxa 1lv9Elfuur+qGo6XC5DtlcfK8YX5KZK+29sUPOgxAULmf7k595Ry4G+7IWZzE8iInnSj gazxypCUzjxrIHZbMLrvSEw+/OmhatQ3sWdFHbluy7pUKdsQeeS1UtUz2ZgqSy7GMcD+ d/3A== 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=3FzueZOrrpkJYskQH+DiWvjuOnPWxcRPhp+4ph1Bfz8=; b=XSy4jxpULHOYBOir7IdxXygVV7653gJwBJaTFbGKonr4Xu0tayqSkHX1xG6tPWUOmX gPlKw+8EskDTbZGXx5AJhaKHuIq2pvP7iaNDA9vgaqzMvTpDR1EKuNzd8r8GGy5/0b/f W/gyf/v9j9XC5shioYd2UfHy/YNJVZQ3PM5wCa2joKGO8gkJfNAKwVt/BDwnPiOleY1+ q59w0Q5JOQFqtpxu2/DQl1VCSBE3MIZvFSfNCt61nnXWY1Vz4ErbBoi/+cnuxZzLZbPs +iv67F3e3TbfGhHhpiQ8jH29GbHv6r0nxK1bVpZJH7YFO/LXz0qqw1kNCO8AMAmVucdy kV0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sLPElV0P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qk9si6142612ejc.261.2022.02.01.00.43.42; Tue, 01 Feb 2022 00:44:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sLPElV0P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1353095AbiA2Ua5 (ORCPT + 99 others); Sat, 29 Jan 2022 15:30:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349590AbiA2Uaz (ORCPT ); Sat, 29 Jan 2022 15:30:55 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17598C061714 for ; Sat, 29 Jan 2022 12:30:55 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 8DBAF60B40 for ; Sat, 29 Jan 2022 20:30:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C68E3C340E5; Sat, 29 Jan 2022 20:30:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643488253; bh=YBtNVYCnYa+w/9Av4t+qwzrK/yfyOR1cVMkdIr9KKHc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sLPElV0P/nylfr2vGpGoaNeGXgYeV+cJGVc3wF1RjVoK7N51yb/QjhmVTBzbW37d0 /hTodWTrNZfc9RuJYw9eLMwnuyHl3nrb1FcjDpEJEQVZlEUSwNttNLsIqs9n5YAHdu R1jjqg+P82dw0NfdIfxSXsYTabMhrP+5UJbKjS6a2X9W0u/7azrGII9vxOpD4aTDb5 CLswCEMpLeBda8CTeK+WEftqeg/FAmcF0bkQg2OUUuiTB4LlCOcD71XCTydA3bubOq xDXLRzUeHmQDGHLCV3u/5i+oBqgULCyG1yx1mGTrGKLF91KV6KzkU21O9TwSf1r5hF akYhw1C2M2T5Q== Date: Sat, 29 Jan 2022 13:30:50 -0700 From: Nathan Chancellor To: kernel test robot Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Dmitry Torokhov Subject: Re: drivers/input/touchscreen/ads7846.c:705:24: warning: taking address of packed member 'data' of class or structure 'ads7846_buf' may result in an unaligned pointer value Message-ID: References: <202201300020.SS6KSznh-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202201300020.SS6KSznh-lkp@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 30, 2022 at 12:10:55AM +0800, kernel test robot wrote: > Hi Dmitry, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: cb323ee75d24e7acc2f188d123ba6df46159cf09 > commit: 415e915fdfc775ad0c6675fde1008f6f43dd6251 Merge tag 'v5.11' into next > date: 11 months ago > config: mips-randconfig-r025-20220129 (https://download.01.org/0day-ci/archive/20220130/202201300020.SS6KSznh-lkp@intel.com/config) > compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 33b45ee44b1f32ffdbc995e6fec806271b4b3ba4) > 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 mips cross compiling tool for clang build > # apt-get install binutils-mips-linux-gnu > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=415e915fdfc775ad0c6675fde1008f6f43dd6251 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout 415e915fdfc775ad0c6675fde1008f6f43dd6251 > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash arch/mips/kernel/ drivers/input/touchscreen/ > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> drivers/input/touchscreen/ads7846.c:705:24: warning: taking address of packed member 'data' of class or structure 'ads7846_buf' may result in an unaligned pointer value [-Waddress-of-packed-member] > value = be16_to_cpup(&buf->data); > ^~~~~~~~~ > 1 warning generated. Same root cause as https://lore.kernel.org/r/YenXz+RznXBuJMSR@dev-arch.archlinux-ax161/. Fixed with https://lore.kernel.org/r/20220125221925.3547683-2-nathan@kernel.org/. Sorry for the noise, this should have only been sent to our mailing list, not maintainers. Cheers, Nathan