Fix warning and depends of examples/sotest#2576
Conversation
cederom
left a comment
There was a problem hiding this comment.
Thank you @JianyuWang0623 :-)
- There are too many unrelated changes in this PR, please provide separate dedicated PR for each functional change / area.
- Please remember to provide descriptive git commit messages as well as PR descriptions.
|
Sorry, but this is a perfect example of really terrible PR:
I will not close this PR so we could have a discussion and work out better PR submission in future. |
Marking it as Draft will prevent any accidental commits until you discussion is finished. |
There are 8 commits, so the changes have been contained in separate commits, just provided under one PR. So I don't think there is a major problem with the github content after the merge. It is just harder to review when they are combined (but each commit can also be reviewed separately). Doing things in a consistent way is, however, also important. |
|
@JianyuWang0623 please split mutli PR~ |
|
I think that PR review process needs some improvements, as we get more and more nice PRs, some updates seem necessary also on our side - to provide reporters with basic information that are required in each PR here goes the template update proposition (apache/nuttx#13494). Your feedback is much appreciated! Thank you! :-) |
|
You should be aware of these All bad memories |
Log:
sotest_main.c: In function 'sotest_main':
sotest_main.c:116:29: error: storage size of 'desc' isn't known
116 | struct boardioc_romdisk_s desc;
| ^~~~
sotest_main.c:116:29: error: unused variable 'desc' [-Werror=unused-variable]
cc1: all warnings being treated as errors
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
Config:
+CONFIG_EXAMPLES_SOTEST=y
+CONFIG_EXAMPLES_SOTEST_BINDIR="/data"
Log:
sotest_main.c: In function 'sotest_main':
sotest_main.c:105:8: error: unused variable 'devname' [-Werror=unused-variable]
105 | char devname[32];
| ^~~~~~~
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
78c81bb to
f876f3b
Compare
|
@cederom @patacongo @Donny9 PR has been splited, and that has comments will be linked here. |
cederom
left a comment
There was a problem hiding this comment.
Thank you @JianyuWang0623 :-) Smaller and well described changes are much better to process :-)
Summary
Please see commit message for more details.
Impact
examples/sotest
Testing