Incorporate feedback on notification patches.
Change-Id: I15642cb739fae98de6fcd01b215821ace2b082ab
diff --git a/inc/vmapi/hf/call.h b/inc/vmapi/hf/call.h
index b0345e2..73c7e66 100644
--- a/inc/vmapi/hf/call.h
+++ b/inc/vmapi/hf/call.h
@@ -162,7 +162,7 @@
* the notify argument set to true, and this call must have failed because the
* mailbox was not available.
*
- * It should be called repeatedly to retreive a list of VMs.
+ * It should be called repeatedly to retrieve a list of VMs.
*
* Returns -1 if no VM became writable, or the id of the VM whose mailbox
* became writable.
@@ -176,8 +176,8 @@
* Retrieves the next VM waiting to be notified that the mailbox of the
* specified VM became writable. Only primary VMs are allowed to call this.
*
- * Returns -1 if there are no waiters, or the VM id of the next waiter
- * otherwise.
+ * Returns -1 on failure or if there are no waiters; the VM id of the next
+ * waiter otherwise.
*/
static inline int64_t hf_mailbox_waiter_get(uint32_t vm_id)
{
diff --git a/inc/vmapi/hf/types.h b/inc/vmapi/hf/types.h
index f0b39d9..bc6aae6 100644
--- a/inc/vmapi/hf/types.h
+++ b/inc/vmapi/hf/types.h
@@ -47,7 +47,7 @@
#define HF_INVALID_INTID 0xffffffff
/** Interrupt ID indicating the mailbox is readable. */
-#define HF_MAILBOX_READBLE_INTID 1
+#define HF_MAILBOX_READABLE_INTID 1
/** Interrupt ID indicating a mailbox is writable. */
#define HF_MAILBOX_WRITABLE_INTID 2