Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp570084lqh; Fri, 31 May 2024 09:33:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU0YiS353lbY5ZmvvTIiY6HAcI6TljjRoYQJmvzu5YMQVuLP1pTNf9d1xIeJwRfwT4KQlcyWgs8PEJdNvCxVaoKp16bwKfcKERg3BNBbw== X-Google-Smtp-Source: AGHT+IEWJDbbNRb3wp0OLFJ+ReARNN/W1OFALomwVth073k30zQ83iqCusLRg0etqjb+Jnwem2ZJ X-Received: by 2002:a17:90b:19d2:b0:2c1:948b:6f2e with SMTP id 98e67ed59e1d1-2c1dc5d5698mr2106600a91.44.1717173192751; Fri, 31 May 2024 09:33:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717173192; cv=pass; d=google.com; s=arc-20160816; b=Jd/63FXXYSmDPF0SvZeD3xZ2jdpKnWsKBgHYvvygoMPYxuw7inJBiGYIkXjLNFx5Yb lLwmeyxDYqw3KmmygJn892ZzKCDeV8cDtvYCfUD4qm8aD08lrNxsqJDUzuh8R/eqP/9D ndIr/X8kSvzHtHPqtBRdZbT1UiLzkzQcyOqGrhZArZwRY7pZTtQHMkNbGrHVrFfEjVMC gQG6iE+eXNcGM+mR8FVIQEtppVh1JjhZyWeEFzkB6b/fgUbUOEtukQAGYxS7cHNYyNRj hd7NS75Uuo5lqhcDoQnnWgFsGwCC66NyyXMGmuw0bUpURMwPOyW5jROvn4GNWDzT2bFi JLaA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=TJTJrhdkPmycIRaV1DpT+zY/SG85hVABIEWoJz6Cpuc=; fh=HP85LqK76BGw2DEqXG2J+NIooHjJFmWaSxRBUExCVqw=; b=WkYBWQA5Ud0Q9rVv5tmDt4AUSNf8r7FHMTsIyDJCUzsYfVmaldl4ZA/gF9NSjDC9Ga WL94mW4TjFB8Dhxrht9TmshWjdDIG+v203ZLgKAnPONvDHh7mFaf+URIOZ8ELs3IBUfS xEnyAlH97Gl6tM2kqadvmuQLbVzioejVMhbz4sKWCZN8+86KZ+Ib0iAnyczK7I0XJX/3 zOsJnuXdyO1S0iwpBLg+ruTjUXBnYVF+9MWbpGLi9f/QxJRlBQNXyGUbYbnk2Wng9bRn bBFbM7F0CwfBXN4obdBKkZdUE88O7aUXY4tKiWo/Y+HmuPM97Jlfy1YXK3UfZwAjeoMh mseQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=QU8eKpKR; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="JMyZY6H/"; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-197152-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197152-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1c284e51asi1783662a91.173.2024.05.31.09.33.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 09:33:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197152-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=QU8eKpKR; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="JMyZY6H/"; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-197152-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197152-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B704828E247 for ; Fri, 31 May 2024 16:29:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 38E1F15B96C; Fri, 31 May 2024 16:29:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="QU8eKpKR"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="JMyZY6H/" Received: from wfhigh6-smtp.messagingengine.com (wfhigh6-smtp.messagingengine.com [64.147.123.157]) (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 9176A158D90; Fri, 31 May 2024 16:29:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717172992; cv=none; b=bC0ijmM9sXmx0QVTDLqhq4FVyWEjFrlEEgGf3LGe+Ueh0nwrutb2LjtUAJ74ZRGj/y71PQOVz9FnBfnrMGYCVETPJN1mn8UUBtL/mUy00zWPhtpm8hagI7SH5sLLAC1lnYGLico4OYFKgC2fZE8jXLrH8PCakXxZnHbKeTKHp90= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717172992; c=relaxed/simple; bh=kU8TeoYAbAgdQQ2v+KTA4NOoe3XrDNd8HRj+9JUGtfM=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=UymEqMRZYLztbxqNSsaIXbvPxgJ+T1MceC4fdguu5uk4BhtUv6g6DLGbOI9rBnSjhU0ZFyColPkQ11oV+wz7m4f3dwWTL+Oa5m4kfF3RKMUZN9vKxlJmEztn+INUChHGFT95mTSnPrjWy9KOC7VjT0ODJ9JxkxVsMahNHBjo4co= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=QU8eKpKR; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=JMyZY6H/; arc=none smtp.client-ip=64.147.123.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.west.internal (Postfix) with ESMTP id 3BF7518000DF; Fri, 31 May 2024 12:29:49 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Fri, 31 May 2024 12:29:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1717172988; x=1717259388; bh=TJTJrhdkPm ycIRaV1DpT+zY/SG85hVABIEWoJz6Cpuc=; b=QU8eKpKRcoMPXOk3xk2xSo0dXV X3PeHMk19LtXJirQ5BdwCRrFAklcA6squS15dHttRdRM6PWfAE2qHz+1ey3W8ag8 t/0OklpufDvKcNXCk9IlySy2e4XhK4bDIxugSvKi2TS2ex7++sPDD1epMpir5URh aM2DPaDyHpR+BZL4CmHnqucxaXAAINpJUdjSgin+QifpWeY3XKn4x6a+AwSMas1X +hYm75sL2vumlY1ZS7YqDUD3s5iEwGhISz1qa2Fo0omM1Kkz3jM1l68qc+BQ1xKd TBacjtDhVBV3qLSn5SoHEFQ8mr1aywXHsYlqh+CToqF5RO2WyKf5UpEQdAJg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1717172988; x=1717259388; bh=TJTJrhdkPmycIRaV1DpT+zY/SG85 hVABIEWoJz6Cpuc=; b=JMyZY6H/F1Py574a30fMPHlBTwIRVHO/MZH9BWcfvEn0 uIPan4Jd0HGHxi2l5IJ35ugFCNkUDXMIDrLUlGPvb+wxhOFGdhzWeMOJW2J/+DUC SN9LHjEHqiLFLqht9ZSVnjGK3LKqslu5576qVJRKunfFxLCUn7IT1WtY0kyswoR7 /kduzzlVKnbzglfQLOdyAcCeFaFkevAdaa3lqUoyYY+1O7SYtmjK8PlwXKFhOfQB jU1jB5u5k4RSmQZVSd+DS26SzBKuA9jH6qgiYALEG8UhiH9tcaagWBUl+rvhIBD1 HDOqs3AA0u2YJqXQBoWJXsc8XqDjWYZsj/4vXndDFg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdekiedguddttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedt keetffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9A1F3B6008D; Fri, 31 May 2024 12:29:48 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-491-g033e30d24-fm-20240520.001-g033e30d2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <173c371a-5669-432a-9826-ce799102f6c1@app.fastmail.com> In-Reply-To: <93a4b3f093a3105c4731fdac37cc1964b266302c.camel@linux.intel.com> References: <20240528115802.3122955-1-arnd@kernel.org> <20240528115802.3122955-2-arnd@kernel.org> <508d40bb-f2df-469a-9f94-58b41a28f53a@app.fastmail.com> <93a4b3f093a3105c4731fdac37cc1964b266302c.camel@linux.intel.com> Date: Fri, 31 May 2024 18:29:28 +0200 From: "Arnd Bergmann" To: "srinivas.pandruvada@linux.intel.com" , "Lixu Zhang" , "Arnd Bergmann" , "Jiri Kosina" , "Benjamin Tissoires" Cc: "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 2/2] HID: intel-ish-hid: fix endian-conversion Content-Type: text/plain On Fri, May 31, 2024, at 05:49, srinivas pandruvada wrote: > On Wed, 2024-05-29 at 15:18 +0200, Arnd Bergmann wrote: >> On Wed, May 29, 2024, at 09:05, Zhang, Lixu wrote: >> >> > > >> > > for (i = 0; i < fragment->fragment_cnt && offset < >> > > ish_fw->size; i++) { >> > You added a parameter fragment_count, but you didn't use it. Did >> > you >> > intend to use it here? >> > >> >> My mistake, that was again broken in my incorrect >> rebase. >> > Do you have updated patch? Lixu can try and make sure that the > functionality is not broken by changes. > I've sent v2 now, hopefully addressing all the issues of the first version. I've dropped the other patch now, though I still think something is wrong there. Arnd