Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp209608iob; Tue, 17 May 2022 23:59:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3SqK2dB/U/wA70EcTsu65jvPxKQYiHBCuCF/chm21PdWcQfpl9aHggjMPLUCEP56UkQ5Q X-Received: by 2002:a63:1347:0:b0:3f2:8963:ca0a with SMTP id 7-20020a631347000000b003f28963ca0amr7473181pgt.424.1652857180839; Tue, 17 May 2022 23:59:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652857180; cv=none; d=google.com; s=arc-20160816; b=qNByfwz5vEa1jBo38vv7c3ugS55DxCWiQlWQEjc0AkhwjPX8+ekk8XUVs9M24yA0df ENmVJ15bV++j9gnFU+DCusNXdDFfLqDIT53H6YhtVTP0wsBhVR7nbgw2WLklSbfPF4rE sHy54oI4N9XwDS+LH4pdSrlwuo4EADIMVF2MYAOCfLYhE+rC3u4NLKnwxacSya9Q/p+j EsqLYLOJvq5Dl4X9THcvuZxsm1DH1OGTl2kf1M6hA7KoN+XZs8oBkmTsYtP2OS8pXPYD 8k5sYD39qLVkhErFL3xsifQXRWMOmYvsLEbTyr6i5UVIEqBsBZBwA4erY7dLJg7jc8j/ JY7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=YBVA2hhTa+/LBHS/33/Hx6tDWymj+/NfnYpXBIjrwuw=; b=Enc3Uts5uZVakIULV+GWf54hvO1JY7IY+30L7gp4e2jwHHm2X7w7n/Gdrmf5q2UaxE TY9yE/zBl2tcyP7r4CuZTthzbix57IiwzEkFQWH8OY7UP5HC9X3mky3P8K8twfBY/sZM /gWe9klYF84XoFUMg2Z5+rwcUE4+0+IwaDOy0ZlEP2MOb2UFdi8pNDt8b1g/LFr8Ygrk Ya1DvDuukS4FnRKqGua3/uJWevdPDDXmCnM6CiSTXGjJaPKMd98jOImvkdHAdd+aEpti qLu1mDz784OPNwcFYHSEyTnwHNeS3PmTZC3lcJEoA/97P+cpp/wnA4d3pICsSADhKFqH KbvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cgr5TL8P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b17-20020a170902e95100b0015d56a3c9d0si2006465pll.534.2022.05.17.23.59.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 23:59:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cgr5TL8P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8003217041; Tue, 17 May 2022 23:46:38 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231530AbiERGq1 (ORCPT + 99 others); Wed, 18 May 2022 02:46:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231539AbiERGqZ (ORCPT ); Wed, 18 May 2022 02:46:25 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 957B113CCE for ; Tue, 17 May 2022 23:46:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652856383; x=1684392383; h=date:from:to:cc:subject:message-id:mime-version; bh=eFg/OiSzC+FbPf82f+mKznpjNGbY+1W6OsvZJl8tgKA=; b=cgr5TL8Pd/LYxQGw0Cbz6ztfXGLzKx3DQQAWdj1XOnOu+wFGzAAohlvt 6od4uH60bjqFyICIJcvwW61fdAFhQzN0e26nTAyyJhu7PNiWXRXqhhXA7 6wCq763+vQzz04eO3G/Hb+/sIqGA74Uj2Os61kVK+TkBjg36CZsXPRovH 2I02z/Gv3f6xCD/ir6iMPMYy5wZE+X0LaOY0i8tpsNQhMjIfPW0p4V0tM SmJZU08M+iG/ip36cJRwAprMc6GByB6kJC4uBOmGbvhuSu896NxPS59ec 3lATdI2oTPU1wmEMDk7Vkw65AYW8LsznJpbwlaRTXDSyRx03S15NMSKBK Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10350"; a="271460235" X-IronPort-AV: E=Sophos;i="5.91,234,1647327600"; d="scan'208";a="271460235" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2022 23:46:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,234,1647327600"; d="scan'208";a="660994892" Received: from lkp-server02.sh.intel.com (HELO 242b25809ac7) ([10.239.97.151]) by FMSMGA003.fm.intel.com with ESMTP; 17 May 2022 23:46:21 -0700 Received: from kbuild by 242b25809ac7 with local (Exim 4.95) (envelope-from ) id 1nrDRs-0001t1-D4; Wed, 18 May 2022 06:46:20 +0000 Date: Wed, 18 May 2022 14:45:33 +0800 From: kernel test robot To: Marc Kleine-Budde Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: drivers/net/can/spi/mcp251xfd/mcp251xfd.h:481:34: warning: field hw_tx_obj within 'struct mcp251xfd_tx_obj_load_buf::(unnamed at drivers/net/can/spi/mcp251xfd/mcp251xfd.h:479:2)' is less aligned than 'struct mcp251xfd_hw_tx_obj_raw' and is usually due to ... Message-ID: <202205181414.n8QRDe8k-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 210e04ff768142b96452030c4c2627512b30ad95 commit: eb79a267c9b3e608e7762a1b221428f37ace3aa3 can: mcp251xfd: rename all remaining occurrence to mcp251xfd date: 1 year, 8 months ago config: arm-randconfig-c002-20220518 (https://download.01.org/0day-ci/archive/20220518/202205181414.n8QRDe8k-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 853fa8ee225edf2d0de94b0dcbd31bea916e825e) 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=eb79a267c9b3e608e7762a1b221428f37ace3aa3 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout eb79a267c9b3e608e7762a1b221428f37ace3aa3 # save the config file COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/net/can/spi/mcp251xfd/mcp251xfd.h:481:34: warning: field hw_tx_obj within 'struct mcp251xfd_tx_obj_load_buf::(unnamed at drivers/net/can/spi/mcp251xfd/mcp251xfd.h:479:2)' is less aligned than 'struct mcp251xfd_hw_tx_obj_raw' and is usually due to 'struct mcp251xfd_tx_obj_load_buf::(unnamed at drivers/net/can/spi/mcp251xfd/mcp251xfd.h:479:2)' being packed, which can lead to unaligned accesses [-Wunaligned-access] struct mcp251xfd_hw_tx_obj_raw hw_tx_obj; ^ drivers/net/can/spi/mcp251xfd/mcp251xfd.h:485:34: warning: field hw_tx_obj within 'struct mcp251xfd_tx_obj_load_buf::(unnamed at drivers/net/can/spi/mcp251xfd/mcp251xfd.h:483:2)' is less aligned than 'struct mcp251xfd_hw_tx_obj_raw' and is usually due to 'struct mcp251xfd_tx_obj_load_buf::(unnamed at drivers/net/can/spi/mcp251xfd/mcp251xfd.h:483:2)' being packed, which can lead to unaligned accesses [-Wunaligned-access] struct mcp251xfd_hw_tx_obj_raw hw_tx_obj; ^ drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c:511:1: warning: unused function 'mcp251xfd_chip_set_mode_nowait' [-Wunused-function] mcp251xfd_chip_set_mode_nowait(const struct mcp251xfd_priv *priv, ^ 3 warnings generated. -- >> drivers/net/can/spi/mcp251xfd/mcp251xfd.h:481:34: warning: field hw_tx_obj within 'struct mcp251xfd_tx_obj_load_buf::(unnamed at drivers/net/can/spi/mcp251xfd/mcp251xfd.h:479:2)' is less aligned than 'struct mcp251xfd_hw_tx_obj_raw' and is usually due to 'struct mcp251xfd_tx_obj_load_buf::(unnamed at drivers/net/can/spi/mcp251xfd/mcp251xfd.h:479:2)' being packed, which can lead to unaligned accesses [-Wunaligned-access] struct mcp251xfd_hw_tx_obj_raw hw_tx_obj; ^ drivers/net/can/spi/mcp251xfd/mcp251xfd.h:485:34: warning: field hw_tx_obj within 'struct mcp251xfd_tx_obj_load_buf::(unnamed at drivers/net/can/spi/mcp251xfd/mcp251xfd.h:483:2)' is less aligned than 'struct mcp251xfd_hw_tx_obj_raw' and is usually due to 'struct mcp251xfd_tx_obj_load_buf::(unnamed at drivers/net/can/spi/mcp251xfd/mcp251xfd.h:483:2)' being packed, which can lead to unaligned accesses [-Wunaligned-access] struct mcp251xfd_hw_tx_obj_raw hw_tx_obj; ^ 2 warnings generated. vim +481 drivers/net/can/spi/mcp251xfd/mcp251xfd.h 477 478 union mcp251xfd_tx_obj_load_buf { 479 struct __packed { 480 struct mcp251xfd_buf_cmd cmd; > 481 struct mcp251xfd_hw_tx_obj_raw hw_tx_obj; 482 } nocrc; 483 struct __packed { 484 struct mcp251xfd_buf_cmd_crc cmd; 485 struct mcp251xfd_hw_tx_obj_raw hw_tx_obj; 486 __be16 crc; 487 } crc; 488 } ____cacheline_aligned; 489 -- 0-DAY CI Kernel Test Service https://01.org/lkp