From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795908421; b=t/IShwiWd7kkpoj0/iijSmHpDqRE7ZemK8DTMRamaUpaxpNGrgpyJLVYye/ACS8nR08j HaJDeImbSqku3vbeBrya5VhCx90k2scE5Lyd5Q/EyQhMZmkgkErFzL89sb6PTq41J36H8 yZtWvsDXGOhXVuvGaFjqYPnLxjKc2x0Qu7rv5Z37FXtX4YCH1bJOWdUrs86wyGLOthzY4 c6m4yNdlXCHnaOyxRzvk6VXCZZ5mdk1/xygXprQhJW8WQ2dPGRDkH3jNz+/JEX3h+WHqu oSLdGP2sFzh+qKniBhZGRoKIGSTObkQucZNo5yri64ISyd8vwRleXWzXhPxmkPZ0NUA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795908421; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=H9+Kn18jYhNu9FHx9TvJMQkRKyLf0AdhoZ4CEFkTVSw=; b=1P/zHrNwZbcG9bFKQ0lZ6/vn+FiO7UZyVbjIf9QIxLkusa4FMwBLnAEnAd7CsBdP5kM+ F5rnWZr++nqa0Mrcl5ObQsndhvKBztKV/uJ1fHp4DVJOqABeP0hxke4ugxOpGAGvgdl5y Js8cIjTcFqsU9tP1XSr2qHfiE84YEQVh+4ax6BsLiby7WsYhamxO59yT7UIZn/UZUFGwU R29Zazr25gVgv+NqwidIntlj2AV5IPVWcZQg1CibVgXx3mfjvx3WO6F04RnCWqNZ5GosB ndPc0gXNQNnmNmG9Wq0YBMeviNXWiqOXk0DoVD8mcLxh5hQUmehJ6NdlS9UMjH65NKA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=N8YG5sLy; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83C20606A31C; Sat, 28 Nov 2026 23:27:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=N8YG5sLy Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62F641F000C1; Sat, 28 Nov 2026 23:26:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795908421; bh=H9+Kn18jYhNu9FHx9TvJMQkRKyLf0AdhoZ4CEFkTVSw=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=N8YG5sLyY75j1qN60EeJH3lz9fz6+VOUkGX+/qPCO4ATzP5rywtWHvW7YLPcZGo9b YF68m5/oSG0TjNKr5w3fo/sfDBls1uZP9xr0TIBt4duI+Xp2BH1eFVdsXWJ40JRMic Ba1N4lByGw3i5N9zhiV0oF7dlsnhbluxpY4Pm+uDVSgmhEYLLVLn4ua53EfRfdppuN ZDuLzYRKcfGpAmqgx+5LHKnUmeIi1c61M2t6zuOSMwm33Y4p2iD8SBLy6oZw4x8dDN PKokXopG5XfD5bra3Zdm0IfOZ6BXTb1EypB9trGCD5zCiy04xWS5mLLkFg3IUf8CV9 89G21+5SBsYBA== Date: Sat, 28 Nov 2026 23:26:51 +0000 From: Jonathan Cameron To: Abdelnasser Hussein Cc: linux-iio@vger.kernel.org, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@tuxon.dev, giorgitchankvetadze1997@gmail.com, amin.gattout@gmail.com, antoniu.miclaus@analog.com, gregkh@linuxfoundation.org, mripard@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 0/8] iio: adc: at91_adc: fix NULL trigger dereference and convert to devm Message-ID: <20261128232651.472c3d37@jic23-hlaptop> In-Reply-To: <20261123070101.53868-1-abdelnasserhussein11@gmail.com> References: <20261123070101.53868-1-abdelnasserhussein11@gmail.com> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-pc-linux-gnu) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 23 Nov 2026 09:00:53 +0200 Abdelnasser Hussein wrote: > This series fixes a NULL pointer dereference during trigger teardown in > at91_adc and modernizes the driver to use firmware-agnostic property > APIs and device-managed (devm) resources. > > When the "atmel,adc-use-external-triggers" property is omitted from the > Device Tree, at91_adc_trigger_init() leaves external trigger slots in > st->trig as NULL. Patch 1 provides a minimal fix in at91_adc for easy > backporting to stable kernels, while the subsequent patches modernize > the driver and convert it to devm_* APIs (removing the manual teardown > code and the st->trig array altogether). This needs information on what your base is for sashiko to figure out how to apply it. https://sashiko.dev/#/patchset/20261123070101.53868-1-abdelnasserhussein11%40gmail.com Easiest path is use b4 to prepare the series and ask it to generate that stuff for you. Jonathan