[PATCH] staging: doc: fix goto label name in coding style example

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

 



The label name in the goto statement is not consistent with the
label present in the code. Fix the label name in the statement
to match whats in the code.

Signed-off-by: Jai Krishna <rjk1024@xxxxxxxxx>
---
 Documentation/CodingStyle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle
index 9c61c03..b4573d2 100644
--- a/Documentation/CodingStyle
+++ b/Documentation/CodingStyle
@@ -475,7 +475,7 @@ The rationale for using gotos is:
 				...
 			}
 			result = 1;
-			goto out_buffer;
+			goto out_free_buffer;
 		}
 		...
 	out_free_buffer:
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux