diff options
| author | 2021-03-26 16:14:11 +0100 | |
|---|---|---|
| committer | 2021-04-05 13:17:51 +0200 | |
| commit | c8a9c285f136f0cc65ac8328cd1710b155ad3df8 (patch) | |
| tree | a4ebdffe10e58368383040d1f1fdc5c79c77fad7 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | driver core: add helper for deferred probe reason setting (diff) | |
| download | linux-dev-c8a9c285f136f0cc65ac8328cd1710b155ad3df8.tar.xz linux-dev-c8a9c285f136f0cc65ac8328cd1710b155ad3df8.zip | |
debugfs: drop pointless nul-termination in debugfs_read_file_bool()
simple_read_from_buffer() doesn't care about any bytes in the buffer
beyond "available". Making the buffer nul-terminated is therefore
completely pointless.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Link: https://lore.kernel.org/r/20210326151411.732220-1-linux@rasmusvillemoes.dk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
