Patch "mtd: maps: sun_uflash: Declare uflash_devinit static" has been added to the 6.8-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    mtd: maps: sun_uflash: Declare uflash_devinit static

to the 6.8-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:
     mtd-maps-sun_uflash-declare-uflash_devinit-static.patch
and it can be found in the queue-6.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 9ee9198bd3aa83ab6ac51e27493d8c268bc348f6
Author: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date:   Sat Feb 24 18:42:24 2024 +0100

    mtd: maps: sun_uflash: Declare uflash_devinit static
    
    [ Upstream commit 6892982316846d4c40d12b0641d59519d868a784 ]
    
    This fixes the following warning:
    sun_uflash.c:50:5: error: no previous prototype for 'uflash_devinit'
    
    Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
    Fixes: 0fcb70851fbf ("Makefile.extrawarn: turn on missing-prototypes globally")
    Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
    Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> # build-tested
    Cc: Andreas Larsson <andreas@xxxxxxxxxxx>
    Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
    Reviewed-by: Andreas Larsson <andreas@xxxxxxxxxxx>
    Acked-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
    Signed-off-by: Andreas Larsson <andreas@xxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20240224-sam-fix-sparc32-all-builds-v2-3-1f186603c5c4@xxxxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/mtd/maps/sun_uflash.c b/drivers/mtd/maps/sun_uflash.c
index f58cfb15d6e85..b69dade3f7ad0 100644
--- a/drivers/mtd/maps/sun_uflash.c
+++ b/drivers/mtd/maps/sun_uflash.c
@@ -47,7 +47,7 @@ struct map_info uflash_map_templ = {
 	.bankwidth =	UFLASH_BUSWIDTH,
 };
 
-int uflash_devinit(struct platform_device *op, struct device_node *dp)
+static int uflash_devinit(struct platform_device *op, struct device_node *dp)
 {
 	struct uflash_dev *up;
 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux