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 57F8E2701CF; Tue, 23 Sep 2025 09:51:40 +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=1758621101; cv=none; b=ZWldDzQbDUsKprWpvbV83iESC7nNb0HQvs3bXbbOJHH6nUKhNr8yD+9SwiC7PI22VFmuiyFjp4k877cEVPNV3LFpXC3yIUXO9e7zjKNi8e4PGvB4PBtt0KMUPp/79cQKy/xyjXQ266F3lFbt6cMVjDIJ9iZ3KooG0qbzTyiQiEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758621101; c=relaxed/simple; bh=SatWQ4A40muP0CnZ2G99i8D53j+dxKNMITxD7DwHiYE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qXsOiwiRSHrzLu/XbK1gU8j5fEVhW9uqcPfGB1UaYETw01NpwP2TKFkKCZ95tw6c8nCuMTAjmJKhaSQPGHhMZX4RVIyhdL9z+thBRprCmx18PXGnnx21/m13iLykDuoxRTsDMMqGckGxFLkc9LoGKzccGLB7fSNQ2d+ApgT1i4k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=T7oAvhoS; 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="T7oAvhoS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25065C4CEF5; Tue, 23 Sep 2025 09:51:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758621100; bh=SatWQ4A40muP0CnZ2G99i8D53j+dxKNMITxD7DwHiYE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T7oAvhoS5m5L3IYdw2JCURK38aoTXhYr7I0UvDxA4xfKxZpRuHgnd33yhCkgPkgpN QxUjzIUjawqeD69zzmjCs0k7rPhdkQKBK48+5GU8nTGQEu2dZ5gvBJQuQIGwmtjCca d+PF3Hs4Irho9yli2i7Hj7NHk6kF0Cschuel/euA= Date: Tue, 23 Sep 2025 11:51:35 +0200 From: Greg Kroah-Hartman To: Prabhakar Cc: Jiri Slaby , Geert Uytterhoeven , Wolfram Sang , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Biju Das , Fabrizio Castro , Lad Prabhakar Subject: Re: [PATCH] serial: sh-sci: Add missing header guard Message-ID: <2025092311-espresso-collector-5f4d@gregkh> References: <20250923092846.74517-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250923092846.74517-1-prabhakar.mahadev-lad.rj@bp.renesas.com> On Tue, Sep 23, 2025 at 10:28:46AM +0100, Prabhakar wrote: > From: Lad Prabhakar > > Add header guard to sh-sci.h to prevent multiple inclusions of the > header file. > > Signed-off-by: Lad Prabhakar > --- > drivers/tty/serial/sh-sci.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/tty/serial/sh-sci.h b/drivers/tty/serial/sh-sci.h > index 951681aba586..22f877e2a17e 100644 > --- a/drivers/tty/serial/sh-sci.h Why is this a .h file at all? It's so small, why not just put it all in the .c file and then there's no need for it anymore. thanks, greg k-h