EmbLogic's Blog

SCULLPIPE

hello sir,

I wanted to ask that how can we use Lables for calling a predefined kernel function from another function.

For .eg..

ssize_t scull_write()

{

write: xyz;

}

ssize scull_read()

{

goto write;

}

this calling of the write function is not working.

Could you please tell me that how can i get back to the write func from read func without calling it externally.

Thank you

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>