From: Nicholas Mc Guire <hidden> Date: 2016-07-24 16:29:27
wait_for_completion_timeout_interruptible returns long not unsigned long
so dma_time, which is used exclusively here, is changed to long.
Fixes: 1b66e94e6b99 ("mmc: moxart: Add MOXA ART SD/MMC driver")
Signed-off-by: Nicholas Mc Guire <redacted>
---
API non-compliance was located by coccinelle
This is mostly cosmetic since dma_time is not actually used for anything
at present, however if it ever were, then a signal received would be
interpreted as a large remaining jiffies left, which would be wrong.
Compile tested with: moxart_defconfig + ARCH_MULTI_V4=y,
CONFIG_ARCH_MOXART=y, CONFIG_MMC_MOXART=y
Patch is against 4.7.0-rc7 (localversion-next -next-20160724)
drivers/mmc/host/moxart-mmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
On 24 July 2016 at 18:32, Nicholas Mc Guire [off-list ref] wrote:
quoted hunk
wait_for_completion_timeout_interruptible returns long not unsigned long
so dma_time, which is used exclusively here, is changed to long.
Fixes: 1b66e94e6b99 ("mmc: moxart: Add MOXA ART SD/MMC driver")
Signed-off-by: Nicholas Mc Guire <redacted>
---
API non-compliance was located by coccinelle
This is mostly cosmetic since dma_time is not actually used for anything
at present, however if it ever were, then a signal received would be
interpreted as a large remaining jiffies left, which would be wrong.
Compile tested with: moxart_defconfig + ARCH_MULTI_V4=y,
CONFIG_ARCH_MOXART=y, CONFIG_MMC_MOXART=y
Patch is against 4.7.0-rc7 (localversion-next -next-20160724)
drivers/mmc/host/moxart-mmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From: Nicholas Mc Guire <hidden> Date: 2016-07-25 13:21:17
On Mon, Jul 25, 2016 at 10:29:46AM +0200, Ulf Hansson wrote:
On 24 July 2016 at 18:32, Nicholas Mc Guire [off-list ref] wrote:
quoted
wait_for_completion_timeout_interruptible returns long not unsigned long
so dma_time, which is used exclusively here, is changed to long.
Fixes: 1b66e94e6b99 ("mmc: moxart: Add MOXA ART SD/MMC driver")
Signed-off-by: Nicholas Mc Guire <redacted>
---
API non-compliance was located by coccinelle
This is mostly cosmetic since dma_time is not actually used for anything
at present, however if it ever were, then a signal received would be
interpreted as a large remaining jiffies left, which would be wrong.
Compile tested with: moxart_defconfig + ARCH_MULTI_V4=y,
CONFIG_ARCH_MOXART=y, CONFIG_MMC_MOXART=y
Patch is against 4.7.0-rc7 (localversion-next -next-20160724)
drivers/mmc/host/moxart-mmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)