This is a note to let you know that I've just added the patch titled rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff to the 6.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: rtc-ds1685-use-export_symbol_gpl-for-ds1685_rtc_poweroff.patch and it can be found in the queue-6.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 95e7ebc6823170256a8ce19fad87912805bfa001 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig <hch@xxxxxx> Date: Tue, 1 Aug 2023 19:35:43 +0200 Subject: rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff From: Christoph Hellwig <hch@xxxxxx> commit 95e7ebc6823170256a8ce19fad87912805bfa001 upstream. ds1685_rtc_poweroff is only used externally via symbol_get, which was only ever intended for very internal symbols like this one. Use EXPORT_SYMBOL_GPL for it so that symbol_get can enforce only being used on EXPORT_SYMBOL_GPL symbols. Signed-off-by: Christoph Hellwig <hch@xxxxxx> Acked-by: Joshua Kinard <kumba@xxxxxxxxxx> Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/rtc/rtc-ds1685.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/rtc/rtc-ds1685.c +++ b/drivers/rtc/rtc-ds1685.c @@ -1432,7 +1432,7 @@ ds1685_rtc_poweroff(struct platform_devi unreachable(); } } -EXPORT_SYMBOL(ds1685_rtc_poweroff); +EXPORT_SYMBOL_GPL(ds1685_rtc_poweroff); /* ----------------------------------------------------------------------- */ Patches currently in stable-queue which might be from hch@xxxxxx are queue-6.4/mmc-au1xmmc-force-non-modular-build-and-remove-symbol_get-usage.patch queue-6.4/net-enetc-use-export_symbol_gpl-for-enetc_phc_index.patch queue-6.4/modules-only-allow-symbol_get-of-export_symbol_gpl-modules.patch queue-6.4/rtc-ds1685-use-export_symbol_gpl-for-ds1685_rtc_poweroff.patch queue-6.4/arm-pxa-remove-use-of-symbol_get.patch