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 8F0F919C556; Wed, 11 Jun 2025 16:37: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=1749659850; cv=none; b=WMW0QapOc9Q5p5xV9rCT2YkUbaOLg7s1VqF4cwR5UhUs1xg0pse0p9+fzeSlql8dICmOUP78FyzLSrIqrx1Hj4vigfkYzL4nyhvT07i6dMivI4taA0mnRAw/s5nTk09SeFbumrZuFShpx/XvfF3Sj0amcnPn3riGsmZuJuq2234= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749659850; c=relaxed/simple; bh=8f17JNCbmwhQzy5mD6f+45j2FzwIQnJv0xmMlafqAEg=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BhhSQuWQmx6zasWiZUFrOP3FZ3Rl1I7p6IJMfjU8MONyt5ly4PMZpg1GujAVb9LKcCsnQUr1TDdVaLtR3RYo3J/2ODa8Ny6GIu3OAuTQz7EYJJSTagGeWHumYhwaDqdwgjK14ahz0GcxiX2uc6+jHB4EAhNb3SSGv4ST5Y5QRpU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=E93oMAjL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="E93oMAjL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA57FC4CEE3; Wed, 11 Jun 2025 16:37:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1749659850; bh=8f17JNCbmwhQzy5mD6f+45j2FzwIQnJv0xmMlafqAEg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=E93oMAjLUPLSwW/zg0PztdZ7pXCSfwsLe9jNH0prZN9k4mHzriJxiuTnLEoUSUJ9Y ycRzveSJshLaFIP+pC5gjH6ibNnVfyl9DoNz/n/rGl5EHmO8aY/tgzRHD0Afhb/Pkc pZyRMPmOrK1o73d3S7vW9xPzekTYYAzR+E9YuTAEBe0rCmqXVDssRvJn0R1sE3rxSG AF6X0370JwFK8uGCzzYJfMjev3Y7rAnaDD3rIcnbH1re9Z71jy1Nb7Kx70QTOeu40U YQfEY8hqzDIRh6hKqYujacFnrn5Sx835DZL2FASOyPk7HhA/gk2j8+muKZKMed4Pd5 7Xx3A6Qjhwvtw== Date: Wed, 11 Jun 2025 17:37:22 +0100 From: Jonathan Cameron To: Fabrice Gasnier Cc: Antonio Borneo , Alexandre Torgue , Andy Shevchenko , "David Lechner" , Gatien Chevallier , "Lee Jones" , , Nuno =?UTF-8?B?U8Oh?= , Olivier Moysan , , , , Maxime Coquelin Subject: Re: [PATCH 4/5] iio: trigger: stm32-lptimer: Fix build warnings about export.h Message-ID: <20250611173722.1f78b841@jic23-huawei> In-Reply-To: References: <20250610124855.269158-1-antonio.borneo@foss.st.com> <20250610124855.269158-5-antonio.borneo@foss.st.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.48; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 10 Jun 2025 15:05:50 +0200 Fabrice Gasnier wrote: > On 6/10/25 14:48, Antonio Borneo wrote: > > After commit a934a57a42f6 ("scripts/misc-check: check missing #include > > when W=1") and commit 7d95680d64ac ("scripts/misc-check: > > check unnecessary #include when W=1") we get the build > > warning with W=1: > > > > drivers/iio/trigger/stm32-lptimer-trigger.c: warning: EXPORT_SYMBOL() is used, but #include is missing > > > > Fix it. > > > > Signed-off-by: Antonio Borneo > > Hi Antonio, > > You can add my: > Acked-by: Fabrice Gasnier > Applied. > Thanks, > Fabrice > > > --- > > drivers/iio/trigger/stm32-lptimer-trigger.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/iio/trigger/stm32-lptimer-trigger.c b/drivers/iio/trigger/stm32-lptimer-trigger.c > > index 2505ace440b46..c7bab18221c70 100644 > > --- a/drivers/iio/trigger/stm32-lptimer-trigger.c > > +++ b/drivers/iio/trigger/stm32-lptimer-trigger.c > > @@ -9,6 +9,7 @@ > > * Inspired by Benjamin Gaignard's stm32-timer-trigger driver > > */ > > > > +#include > > #include > > #include > > #include