BHND_NV_LOG
BHND_NV_LOG("cannot parse value for '%s' "
BHND_NV_LOG("missing required property: %s\n", \
BHND_NV_LOG("error reading required header " \
BHND_NV_LOG("error reading %s uint8 option value: %d\n",
BHND_NV_LOG("error serializing %s to required type "
BHND_NV_LOG("size %zu exceeds maximum supported size of %u "
BHND_NV_LOG("corrupt header size: %zu\n", io_size);
BHND_NV_LOG("header size %zu exceeds input size %zu\n",
BHND_NV_LOG("warning: NVRAM CRC error (crc=%#hhx, "
BHND_NV_LOG("error parsing envp at offset %#zx: %d\n",
BHND_NV_LOG("error parsing header variable "
BHND_NV_LOG("missing terminating NUL at offset %#zx\n",
BHND_NV_LOG("invalid terminator '%#hhx' at offset "
BHND_NV_LOG("error mapping backing buffer: %d\n", error);
BHND_NV_LOG("error serializing %s to required type "
BHND_NV_LOG("error parsing envp at offset %#zx: %d\n",
BHND_NV_LOG("missing terminating NUL at offset %#zx\n",
BHND_NV_LOG("cannot parse value for '%s' "
BHND_NV_LOG("error serializing %s to required type "
BHND_NV_LOG("unexpected error in seek_eol(): %d\n",
BHND_NV_LOG("unexpected error in seek_next(): %d\n", error);
BHND_NV_LOG("unexpected error in read_ptr(): %d\n", error);
BHND_NV_LOG("unexpected error in entry_len(): %d\n", error);
BHND_NV_LOG("unexpected error in read_ptr(): %d\n", error);
BHND_NV_LOG("unexpected error in parse_env(): %d\n", error);
BHND_NV_LOG("invalid character (%#hhx) in value\n",
BHND_NV_LOG("unhandled %s offset type: %d\n", var->name, type);
BHND_NV_LOG("variable evaluation failed: %d\n", error);
BHND_NV_LOG("SPROM array element count %zu cannot be "
BHND_NV_LOG("invalid SPROM data type: %d", var->type);
BHND_NV_LOG("error decoding '%s', SPROM_ARRAY_MAXLEN "
BHND_NV_LOG("variable seek failed: %d\n", error);
BHND_NV_LOG("output skip %u positioned "
BHND_NV_LOG("output skip %u would overflow "
BHND_NV_LOG("invalid sprom %hhu signature: "
BHND_NV_LOG("sprom %hhu CRC error (crc=%#hhx, "
BHND_NV_LOG("sprom parsing failed with %zu CRC errors\n",
BHND_NV_LOG("error initializing opcode state: %d\n", error);
BHND_NV_LOG("invalid %s SPROM variable type %d\n",
BHND_NV_LOG("error encoding '%s', SPROM_ARRAY_MAXLEN "
BHND_NV_LOG("missing required property: %s\n",
BHND_NV_LOG("error converting input type %s to %s "
BHND_NV_LOG("error promoting %s to %s: %d\n",
BHND_NV_LOG("invalid %s property value '%s[%zu]': "
BHND_NV_LOG("variable seek failed: %d\n", error);
BHND_NV_LOG("input skip %u positioned %zu "
BHND_NV_LOG("output skip %u would overflow "
BHND_NV_LOG("missing required property: %s\n",
BHND_NV_LOG("error reading sromrev property: %d\n", error);
BHND_NV_LOG("unsupported sromrev: %hhu\n", sromrev);
BHND_NV_LOG("error initializing opcode state: %d\n", error);
BHND_NV_LOG("property '%s' unsupported by sromrev "
BHND_NV_LOG("error serializing %s to required type "
BHND_NV_LOG("error writing magic value: %d\n", error);
BHND_NV_LOG("error writing CRC value: %d\n", error);
BHND_NV_LOG("error reading %s SPROM offset " \
BHND_NV_LOG("error writing %s SPROM offset " \
BHND_NV_LOG("unhandled %s offset type: %d\n", var->name, type);
BHND_NV_LOG("error reading %s SPROM offset " \
BHND_NV_LOG("offset out of range\n");
BHND_NV_LOG("unrecognized type %#hhx\n", immd);
BHND_NV_LOG("unrecognized opcode %#hhx\n", *opcode);
BHND_NV_LOG("expected EOF parsing binding table: %d\n", error);
BHND_NV_LOG("bad encoding at %td: " _fmt, \
BHND_NV_LOG("error reading TLV_ENV record "
BHND_NV_LOG("error reading TLV_ENV record "
BHND_NV_LOG("error parsing TLV_ENV data: %d\n",
BHND_NV_LOG("%s name exceeds maximum TLV record "
BHND_NV_LOG("error serializing %s to required type "
BHND_NV_LOG("%s value exceeds maximum TLV record "
BHND_NV_LOG("error serializing %s to required "
BHND_NV_LOG("cannot parse zero-length TLV_ENV record "
BHND_NV_LOG("error parsing TLV_ENV data: %d\n", error);
BHND_NV_LOG("'%s=' exceeds maximum TLV_ENV record length\n",
BHND_NV_LOG("'%.*s\\0' exceeds maximum TLV_ENV record length\n",
BHND_NV_LOG("error reading TLV record size: %d\n",
BHND_NV_LOG("error reading 16-bit TLV record "
BHND_NV_LOG("TLV record length %hu truncated by input "
BHND_NV_LOG("unexpected error in next_record(): %d\n",
BHND_NV_LOG("error mapping record for cookiep: %d\n", error);
BHND_NV_LOG("non-ENV record mapped for %p\n", cookiep);
BHND_NV_LOG("TLV_ENV variable data not mapped for %p\n",
BHND_NV_LOG("offset %#jx+%#jx exceeds BUS_SPACE_MAXSIZE\n",
BHND_NV_LOG("base address %#jx+%#jx not aligned to bus width "
BHND_NV_LOG("size %#jx not aligned to bus width %u\n",
BHND_NV_LOG("invalid bus width %u\n", bus_width);
BHND_NV_LOG("offset %#jx+%#jx exceeds SIZE_MAX\n",
BHND_NV_LOG("error copying property: %d\n",
BHND_NV_LOG("invalid input data; initialization "
#define BHND_NV_DEBUG(...) BHND_NV_LOG(__VA_ARGS__)
BHND_NV_LOG("error initializing value: %d\n", error);
BHND_NV_LOG("variable '%s' has dangling "
BHND_NV_LOG("more than SIZE_MAX variables in "
BHND_NV_LOG("failed to register path for %s: %d\n",
BHND_NV_LOG("invalid device path flag: %#" PRIx32, flags);
BHND_NV_LOG("error allocating %zu byte index\n", bytes);
BHND_NV_LOG("cannot unset property %s: %d\n", full_name,
BHND_NV_LOG("cannot set property %s: %d\n", full_name,
BHND_NV_LOG("delimiter '%c' not found in '%.*s'\n", delim,
BHND_NV_LOG("unsupported integer type: %d\n", otype);
BHND_NV_LOG("cannot represent %" PRId64 " as %s\n",
BHND_NV_LOG("cannot represent %" PRIu64 " as %s\n",
BHND_NV_LOG("snprintf() failed: %zd\n", len);
BHND_NV_LOG("unknown type %s\n", bhnd_nvram_type_name(otype));
BHND_NV_LOG("copy failed: %d", error);
BHND_NV_LOG("error initializing array representation: %d\n",
BHND_NV_LOG("error encoding array representation: %d\n", error);
BHND_NV_LOG("error parsing repeat "
BHND_NV_LOG("error parsing repeat count at "
BHND_NV_LOG("error parsing width %s: %d\n", p,
BHND_NV_LOG("error parsing width %s: "
BHND_NV_LOG("invalid length modifier "
BHND_NV_LOG("invalid length modifier "
BHND_NV_LOG("invalid length modifier "
BHND_NV_LOG("invalid length modifier "
BHND_NV_LOG("invalid size specifier: "
BHND_NV_LOG("format string references more "
BHND_NV_LOG("error encoding argument as %s: %d\n", \
BHND_NV_LOG("invalid length specifier: "
BHND_NV_LOG("error encoding argument "
BHND_NV_LOG("error encoding argument "
BHND_NV_LOG("error encoding argument "
BHND_NV_LOG("cannot represent size %s[%zu]\n",
BHND_NV_LOG("short element of type %s -- misaligned "