Skip to content

generate-accessors: make accessor naming convention configurable#3167

Closed
martin-belanger wants to merge 1 commit intolinux-nvme:masterfrom
martin-belanger:function-naming-convention
Closed

generate-accessors: make accessor naming convention configurable#3167
martin-belanger wants to merge 1 commit intolinux-nvme:masterfrom
martin-belanger:function-naming-convention

Conversation

@martin-belanger
Copy link
Copy Markdown

Replace hardcoded "%s%s_%s_get/set" format strings with SET_FMT/GET_FMT macros controlled by the SET_GET_AT_THE_END compile-time flag, allowing easy switching between nvme_foo_get()/nvme_foo_set() and nvme_get_foo()/nvme_set_foo() naming styles.

Also fix a handful of comment issues.

Replace hardcoded "%s%s_%s_get/set" format strings with SET_FMT/GET_FMT
macros controlled by the SET_GET_AT_THE_END compile-time flag, allowing
easy switching between nvme_foo_get()/nvme_foo_set() and
nvme_get_foo()/nvme_set_foo() naming styles.

Also fix a handful of comment issues.

Signed-off-by: Martin Belanger <[email protected]>
@martin-belanger
Copy link
Copy Markdown
Author

Disregard this PR. Will submit a separate one.

@martin-belanger martin-belanger deleted the function-naming-convention branch March 13, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant