ACK/cmnt: [PATCH][X/Y SRU] cxl: Fix coredump generation when cxl_get_fd() is used

Marcelo Cerri marcelo.cerri at canonical.com
Tue Feb 28 17:36:05 UTC 2017


True. Obviously I confused things when comparing both versions.

On Feb 28, 2017 11:45 AM, "Seth Forshee" <seth.forshee at canonical.com> wrote:

On Tue, Feb 28, 2017 at 11:24:55AM -0300, Marcelo Cerri wrote:
> Any reason for the Xenial version to use:
>
>       if (ctx->irq_bitmap)
>               kfree(ctx->irq_bitmap);
>
> Instead of only kfree()?

Obviously using only kfree() is fine since kfree(NULL) is okay. However
that's not really related to the backport - the original patch doesn't
touch those lines, so I didn't change them in the backport.

Seth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20170228/58253752/attachment.html>


More information about the kernel-team mailing list