You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/05/03 06:36:22 UTC

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on pull request #1158: audioutils/mml_parser: Add mml_parser library

xiaoxiang781216 commented on PR #1158:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1158#issuecomment-1115782196

   @takayoshi-k please fix the below warning:
   ```
   Error: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:2:1: error: Relative file path does not match actual file
   Warning: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:25:1: warning: #include outside of 'Included Files' section
   Warning: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:27:1: warning: #include outside of 'Included Files' section
   Warning: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:28:1: warning: #include outside of 'Included Files' section
   Warning: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:29:1: warning: #include outside of 'Included Files' section
   Warning: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:30:1: warning: #include outside of 'Included Files' section
   Warning: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:31:1: warning: #include outside of 'Included Files' section
   Warning: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:33:1: warning: #include outside of 'Included Files' section
   Warning: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:36:1: warning: #include outside of 'Included Files' section
   Error: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:72:3: error: Right brace must be followed by a blank line
   Error: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:[13](https://github.com/apache/incubator-nuttx-apps/runs/6268675650?check_suite_focus=true#step:4:13)0:7: error: Right brace must be followed by a blank line
   Error: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:[14](https://github.com/apache/incubator-nuttx-apps/runs/6268675650?check_suite_focus=true#step:4:14)6:3: error: Right brace must be followed by a blank line
   Error: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:291:[17](https://github.com/apache/incubator-nuttx-apps/runs/6268675650?check_suite_focus=true#step:4:17): error: Right brace must be followed by a blank line
   Error: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:310:79: error: Long line found
   Error: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:326:7: error: Right brace must be followed by a blank line
   Error: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:327:78: error: Long line found
   Error: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:444:2: error: Missing whitespace after keyword
   Error: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:450:1: error: Blank line contains whitespace
   Error: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:577:78: error: Long line found
   Error: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/audioutils/mml_parser/mml_parser.c:647:78: error: Long line found
   Error: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/examples/mml_parser/mml_parser_main.c:134:11: error: Right brace must be followed by a blank line
   Error: /home/runner/work/incubator-nuttx-apps/incubator-nuttx-apps/apps/examples/mml_parser/mml_parser_main.c:136:9: error: Right brace must be followed by a blank line
   Error: Process completed with exit code 1.
   ```
   you can try this command before update:
   ```
   ../nuttx/tools/checkpatch.sh -G HEAD~...HEAD
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org