You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "anchao (via GitHub)" <gi...@apache.org> on 2023/01/29 07:47:34 UTC

[GitHub] [nuttx] anchao opened a new pull request, #8335: arm/itm_syslog: remove invaild select config

anchao opened a new pull request, #8335:
URL: https://github.com/apache/nuttx/pull/8335

   
   ## Summary
   
   arm/itm_syslog: remove invaild select config
   
   1. CONFIG_SYSLOG has been removed by Nutt on below commit:
    c5ac473bc06aadca3d2015fd0608d59eb45fc9a5
   ```
   | commit c5ac473bc06aadca3d2015fd0608d59eb45fc9a5
   | Author: Gregory Nutt <gn...@nuttx.org>
   | Date:   Tue Jun 21 07:58:42 2016 -0600
   |
   |     SYSLOG: Remove an obsolete, unused configuration item from Kconfig file
   ```
   
   2. Fix comile warning
   
   ```
   | armv7-m/arm_itm_syslog.c: In function 'itm_syslog_initialize': | armv7-m/arm_itm_syslog.c:183:18: warning: passing argument 1 of 'syslog_channel' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   |   183 |   syslog_channel(&g_itm_channel);
   |       |                  ^~~~~~~~~~~~~~
   | In file included from armv7-m/arm_itm_syslog.c:29:
   | nuttx/syslog/syslog.h:155:49: note: expected 'struct syslog_channel_s *' but argument is of type 'const struct syslog_channel_s *'
   |   155 | int syslog_channel(FAR struct syslog_channel_s *channel);
   |       |
   ```
   
   Signed-off-by: chao an <an...@xiaomi.com>
   
   
   ## Impact
   
   N/A
   
   ## Testing
   
   ci-check


-- 
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


[GitHub] [nuttx] xiaoxiang781216 merged pull request #8335: arm/itm_syslog: remove invaild select config

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #8335:
URL: https://github.com/apache/nuttx/pull/8335


-- 
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