[From nobody Fri Sep 5 12:00:16 2014 From: scanbot <reviewboard@gallagherhome.com> Precedence: list MIME-Version: 1.0 To: "Peter Schiffer" <pschiffe@redhat.com>, "scanbot" <jsafrane@redhat.com>, "OpenLMI Developers" <openlmi-reviews@lists.fedorahosted.org> References: <20140904174859.248075.21377@ex-std-node115.prod.rhcloud.com> In-Reply-To: <20140904174859.248075.21377@ex-std-node115.prod.rhcloud.com> Date: Thu, 04 Sep 2014 18:10:51 -0000 Reply-To: scanbot <jsafrane@redhat.com>, openlmi-reviews@lists.fedorahosted.org Message-ID: <20140904181051.248074.4838@ex-std-node115.prod.rhcloud.com> Content-Type: multipart/alternative; boundary="===============6872974275144979654==" Subject: Re: Review Request 2007: hardware: added IPMI IP info to the LMI_Chassis Message: 21 --===============6872974275144979654== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/2007/#review3321 ----------------------------------------------------------- Autoscan finished with errors: Error: CLANG_WARNING: openlmi-providers-0.4.1_460_g72e3463/src/hardware/dmidecode.c:347:30: warning: Call to 'calloc' has an allocation size of 0 bytes # (char **)calloc((*cpus)[curr_cpu].charact_nb, sizeof(char *)); # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: CLANG_WARNING: openlmi-providers-0.4.1_460_g72e3463/src/hardware/dmidecode.c:991:38: warning: Call to 'calloc' has an allocation size of 0 bytes # memory->slots = (DmiMemorySlot *)calloc(memory->slots_nb, sizeof(DmiMemorySlot)); # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: CLANG_WARNING: openlmi-providers-0.4.1_460_g72e3463/src/hardware/dmidecode.c:1063:48: warning: The right operand of '-' is a garbage value # memory->available_size += end_addr - start_addr; # ^ ~~~~~~~~~~ Scanned reviews: 2007 - scanbot On Sept. 4, 2014, 5:48 p.m., Peter Schiffer wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://reviewboard-openlmi.rhcloud.com/r/2007/ > ----------------------------------------------------------- > > (Updated Sept. 4, 2014, 5:48 p.m.) > > > Review request for OpenLMI Developers. > > > Repository: openlmi-providers > > > Description > ------- > > hardware: added IPMI IP info to the LMI_Chassis > > > Diffs > ----- > > mof/60_LMI_Hardware.mof 977ddad90cd1e355166dc68b63b07b73ec858797 > src/hardware/CMakeLists.txt 92a9ea6fc1a1c3fde8c2a5465c54a5f1abffa17c > src/hardware/LMI_ChassisProvider.c 66d793a08a77804c466fd4622d490d5a2c715a7e > src/hardware/ipmi.h PRE-CREATION > src/hardware/ipmi.c PRE-CREATION > > Diff: http://reviewboard-openlmi.rhcloud.com/r/2007/diff/ > > > Testing > ------- > > > Thanks, > > Peter Schiffer > > --===============6872974275144979654== MIME-Version: 1.0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit <html> <body> <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;"> <table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border: 1px #c9c399 solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;"> <tr> <td> This is an automatically generated e-mail. To reply, visit: <a href="http://reviewboard-openlmi.rhcloud.com/r/2007/">http://reviewboard-openlmi.rhcloud.com/r/2007/</a> </td> </tr> </table> <br /> <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Autoscan finished with errors: Error: CLANG_WARNING: openlmi-providers-0.4.1_460_g72e3463/src/hardware/dmidecode.c:347:30: warning: Call to &#39;calloc&#39; has an allocation size of 0 bytes # (char **)calloc((*cpus)[curr_cpu].charact_nb, sizeof(char *)); # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: CLANG_WARNING: openlmi-providers-0.4.1_460_g72e3463/src/hardware/dmidecode.c:991:38: warning: Call to &#39;calloc&#39; has an allocation size of 0 bytes # memory-&gt;slots = (DmiMemorySlot *)calloc(memory-&gt;slots_nb, sizeof(DmiMemorySlot)); # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: CLANG_WARNING: openlmi-providers-0.4.1_460_g72e3463/src/hardware/dmidecode.c:1063:48: warning: The right operand of &#39;-&#39; is a garbage value # memory-&gt;available_size += end_addr - start_addr; # ^ ~~~~~~~~~~ Scanned reviews: 2007</pre> <br /> <p>- scanbot</p> <br /> <p>On September 4th, 2014, 5:48 p.m. UTC, Peter Schiffer wrote:</p> <table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: 1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;"> <tr> <td> <div>Review request for OpenLMI Developers.</div> <div>By Peter Schiffer.</div> <p style="color: grey;"><i>Updated Sept. 4, 2014, 5:48 p.m.</i></p> <div style="margin-top: 1.5em;"> <b style="color: #575012; font-size: 10pt;">Repository: </b> openlmi-providers </div> <h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1> <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0"> <tr> <td> <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">hardware: added IPMI IP info to the LMI_Chassis</pre> </td> </tr> </table> <h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1> <ul style="margin-left: 3em; padding-left: 0;"> <li>mof/60_LMI_Hardware.mof <span style="color: grey">(977ddad90cd1e355166dc68b63b07b73ec858797)</span></li> <li>src/hardware/CMakeLists.txt <span style="color: grey">(92a9ea6fc1a1c3fde8c2a5465c54a5f1abffa17c)</span></li> <li>src/hardware/LMI_ChassisProvider.c <span style="color: grey">(66d793a08a77804c466fd4622d490d5a2c715a7e)</span></li> <li>src/hardware/ipmi.h <span style="color: grey">(PRE-CREATION)</span></li> <li>src/hardware/ipmi.c <span style="color: grey">(PRE-CREATION)</span></li> </ul> <p><a href="http://reviewboard-openlmi.rhcloud.com/r/2007/diff/" style="margin-left: 3em;">View Diff</a></p> </td> </tr> </table> </div> </body> </html> --===============6872974275144979654==-- ]