Re: [PATCH v1 1/1] ray_cs: use %*ph to print small buffer

2 messages, 2 authors, 2021-08-22 · open the first message on its own page

Re: [PATCH v1 1/1] ray_cs: use %*ph to print small buffer

From: Kalle Valo <hidden>
Date: 2021-08-22 05:08:56

Joe Perches [off-list ref] writes:
On Sat, 2021-08-21 at 17:14 +0000, Kalle Valo wrote:
quoted
Andy Shevchenko [off-list ref] wrote:
quoted
Use %*ph format to print small buffer as hex string.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Patch applied to wireless-drivers-next.git, thanks.

502213fd8fca ray_cs: use %*ph to print small buffer
There's one more of these in the same file but it's in an #ifdef 0 block...
I would rather remove the whole ifdef 0 block, patches welcome.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

Re: [PATCH v1 1/1] ray_cs: use %*ph to print small buffer

From: Joe Perches <joe@perches.com>
Date: 2021-08-22 07:14:59

On Sun, 2021-08-22 at 08:08 +0300, Kalle Valo wrote:
Joe Perches [off-list ref] writes:
quoted
On Sat, 2021-08-21 at 17:14 +0000, Kalle Valo wrote:
quoted
Andy Shevchenko [off-list ref] wrote:
quoted
Use %*ph format to print small buffer as hex string.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Patch applied to wireless-drivers-next.git, thanks.

502213fd8fca ray_cs: use %*ph to print small buffer
There's one more of these in the same file but it's in an #ifdef 0 block...
I would rather remove the whole ifdef 0 block, patches welcome.
It'd probably take you about 20 seconds if you do it yourself.

$ git grep -P -n '^\s*#\s*if\s+0\b' drivers/net/wireless/ray_cs.c
drivers/net/wireless/ray_cs.c:637:#if 0
drivers/net/wireless/ray_cs.c:2281:#if 0
drivers/net/wireless/ray_cs.c:2341:#if 0

Rather a bit more time if you want to do the whole kernel...

$ git grep -P -n '^\s*#\s*if\s+0\b' | wc -l
1558


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help