+ romfs-printk-format-warnings.patch added to -mm tree

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

 



The patch titled
     ROMFS: printk format warnings
has been added to the -mm tree.  Its filename is
     romfs-printk-format-warnings.patch

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

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: ROMFS: printk format warnings
From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Field width and precision must be of type int.
fs/romfs/super.c:513: warning: field width should have type 'int', but argument 2 has type 'size_t'
fs/romfs/super.c:513: warning: field precision should have type 'int', but argument 3 has type 'size_t'

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/romfs/super.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/romfs/super.c~romfs-printk-format-warnings fs/romfs/super.c
--- a/fs/romfs/super.c~romfs-printk-format-warnings
+++ a/fs/romfs/super.c
@@ -510,7 +510,7 @@ static int romfs_fill_super(struct super
 	len = strnlen(rsb->name, ROMFS_MAXFN);
 	if (!silent)
 		printk("ROMFS: Mounting image '%*.*s' through %s\n",
-		       len, len, rsb->name, storage);
+		       (int)len, (int)len, rsb->name, storage);
 
 	kfree(rsb);
 	rsb = NULL;
_

Patches currently in -mm which might be from randy.dunlap@xxxxxxxxxx are

romfs-printk-format-warnings.patch
git-drm.patch
git-libata-all.patch
git-netdev-all.patch
fusion-kernel-doc-warning-fixes.patch
unionfs-sioq-not-__exit.patch
i386-fix-gdts-number-of-quadwords-in.patch
scripts-kernel-doc-whitespace-cleanup.patch
some-grammatical-fixups-and-additions-to-atomich-kernel-doc.patch
profile-likely-unlikely-macros.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux