Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp4016495pxb; Tue, 25 Jan 2022 01:28:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2oJliZecRY3P2kH6brZeBVRvavGRJHqHO7fZcsy5cT8Q+bpvjkvsbw7JdjRXh05oPcTOv X-Received: by 2002:a05:6a00:d64:b0:4ba:cb6f:87e0 with SMTP id n36-20020a056a000d6400b004bacb6f87e0mr17628737pfv.72.1643102896361; Tue, 25 Jan 2022 01:28:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643102896; cv=none; d=google.com; s=arc-20160816; b=lIcOvYHDpY/4CInmIRMn8INH9U51wI+esUUNooanvKzV402RtyqWb4m9e6h52GA18o ICiZdrgo1GXopcY3QANFhTK3V3leBlKjgqXuCtUri7FCigo7L549R1mG/HFRuULHJlkA rlCg9ER6jySH4CV0tvqVJYDywomdAjT6qC/jmsLGgNdhC6+0Tu9aMb1EioMDTUaNoDQZ X8e+ZcTPcF85vlr1Ki4FR/W/bl/MYxyf1ky/2yB698YfPlstXbKUvi6k9mwVOy89N4hU WEw5Av7zJdlubIjcOlfpgixt4pUEFMMZPeW8/SaONHCJP9dxZY5E7YfIZN8il6MK2rSn YLtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=/CmHIEiqV89726xu50bSkJ2PHpCOFd4fi4nZyuD93g4=; b=dj9APc4fRaeZnGVxNMW5S1s+LF0JHowgC82Kt90VUndMfOs3MJ5NHsGXPRD2XD1Bmm D7QtigfgJVD6JGpHaevEufb4CbqUD6j4gQv7Qa8ZjYsrrHIY/buvL+ZeEb+F/R0x0CZB il8aqtV/F8zqwgUamY/nZML4tITXEqmuAJkSyOpYVW2jZpJUt8/3+/xiRCJ4QHL4093s 7GBVZd0+3iYvJTrDk8qAgtS4Jmof09gJ6pxBVqexb+pNbYebNjWjkrsLLG1lovioqVF/ V7PBY3m0xo+kjXDGWPy4a3YCpFftwOdKbki2OXPN4ZvLfj44bWV05C/8ZQpQK+LlQUc6 /n/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gjBixyJQ; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si16560506pfm.13.2022.01.25.01.28.04; Tue, 25 Jan 2022 01:28:16 -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=@intel.com header.s=Intel header.b=gjBixyJQ; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1448999AbiAYILZ (ORCPT + 99 others); Tue, 25 Jan 2022 03:11:25 -0500 Received: from mga18.intel.com ([134.134.136.126]:31555 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1448687AbiAYIJH (ORCPT ); Tue, 25 Jan 2022 03:09:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643098147; x=1674634147; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=3rARKrczq0kbe7goiRwTPDqPVCq68DDhD8taH5Gx47U=; b=gjBixyJQRXULNujs0koKsSv0ixY+v0UfV/Eg+gGB6eytMue3Al9TsSE3 yBwY/977RRXVXhmNSogXAgRogNKxcn691vek+BECccxKcoXppdBEHSWXt RSelHUaVTeWyr817k/IloGHBSuB7BlZpn0RnopXzP0uky9ITHLtXXNtsS Imwt5I254jLCBqKzywnhjTjuB9M8Pq5PQcQsRl8AmTpPT4q/sXN7PZ8Ga eir/+O9GR6QhzLcnTEziJes16wXVOLYu63C5U9pEBPSUeJ4PxHOTHxHyy Si5RFsJpB7u4mIyTUVHX0Q6lsK41sYY5RjVaZEBzIHZWMAUrWgBM6jkd2 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10237"; a="229823479" X-IronPort-AV: E=Sophos;i="5.88,314,1635231600"; d="scan'208";a="229823479" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2022 00:08:44 -0800 X-IronPort-AV: E=Sophos;i="5.88,314,1635231600"; d="scan'208";a="520295331" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.255.29.83]) ([10.255.29.83]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2022 00:08:42 -0800 Subject: Re: [kbuild-all] Re: fs/ntfs3/fsntfs.c:2248:41: warning: taking address of packed member 'de' of class or structure 'NTFS_DE_SII' may result in an unaligned pointer value To: Nathan Chancellor , kernel test robot Cc: Konstantin Komarov , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org References: <202201242326.uQ3OazUi-lkp@intel.com> From: "Chen, Rong A" Message-ID: <90b97ffb-1feb-a83f-44e7-61e77b77ad6e@intel.com> Date: Tue, 25 Jan 2022 16:08:40 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/25/2022 1:41 AM, Nathan Chancellor wrote: > On Mon, Jan 24, 2022 at 11:21:59PM +0800, kernel test robot wrote: >> Hi Konstantin, >> >> FYI, the error/warning still remains. >> >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> head: dd81e1c7d5fb126e5fbc5c9e334d7b3ec29a16a0 >> commit: 6e5be40d32fb1907285277c02e74493ed43d77fe fs/ntfs3: Add NTFS3 in fs/Kconfig and fs/Makefile >> date: 5 months ago >> config: mips-buildonly-randconfig-r001-20220122 (https://download.01.org/0day-ci/archive/20220124/202201242326.uQ3OazUi-lkp@intel.com/config) >> compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7b3d30728816403d1fd73cc5082e9fb761262bce) >> 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=6e5be40d32fb1907285277c02e74493ed43d77fe >> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> git fetch --no-tags linus master >> git checkout 6e5be40d32fb1907285277c02e74493ed43d77fe >> # 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 fs/ntfs3/ >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kernel test robot >> >> All warnings (new ones prefixed by >>): >> >> fs/ntfs3/fsntfs.c:1874:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] >> size_t cnt, off; >> ^ >>>> fs/ntfs3/fsntfs.c:2248:41: warning: taking address of packed member 'de' of class or structure 'NTFS_DE_SII' may result in an unaligned pointer value [-Waddress-of-packed-member] >> err = indx_insert_entry(indx_sii, ni, &sii_e.de, NULL, NULL); >> ^~~~~~~~ >> 2 warnings generated. > > This warning has the same root cause as > https://lore.kernel.org/r/YenXz+RznXBuJMSR@dev-arch.archlinux-ax161/. > > Intel folks, would it be possible to limit instances of > -Waddress-of-packed-member with mips randconfigs to our mailing list for > the reason I note in the link above? > > Cheers, > Nathan Hi Nathan, Thanks for the advice, will do it. Best Regards, Rong Chen