Re: [PATCH 2/7] docs: irq-affinity: Restore grep in example
From: Randy Dunlap
Date: Sat Aug 22 2026 - 13:26:14 EST
On 8/22/26 5:16 AM, Karl Mehltretter wrote:
> The command is missing grep between the pipe and its pattern.
>
> Fixes: 18404756765c ("genirq: Expose default irq affinity mask (take 3)")
> Assisted-by: Codex:gpt-5.6-sol
> Signed-off-by: Karl Mehltretter <kmehltretter@xxxxxxxxx>
Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Thanks.
> ---
> Documentation/core-api/irq/irq-affinity.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/core-api/irq/irq-affinity.rst b/Documentation/core-api/irq/irq-affinity.rst
> index 9cb460cf60b61..671604c7395fe 100644
> --- a/Documentation/core-api/irq/irq-affinity.rst
> +++ b/Documentation/core-api/irq/irq-affinity.rst
> @@ -53,7 +53,7 @@ Now lets restrict that IRQ to CPU(4-7).
> --- hell ping statistics ---
> 2779 packets transmitted, 2777 packets received, 0% packet loss
> round-trip min/avg/max = 0.1/0.5/585.4 ms
> - [root@moon 44]# cat /proc/interrupts | 'CPU\|44:'
> + [root@moon 44]# cat /proc/interrupts | grep 'CPU\|44:'
> CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7
> 44: 1068 1785 1785 1783 1784 1069 1070 1069 IO-APIC-level eth1
>
--
~Randy