lkml.org 
[lkml]   [2019]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] lightnvm: prevent memory leak in nvm_bb_chunk_sense
    From
    Date
    > 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

    \
     
     \ /
      Last update: 2019-09-30 09:17    [W:3.135 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site