Thread (42 messages) 42 messages, 7 authors, 2016-03-16

[PATCH V2 2/3] scsi: fix compiler warning for sg

From: Timur Tabi <hidden>
Date: 2015-11-10 04:53:23
Also in: linux-arm-msm, linux-scsi, lkml

Sinan Kaya wrote:
The code says it is using these macros for small integers only which
can't overflow. I was trying to get rid of compiler warning and it seems
to have disappeared.
I would double-check the assembly code, if I were you.  I don't like it 
when warnings just go away like that.

Besides, we *should* be using do_div() for 64-bit division.

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, hosted by The Linux Foundation.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help