]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IB] mthca: fix format of FW version
authorRoland Dreier <rolandd@cisco.com>
Thu, 3 Nov 2005 06:59:37 +0000 (22:59 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 3 Nov 2005 06:59:37 +0000 (22:59 -0800)
commit87cfe32375e0b69b999b59bf8287f501df3e43f7
tree2cbc1b1e7bb230afcf4903b6527e3238f689de89
parent8ae5a8a24f7fe797027d481f88c1464b0e47eede
[IB] mthca: fix format of FW version

Mellanox has decided that the components of the firmware version are
really meant to be displayed in decimal, e.g. 0x000400070190 is
version 4.7.400.  Change the format we use from "%x.%x.%x" to
"%d.%d.%d" to match this convention.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_main.c
drivers/infiniband/hw/mthca/mthca_provider.c