Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp545598lqs; Thu, 13 Jun 2024 19:52:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWcZoVDR5sVcYr7VKuJePZb68gNF64EMfLhlsylUQ4ouyKar3S31Hh3Y3E/IlpwJTUVgagLI0eHOlM4M2DQFAAXyywZKeGdMPpoplJ63Q== X-Google-Smtp-Source: AGHT+IH9eY/iYHkSxYY7zdfZr0Z1NO5KB45Q+pqR7pM/TyOZOQYZI7XGl6XGkF2ui8PEBrvKjlub X-Received: by 2002:a05:6e02:1fe8:b0:375:e582:60c7 with SMTP id e9e14a558f8ab-375e58263fdmr3623845ab.23.1718333546790; Thu, 13 Jun 2024 19:52:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718333546; cv=pass; d=google.com; s=arc-20160816; b=vw6urb0Ex5mBipyDN0Xn2ipx0NfSEnhI4dFq/nL1GW8h/0AAJcDZwdIp1axh1H+b+0 XewI/gM/gNDSWjtVfGejDRApsWQ7Ghd+eGqbMBubNwV8szAPn/0aX8efVynDT+aI2v+y r5kKCQ4rlAy7BMhuGfOlNNGzMx4HS8TbPOl3z6qYbDvB9T2j77DJQjG9oW1+xVHFAsi5 0pwmyd52hjy6c2ocllfe8RgmcWF5uC4OC+GZs3SUxHSVHzwm39Xy8xhMw+WqSTpEwwLw BppjBWlbzYa7lTPyYqObllok30580hpwPfDpv1mqVbZIcxTtRgqWMqRoMpY2jbSAwNMR sG7w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=vNWIvdqcAW3H7bTpHW8Z8TR4DsEwMNPjP2FLDl1IBlc=; fh=dlpGwedjxzsrg7nJdWLIZgmYl63Da2BnodvEKbl/vio=; b=NeTzgMdfKlgNhG4Sh5CtJcfY5FehQhXgtwUtjYGK/dIENpSpsRAeiO0DkuSb4vKDKG KTbeg4EXGts5jCf1UBz7wlqxUZy8dGxD0NEIo+2iq+hzb0UKVYwTNkxqWkLsxyCa1zW1 OscBa0RDI0hpcOtCL/HG1aQDnCoot1oSF1dnOkhgBSlQXaspdWc54J1QV8qWp8qAcdwz ++NBHldfBqMyOTsoyDK8mwpiVTTjwnFnkAM2arH1Gtefrq+SuWBM1W/zqmROVCxSgfV1 MfOF7+VvHFZOFOLi4BZX4Tckb3E62yD8oymigBXGQsxtqtrIjFGeKxZhEWYFbUAsHmtS YVXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LcLe3MJw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-214273-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214273-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fee5776ac9si2431155a12.618.2024.06.13.19.52.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 19:52:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-214273-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=@kernel.org header.s=k20201202 header.b=LcLe3MJw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-214273-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214273-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 49EBC282099 for ; Fri, 14 Jun 2024 02:52:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B96FD1862A2; Fri, 14 Jun 2024 02:50:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LcLe3MJw" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BEF3E1850A7; Fri, 14 Jun 2024 02:50:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718333431; cv=none; b=sIJHuUQbLfB7rWGSiEdSc3WjkGbZMF4A/kYXrrqf2tEVxUcxO97vAjBWbN8FNJQadgwoS5m2WnSApzEmGajWNfEZB6JV4w43+WeS97VkXGSb80Q1h7vYF+BQfeG65LlNb2ZMjCEO4Bwkqd5iSYNXsY3A1Mv43hF3wg9hNzHJ0oA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718333431; c=relaxed/simple; bh=H5RnwBHKARD3OGe+nAiKyTn52y22Y54pRLlkrk71XeE=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=u192+T2nPhTcaKAFZRCtm0gmMXgjBAIUhz5R/qw5p177i6C0I6qvL2MtHs9UtIDVEVuY0OFird2uO3KUqJYRc5c90FtJxci1MHdAP8uQyJbdZUwcCDCGJNSfj65dVzpiUtdfof+bQjW+sT7oSVq7KIYA5ACU6P5KvXdt0K1+mvw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LcLe3MJw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 56002C4AF49; Fri, 14 Jun 2024 02:50:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718333430; bh=H5RnwBHKARD3OGe+nAiKyTn52y22Y54pRLlkrk71XeE=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=LcLe3MJwOego2EPFukvKcOeGV5x/zAyH9WsS06QI9EWt4EU//vZ3575k2mXphODDh 1hc3xZTfBgpR+3v0sis/uFIpZYxVBEQ75+3pmBtUyZYRpLNtQqelDE9qbaU7UvzGKG qdWbjQXlNpLnpGe/HUMod4eTMsaLTD8/MGJU5dUIr7pmpEy0pnszx2yaHLVs2cHFyG FYtIcjn3jskyYxl4BDmx7SvN8RzCX99WjSRIqVAEW/dYe1V78KE34+Io4ZKmhXiV+k mnaqLyHgsJzBQvfg68AadW0aS9xgLOAn10dwYZji3iIu5llhsaP8NqALz4imtjaVdo AZxwi73IJ4lvg== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 4A672C43612; Fri, 14 Jun 2024 02:50:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] platform/chrome: cros_ec_lpc: Handle zero length read/write From: patchwork-bot+chrome-platform@kernel.org Message-Id: <171833343030.26166.18265568049906773511.git-patchwork-notify@kernel.org> Date: Fri, 14 Jun 2024 02:50:30 +0000 References: <20240613212542.403-1-ben@jubnut.com> In-Reply-To: <20240613212542.403-1-ben@jubnut.com> To: Ben Walsh Cc: dan.carpenter@linaro.org, bleung@chromium.org, tzungbi@kernel.org, groeck@chromium.org, chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Hello: This patch was applied to chrome-platform/linux.git (for-next) by Tzung-Bi Shih : On Thu, 13 Jun 2024 22:25:42 +0100 you wrote: > cros_ec_lpc_mec_read_bytes and cros_ec_lpc_mec_write_bytes call > cros_ec_lpc_mec_in_range, which checks if addresses are in the MEC > address range, and returns -EINVAL if the range given is not sensible. > > However cros_ec_lpc_mec_in_range was also returning -EINVAL for a zero > length range. > > [...] Here is the summary with links: - platform/chrome: cros_ec_lpc: Handle zero length read/write https://git.kernel.org/chrome-platform/c/b57cd5703a16 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html