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]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux