<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV><SPAN class=055550513-17112009><FONT color=#0000ff size=2
face=Arial>Applied on 2577.</FONT></SPAN></DIV>
<DIV><SPAN class=055550513-17112009><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=055550513-17112009><FONT color=#0000ff size=2
face=Arial>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=055550513-17112009><FONT color=#0000ff size=2
face=Arial>Tzachi</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Tzachi Dar <BR><B>Sent:</B> Sunday,
November 15, 2009 8:05 PM<BR><B>To:</B>
ofw@lists.openfabrics.org<BR><B>Cc:</B> Windows Design<BR><B>Subject:</B>
patch: [bus] fix minor issue found in prefast<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=905250418-15112009>signed off by:
urih</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=905250418-15112009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Index:
Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/port.c<BR>===================================================================<BR>---
Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/port.c (revision 4959)<BR>+++
Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/port.c (revision 4960)<BR>@@
-55,7 +55,7 @@<BR> int
i;<BR> <BR> sema_init(&table->vlan_sem,
1);<BR>- for (i = 0; i < MLX4_MAX_MAC_NUM; i++) {<BR>+ for (i =
0; i < MLX4_MAX_VLAN_NUM; i++) {<BR> table->entries[i]
= 0;<BR> table->refs[i] = 0;<BR> }<BR>Index:
Q:/projinf3/trunk/hw/mlx4/kernel/bus/drv/wmi.c<BR>===================================================================<BR>---
Q:/projinf3/trunk/hw/mlx4/kernel/bus/drv/wmi.c (revision 4959)<BR>+++
Q:/projinf3/trunk/hw/mlx4/kernel/bus/drv/wmi.c (revision 4960)<BR>@@
-44,14 +44,11 @@<BR> {<BR> WDF_WMI_PROVIDER_CONFIG
providerConfig;<BR> WDF_WMI_INSTANCE_CONFIG
instanceConfig;<BR>- PFDO_DEVICE_DATA deviceData;<BR> NTSTATUS
status;<BR> DECLARE_CONST_UNICODE_STRING(busRsrcName,
BUSRESOURCENAME);<BR> <BR> PAGED_CODE();<BR> <BR>- deviceData
= FdoGetData(Device);<BR>-<BR> //<BR> // Register WMI
classes.<BR> // First specify the resource name which contain the
binary mof resource.<BR>Index:
Q:/projinf3/trunk/hw/mlx4/kernel/hca/wmi.c<BR>===================================================================<BR>---
Q:/projinf3/trunk/hw/mlx4/kernel/hca/wmi.c (revision 4959)<BR>+++
Q:/projinf3/trunk/hw/mlx4/kernel/hca/wmi.c (revision 4960)<BR>@@ -59,14
+59,11 @@<BR> {<BR> WDF_WMI_PROVIDER_CONFIG
providerConfig;<BR> WDF_WMI_INSTANCE_CONFIG
instanceConfig;<BR>- PFDO_DEVICE_DATA deviceData;<BR> NTSTATUS
status;<BR> DECLARE_CONST_UNICODE_STRING(hcaRsrcName,
HCARESOURCENAME);<BR> <BR> PAGED_CODE();<BR> <BR>- deviceData
= FdoGetData(Device);<BR>-<BR> //<BR> // Register WMI
classes.<BR> // First specify the resource name which contain the
binary mof resource.<BR></DIV></FONT>
<DIV><FONT size=2 face=Arial></FONT> </DIV></BLOCKQUOTE></BODY></HTML>