Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1287951
| From | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions |
| Date | 2015-12-09 23:50 +0100 |
| Message-ID | <qDVIC-621-7@gated-at.bofh.it> (permalink) |
| References | <qDxZD-7Cj-1@gated-at.bofh.it> <qDUWe-5u5-7@gated-at.bofh.it> <qDV5V-5MF-31@gated-at.bofh.it> <qDVfB-5Q2-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 09 Dec 2015 14:16:36 -0800 Joe Perches <joe@perches.com> wrote: > On Wed, 2015-12-09 at 14:09 -0800, Andrew Morton wrote: > > On Wed,____9 Dec 2015 13:59:30 -0800 Joe Perches <joe@perches.com> wrote: > > > > > There are use cases for dumping buffers with specific endian types > > > for 2, 4, and 8 byte variables in arrays. > > > > > > Add an enum for DUMP_TYPE_(LE|BE|CPU) to enable emitting them as such. > > > > > > Rename groupsize to groupflags in the functions and add documentation > > > to the kernel-doc to describe the use of the DUMP_TYPE_ enum. > > > > What are these use cases? > > Buffers that contain LE or BE arrays that want > to be emitted by print_hex_dump. Make that "where are". > > Will patches be forthcoming to convert them? > > Sure, after a settling period for Masahiro's patch > to be applied upstream. > > https://lkml.org/lkml/2015/12/8/480 One single callsite under #ifdef DEBUG? Doesn't seem to warrant adding code and complexity to core library functions. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2] of/address: replace printk() with pr_debug() / pr_err() Masahiro Yamada <yamada.masahiro@socionext.com> - 2015-12-08 17:10 +0100
Re: [PATCH v2] of/address: replace printk() with pr_debug() / pr_err() Joe Perches <joe@perches.com> - 2015-12-08 17:20 +0100
Re: [PATCH v2] of/address: replace printk() with pr_debug() / pr_err() Joe Perches <joe@perches.com> - 2015-12-08 18:10 +0100
Re: [PATCH v2] of/address: replace printk() with pr_debug() / pr_err() Rob Herring <robh+dt@kernel.org> - 2015-12-08 22:30 +0100
Re: [PATCH v2] of/address: replace printk() with pr_debug() / pr_err() Joe Perches <joe@perches.com> - 2015-12-09 01:10 +0100
Re: [PATCH v2] of/address: replace printk() with pr_debug() / pr_err() Andy Shevchenko <andy.shevchenko@gmail.com> - 2015-12-09 13:10 +0100
Re: [PATCH v2] of/address: replace printk() with pr_debug() / pr_err() Joe Perches <joe@perches.com> - 2015-12-09 20:30 +0100
Re: [PATCH v2] of/address: replace printk() with pr_debug() / pr_err() Andy Shevchenko <andy.shevchenko@gmail.com> - 2015-12-09 21:10 +0100
Re: [PATCH v2] of/address: replace printk() with pr_debug() / pr_err() Joe Perches <joe@perches.com> - 2015-12-09 21:20 +0100
Re: [PATCH v2] of/address: replace printk() with pr_debug() / pr_err() Rasmus Villemoes <linux@rasmusvillemoes.dk> - 2015-12-09 21:20 +0100
Re: [PATCH v2] of/address: replace printk() with pr_debug() / pr_err() Andy Shevchenko <andy.shevchenko@gmail.com> - 2015-12-09 21:40 +0100
Re: [PATCH v2] of/address: replace printk() with pr_debug() / pr_err() Joe Perches <joe@perches.com> - 2015-12-09 21:50 +0100
[PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions Joe Perches <joe@perches.com> - 2015-12-09 23:00 +0100
Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions Andrew Morton <akpm@linux-foundation.org> - 2015-12-09 23:10 +0100
Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions Joe Perches <joe@perches.com> - 2015-12-09 23:20 +0100
Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions Andrew Morton <akpm@linux-foundation.org> - 2015-12-09 23:50 +0100
Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions Joe Perches <joe@perches.com> - 2015-12-10 00:10 +0100
Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions Andy Shevchenko <andy.shevchenko@gmail.com> - 2015-12-09 23:20 +0100
Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions Joe Perches <joe@perches.com> - 2015-12-09 23:30 +0100
Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions Andy Shevchenko <andy.shevchenko@gmail.com> - 2015-12-10 00:10 +0100
Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions Joe Perches <joe@perches.com> - 2015-12-10 00:20 +0100
Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions kbuild test robot <lkp@intel.com> - 2015-12-10 07:00 +0100
Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions Joe Perches <joe@perches.com> - 2015-12-10 07:30 +0100
csiph-web