aboutsummaryrefslogtreecommitdiff
path: root/lib/gcd.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-07-16 15:42:14 +0300
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-08-16 10:22:10 +0300
commit3cd6e2f768851a760c072f0f84b9688b1755d24d (patch)
tree9fd3eda40b400b02b77a44adf50a811c15d5539d /lib/gcd.c
parent1be5d8cc165d56b7267f5adc96d496a33c33219e (diff)
iwlwifi: convert hex_dump_to_buffer() to %*ph
There is no need to use hex_dump_to_buffer() in the cases like this: hexdump_to_buffer(buf, len, 16, 1, outbuf, outlen, false); /* len <= 16 */ sprintf("%s\n", outbuf); since it maybe easily converted to simple: sprintf("%*ph\n", len, buf); Note: it seems in one case the output is groupped by 2 bytes and looks like a typo. Thus, patch changes that to plain byte stream. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'lib/gcd.c')
0 files changed, 0 insertions, 0 deletions