The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] docs: infiniband: fix bracket
@ 2026-06-27  9:31 Manuel Ebner
  2026-06-27 18:04 ` Randy Dunlap
  2026-07-02 17:23 ` Jason Gunthorpe
  0 siblings, 2 replies; 3+ messages in thread
From: Manuel Ebner @ 2026-06-27  9:31 UTC (permalink / raw)
  To: Jason Gunthorpe, Leon Romanovsky, Jonathan Corbet, Shuah Khan,
	open list:INFINIBAND SUBSYSTEM, open list:DOCUMENTATION,
	open list
  Cc: Manuel Ebner

Remove needless ')'.

Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
---
 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);
-- 
2.54.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-07-02 17:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-27  9:31 [PATCH] docs: infiniband: fix bracket Manuel Ebner
2026-06-27 18:04 ` Randy Dunlap
2026-07-02 17:23 ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox