MIPS: math-emu: Declare function srl128() as static

"Linux Kernel Mailing List" <[email protected]>
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/95306f0469580ba94e909d63ee1e2a67c5dc5cba
Commit:     95306f0469580ba94e909d63ee1e2a67c5dc5cba
Parent:     999eae9bf61d379b22f460b31f76b4a03f40bb22
Refname:    refs/heads/master
Author:     Aleksandar Markovic <[email protected]>
AuthorDate: Thu Nov 2 12:14:02 2017 +0100
Committer:  Ralf Baechle <[email protected]>
CommitDate: Tue Dec 12 17:20:19 2017 +0100

    MIPS: math-emu: Declare function srl128() as static
    
    Declare function srl128() as static, since it it used just locally
    to the source file.
    
    This also removes a sparse warning for corresponding file.
    
    Signed-off-by: Aleksandar Markovic <[email protected]>
    Cc: Douglas Leung <[email protected]>
    Cc: Goran Ferenc <[email protected]>
    Cc: James Hogan <[email protected]>
    Cc: Miodrag Dinic <[email protected]>
    Cc: Paul Burton <[email protected]>
    Cc: Petar Jovanovic <[email protected]>
    Cc: Raghu Gandham <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/17585/
    Signed-off-by: Ralf Baechle <[email protected]>
---
 arch/mips/math-emu/dp_maddf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/math-emu/dp_maddf.c b/arch/mips/math-emu/dp_maddf.c
index 28b90fd3e093..5c4ad8e32fcb 100644
--- a/arch/mips/math-emu/dp_maddf.c
+++ b/arch/mips/math-emu/dp_maddf.c
@@ -16,7 +16,7 @@
 
 
 /* 128 bits shift right logical with rounding. */
-void srl128(u64 *hptr, u64 *lptr, int count)
+static void srl128(u64 *hptr, u64 *lptr, int count)
 {
 	u64 low;
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.