aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGuy Shapiro <[email protected]>2017-09-11 11:00:11 +0200
committerGreg Kroah-Hartman <[email protected]>2017-09-18 16:12:26 +0200
commit38b0774c0598c7a54b8499d18c2b764c35dc94ab (patch)
tree75072e17f1b771355a271c3e0289801da5b5e773 /tools/perf/scripts/python/export-to-sqlite.py
parent93dc1774d2a4c7a298d5cdf78cc8acdcb7b1428d (diff)
nvmem: core: return EFBIG on out-of-range write
When writing data that exceeds the nvmem size to a nvmem sysfs file using the sh redirection operator >, the shell hangs, trying to write the out-of-range bytes endlessly. Fix the problem by returning EFBIG described in man 2 write. Similar change was done for binary sysfs files on commit 0936896056365349afa867c16e9f9100a6707cbf Signed-off-by: Guy Shapiro <[email protected]> Cc: [email protected] Signed-off-by: Srinivas Kandagatla <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions