Re: [Xen-devel] Followup corrections to kexec STATUS patch v3

2017-01-18 Thread Daniel Kiper
On Wed, Jan 18, 2017 at 12:01:06PM -0600, Eric DeVolder wrote: > This contains the two corrections pointed out by Jan Beulich > for the kexec STATUS call just introduced. > > Note: In kexec_status(), the use of test_bit() can also return > EPERM, so the return value from test_bit() must be checked

[Xen-devel] Followup corrections to kexec STATUS patch v3

2017-01-18 Thread Eric DeVolder
This contains the two corrections pointed out by Jan Beulich for the kexec STATUS call just introduced. Note: In kexec_status(), the use of test_bit() can also return EPERM, so the return value from test_bit() must be checked to ensure that kexec_status() always returns 0, 1 or -1, per the public