Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure we're not using non-type-safe attribute reads. #25029

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

Gets rid of the emberAfReadServerAttribute define, and adds a lint to restrict emberAfReadAttribute use to the implementation of the type-safe reads.

@github-actions
Copy link

PR #25029: Size comparison from e7528bc to d3e91e8

Increases (1 build for cc32xx)
platform target config section e7528bc d3e91e8 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20180782 2018078 1 0.0
Decreases (1 build for cc32xx)
platform target config section e7528bc d3e91e8 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_line 2649926 2649921 -5 -0.0
Full report (1 build for cc32xx)
platform target config section e7528bc d3e91e8 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 640361 640361 0 0.0
(read/write) 204084 204084 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197488 197488 0 0.0
.comment 194 194 0 0.0
.data 1476 1476 0 0.0
.debug_abbrev 928461 928461 0 0.0
.debug_aranges 87352 87352 0 0.0
.debug_frame 299840 299840 0 0.0
.debug_info 20180782 2018078 1 0.0
.debug_line 2649926 2649921 -5 -0.0
.debug_loc 2786017 2786017 0 0.0
.debug_ranges 280728 280728 0 0.0
.debug_str 3005287 3005287 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105633 105633 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 375902 375902 0 0.0
.symtab 255856 255856 0 0.0
.text 532604 532604 0 0.0

Gets rid of the emberAfReadServerAttribute define, and adds a lint to restrict
emberAfReadAttribute use to the implementation of the type-safe reads.
@bzbarsky-apple bzbarsky-apple force-pushed the type-safe-attribute-reads branch from d3e91e8 to cc97463 Compare February 14, 2023 14:39
@github-actions
Copy link

PR #25029: Size comparison from 62d9187 to cc97463

Decreases (1 build for cc32xx)
platform target config section 62d9187 cc97463 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_line 2649926 2649921 -5 -0.0
Full report (1 build for cc32xx)
platform target config section 62d9187 cc97463 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 640361 640361 0 0.0
(read/write) 204084 204084 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197488 197488 0 0.0
.comment 194 194 0 0.0
.data 1476 1476 0 0.0
.debug_abbrev 928461 928461 0 0.0
.debug_aranges 87352 87352 0 0.0
.debug_frame 299840 299840 0 0.0
.debug_info 20180782 20180782 0 0.0
.debug_line 2649926 2649921 -5 -0.0
.debug_loc 2786017 2786017 0 0.0
.debug_ranges 280728 280728 0 0.0
.debug_str 3005287 3005287 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105633 105633 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 375902 375902 0 0.0
.symtab 255856 255856 0 0.0
.text 532604 532604 0 0.0

@bzbarsky-apple bzbarsky-apple merged commit 7161326 into project-chip:master Feb 14, 2023
@bzbarsky-apple bzbarsky-apple deleted the type-safe-attribute-reads branch February 14, 2023 16:46
lecndav pushed a commit to lecndav/connectedhomeip that referenced this pull request Mar 22, 2023
…p#25029)

Gets rid of the emberAfReadServerAttribute define, and adds a lint to restrict
emberAfReadAttribute use to the implementation of the type-safe reads.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants