mmc: core: Fix tracepoint print of blk_addr and blksz
diff mbox

Message ID 1521105748-6822-1-git-send-email-adrian.hunter@intel.com
State New
Headers show

Commit Message

Adrian Hunter March 15, 2018, 9:22 a.m. UTC
Swap the positions of blk_addr and blksz in the tracepoint print arguments
so that they match the print format.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: d2f82254e4e8 ("mmc: core: Add members to mmc_request and mmc_data for CQE's")
---
 include/trace/events/mmc.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Ulf Hansson March 15, 2018, 10:24 a.m. UTC | #1
On 15 March 2018 at 10:22, Adrian Hunter <adrian.hunter@intel.com> wrote:
> Swap the positions of blk_addr and blksz in the tracepoint print arguments
> so that they match the print format.
>
> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
> Fixes: d2f82254e4e8 ("mmc: core: Add members to mmc_request and mmc_data for CQE's")

Thanks, applied for fixes and by adding a stable tag.

Kind regards
Uffe

> ---
>  include/trace/events/mmc.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/trace/events/mmc.h b/include/trace/events/mmc.h
> index 200f731be557..7b706ff21335 100644
> --- a/include/trace/events/mmc.h
> +++ b/include/trace/events/mmc.h
> @@ -86,8 +86,8 @@
>                   __entry->stop_flags, __entry->stop_retries,
>                   __entry->sbc_opcode, __entry->sbc_arg,
>                   __entry->sbc_flags, __entry->sbc_retries,
> -                 __entry->blocks, __entry->blk_addr,
> -                 __entry->blksz, __entry->data_flags, __entry->tag,
> +                 __entry->blocks, __entry->blksz,
> +                 __entry->blk_addr, __entry->data_flags, __entry->tag,
>                   __entry->can_retune, __entry->doing_retune,
>                   __entry->retune_now, __entry->need_retune,
>                   __entry->hold_retune, __entry->retune_period)
> --
> 1.9.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

diff --git a/include/trace/events/mmc.h b/include/trace/events/mmc.h
index 200f731be557..7b706ff21335 100644
--- a/include/trace/events/mmc.h
+++ b/include/trace/events/mmc.h
@@ -86,8 +86,8 @@ 
 		  __entry->stop_flags, __entry->stop_retries,
 		  __entry->sbc_opcode, __entry->sbc_arg,
 		  __entry->sbc_flags, __entry->sbc_retries,
-		  __entry->blocks, __entry->blk_addr,
-		  __entry->blksz, __entry->data_flags, __entry->tag,
+		  __entry->blocks, __entry->blksz,
+		  __entry->blk_addr, __entry->data_flags, __entry->tag,
 		  __entry->can_retune, __entry->doing_retune,
 		  __entry->retune_now, __entry->need_retune,
 		  __entry->hold_retune, __entry->retune_period)