Thread (2 messages) flat view 2 messages, 2 authors, 8d ago

Re: [PATCH iproute2 v3] add print_hexstring helper

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-07-27 18:30:40

Hello:

This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger [off-list ref]:

On Sun, 26 Jul 2026 08:50:04 -0700 you wrote:
hexstring_n2a() writes into a caller-supplied buffer and silently
truncates when it is too small: the loop stops once fewer than three
bytes remain and returns the partial string. Callers using a fixed
SPRINT_BUF therefore drop trailing bytes for keys wider than 31 bytes.

Add a new function print_hexstring() that formats and prints a binary
attribute in one call.

[...]
Here is the summary with links:
  - [iproute2,v3] add print_hexstring helper
    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=5696fee4c69f

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

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