RE: [PATCH 40/47] IB/qib: Make qib_inc_eeprom_err() macro more safe to use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Subject: [PATCH 40/47] IB/qib: Make qib_inc_eeprom_err() macro more safe
> to use
> 
> Avoid that using the qib_inc_eeprom_err() macro in an if-statement
> triggers the following compiler warning:
> 
> warning: suggest braces around empty body in an 'if' statement [-Wempty-
> body]
> 

There needs to be a follow-on patch here to get rid of the uses of this macro.

The original fix got rid of a bad implementation, but should have totally removed both the function and its use.

The is not the fault of this patch.

Fixes: 18c0b82a3e45  (" IB/qib: Do not write EEPROM")
Acked-by: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>

Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux