Skip to contentSkip to conversation

mmc-utils: Completion of error handling

DISCUSSION Markus Elfring 2 participants 3 messages Jun 25, 2025 – Jun 26, 2025 MMC, SD and SDIO

lore
Share & tools
lore
#1 lore raw

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

#2 lore raw
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#n515

You 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