It fixes the following issue reported by checkpatch.pl: Prefer kernel type 'u32' over 'uint32_t'
Signed-off-by: Franck Demathieu fdemathieu@gmail.com --- drivers/staging/greybus/sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/greybus/sdio.c b/drivers/staging/greybus/sdio.c index 66b37ea..101ca50 100644 --- a/drivers/staging/greybus/sdio.c +++ b/drivers/staging/greybus/sdio.c @@ -52,7 +52,7 @@ struct gb_sdio_host {
static inline bool single_op(struct mmc_command *cmd) { - uint32_t opcode = cmd->opcode; + u32 opcode = cmd->opcode;
return opcode == MMC_WRITE_BLOCK || opcode == MMC_READ_SINGLE_BLOCK;
Hi, On Wed, Jan 25, 2017 at 06:38:01PM +0100, Franck Demathieu wrote:
It fixes the following issue reported by checkpatch.pl: Prefer kernel type 'u32' over 'uint32_t'
Signed-off-by: Franck Demathieu fdemathieu@gmail.com
Acked-by: Rui Miguel Silva rmfrfs@gmail.com
Cheers, Rui
drivers/staging/greybus/sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/greybus/sdio.c b/drivers/staging/greybus/sdio.c index 66b37ea..101ca50 100644 --- a/drivers/staging/greybus/sdio.c +++ b/drivers/staging/greybus/sdio.c @@ -52,7 +52,7 @@ struct gb_sdio_host {
static inline bool single_op(struct mmc_command *cmd) {
- uint32_t opcode = cmd->opcode;
u32 opcode = cmd->opcode;
return opcode == MMC_WRITE_BLOCK || opcode == MMC_READ_SINGLE_BLOCK;
-- 2.10.1
devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
On 25-01-17, 18:38, Franck Demathieu wrote:
It fixes the following issue reported by checkpatch.pl: Prefer kernel type 'u32' over 'uint32_t'
Signed-off-by: Franck Demathieu fdemathieu@gmail.com
drivers/staging/greybus/sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Viresh Kumar viresh.kumar@linaro.org