Andy Shevchenko
114fc1afb2
hexdump: make it return number of bytes placed in buffer
...
This patch makes hexdump return the number of bytes placed in the buffer
excluding trailing NUL. In the case of overflow it returns the desired
amount of bytes to produce the entire dump. Thus, it mimics snprintf().
This will be useful for users that would like to repeat with a bigger
buffer.
[akpm@linux-foundation.org: fix printk warning]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-02-12 18:54:15 -08:00
..
acpi
kernel.h: remove ancient __FUNCTION__ hack
2015-02-12 18:54:13 -08:00
asm-generic
mm: remove remaining references to NUMA hinting bits and helpers
2015-02-12 18:54:08 -08:00
clocksource
time: move the timecounter/cyclecounter code into its own file.
2014-12-30 18:29:25 -05:00
crypto
crypto: switch af_alg_make_sg() to iov_iter
2015-02-04 01:34:15 -05:00
drm
drm/i915: remove unused power_well/get_cdclk_freq api
2015-01-12 02:48:24 +01:00
dt-bindings
This is the bulk of pin control changes for the v3.20 cycle:
2015-02-11 11:23:13 -08:00
keys
kvm
linux
hexdump: make it return number of bytes placed in buffer
2015-02-12 18:54:15 -08:00
math-emu
media
[media] tea575x: split and export functions
2015-01-27 10:13:50 -02:00
memory
misc
net
memcg: cleanup static keys decrement
2015-02-12 18:54:10 -08:00
pcmcia
ras
rdma
Revert "IB/core: Add support for extended query device caps"
2015-02-06 00:54:33 -08:00
rxrpc
scsi
scsi_logging: return void for dev_printk() functions
2015-02-04 08:00:24 -08:00
soc
sound
ALSA: pcm: allow for trigger_tstamp snapshot in .trigger
2015-02-09 16:01:53 +01:00
target
target: Drop left-over fabric_max_sectors attribute
2015-01-09 15:22:05 -08:00
trace
IOMMU Updates for Linux v3.20
2015-02-12 09:16:56 -08:00
uapi
mm: convert p[te|md]_numa users to p[te|md]_protnone_numa
2015-02-12 18:54:08 -08:00
video
OMAPDSS: add define for DRA7xx HW version
2015-02-04 12:32:04 +02:00
xen
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2015-02-10 20:01:30 -08:00
Kbuild