File iekanalyzer_warning.patch of Package ipmiutil

#   
# This fixes a compiler warning, and a lint error.
#  
# Signed-off-by: Andy Cress <arcress@users.sourceforge.net>  
#   
# Index: ipmiutil-2.7.2/util/iekanalyzer.c  
# =================================================================== 
--- a/ipmiutil-2.7.2/util/iekanalyzer.c
+++ b/ipmiutil-2.7.2/util/iekanalyzer.c
@@ -2661,7 +2661,7 @@ ipmi_ek_display_board_info_area( FILE * input_file, char * board_type,
       if (size_board > 0){
          if ( strncmp( board_type, "Custom", 6 ) == 0 ){
             #define NO_MORE_INFO_FIELD         0xc1
-            while ( !feof(input_file) && (board_length > 0) ){
+            while ( !feof(input_file) && (*board_length > 0) ){
                if (len != NO_MORE_INFO_FIELD){
                   printf("Additional Custom Mfg. length: 0x%02x\n", len);
                   if ( (size_board > 0) && (size_board < (*board_length)) ){
@@ -3057,9 +3057,10 @@ ipmi_ek_display_address_table_record( struct ipmi_ek_multi_header * record )
 
    for ( i = 0; i < entries; i++ ){
       printf("\tHWAddr: 0x%02x  - SiteNum: 0x%02x - SiteType: 0x%02x \n",
-               record->data[offset++],
-               record->data[offset++],
-               record->data[offset++]);
+               record->data[offset+0],
+               record->data[offset+1],
+               record->data[offset+2]);
+	offset += 3;
    }
 }
 
@@ -3180,21 +3181,21 @@ ipmi_ek_display_shelf_ip_connection_record(
    int offset = START_DATA_OFFSET;
    if (offset > record->header.len){
       printf("   Shelf Manager IP Address: %d.%d.%d.%d\n",
-            record->data[offset++], record->data[offset++],
-            record->data[offset++], record->data[offset++]
-         );
+            record->data[offset+0], record->data[offset+1],
+            record->data[offset+2], record->data[offset+3]);
+      offset += 4;
    }
    if (offset > record->header.len){
       printf("   Default Gateway Address: %d.%d.%d.%d\n",
-            record->data[offset++], record->data[offset++],
-            record->data[offset++], record->data[offset++]
-         );
+            record->data[offset+0], record->data[offset+1],
+            record->data[offset+2], record->data[offset+3]);
+      offset += 4;
    }
    if (offset > record->header.len){
-      printf("   Subnet Mask: %d.%d.%d.%d\n", record->data[offset++],
-            record->data[offset++], record->data[offset++],
-            record->data[offset++]
-         );
+      printf("   Subnet Mask: %d.%d.%d.%d\n", 
+            record->data[offset+0], record->data[offset+1],
+            record->data[offset+2], record->data[offset+3]);
+      offset += 4;
    }
 }