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 E580F1E9B22 for ; Sat, 23 Aug 2025 15:45:33 +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=1755963934; cv=none; b=cnqnAImnOkXscWueanicr9Ioe1VLLrDoIEYXe3EvfKe59XOOEu4dOM+wFxk3KeMaKnWA08Ku80Wqn5sMYSzAZVNZTcS3m++PZUPTXalLDnM6kXmDWmm2tIx8m6Fic0A5l9th61cIzTCUGJPPxuM2Rfos4OmAzGiKuEYWkfSlV+Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755963934; c=relaxed/simple; bh=Y6gKvDODnyW2yg5aYOjvouNMb2zgUH1MfV+w3qfstN8=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=NFT/Zci6Lx8mId8Z3RNRJWmZcbQpi4jPAPjzZcS4zhaaXTWQdCN8u00RdQrPusW16Yomgv6aZqHi72VvjfIYpXqb6H6EaYq0F3AoQ1QTLSOaqLTHj/G+aX9ab+DtXEDG+QxEePtxE7Fo6gbMPNNxgfogPVmP2HcM9jIIdOKxQR0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=niRk5UUz; 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="niRk5UUz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB4B5C4CEE7; Sat, 23 Aug 2025 15:45:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755963933; bh=Y6gKvDODnyW2yg5aYOjvouNMb2zgUH1MfV+w3qfstN8=; h=Subject:To:Cc:From:Date:From; b=niRk5UUz+aF8UKPSbialRJBCBh/ufTo4JT+EWOLsXdW/O+5jan435D/YiW1xwHDg8 0epewENsPRl5yxTY1F2QRZ5ljxUx6tsq8eMeQCIXcjbPHwx6mk1CTbAFlEAikDaZI6 d7247bLxH+WOevEkmYQWiGKX/oBC/tkIOZX6KO+c= Subject: FAILED: patch "[PATCH] iio: light: as73211: Ensure buffer holes are zeroed" failed to apply to 5.15-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:17 +0200 Message-ID: <2025082317-bogged-placate-a67b@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.15-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.15.y git checkout FETCH_HEAD git cherry-pick -x 433b99e922943efdfd62b9a8e3ad1604838181f2 # git commit -s git send-email --to '' --in-reply-to '2025082317-bogged-placate-a67b@gregkh' --subject-prefix 'PATCH 5.15.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);