From mboxrd@z Thu Jan 1 00:00:00 1970 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 3B4C078F4B for ; Sat, 23 Aug 2025 15:45:39 +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=1755963940; cv=none; b=q37WhQiZC6oI2vILPs6Vu+1UY6tkheh85rUUYBjySIQRElQObb5OVahIBYrpMZt+/sRoTEVBkglIjQoWOOpNZvKQ1yr5Cr8sB1OE7MUhm0Gqgnsei1Z4dx99P1QZcGzWYSjm0nAqpdBCXfkvk9BhYstiLU4sYm/tsZ/IqTPFVJU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755963940; c=relaxed/simple; bh=YgoopD28hzRBuqG9E4XbxlFTK4eCTCfaNsgLfG3cEcg=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=Pfm12sBPix5YuqyrFaVuQQbJFyiXxmu6fYUUNzU2GLXrZCPU1LGTMTIDT+/E+d+LsW8fOreBwrS/ziqu2QpFldisLodijjONmFHcImD1WIO6oqQdeH+ox8ONxs8kPf6G8Ruzebyc3ACjmIvrlVuu4B26BiSKx8XcFR6XmlyendQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PqDWcYZB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="PqDWcYZB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D993C4CEE7; Sat, 23 Aug 2025 15:45:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755963939; bh=YgoopD28hzRBuqG9E4XbxlFTK4eCTCfaNsgLfG3cEcg=; h=Subject:To:Cc:From:Date:From; b=PqDWcYZBPrFSV8gyxY8FroJUD2dbRxKJb+yaYdBYx1APkcqYfytNVD/egM8EPY8VJ 7lPKi5v5T3K2oOESjLVuYPFTYouJPUklAN9pl7/mGl/o2IT0Sc3Zbo7e3JzS/gMdW4 dteM97GE298CfQZpbQt/jWqkiYFstIfqvof5okVs= Subject: FAILED: patch "[PATCH] iio: light: as73211: Ensure buffer holes are zeroed" failed to apply to 5.10-stable tree To: Jonathan.Cameron@huawei.com,Stable@vger.kernel.org,andy@kernel.org,mazziesaccount@gmail.com Cc: From: Date: Sat, 23 Aug 2025 17:45:18 +0200 Message-ID: <2025082318-value-headless-fcab@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.10-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.10.y git checkout FETCH_HEAD git cherry-pick -x 433b99e922943efdfd62b9a8e3ad1604838181f2 # git commit -s git send-email --to '' --in-reply-to '2025082318-value-headless-fcab@gregkh' --subject-prefix 'PATCH 5.10.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 433b99e922943efdfd62b9a8e3ad1604838181f2 Mon Sep 17 00:00:00 2001 From: Jonathan Cameron Date: Sat, 2 Aug 2025 17:44:21 +0100 Subject: [PATCH] iio: light: as73211: Ensure buffer holes are zeroed Given that the buffer is copied to a kfifo that ultimately user space can read, ensure we zero it. Fixes: 403e5586b52e ("iio: light: as73211: New driver") Reviewed-by: Matti Vaittinen Reviewed-by: Andy Shevchenko Link: https://patch.msgid.link/20250802164436.515988-2-jic23@kernel.org Cc: Signed-off-by: Jonathan Cameron diff --git a/drivers/iio/light/as73211.c b/drivers/iio/light/as73211.c index 68f60dc3c79d..32719f584c47 100644 --- a/drivers/iio/light/as73211.c +++ b/drivers/iio/light/as73211.c @@ -639,7 +639,7 @@ static irqreturn_t as73211_trigger_handler(int irq __always_unused, void *p) struct { __le16 chan[4]; aligned_s64 ts; - } scan; + } scan = { }; int data_result, ret; mutex_lock(&data->mutex);