Re: [PATCH] docs: infiniband: fix bracket

From: Randy Dunlap

Date: Sat Jun 27 2026 - 14:04:39 EST




On 6/27/26 2:31 AM, Manuel Ebner wrote:
> Remove needless ')'.
>
> Signed-off-by: Manuel Ebner <manuelebner@xxxxxxxxxxx>

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Thanks.

> ---
> Documentation/infiniband/user_mad.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/infiniband/user_mad.rst b/Documentation/infiniband/user_mad.rst
> index d88abfc0e370..cd66e7623d66 100644
> --- a/Documentation/infiniband/user_mad.rst
> +++ b/Documentation/infiniband/user_mad.rst
> @@ -62,7 +62,7 @@ Receiving MADs
> struct ib_user_mad *mad;
> mad = malloc(sizeof *mad + 256);
> ret = read(fd, mad, sizeof *mad + 256);
> - if (ret == -ENOSPC)) {
> + if (ret == -ENOSPC) {
> length = mad.length;
> free(mad);
> mad = malloc(sizeof *mad + length);

--
~Randy