diff options
author | Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> | 2016-01-14 15:16:53 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-25 11:58:55 -0800 |
commit | 73385bcfee7d5d473f7317406b3f2a34d26d188e (patch) | |
tree | f3e001933f62abc6cbd8d9ce5bb4229894c7ad33 /lib/find_next_bit.c | |
parent | e3faab01b4ef83e5cefe3c35d6600118bded0b5c (diff) | |
download | lwn-73385bcfee7d5d473f7317406b3f2a34d26d188e.tar.gz lwn-73385bcfee7d5d473f7317406b3f2a34d26d188e.zip |
scripts/bloat-o-meter: fix python3 syntax error
commit 72214a24a7677d4c7501eecc9517ed681b5f2db2 upstream.
In Python3+ print is a function so the old syntax is not correct
anymore:
$ ./scripts/bloat-o-meter vmlinux.o vmlinux.o.old
File "./scripts/bloat-o-meter", line 61
print "add/remove: %s/%s grow/shrink: %s/%s up/down: %s/%s (%s)" % \
^
SyntaxError: invalid syntax
Fix by calling print as a function.
Tested on python 2.7.11, 3.5.1
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/find_next_bit.c')
0 files changed, 0 insertions, 0 deletions