Skip to content

telenet: fix telenet compilation error when system_nsh is not enabled#2713

Closed
Gary-Hobson wants to merge 1 commit into
apache:masterfrom
Gary-Hobson:telenet
Closed

telenet: fix telenet compilation error when system_nsh is not enabled#2713
Gary-Hobson wants to merge 1 commit into
apache:masterfrom
Gary-Hobson:telenet

Conversation

@Gary-Hobson
Copy link
Copy Markdown
Contributor

Summary

telenet: fix telenet compilation error when system_nsh is not enabled

telnetd.c:57:5: error: 'CONFIG_SYSTEM_TELNETD_SESSION_STACKSIZE' undeclared (first use in this function); did you mean 'CONFIG_SYSTEM_TELNETD_SESSION_PRIORITY'?
57 | CONFIG_SYSTEM_TELNETD_SESSION_STACKSIZE,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| CONFIG_SYSTEM_TELNETD_SESSION_PRIORITY

Impact

Testing

elnetd.c:57:5: error: 'CONFIG_SYSTEM_TELNETD_SESSION_STACKSIZE' undeclared (first use in this function); did you mean 'CONFIG_SYSTEM_TELNETD_SESSION_PRIORITY'?
   57 |     CONFIG_SYSTEM_TELNETD_SESSION_STACKSIZE,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     CONFIG_SYSTEM_TELNETD_SESSION_PRIORITY

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
@lupyuen
Copy link
Copy Markdown
Member

lupyuen commented Oct 13, 2024

Sorry there's a typo in the PR title: "telenet" should be "telnet". Thanks :-)

Comment thread system/telnetd/Kconfig
config SYSTEM_TELNETD_SESSION_STACKSIZE
int "Telnetd session task stack size"
default SYSTEM_NSH_STACKSIZE
default DEFAULT_TASK_STACKSIZE
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not revert #2706 or wait #2716?

@GUIDINGLI
Copy link
Copy Markdown
Contributor

Already handle at:
#2716

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants