From: PanBian
On Mon, Dec 05, 2016 at 07:30:49AM +0100, Juergen Gross wrote:
> On 03/12/16 11:49, Pan Bian wrote:
> > In function xenstored_local_init(), the value of return variable err
> > should be negative on errors. But the value of err keeps 0 even if the
> > call to get_zeroed_page() retu
On 03/12/16 11:49, Pan Bian wrote:
> In function xenstored_local_init(), the value of return variable err
> should be negative on errors. But the value of err keeps 0 even if the
> call to get_zeroed_page() returns a NULL pointer. This patch assigns
> "-ENOMEM" to err on the error branch.
>
> Bu
In function xenstored_local_init(), the value of return variable err
should be negative on errors. But the value of err keeps 0 even if the
call to get_zeroed_page() returns a NULL pointer. This patch assigns
"-ENOMEM" to err on the error branch.
Bugzilla: https://bugzilla.kernel.org/show_bug.cg