Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3539190pxb; Mon, 24 Jan 2022 11:44:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJynFGZtsRRNbBsyuSZGnEl3C6Q/AXIhKCI5SJlXxS/OgLgxGM5vzRNYoHH50GESrcF3e2LE X-Received: by 2002:a05:6a00:168b:b0:4a8:d88:9cd with SMTP id k11-20020a056a00168b00b004a80d8809cdmr15270479pfc.11.1643053478218; Mon, 24 Jan 2022 11:44:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643053478; cv=none; d=google.com; s=arc-20160816; b=EuVjqs7lAUqd/3MEc/Tmnp2k1DCNPxVF/rZqFy0/9TgbWYd7bJ771FzbYePDb5NI9t /izm1YQ5eV192H7biqNjju26+SYDdRcM+XAIumKYYITnNtOM8yEdxMqElia9PvvGg7dK 8EpPfh6jox3e9kAMokXYiK3uL4182XUz4SZ9gSlmv2pWD0Da6HikE39Wbfc7pkjjMLOw vurKcMNTozcgHtaRcUl94+B9W2ZpHRwPxzcnadd9zJ+iePmoUbxJ7NSD26kq9cAQfl20 VSd2Kqip7QuKqKj7kCX5HBxSyIHvI/ABbutafvLFHelSV8+mD+X481o7tHojZ7I6IZlS LTDA== 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=tQaO8yARJcdBA5xRFHCudgV7iV7VYEU+qXSIbubMQKs=; b=C4ivhukYjWuJkGnEERlSY6sl8Z/XxrKV9vqvS2KySDSeLmmMEAfB+ZZt08UEcIDsJR BOSryW5Kd3X2wcp/05TVWAAMRfVOX7V1L0rloa0fSfJJBaC07qZozAP3pJYxr8zU3ixG mGdbra2qDSavWZ3dOarH2LB9YZh9eWcQMtkNAYbHw4J7R2WSzL3j0gLeg8FCBFj03FWL JVaz7a1ozWdH9oTVqhAhmY/i82kT/psu1iBiAuoy1v7h63kN8ZE+aonDmIpBr3Um5xML RPglC24t6TWOEtzCeRLACno8GnxEAisdalEE53r+z2nXQHJSpOvYiHiuwVbAQ1Y8i/6V +R9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=esoRmQ5U; 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 t184si7236505pgd.519.2022.01.24.11.44.25; Mon, 24 Jan 2022 11:44:38 -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=esoRmQ5U; 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 S244752AbiAXRle (ORCPT + 99 others); Mon, 24 Jan 2022 12:41:34 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:40216 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244741AbiAXRld (ORCPT ); Mon, 24 Jan 2022 12:41:33 -0500 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 4D4C061301 for ; Mon, 24 Jan 2022 17:41:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89B5CC340E5; Mon, 24 Jan 2022 17:41:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643046092; bh=m7yPjYBJToplRJdYzEt7/9EfxmLG6PmjsXG/AvgQC8c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=esoRmQ5UrtkmRkcVg7w1dPm78wLUFkXx1e6hL9wijhrRAB+XmBv4zUDUFN/LdKnCI u/B937JgzuWLNOVWecvtCzNUd7kX6gErRQgIGq5XB1sfStCc8Stg1T1T1a6WChjZ3Y i8fltceG8/cvS4/9m6vT7f0uAu530ISGC2AMpXlXmXVNyxMqKf0Rj31P87XKUeVa66 6wEx44b7vCp51IIkIFGPDCAltZ7HZrtb5v+LgRoV/jnp1Lz5tyHuPb4A8HORiERgtM UGtc2mcUrrUUxEbzTGQhIUOVEbhKTmi6v1pYngc6c7tim8w3I6sToHwni4FMXwYVtl aZ2OQhgB4ZXcg== Date: Mon, 24 Jan 2022 10:41:28 -0700 From: Nathan Chancellor To: kernel test robot Cc: Konstantin Komarov , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: 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 Message-ID: References: <202201242326.uQ3OazUi-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202201242326.uQ3OazUi-lkp@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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