[PATCH 1/1] Print hexdumps with offset instead of address

Eugene Krasnikov k.eugene.e at gmail.com
Tue Jun 25 11:12:20 EDT 2013


Looks go to me.

2013/6/25 Mikael Kanstrup <mikael.kanstrup at gmail.com>:
> Print hexdumps with offset instead of address. This change is
> done to be able to use the wcn36xx-dissector wireshark plugin
> available here:
> https://github.com/kanstrup/wcn36xx-dissector
> ---
>  wcn36xx.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/wcn36xx.h b/wcn36xx.h
> index a81ef84..76b229c 100644
> --- a/wcn36xx.h
> +++ b/wcn36xx.h
> @@ -71,7 +71,7 @@ enum wcn36xx_debug_mask {
>  #define wcn36xx_dbg_dump(mask, prefix_str, buf, len) do {      \
>         if (debug_mask & mask)                                  \
>                 print_hex_dump(KERN_DEBUG, prefix_str,          \
> -                              DUMP_PREFIX_ADDRESS, 32, 1,      \
> +                              DUMP_PREFIX_OFFSET, 32, 1,       \
>                                buf, len, false);                \
>  } while (0)
>
> --
> 1.8.2.2
>
> _______________________________________________
> wcn36xx mailing list
> wcn36xx at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/wcn36xx



-- 
Best regards,
Eugene



More information about the wcn36xx mailing list