Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp34489lqb; Tue, 4 Jun 2024 04:23:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVVzMP0dF/fMQHGPCo5k/WVlHsTY3hJHHeB9U72kEi77G0l0LeJbt80mr1Guq8AxHhyrVCOsUD1w/kjAaOAGUuIf8kIaOQQtvKjeNo08A== X-Google-Smtp-Source: AGHT+IFbSP93qX0FaGzREhFaCbPSGQnFcqeyfIriIbLoAr/9KvpdK4LH2LoKtf5iXTI/OE6WuAkJ X-Received: by 2002:aca:2403:0:b0:3ca:babd:76b3 with SMTP id 5614622812f47-3d1e3480ad6mr10849586b6e.12.1717500213466; Tue, 04 Jun 2024 04:23:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717500213; cv=pass; d=google.com; s=arc-20160816; b=p6YcIsV8bDYHyvXgBdoaje4HAi16/kZvV/2w3GrZYq5MvJz0hp6wgwoLBqqV9sUv8b YziuXC3w+IB7h5S9CCB6le8WN9uMaGNGUUX6ooFIOPUQAt2UBWrUDGU/I4eFTCmJ3orf V0lRNgUn6Blyw/NbfRBYvtX7wSrTVziA59rLppvs0i4n6Smw2aNWMv/ygAGPk/VN6dTo gDDoCI7KAYD3fCOtESR17mp+6yFyp9xvG7kvQkWY2/DITxfXMEI9Zo623UqY8EtJRd4B vR4Qh30vsB0y1uCkmQEiSlVAo+zzCtikDS1wFkL6OHYSaivvjl+n/h/TARWJMDt0RkCE XItA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=IoD1rYuc39XAqZaHhZqHonxQQWSS0sseJz2Cx9pU6QM=; fh=/X7KBgpaFXIdhQOR+rJ5U3WfulVMyCMmdmpVowetaIE=; b=LOK3EwSwKOd3wNwtuus+Lh2i9OOD9YuDmNaONhMsw6cYeCJQmEfBcbDamgQh0hH3TC z1EKuCnOsT1Cn+809xqQrC9ayaHEnb70XTQdb6zxH3+Wmh9gskhGN9EX1BCWTZlsVE+5 tt9QkIcg6VjIuQ/afSeaIFGqtwobPiETLCC/D1uW6lI3Yr0adAZBmbydzVlEexSgH2/w dcj3ZYqgIOnrkgVlJ5+FI+aAr8m/fgkK0dFVir5V/xJp2/OxBcJoJ96VFN6RUhW80Tg+ m/F0ctPsYVh2z0dQpO1+bvXxxYHDgAwBYViD0D+Gjmf7y9YfEM0A5LB6VpLA8XGXwjus X5hg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="PfWTU/yC"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-200508-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200508-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4b42b95fsi108660556d6.493.2024.06.04.04.23.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 04:23:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200508-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="PfWTU/yC"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-200508-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200508-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 314FE1C2150F for ; Tue, 4 Jun 2024 11:23:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 51FC014535E; Tue, 4 Jun 2024 11:23:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="PfWTU/yC" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A33B41442E3; Tue, 4 Jun 2024 11:23:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717500206; cv=none; b=Z6hkysnGTBfL8ytFkWJKIibkT09ur+JoFxTHt4M2WDbh7U6v0Pmn/oinFtP7OH+BKFm8ChHf/gd5vgJLg67yFiSFBN6zuj5K01lLLnLRu35RBmnMVfTs1konsqozrrt3RL7TOoUgvqb27p+XpZtZLEMdJwihVvJwqDpy5mPrvMk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717500206; c=relaxed/simple; bh=IoD1rYuc39XAqZaHhZqHonxQQWSS0sseJz2Cx9pU6QM=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=B95hz/lT6qk6DK/pcunoR13hQUwJEJS1QoaqAiJ58GAQ3UnO4CP2gfuV+pEYDQ8KrD1R2yY7RFsTWh01z9b/cR3cpi4j/ZE0b53xLJ1vO/USNWT1yJn97EAMwuxKwRlVH7WFabRKkYCQTek8ULtwwQx7yZDbFPtW01Aa6EzldYU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=PfWTU/yC; arc=none smtp.client-ip=192.198.163.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717500205; x=1749036205; h=message-id:subject:from:to:cc:date:in-reply-to: references:content-transfer-encoding:mime-version; bh=IoD1rYuc39XAqZaHhZqHonxQQWSS0sseJz2Cx9pU6QM=; b=PfWTU/yCpNqykBsUyIfilYn/ULiNVVlYVyllnL+QYdACPzaWoWBzIZK3 BRELxGTzC2NS5xz02D4h0xtWle/+PZ+ZwPALLrKB0GgM2wabz81i9gNBh JNKnkOqyi/QdlYlJObE5bCrXrW2tLHxE8xbB0VJMOp1csTBJphAU+6dKF RYlU8z5uawfPCBlm5Mx7bEyuF1JX1OpRWitfEfezzC0gLW0EvzbYBNmPy P1VPAHxQVripiJLO24ZQmfhhMRbcvRV8e/VYdCNn3/L54jBnbb2d6d/Dl 8tgYGjYbGWku+70kWt27T8AQWtWXBfOG0eEq8eejXqwN6RyGC+ofTDqp7 A==; X-CSE-ConnectionGUID: uU70syWiRPew/34hMJ4LDA== X-CSE-MsgGUID: DTqOgGtbT8GdqAiqgXLhtQ== X-IronPort-AV: E=McAfee;i="6600,9927,11092"; a="17876668" X-IronPort-AV: E=Sophos;i="6.08,213,1712646000"; d="scan'208";a="17876668" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2024 04:23:24 -0700 X-CSE-ConnectionGUID: 28UDohSwQWa2LEZzzXR+Yg== X-CSE-MsgGUID: yjHFfmnYS2ytERv+7dqn5g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,213,1712646000"; d="scan'208";a="37075851" Received: from thankacx-mobl3.gar.corp.intel.com ([10.215.124.111]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2024 04:23:21 -0700 Message-ID: Subject: Re: [PATCH] [v3] HID: intel-ish-hid: fix endian-conversion From: srinivas pandruvada To: "Zhang, Lixu" , Arnd Bergmann , Jiri Kosina Cc: Arnd Bergmann , Benjamin Tissoires , "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" Date: Tue, 04 Jun 2024 04:23:15 -0700 In-Reply-To: References: <20240603074125.2963801-1-arnd@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.0-1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Mon, 2024-06-03 at 08:38 +0000, Zhang, Lixu wrote: > > -----Original Message----- > > From: Arnd Bergmann > > Sent: Monday, June 3, 2024 3:41 PM > > To: Srinivas Pandruvada ; Jiri > > Kosina > > ; Zhang, Lixu > > Cc: Arnd Bergmann ; Benjamin Tissoires > > ; linux-input@vger.kernel.org; linux- > > kernel@vger.kernel.org > > Subject: [PATCH] [v3] HID: intel-ish-hid: fix endian-conversion > >=20 > > From: Arnd Bergmann > >=20 > > The newly added file causes a ton of sparse warnings about the > > incorrect use of > > __le32 and similar types: > >=20 > > Add the necessary conversions and use temporary variables where > > appropriate > > to avoid converting back. > >=20 > > Fixes: 579a267e4617 ("HID: intel-ish-hid: Implement loading > > firmware from > > host feature") > > Signed-off-by: Arnd Bergmann > Reviewed-by: Zhang Lixu > Tested-by: Zhang Lixu Acked-by: Srinivas Pandruvada >=20 > Thanks, > Lixu > > ---