Thread (2 messages) 2 messages, 2 authors, 2014-07-02

Re: [PATCH 1/3] iommu/fsl: Fix PAMU window size check.

flat view

From: Emil Medve <hidden>
Date: 2014-07-02 07:56:40
Also in: linux-iommu, lkml

On 06/24/2014 08:57 AM, Varun Sethi wrote:
is_power_of_2 requires an unsigned long parameter which would
lead to truncation of 64 bit values on 32 bit architectures.

__ffs also expects an unsigned long parameter thus won't work
for 64 bit values on 32 bit architectures.

Signed-off-by: Varun Sethi <redacted>
---
 drivers/iommu/fsl_pamu.c        |    8 ++++----
 drivers/iommu/fsl_pamu_domain.c |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
Tested-by: Emil Medve <redacted>

On a P4080 DS (i.e. 32-bit SoC)


Cheers,
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help