docs: infiniband: fix bracket
Subsystems (2)
PATCH 1/1 docs: infiniband: fix bracket
Remove needless ')'.
Signed-off-by Manuel Ebner <[email protected]>
--- Documentation/infiniband/user_mad.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/infiniband/user_mad.rst +1 -1
@@ -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);
Signature · 1 line
2.54.0
Quoted 3 lines · Manuel Ebner
Remove needless ')'.
Signed-off-by Manuel Ebner <[email protected]>
Acked-by Randy Dunlap <[email protected]>
Thanks.
Quoted 17 lines
--- Documentation/infiniband/user_mad.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/infiniband/user_mad.rst +1
-1@@ -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);
Signature · 1 line
~Randy
Quoted 7 lines · Manuel Ebner
Remove needless ')'.
Signed-off-by Manuel Ebner <[email protected]>Acked-by Randy Dunlap <[email protected]>--- Documentation/infiniband/user_mad.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to for-next thanks
Jason