Re: [PATCH v2 4/4] staging: android: Add error handling to order_to_index callers

From: Greg Kroah-Hartman
Date: Tue Aug 18 2020 - 10:11:48 EST


On Sun, Aug 16, 2020 at 10:31:22PM +0300, Tomer Samara wrote:
> Add error check to:
> - free_buffer_page
> - alloc_buffer_page
> after calling order_to_index, due to converting BUG to WARN at
> order_to_index.

You are fixing a bug you caused in a previous patch, not good :)

thanks,

greg k-h