summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-14 21:57:06 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-14 21:57:06 +0000
commit1b0d348172965038128d229badfce828e828c227 (patch)
tree3d2c2714e0339bfa0ebb9c2e804f3b586242945e
parent7b2761ee11f910c58575d8bd800ea9aedca678c7 (diff)
comment
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--util/nvmutil/nvmutil.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 03341a95..28a2332c 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -1930,6 +1930,10 @@ err_rw_file_exact:
* also mitigates a few theoretical libc bugs.
* It is designed for extremely safe single-threaded
* I/O on applications that need it.
+ *
+ * NOTE: If you use loop_eagain (1), you enable wait
+ * loop on EAGAIN. Beware if using this on a non-blocking
+ * pipe (it could spin indefinitely).
*/
static ssize_t