Skip to contentSkip to conversation

+ drivers-block-mg_diskc-make-mg_times_out-static.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Aug 12, 2013 Block layer

lore
Share & tools
lore
#0 lore raw

Subject: + drivers-block-mg_diskc-make-mg_times_out-static.patch added to -mm tree
To: [email protected]
From: [email protected]
Date: Mon, 12 Aug 2013 15:54:51 -0700

The patch titled
Subject: drivers/block/mg_disk.c: make mg_times_out() static
has been added to the -mm tree. Its filename is
drivers-block-mg_diskc-make-mg_times_out-static.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/drivers-block-mg_diskc-make-mg_times_out-static.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/drivers-block-mg_diskc-make-mg_times_out-static.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Jingoo Han <[email protected]>
Subject: drivers/block/mg_disk.c: make mg_times_out() static

mg_times_out() is used only in this file. Fix the following sparse warning:

drivers/block/mg_disk.c:639:6: warning: symbol 'mg_times_out' was not declared. Should it be static?

---

 drivers/block/mg_disk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/mg_disk.c renamed from drivers/block/mg_disk.c~drivers-block-mg_diskc-make-mg_times_out-static +1 -1
diff -puN drivers/block/mg_disk.c~drivers-block-mg_diskc-make-mg_times_out-static drivers/block/mg_disk.c
@@ -636,7 +636,7 @@ ok_to_write:
 		mg_request(host->breq);
 }
 
-void mg_times_out(unsigned long data)
+static void mg_times_out(unsigned long data)
 {
 	struct mg_host *host = (struct mg_host *)data;
 	char *name;

_

Patches currently in -mm which might be from [email protected] are

linux-next.patch block-replace-strict_strtoul-with-kstrtoul.patch block-blk-sysfs-replace-strict_strtoul-with-kstrtoul.patch drivers-block-mg_diskc-make-mg_times_out-static.patch drivers-block-brdc-make-rd_size-static.patch mm-replace-strict_strtoul-with-kstrtoul.patch drivers-firmware-google-gsmic-replace-strict_strtoul-with-kstrtoul.patch kernel-replace-strict_strto-with-kstrto.patch documentation-replace-strict_strtoul-with-kstrtoul.patch w1-replace-strict_strtol-with-kstrtol.patch