]> git.baikalelectronics.ru Git - kernel.git/commit
fs/udf: re-use hex_asc_upper_{hi,lo} macros
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 9 Jul 2014 12:35:30 +0000 (15:35 +0300)
committerJan Kara <jack@suse.cz>
Tue, 15 Jul 2014 20:40:24 +0000 (22:40 +0200)
commit47a72cfdc8a61c391c5749f6cd5e19cb49c53f2a
tree549a218291f73fd7335336b892ebef73b03c8bd6
parentbb9eb106be8aa132dd709d8ce4ba95b4525f5a75
fs/udf: re-use hex_asc_upper_{hi,lo} macros

This patch cleans up udf_translate_to_linux() a bit by using globally defined
macros instead of custom code.

We can use sprintf(buf, "%04X", ...) there as well, but this one faster.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/unicode.c