Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1248262
| From | Joe Perches <joe@perches.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] acpi: set return value to const char for some functions |
| Date | 2015-10-16 02:00 +0200 |
| Message-ID | <qk0Bc-5wE-5@gated-at.bofh.it> (permalink) |
| References | <qjzB0-7Ge-25@gated-at.bofh.it> <qjBjt-1yI-33@gated-at.bofh.it> <qjGj8-PB-17@gated-at.bofh.it> <qjWxA-7L8-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 2015-10-15 at 19:32 +0000, Moore, Robert wrote: > if you started to use "const" for some methods you usually forced to > use this in most of your code. But the time spent for maintaining > (typing, recompiling when some const is missing, etc.) of > const-correctness in code seems greater than for fixing of possible > (very rare) problems caused by not using of const-correctness at all c is not c++. "seems" is a dubious statement. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] acpi: set return value to const char for some functions LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-10-14 21:10 +0200
Re: [PATCH] acpi: set return value to const char for some functions kbuild test robot <lkp@intel.com> - 2015-10-14 21:50 +0200
RE: [PATCH] acpi: set return value to const char for some functions "Moore, Robert" <robert.moore@intel.com> - 2015-10-14 23:00 +0200
Re: [PATCH] acpi: set return value to const char for some functions Joe Perches <joe@perches.com> - 2015-10-15 04:20 +0200
RE: [PATCH] acpi: set return value to const char for some functions "Moore, Robert" <robert.moore@intel.com> - 2015-10-15 21:40 +0200
Re: [PATCH] acpi: set return value to const char for some functions Joe Perches <joe@perches.com> - 2015-10-16 02:00 +0200
RE: [PATCH] acpi: set return value to const char for some functions "Moore, Robert" <robert.moore@intel.com> - 2015-10-16 05:40 +0200
Re: [PATCH] acpi: set return value to const char for some functions Joe Perches <joe@perches.com> - 2015-10-16 05:50 +0200
csiph-web