Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27288620rwd; Tue, 4 Jul 2023 00:29:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlFaMHEn33VVcFTIsH4sv1csaRrIlt1oLTOKhsSy6VsAUY/RIeaZ1ZCGfj4paMinybAMVsEe X-Received: by 2002:a05:6a21:789c:b0:126:bb31:7be1 with SMTP id bf28-20020a056a21789c00b00126bb317be1mr17330539pzc.55.1688455742338; Tue, 04 Jul 2023 00:29:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688455742; cv=none; d=google.com; s=arc-20160816; b=MnKxJZnr3NeZpdbrFOoN4qRpXixxmVGlGD3iGtfJEqZBtTXnsrhXzqDLzPhNJrpvOz eHTw41q9aWEXGs05y0TJauuX9URJj9RlBgjqxR0ndhcZxDSunIS0FqWKSVpcYH33DSv2 nAurpZUIZJF1labnH7MSRC5oXOLqmL5Yb7Xrv29Ua8tMfrsv361iKKJ0bAUTr7LCNyKq KO0z+pVRbGFtQMMu+dfWI95y91BfjmnwcTKAcbBCTjFElILYkFxaSrJgF9wCEWIslWlT EIhBIXtDf2/A5UU8dc37wagj38aJ/ef2jCYbOsst7K09iM2zlCTMR2Ak/T30TaBiIdi3 k5Zw== 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=ViLHTIWS8VOMXamCVPPzTmRuEEeW0p0i2VXt0XeSEPE=; fh=58hustunysDeDukzn9eORFs8r1vE8vMA5voqLSLirN8=; b=ZOnDCnrmUZ50/3tmwKWqpCCFJbJ90n0C+foRqCvrRuuIcpolTDMc/5BSdQFd8b9YEA 1f4yskAemWVYuRXYVgsO8ImcfdFfIce6vPxrevCsyJgs/tfNiEgeOEgMfT2PxT6dWepJ 4vJbTbZV8SIY36zrojJntlz3Yb9g0I2dQn43P3Rt5uLJIcyJF+hwY8NxWoljVv3lax0t 45zUSvhhc/RYgv+giOQ1Q+dlx0HVeCt84XtHo6eIGkUSwDZEJoqw4Zo8+snolDlWbWrU a/AaGaZMtrUWF9C/OJJ2v/zfZER4+ZKMJaCFJQ7JE2mNk/t5s1x+aLCY1t208tVa9JE/ RAJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=X+2fwQXp; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i9-20020a170902c94900b001b8a5cec6e4si915163pla.251.2023.07.04.00.28.47; Tue, 04 Jul 2023 00:29:02 -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=@intel.com header.s=Intel header.b=X+2fwQXp; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231153AbjGDHNw (ORCPT + 99 others); Tue, 4 Jul 2023 03:13:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229804AbjGDHNv (ORCPT ); Tue, 4 Jul 2023 03:13:51 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DB01133 for ; Tue, 4 Jul 2023 00:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688454829; x=1719990829; h=date:from:to:cc:subject:message-id:mime-version; bh=siXw7Hgvg0qvEBA2mPmaJ8uv1VSpnqahj1u53oKb7/s=; b=X+2fwQXpm9G18a95BqYQ88emezuIFoI60Kx/rgCiW4G3Nu9JU1VEqOFD CK7vG6qcqr59DBXTYqYHfmNBiGaoiPNnmLB+sZPdlvXoLreVEwstmU7dg n2nAbHSkLnynm3QN758TSbExfZRtRgovy7tz7K1dxPIrFiQaji+ZebWkv L3APVMIdg0Omk7edRKrMmMi5Q4utLpFQZJt1WOshiJGQQ9eg4WRFg5FHl m3KYY3YndcsxjQUTn/twWtVccAK8yluRDpsMg5nqQpT/A5NrQqauUnlWm mFyjGoqemnW9Xgul1YiuCkAf1q2bYEplOW95jiANO14tPkOB0NDI1Ktuj A==; X-IronPort-AV: E=McAfee;i="6600,9927,10760"; a="343390779" X-IronPort-AV: E=Sophos;i="6.01,179,1684825200"; d="scan'208";a="343390779" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2023 00:13:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10760"; a="788772161" X-IronPort-AV: E=Sophos;i="6.01,179,1684825200"; d="scan'208";a="788772161" Received: from lkp-server01.sh.intel.com (HELO 783282924a45) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 04 Jul 2023 00:13:41 -0700 Received: from kbuild by 783282924a45 with local (Exim 4.96) (envelope-from ) id 1qGaEG-000I45-2L; Tue, 04 Jul 2023 07:13:40 +0000 Date: Tue, 4 Jul 2023 15:13:08 +0800 From: kernel test robot To: Rahul Rameshbabu Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Jiri Kosina Subject: drivers/hid/hid-nvidia-shield.c:59:2: warning: field within 'struct thunderstrike_hostcmd_resp_report' is less aligned than 'union thunderstrike_hostcmd_resp_report::(anonymous at drivers/hid/hid-nvidia-shield.c:59:2)' and is usually due to 'struct thund... Message-ID: <202307041500.6bKn7nCl-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 24be4d0b46bb0c3c1dc7bacd30957d6144a70dfc commit: 09308562d4afb1abc66366608fa1cb9de783272f HID: nvidia-shield: Initial driver implementation with Thunderstrike support date: 4 weeks ago config: arm-randconfig-r014-20230704 (https://download.01.org/0day-ci/archive/20230704/202307041500.6bKn7nCl-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce: (https://download.01.org/0day-ci/archive/20230704/202307041500.6bKn7nCl-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202307041500.6bKn7nCl-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/hid/hid-nvidia-shield.c:59:2: warning: field within 'struct thunderstrike_hostcmd_resp_report' is less aligned than 'union thunderstrike_hostcmd_resp_report::(anonymous at drivers/hid/hid-nvidia-shield.c:59:2)' and is usually due to 'struct thunderstrike_hostcmd_resp_report' being packed, which can lead to unaligned accesses [-Wunaligned-access] union { ^ 1 warning generated. vim +59 drivers/hid/hid-nvidia-shield.c 53 54 struct thunderstrike_hostcmd_resp_report { 55 u8 report_id; /* THUNDERSTRIKE_HOSTCMD_RESP_REPORT_ID */ 56 u8 cmd_id; 57 u8 reserved_at_10; 58 > 59 union { 60 struct thunderstrike_hostcmd_board_info board_info; 61 struct thunderstrike_hostcmd_haptics motors; 62 __le16 fw_version; 63 u8 payload[30]; 64 }; 65 } __packed; 66 static_assert(sizeof(struct thunderstrike_hostcmd_resp_report) == 67 THUNDERSTRIKE_HOSTCMD_REPORT_SIZE); 68 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki