All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kexec: followup to STATUS patch v3 already in staging
@ 2017-01-18 21:47 Eric DeVolder
  2017-01-18 21:47 ` [PATCH 1/2] Put back blank line for readability purposes Eric DeVolder
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Eric DeVolder @ 2017-01-18 21:47 UTC (permalink / raw)
  To: xen-devel, ian.jackson, wei.liu2
  Cc: elena.ufimtseva, andrew.cooper3, daniel.kiper, konrad.wilk

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 header description.

Note: My handling of the test_bit() scenario is to explicitly
check for return value of 1, so any value other than 1 causes
kexec_status to return 0.


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-01-19 11:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-18 21:47 [PATCH] kexec: followup to STATUS patch v3 already in staging Eric DeVolder
2017-01-18 21:47 ` [PATCH 1/2] Put back blank line for readability purposes Eric DeVolder
2017-01-18 22:17   ` Daniel Kiper
2017-01-18 21:47 ` [PATCH 2/2] kexec: ensure kexec_status() always returns 0 or 1 Eric DeVolder
2017-01-18 22:17   ` Daniel Kiper
2017-01-19  8:07   ` Jan Beulich
2017-01-19 11:27     ` Daniel Kiper
2017-01-18 22:20 ` [PATCH] kexec: followup to STATUS patch v3 already in staging Daniel Kiper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.