Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1652173
| From | Jan Kiszka <jan.kiszka@siemens.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] scripts/gdb: make lx-dmesg command work (reliably) |
| Date | 2017-05-28 18:40 +0200 |
| Message-ID | <tM9ot-4pq-1@gated-at.bofh.it> (permalink) |
| References | <tLli2-57l-19@gated-at.bofh.it> <tLlrH-5bT-5@gated-at.bofh.it> <tLKzL-52e-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2017-05-27 16:01, Andy Shevchenko wrote:
> On Fri, May 26, 2017 at 2:12 PM, Jan Kiszka <jan.kiszka@siemens.com> wrote:
>> On 2017-05-26 13:04, André Draszik wrote:
>
>>> + log_buf_addr = int(str(gdb.parse_and_eval("'printk.c'::log_buf")).split()[0], 16)
>>
>> Overlong line. Please stay pep8 compliant.
>
> What I heard from colleague of mine couple of years ago, they (their
> team) moved to 100 characters in Python scripts because of somehow
> stupid recommendations from last century.
Well, it happens to be in line with the kernel preference for C code. We
can discuss a different style when the kernel relaxes its own. ;)
Jan
--
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] scripts/gdb: make lx-dmesg command work (reliably) André Draszik <git@andred.net> - 2017-05-26 13:10 +0200
Re: [PATCH] scripts/gdb: make lx-dmesg command work (reliably) Jan Kiszka <jan.kiszka@siemens.com> - 2017-05-26 13:20 +0200
Re: [PATCH] scripts/gdb: make lx-dmesg command work (reliably) Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-05-27 16:10 +0200
Re: [PATCH] scripts/gdb: make lx-dmesg command work (reliably) Jan Kiszka <jan.kiszka@siemens.com> - 2017-05-28 18:40 +0200
[PATCH v2] scripts/gdb: make lx-dmesg command work (reliably) André Draszik <git@andred.net> - 2017-05-26 13:20 +0200
[PATCH v3] scripts/gdb: make lx-dmesg command work (reliably) André Draszik <git@andred.net> - 2017-05-26 13:30 +0200
Re: [PATCH v3] scripts/gdb: make lx-dmesg command work (reliably) Jan Kiszka <jan.kiszka@siemens.com> - 2017-05-26 13:40 +0200
Re: [PATCH v3] scripts/gdb: make lx-dmesg command work (reliably) Kieran Bingham <kieran@ksquared.org.uk> - 2017-05-31 07:20 +0200
csiph-web