IB/hfi1: remove h from printk format specifier
Subsystems (2)
PATCH 1/1 IB/hfi1: remove h from printk format specifier
From: Tom Rix <[email protected]>
See Documentation/core-api/printk-formats.rst.
h should no longer be used in the format specifier for printk.
Signed-off-by Tom Rix <[email protected]>
--- drivers/infiniband/hw/hfi1/sdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/hfi1/sdma.c +1 -1
@@ -1740,7 +1740,7 @@ static inline u16 sdma_gethead(struct sdma_engine *sde) sane = (hwhead == swhead);if (unlikely (!sane)) { -dd_dev_err (dd,"SDMA(%u) bad head (%s) hwhd=%hu swhd=%hu swtl=%hu cnt=%hu\n" , +dd_dev_err (dd,"SDMA(%u) bad head (%s) hwhd=%u swhd=%u swtl=%u cnt=%u\n" , sde->this_idx, use_dmahead ?"dma" :"kreg" , hwhead, swhead, swtail, cnt);
Signature · 1 line
2.27.0
Quoted 10 lines · On 12/15/2020 1:35 PM, [email protected] wrote:
From: Tom Rix <[email protected]>
See
Documentation/core-api/printk-formats.rst.
h should no longer be used in the format specifier for printk.Signed-off-by Tom Rix <[email protected]>--- drivers/infiniband/hw/hfi1/sdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Looks ok!
Mike
Acked-by Mike Marciniszyn <[email protected]>
Quoted 10 lines · On Tue, Dec 15, 2020 at 10:35:09AM -0800, [email protected] wrote:
From: Tom Rix <[email protected]>
See
Documentation/core-api/printk-formats.rst.
h should no longer be used in the format specifier for printk.Signed-off-by Tom Rix <[email protected]>Acked-by Mike Marciniszyn <[email protected]>--- drivers/infiniband/hw/hfi1/sdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to for-next, thanks
Jason