linux-sg2042/drivers/infiniband/hw
Roland Dreier e4daf73868 IB/mthca: Fix printk format used for firmware version in warning
When warning about out-of-date firmware, current mthca code messes up
the formatting of the version if the subminor doesn't have three
digits.  It doesn't fill the field with 0s so we end up with:

    ib_mthca 0000:0b:00.0: HCA FW version 1.1.  0 is old (1.2.  0 is current).

Change the format from "%3d" to "%03d" to get the right thing printed.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-07-17 18:37:42 -07:00
..
amso1100 IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
cxgb3 RDMA/cxgb3: Remove cm_id reference on listen failures 2007-07-17 18:37:38 -07:00
ehca IB/ehca: Fix warnings issued by checkpatch.pl 2007-07-17 18:37:40 -07:00
ipath Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2007-07-12 16:45:40 -07:00
mlx4 IB/mlx4: Take sizeof the correct pointer in call to memset() 2007-07-17 18:37:38 -07:00
mthca IB/mthca: Fix printk format used for firmware version in warning 2007-07-17 18:37:42 -07:00