Re: [PATCH] Check whether divisor is non-zero before division

From: Oliver Neukum
Date: Thu May 23 2024 - 05:15:43 EST




On 23.05.24 11:12, shichao lai wrote:

Thanks for the helpful tip!
I reviewed the code. Your suggestions can actually avoid repeated checks.
And there is also such a problem in alauda_write_lba().
I am a beginner at making patches. May I commit a patch again which
fixes both issues you mentioned?


Hi,

yes, you usually are supposed to change the "[PATCH]" in the
subject line to "[PATCHv2]" and add a line in the log describing
the difference between the first and second version.

HTH
Oliver