net: sk98lin bracket question
Hello,
Somewhere below is either one extra or one missing bracket. Any idea how to fix that?
Is the patch below correct?
drivers/net/sk98lin/skgesirq.c +1 -1
@@ -1319,7 +1319,7 @@ SK_BOOL AutoNeg) /* Is Auto-negotiationSkXmPhyRead (pAC, IoC, Port,PHY_BCOM_INT_STAT , &Isrc);#ifdef xDEBUG -if ((Isrc & ~(PHY_B_IS_HCT |PHY_B_IS_LCT ) == +if ((Isrc & ~(PHY_B_IS_HCT |PHY_B_IS_LCT )) == (PHY_B_IS_SCR_S_ER |PHY_B_IS_RRS_CHANGE |PHY_B_IS_LRS_CHANGE )) {SK_U32 Stat1, Stat2, Stat3;
PS. Who is the maintainer of this driver?
Signature · 3 lines
Regards, Mariusz Kozlowski
Quoted 19 lines · On Wed, 29 Nov 2006 23:35:07 +0100 Mariusz Kozlowski <[email protected]>…
Hello,
Somewhere below is either one extra or one missing bracket. Any idea how to fix that?
Is the patch below correct?
drivers/net/sk98lin/skgesirq.c +1
-1@@ -1319,7 +1319,7 @@ SK_BOOL AutoNeg) /* Is Auto-negotiationSkXmPhyRead (pAC, IoC, Port,PHY_BCOM_INT_STAT , &Isrc);#ifdef xDEBUG -if ((Isrc & ~(PHY_B_IS_HCT |PHY_B_IS_LCT ) == +if ((Isrc & ~(PHY_B_IS_HCT |PHY_B_IS_LCT )) == (PHY_B_IS_SCR_S_ER |PHY_B_IS_RRS_CHANGE |PHY_B_IS_LRS_CHANGE )) {SK_U32 Stat1, Stat2, Stat3;
Quoted 2 lines
PS. Who is the maintainer of this driver?
Nobody is maintaining this driver, it is being obsoleted and replaced by skge.
Signature · 1 line
Stephen Hemminger <[email protected]>