[PATCHv2 2/5] Revert "Fix mistaken comparison that becomes a no-op."

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

 



From: Franz Schrober <franzschrober@xxxxxxxx>

James Westby is the only person not reacting when asking him about the MIT
license change over email or social media. So he has to count as not accepting
and reverting his contributions is the only way to to avoid possible legal
problems. The contributions can be re-added later when they are rewritten from
scratch.

This reverts commit 006eff06c7adcfb0d06c6fadf6e9b64f0488b2bf.

Cc: James Westby <jw+debian@xxxxxxxxxxxxxxx>
Signed-off-by: Franz Schrober <franzschrober@xxxxxxxx>
---
 evaluate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/evaluate.c b/evaluate.c
index 19be637..4b4ea6e 100644
--- a/evaluate.c
+++ b/evaluate.c
@@ -175,7 +175,7 @@ left:
 
 static int same_cast_type(struct symbol *orig, struct symbol *new)
 {
-	return orig->bit_size == new->bit_size && orig->bit_offset == new->bit_offset;
+	return orig->bit_size == new->bit_size && orig->bit_offset == orig->bit_offset;
 }
 
 static struct symbol *base_type(struct symbol *node, unsigned long *modp, unsigned long *asp)
-- 
1.8.4.4

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




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux