diff options
| author | Andy Shevchenko <[email protected]> | 2016-05-21 00:01:04 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-05-21 00:58:30 +0000 |
| commit | 2b1b0d66704a8cafe83be7114ec4c15ab3a314ad (patch) | |
| tree | 4ad1f40e5907b94bac6a7499e11962bbf6a843c0 /tools/testing/radix-tree/regression2.c | |
| parent | lib/uuid.c: move generate_random_uuid() to uuid.c (diff) | |
| download | kernel-2b1b0d66704a8cafe83be7114ec4c15ab3a314ad.tar.gz kernel-2b1b0d66704a8cafe83be7114ec4c15ab3a314ad.zip | |
lib/uuid.c: introduce a few more generic helpers
There are new helpers in this patch:
uuid_is_valid checks if a UUID is valid
uuid_be_to_bin converts from string to binary (big endian)
uuid_le_to_bin converts from string to binary (little endian)
They will be used in future, i.e. in the following patches in the series.
This also moves the indices arrays to lib/uuid.c to be shared accross
modules.
[[email protected]: fix typo]
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Matt Fleming <[email protected]>
Cc: Dmitry Kasatkin <[email protected]>
Cc: Mimi Zohar <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: "Theodore Ts'o" <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/regression2.c')
0 files changed, 0 insertions, 0 deletions
