summaryrefslogtreecommitdiff
path: root/include/linux/dma-iommu.h
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-02-07 02:36:17 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-02-07 13:15:02 +0300
commitb52f451105020677cad61a13b3b67af3fdedb91f (patch)
tree472e39c7427a8e3dd1d29232b06c92140d0227da /include/linux/dma-iommu.h
parent1a9a126b5098160ca934a352617e9e65dbfa679d (diff)
downloadlinux-b52f451105020677cad61a13b3b67af3fdedb91f.tar.xz
ACPI / CPPC: Use 64-bit arithmetic instead of 32-bit
Add suffix ULL to constant 500 in order to give the compiler complete information about the proper arithmetic to use. Notice that this constant is used in a context that expects an expression of type u64 (64 bits, unsigned). The expression NUM_RETRIES * cppc_ss->latency at line 578, which at preprocessing time translates to 500 * cppc_ss->latency is currently being evaluated using 32-bit arithmetic. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/dma-iommu.h')
0 files changed, 0 insertions, 0 deletions