public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] minor sparse change fixing a typo
@ 2003-06-23 21:28 Dave Olien
  0 siblings, 0 replies; only message in thread
From: Dave Olien @ 2003-06-23 21:28 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel


This patch fixes a one-character typo in evaluating SPECIAL_OR_ASSIGN.

--- sparse_original/evaluate.c	2003-06-16 08:25:48.000000000 -0700
+++ sparse_test/evaluate.c	2003-06-23 14:21:19.000000000 -0700
@@ -848,7 +848,7 @@
 		[SPECIAL_SHL_ASSIGN - SPECIAL_BASE] = SPECIAL_LEFTSHIFT,
 		[SPECIAL_SHR_ASSIGN - SPECIAL_BASE] = SPECIAL_RIGHTSHIFT,
 		[SPECIAL_AND_ASSIGN - SPECIAL_BASE] = '&',
-		[SPECIAL_OR_ASSIGN - SPECIAL_BASE] = '&',
+		[SPECIAL_OR_ASSIGN - SPECIAL_BASE] = '|',
 		[SPECIAL_XOR_ASSIGN - SPECIAL_BASE] = '^'
 	};
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-23 21:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-23 21:28 [PATCH] minor sparse change fixing a typo Dave Olien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox