+ fs-udf-ballocc-mark-a-variable-as-uninitialized_var.patch added to -mm tree

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

 



The patch titled
     fs/udf/balloc.c: mark a variable as uninitialized_var()
has been added to the -mm tree.  Its filename is
     fs-udf-ballocc-mark-a-variable-as-uninitialized_var.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: fs/udf/balloc.c: mark a variable as uninitialized_var()
From: WANG Cong <xiyou.wangcong@xxxxxxxxx>

Kill a may-be-used-uninitialized warning.

Signed-off-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


diff -puN fs/udf/balloc.c~fs-udf-ballocc-mark-a-variable-as-uninitialized_var fs/udf/balloc.c
--- a/fs/udf/balloc.c~fs-udf-ballocc-mark-a-variable-as-uninitialized_var
+++ a/fs/udf/balloc.c
@@ -689,7 +689,7 @@ static int udf_table_new_block(struct su
 	uint32_t spread = 0xFFFFFFFF, nspread = 0xFFFFFFFF;
 	uint32_t newblock = 0, adsize;
 	uint32_t elen, goal_elen = 0;
-	kernel_lb_addr eloc, goal_eloc;
+	kernel_lb_addr eloc, uninitialized_var(goal_eloc);
 	struct extent_position epos, goal_epos;
 	int8_t etype;
 
_

Patches currently in -mm which might be from xiyou.wangcong@xxxxxxxxx are

net-bluetooth-hidp-corec-make-hidp_setup_input.patch
fs-romfs-inodec-trivial-improvements.patch
fs-udf-ballocc-mark-a-variable-as-uninitialized_var.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