Re: [PATCH] iplink_can: add missing `]' of the bitrate, dbitrate and termination arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Vincent,

thanks for taking care, and finding the other missing closing ']'!

On 10.10.2022 19:50:41, Vincent Mailhol wrote:
> The command "ip --details link show canX" misses the closing bracket
> `]' of the bitrate, the dbitrate and the termination arrays. The JSON
> output is not impacted.
> 
> Change the first argument of close_json_array() from PRINT_JSON to
> PRINT_ANY to fix the problem. The second argument is already set
> correctly.
> 
> Fixes: 67f3c7a5cc0d ("iplink_can: use PRINT_ANY to factorize code and fix signedness")
> Reported-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> via vger.kernel.org>
                                                      ^^^^^^^^^^^^^^^^^^^^
Copy/Paste mistake? Please remove :)

> Signed-off-by: Vincent Mailhol <mailhol.vincent@xxxxxxxxxx>

Acked-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux