public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: PATCH[[vme/bridges/vme_ca91cx42.c:1382: Bad if test Bug Fix]‏‏
@ 2014-06-12 14:33 nick
  2014-06-12 15:10 ` Dan Carpenter
  2014-06-16  9:47 ` Martyn Welch
  0 siblings, 2 replies; 9+ messages in thread
From: nick @ 2014-06-12 14:33 UTC (permalink / raw)
  To: martyn.welch; +Cc: manohar.vanga, gregkh, devel, linux-kernel

Here is the fixed patch. Having issues with using Thunderbird
so just used Evolution for now.
Nick 
--- drivers/vme/bridges/vme_ca91cx42.h.orig	2014-06-11 22:50:29.339671939 -0400
+++ drivers/vme/bridges/vme_ca91cx42.h	2014-06-11 23:15:36.027685173 -0400
Fixes bug issues with wrong bus width in if statments in vme_ca91cx42.c
Signed-off-by: Nicholas Krause <nickkrause@sympatico.ca>
@@ -526,7 +526,7 @@ static const int CA91CX42_LINT_LM[] = {
 #define CA91CX42_VSI_CTL_SUPER_SUPR	(1<<21)
 
 #define CA91CX42_VSI_CTL_VAS_M		(7<<16)
-#define CA91CX42_VSI_CTL_VAS_A16	0
+#define CA91CX42_VSI_CTL_VAS_A16	(3<<16)
 #define CA91CX42_VSI_CTL_VAS_A24	(1<<16)
 #define CA91CX42_VSI_CTL_VAS_A32	(1<<17)
 #define CA91CX42_VSI_CTL_VAS_USER1	(3<<17)
@@ -549,7 +549,7 @@ static const int CA91CX42_LINT_LM[] = {
 #define CA91CX42_LM_CTL_SUPR		(1<<21)
 #define CA91CX42_LM_CTL_NPRIV		(1<<20)
 #define CA91CX42_LM_CTL_AS_M		(5<<16)
-#define CA91CX42_LM_CTL_AS_A16		0
+#define CA91CX42_LM_CTL_AS_A16		(3<<16)
 #define CA91CX42_LM_CTL_AS_A24		(1<<16)
 #define CA91CX42_LM_CTL_AS_A32		(1<<17)




^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <SNT145-W1D429653B80A40C499048A52A0@phx.gbl>]
* PATCH[vme/bridges/vme_ca91cx42.c:1382: Bad if test Bug Fix]
@ 2014-06-12  3:44 Nick Krause
  2014-06-12  3:53 ` gregkh
  0 siblings, 1 reply; 9+ messages in thread
From: Nick Krause @ 2014-06-12  3:44 UTC (permalink / raw)
  To: martyn.welch@ge.com
  Cc: manohar.vanga@gmail.com, gregkh@linuxfoundation.org,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org

Hey Fellow Developers, 
This is my first patch so if there are any errors please reply as i will 
fix them. Below is the patch.
-- drivers/vme/bridges/vme_ca91cx42.h.orig    2014-06-11 22:50:29.339671939 -0400
+++ drivers/vme/bridges/vme_ca91cx42.h    2014-06-11 23:15:36.027685173 -0400
@@ -526,7 +526,7 @@ static const int CA91CX42_LINT_LM[] = {
 #define CA91CX42_VSI_CTL_SUPER_SUPR    (1<<21)
 
 #define CA91CX42_VSI_CTL_VAS_M        (7<<16)
-#define CA91CX42_VSI_CTL_VAS_A16    0
+#define CA91CX42_VSI_CTL_VAS_A16    (3<<16)
 #define CA91CX42_VSI_CTL_VAS_A24    (1<<16)
 #define CA91CX42_VSI_CTL_VAS_A32    (1<<17)
 #define CA91CX42_VSI_CTL_VAS_USER1    (3<<17)
@@ -549,7 +549,7 @@ static const int CA91CX42_LINT_LM[] = {
 #define CA91CX42_LM_CTL_SUPR        (1<<21)
 #define CA91CX42_LM_CTL_NPRIV        (1<<20)
 #define CA91CX42_LM_CTL_AS_M        (5<<16)
-#define CA91CX42_LM_CTL_AS_A16        0
+#define CA91CX42_LM_CTL_AS_A16        (3<<16)
 #define CA91CX42_LM_CTL_AS_A24        (1<<16)
 #define CA91CX42_LM_CTL_AS_A32        (1<<17)
Signed-off-by: Nicholas Krause <nickkrause@sympatico.ca>
Nick
 		 	   		  

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-06-16 12:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-12 14:33 PATCH[[vme/bridges/vme_ca91cx42.c:1382: Bad if test Bug Fix]‏‏ nick
2014-06-12 15:10 ` Dan Carpenter
2014-06-12 20:52   ` Dan Carpenter
2014-06-16  9:47 ` Martyn Welch
2014-06-16  9:56   ` Dan Carpenter
2014-06-16 10:08     ` Martyn Welch
     [not found] <SNT145-W1D429653B80A40C499048A52A0@phx.gbl>
2014-06-12  5:19 ` PATCH[[vme/bridges/vme_ca91cx42.c:1382: Bad if test Bug Fix]‏ gregkh
  -- strict thread matches above, loose matches on Subject: below --
2014-06-12  3:44 PATCH[vme/bridges/vme_ca91cx42.c:1382: Bad if test Bug Fix] Nick Krause
2014-06-12  3:53 ` gregkh

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