IB/ipath: Fix printk format warnings
ipath_driver.c:1260: warning: format '%Lx' expects type 'long long unsigned int', but argument 6 has type 'long unsigned int' ipath_driver.c:1459: warning: format '%Lx' expects type 'long long unsigned int', but argument 4 has type 'u64' ipath_intr.c:358: warning: format '%Lx' expects type 'long long unsigned int', but argument 3 has type 'u64' ipath_intr.c:358: warning: format '%Lu' expects type 'long long unsigned int', but argument 6 has type 'u64' ipath_intr.c:1119: warning: format '%Lx' expects type 'long long unsigned int', but argument 5 has type 'u64' ipath_intr.c:1119: warning: format '%Lx' expects type 'long long unsigned int', but argument 3 has type 'u64' ipath_intr.c:1123: warning: format '%Lx' expects type 'long long unsigned int', but argument 3 has type 'u64' ipath_intr.c:1130: warning: format '%Lx' expects type 'long long unsigned int', but argument 4 has type 'u64' ipath_iba7220.c:1032: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'u64' ipath_iba7220.c:1045: warning: format '%llX' expects type 'long long unsigned int', but argument 3 has type 'u64' ipath_iba7220.c:2506: warning: format '%Lu' expects type 'long long unsigned int', but argument 4 has type 'u64' Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Cc: Sean Hefty <sean.hefty@intel.com> Cc: Hal Rosenstock <hal.rosenstock@gmail.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Bu işleme şunda yer alıyor:

işlemeyi yapan:
Roland Dreier

ebeveyn
52fd8ca6ad
işleme
70117b9e86
@@ -356,9 +356,10 @@ static void handle_e_ibstatuschanged(struct ipath_devdata *dd,
|
||||
dd->ipath_cregs->cr_iblinkerrrecovcnt);
|
||||
if (linkrecov != dd->ipath_lastlinkrecov) {
|
||||
ipath_dbg("IB linkrecov up %Lx (%s %s) recov %Lu\n",
|
||||
ibcs, ib_linkstate(dd, ibcs),
|
||||
(unsigned long long) ibcs,
|
||||
ib_linkstate(dd, ibcs),
|
||||
ipath_ibcstatus_str[ltstate],
|
||||
linkrecov);
|
||||
(unsigned long long) linkrecov);
|
||||
/* and no more until active again */
|
||||
dd->ipath_lastlinkrecov = 0;
|
||||
ipath_set_linkstate(dd, IPATH_IB_LINKDOWN);
|
||||
@@ -1118,9 +1119,11 @@ irqreturn_t ipath_intr(int irq, void *data)
|
||||
if (unlikely(istat & ~dd->ipath_i_bitsextant))
|
||||
ipath_dev_err(dd,
|
||||
"interrupt with unknown interrupts %Lx set\n",
|
||||
(unsigned long long)
|
||||
istat & ~dd->ipath_i_bitsextant);
|
||||
else if (istat & ~INFINIPATH_I_ERROR) /* errors do own printing */
|
||||
ipath_cdbg(VERBOSE, "intr stat=0x%Lx\n", istat);
|
||||
ipath_cdbg(VERBOSE, "intr stat=0x%Lx\n",
|
||||
(unsigned long long) istat);
|
||||
|
||||
if (istat & INFINIPATH_I_ERROR) {
|
||||
ipath_stats.sps_errints++;
|
||||
@@ -1128,7 +1131,8 @@ irqreturn_t ipath_intr(int irq, void *data)
|
||||
dd->ipath_kregs->kr_errorstatus);
|
||||
if (!estat)
|
||||
dev_info(&dd->pcidev->dev, "error interrupt (%Lx), "
|
||||
"but no error bits set!\n", istat);
|
||||
"but no error bits set!\n",
|
||||
(unsigned long long) istat);
|
||||
else if (estat == -1LL)
|
||||
/*
|
||||
* should we try clearing all, or hope next read
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle