[folded-merged] ubsan-dont-handle-misaligned-address-when-support-unaligned-access-v2.patch removed from -mm tree

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

 



The patch titled
     Subject: ubsan-dont-handle-misaligned-address-when-support-unaligned-access-v2
has been removed from the -mm tree.  Its filename was
     ubsan-dont-handle-misaligned-address-when-support-unaligned-access-v2.patch

This patch was dropped because it was folded into ubsan-dont-handle-misaligned-address-when-support-unaligned-access.patch

------------------------------------------------------
From: Ding Tianhong <dingtianhong@xxxxxxxxxx>
Subject: ubsan-dont-handle-misaligned-address-when-support-unaligned-access-v2

add braces around if block

Cc: David Laight <David.Laight@xxxxxxxxxx>
Cc: Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 lib/ubsan.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN lib/ubsan.c~ubsan-dont-handle-misaligned-address-when-support-unaligned-access-v2 lib/ubsan.c
--- a/lib/ubsan.c~ubsan-dont-handle-misaligned-address-when-support-unaligned-access-v2
+++ a/lib/ubsan.c
@@ -321,10 +321,10 @@ void __ubsan_handle_type_mismatch(struct
 
 	if (!ptr)
 		handle_null_ptr_deref(data);
-	else if (data->alignment && !IS_ALIGNED(ptr, data->alignment))
+	else if (data->alignment && !IS_ALIGNED(ptr, data->alignment)) {
 		if (!IS_ENABLED(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS))
 			handle_missaligned_access(data, ptr);
-	else
+	} else
 		handle_object_size_mismatch(data, ptr);
 }
 EXPORT_SYMBOL(__ubsan_handle_type_mismatch);
_

Patches currently in -mm which might be from dingtianhong@xxxxxxxxxx are

ubsan-dont-handle-misaligned-address-when-support-unaligned-access.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 Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux