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

Seth Forshee seth.forshee at canonical.com
Tue Feb 28 14:45:36 UTC 2017


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




More information about the kernel-team mailing list