mmc-utils: Completion of error handling
Hello,
I have taken also another look at implementation details. Thus I have noticed that the error detection is incomplete so far.
How do you think about to add more error handling for return values from functions like printf() (for example)?
https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/tree/mmc.c?h=v1.0#n515
Regards,
Markus
Markus hi,
Quoted 3 lines
Hello,
I have taken also another look at implementation details.
Also? I am lacking some context here.
Quoted 6 lines
Thus I have noticed that the error detection is incomplete so far.
How do you think about to add more error handling for return values from functions like
printf()(for example)?
https://git.kernel.org/pub/scm/utils/mmc/mmc-
utils.git/tree/mmc.c?h=v1.0#n515
You are most welcome to send your patches over. We can discuss your ideas over the code.
Thanks,
Avri
Quoted 3 lines
Regards,
Markus
Quoted 2 lines
Quoted 1 line
I have taken also another look at implementation details.
Also? I am lacking some context here.
I am just another code reviewer here.
Quoted 1 line
Quoted 1 line
Thus I have noticed that the error detection is incomplete so far.
Various source code analysis tools can point remaining open issues out.
Quoted 5 lines
Quoted 4 lines
How do you think about to add more error handling for return values from functions like
printf()(for example)?
https://git.kernel.org/pub/scm/utils/mmc/mmc-
utils.git/tree/mmc.c?h=v1.0#n515You are most welcome to send your patches over.
Several software design options can be clarified accordingly.
Quoted 1 line
We can discuss your ideas over the code.
How will chances evolve to benefit any more also from the means of aspect-oriented software development?
https://en.wikipedia.org/wiki/Aspect-oriented_programming
Regards,
Markus