Constify struct kgdb_arch for 2.6.32-git-053fe57ac v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Changelog from the cover letter
----------
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | Constify struct kgdb_arch for 2.6.32-git-053fe57ac v2arch/ | +1 | 0 replies | |
| 2/8 | Constify struct kgdb_arch for 2.6.32-git-053fe57ac v2arch/ | +1 | 0 replies | |
| 3/8 | Constify struct kgdb_arch for 2.6.32-git-053fe57ac v2include/ | +1 | 0 replies | |
| 4/8 | Constify struct kgdb_arch for 2.6.32-git-053fe57ac v2arch/ | +1 | 0 replies | |
| 5/8 | Constify struct kgdb_arch for 2.6.32-git-053fe57ac v2arch/ arch/ | +2 | 0 replies | |
| 6/8 | Constify struct kgdb_arch for 2.6.32-git-053fe57ac v2arch/ | +1 | 0 replies | |
| 7/8 | Constify struct kgdb_arch for 2.6.32-git-053fe57ac v2arch/ | +1 | 0 replies | |
| 8/8 | Constify struct kgdb_arch for 2.6.32-git-053fe57ac v2arch/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] Constify struct kgdb_arch for 2.6.32-git-053fe57ac v2
From: Emese Revfy <[email protected]>
Hello everyone!
The following patch series attempts to constify several structures that hold function pointers. This is only the initial batch, there are about over 150 candidate structures, some of which can be constified as well, I plan to submit them in the future.
The list of constified structures in this series (* marks this thread):acpi_dock_opsaddress_space_operationsbacklight_opsblock_device_operationsdma_map_opsextent_io_opsfile_lock_operationsfile_operationshv_opsintel_dvo_dev_opsitem_operationsiwl_ops
* kgdb_archkgdb_iokset_uevent_opslock_manager_operationsmicrocode_opsmtrr_opsneigh_opsnlmsvc_bindingpci_raw_opsplatform_hibernation_opsplatform_suspend_opssnd_ac97_build_opssysfs_opsusb_mon_operationswd_ops
There are certain exceptions where a given instance of the structure cannot be const, they are marked with a comment in the patch.
The patches compile fine with an allyesconfig kernel on i386 and x86_64.
Please let me know if any of these structures should not be constified and any other issues you see with them.
Changelog:
----------
v1 -> v2
- updated to linus-git-053fe57
- extended comments with a reference to code that prevents constification
- split up patches by subsystem as suggested by Greg KH, Jiri Slaby
- added all Acked-by's received so far
- removed patch for super_operations for now
- removed patch for ptmx_fops
Thanks,
Emese
arch/arm/kernel/kgdb.c | 2 +- arch/blackfin/kernel/kgdb.c | 2 +- arch/mips/kernel/kgdb.c | 1 + arch/powerpc/kernel/kgdb.c | 4 ++-- arch/sh/kernel/kgdb.c | 2 +- arch/sparc/kernel/kgdb_32.c | 2 +- arch/sparc/kernel/kgdb_64.c | 2 +- arch/x86/kernel/kgdb.c | 2 +- include/linux/kgdb.h | 2 +- 9 files changed, 10 insertions(+), 9 deletions(-)