Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1701094
| From | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] omapfb: panel-sony-acx565akm: constify attribute_group structures. |
| Date | 2017-08-01 16:10 +0200 |
| Message-ID | <u9G1Z-4YZ-47@gated-at.bofh.it> (permalink) |
| References | <u9G1Z-4YZ-49@gated-at.bofh.it> <u4PIB-41k-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wednesday, July 19, 2017 10:55:57 AM Arvind Yadav wrote: > attribute_group are not supposed to change at runtime. All functions > working with attribute_group provided by <linux/sysfs.h> work > with const attribute_group. So mark the non-const structs as const. > > File size before: > text data bss dec hex filename > 5227 560 0 5787 169b panel-sony-acx565akm > > File size After adding 'const': > text data bss dec hex filename > 5291 496 0 5787 169b panel-sony-acx565akm.o > > Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Patch queued for 4.14, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] omapfb: panel-sony-acx565akm: constify attribute_group structures. Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2017-08-01 16:10 +0200
csiph-web