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 66D36243364; Tue, 29 Apr 2025 17:53:18 +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=1745949198; cv=none; b=qw4CI9gMl1jAeTcizlIAtxScQy1ofmRLZKXOlNfzFjj6vgNGMvVk1UdzLIjhTsoJZFxNlf+tJGn0aQh0ZN/RmCO8vBM02+FKIpwtykOKwTvtfJQC7S84UtPb5BBlYPs6kSjm6upaUxD3XIy9LaYpueCVVySdndZgx5p7uy/Di2w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745949198; c=relaxed/simple; bh=i5qPQKLjPNTVqtjRSbXGfxmfjNFA/qkH99rcHpPNj5w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BvKnZg87y1bJl19DPFHpRi5szMibmyMzKmehHjBhZun3SANPn4MJ+Rumcv3Wao1jDB1OU60yClVy74JHiPCTlGRwXcr8Ar0wwrmuDjlF8N4taQ1GPzeVPdH56nKXLQPVyR0ZFIP6rWc8bfy3rFDI4rQiErcTUOZ+jUGmwHlQA4c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AQQenlq/; 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="AQQenlq/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB746C4CEE3; Tue, 29 Apr 2025 17:53:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1745949198; bh=i5qPQKLjPNTVqtjRSbXGfxmfjNFA/qkH99rcHpPNj5w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AQQenlq/mDfLXE6YXVqNuUiXcIJ/0Yl72k89+x/H5MOq4vQsiQuPRy+oAAyih5WvJ /9KzYm07a38HC0dq81bjDUZNJREz45ncVmR3e2ZSFc7eu9GzUtmFxteuRPa3KaPhJv 3XwH3EYbl+1v7C9CIqkqUOL/q9ZMXomP2qS2Zoug= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, WangYuli , Thomas Bogendoerfer Subject: [PATCH 5.15 242/373] MIPS: cevt-ds1287: Add missing ds1287.h include Date: Tue, 29 Apr 2025 18:41:59 +0200 Message-ID: <20250429161133.086343209@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250429161123.119104857@linuxfoundation.org> References: <20250429161123.119104857@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: WangYuli commit f3be225f338a578851a7b607a409f476354a8deb upstream. Address the issue of cevt-ds1287.c not including the ds1287.h header file. Fix follow errors with gcc-14 when -Werror: arch/mips/kernel/cevt-ds1287.c:15:5: error: no previous prototype for ‘ds1287_timer_state’ [-Werror=missing-prototypes] 15 | int ds1287_timer_state(void) | ^~~~~~~~~~~~~~~~~~ arch/mips/kernel/cevt-ds1287.c:20:5: error: no previous prototype for ‘ds1287_set_base_clock’ [-Werror=missing-prototypes] 20 | int ds1287_set_base_clock(unsigned int hz) | ^~~~~~~~~~~~~~~~~~~~~ arch/mips/kernel/cevt-ds1287.c:103:12: error: no previous prototype for ‘ds1287_clockevent_init’ [-Werror=missing-prototypes] 103 | int __init ds1287_clockevent_init(int irq) | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[7]: *** [scripts/Makefile.build:207: arch/mips/kernel/cevt-ds1287.o] Error 1 make[7]: *** Waiting for unfinished jobs.... make[6]: *** [scripts/Makefile.build:465: arch/mips/kernel] Error 2 make[6]: *** Waiting for unfinished jobs.... Signed-off-by: WangYuli Signed-off-by: Thomas Bogendoerfer Signed-off-by: Greg Kroah-Hartman --- arch/mips/kernel/cevt-ds1287.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/mips/kernel/cevt-ds1287.c +++ b/arch/mips/kernel/cevt-ds1287.c @@ -10,6 +10,7 @@ #include #include +#include #include int ds1287_timer_state(void)