-
Notifications
You must be signed in to change notification settings - Fork 7.4k
mass conversion of k_work API #33924
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
Conversation
This is a demonstration; all uses of the k_work API should be reviewed for correctness, rather than rote conversion. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
c0982f9
to
38bf388
Compare
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
38bf388
to
666b7d4
Compare
Some required transformations were missed by Coccinelle, possibly because of parsing problems. A commented API mis-use was fixed manual now that the introspection isn't required, but the comment has not been revised. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
Replace all existing deprecated API with the recommended alternative. Be aware that this does not address architectural errors in the use of the work API. Signed-off-by: Peter Bigot <[email protected]>
This reverts commit f06feecff6159ef79bf7d6087e123a31d74e8576. Signed-off-by: Peter Bigot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it help bisectability if these commits were squashed into one?
I thought the commits in this PR were just an examples for maintainers to use, so this PR is not to be merged as is anyway. |
Closing as all code has been changed in tree now. |
Absent an assignee to manage the conversion, use coccinelle to do a blanket translation from the deprecated API to the replacement API.
Conversions have been grouped into areas for convenience. There is no guarantee of bisectability between the resulting commits, as conversions in one commit may depend on conversions in another commit. Conversions of remaining time API are not optimized.