Re: [PATCH] lightnvm: prevent memory leak in nvm_bb_chunk_sense

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> To fix this issue I moved the __free_page call before error check.

Would the wording “Move the __free_page() call before the error check.”
be more succinct for the change description?

Can the following code variant be applied at the end of this function?

 	return ret ? ret : rqd.error;

Regards,
Markus




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux