Sudip Mukherjee sudipm.mukherjee at
Fri Jul 17 04:11:16 EDT 2015

On Fri, Jul 17, 2015 at 1:25 PM, Navy <navych at> wrote:
> Hello,
> Goto is recommend in linux kernel programming, but it is despised in many other situation. There are four rationable for using goto in Documentation/CodingStyle. Do you have some viewpoints about "why goto" or "why
not goto"? I'm glad to get your point.
Check the file  drivers/staging/dgap/dgap.c there is a function
called dgap_init_one() which is using 6 goto statements. Please
try to convert that file without using goto and i hope you will understand
practically why goto.


More information about the Kernelnewbies mailing list