[ofw] [Patches 15/26][Core] Adjust code to remove Prefast errors and warning

Alex Naslednikov xalex at mellanox.co.il
Thu Jun 23 01:18:51 PDT 2011


Sorry, probably I missed this email. Can you please note the number of patch or resend it ?

-----Original Message-----
From: Smith, Stan [mailto:stan.smith at intel.com] 
Sent: Wednesday, June 22, 2011 9:15 PM
To: Alex Naslednikov; ofw at lists.openfabrics.org
Subject: RE: [ofw] [Patches 15/26][Core] Adjust code to remove Prefast errors and warning

See previous email on duplicate definitions...

-#define spin_lock_irq						spin_lock
-#define spin_unlock_irq 					spin_unlock
+#define spin_lock_irq(_lock_) cl_spinlock_acquire((cl_spinlock_t *)(_lock_))
+#define spin_unlock_irq(_lock_) cl_spinlock_release((cl_spinlock_t *)(_lock_))
 #define spin_lock_nested(a,b)				spin_lock(a)


>-----Original Message-----
>From: Alex Naslednikov [mailto:xalex at mellanox.co.il]
>Sent: Sunday, June 19, 2011 5:32 AM
>To: Alex Naslednikov; ofw at lists.openfabrics.org; Smith, Stan
>Subject: RE: [ofw] [Patches 15/26][Core] Adjust code to remove Prefast errors and warning
>
>
>Prefast: more robust macro definitions
>
>
>
>
>Alexander (XaleX) Naslednikov
>SW Networking Team
>Mellanox Technologies




More information about the ofw mailing list