diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2012-04-02 03:02:58 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2012-04-02 03:02:58 +0200 |
commit | 89554f6557bc609bd0935da0dcb82268af5e7f28 (patch) | |
tree | bdb99b0e71ffee6386d6a77d8340ba8ecac714e3 | |
parent | d81e5fb9f9ea45eb01e6cd12fb03ca29090c1e14 (diff) | |
download | patches-89554f6557bc609bd0935da0dcb82268af5e7f28.tar.gz |
printk: unit64_t -> uint64_t
-rw-r--r-- | printk.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/printk.patch b/printk.patch index f19393a..75e47b5 100644 --- a/printk.patch +++ b/printk.patch @@ -361,7 +361,7 @@ Signed-off-by: Kay Sievers <kay@vrfy.org> + * Multiple properties are terminated by a '\n' character. + * + * A binary value is encoded by not using a '=' character as a delimiter, -+ * but a '\n' character followed directly by a non-aligned inlined little endian ++ * but a '\n' character followed directly by a non-aligned inlined little-endian + * uint64_t, which specifies the number of binary bytes to read as value. + * Example for a binary property containing 4 bytes: + * "DEVICE=b12:8\nFIRMWARE_DUMP\n\x04\x00\x00\x00\x00\x00\x00\x00\x11\x12\x13\x14\nDRIVER=ahci\0" @@ -712,7 +712,7 @@ Signed-off-by: Kay Sievers <kay@vrfy.org> + if (binary) { + u64 len_le64; + -+ /* add unit64_t little endian length of binary data */ ++ /* add uint64_t little-endian length of binary data */ + user->buf[len++] = '\n'; + len_le64 = cpu_to_le64(msg->text_len+1); + memcpy(user->buf + len, &len_le64, sizeof(len_le64)); |