Re: [PATCH v2] staging: qlge: emit debug and dump at same level

2020-02-22 Thread Joe Perches
On Sun, 2020-02-23 at 03:21 +0530, Kaaira Gupta wrote: > Write a macro QLGE_DUMP_DBG having a function print_hex_dump so that > the debug and dump are emitted at the same KERN_ and code becomes > simpler. Write a macro instead of calling the function directly in > ql_mpi_core_to_log() to go

[PATCH v2] staging: qlge: emit debug and dump at same level

2020-02-22 Thread Kaaira Gupta
Write a macro QLGE_DUMP_DBG having a function print_hex_dump so that the debug and dump are emitted at the same KERN_ and code becomes simpler. Write a macro instead of calling the function directly in ql_mpi_core_to_log() to go according to the coding practices followed in other drivers such as