[incubator-nuttx-apps] 03/06: examples/usrsocktest: fix build break

2022-08-31 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git commit 046e83bec9ad3de739f4f488620969c883d373e5 Author: chao an AuthorDate: Wed Aug 31 22:52:57 2022 +0800

[incubator-nuttx-apps] 02/06: examples/usrsocktest: correct the check region of remote address

2022-08-31 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git commit 5b47bc24ae824c0a33f8efaf8141ea1a810e Author: chao an AuthorDate: Wed Aug 31 22:51:02 2022 +0800

[incubator-nuttx-apps] 01/06: examples/usrsocktest: correct return value check of dup2()

2022-08-31 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git commit a8d2924c55f349bb733c6b43ec4559665680e27e Author: chao an AuthorDate: Wed Aug 31 22:48:45 2022 +0800

[incubator-nuttx-apps] branch master updated (c427f408c -> 3d0a49f33)

2022-08-31 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git from c427f408c testing:add MTD Fail-safe config-data tests new a8d2924c5 examples/usrsocktest: correc

[incubator-nuttx-apps] 04/06: examples/usrsocktest: add USRSOCK_REQUEST_IOCTL support

2022-08-31 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git commit 45a21aea8e9ade6dd40b43d9e4c237b0f317dd24 Author: chao an AuthorDate: Wed Aug 31 22:55:32 2022 +0800

[incubator-nuttx-apps] 06/06: examples/usrsocktest: read from the closed remote should return EOF

2022-08-31 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git commit 3d0a49f33e1122fc61fab8faeee797d2946bb43d Author: chao an AuthorDate: Wed Aug 31 23:33:29 2022 +0800

[incubator-nuttx-apps] 05/06: examples/usrsocktest: add some delay to wait the daemon task ready

2022-08-31 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git commit 6bc5196ff058b77f1e62d2283755728f7a2ee6f2 Author: chao an AuthorDate: Wed Aug 31 23:05:38 2022 +0800

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #1304: net/usrsock: fix usrsocktest test case break

2022-08-31 Thread GitBox
xiaoxiang781216 merged PR #1304: URL: https://github.com/apache/incubator-nuttx-apps/pull/1304 -- 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-u

[GitHub] [incubator-nuttx] masayuki2009 commented on a diff in pull request #6979: mm: umm_heap: Do not register Umem if CONFIG_BUILD_KERNEL=y

2022-08-31 Thread GitBox
masayuki2009 commented on code in PR #6979: URL: https://github.com/apache/incubator-nuttx/pull/6979#discussion_r960283612 ## fs/procfs/fs_procfsmeminfo.c: ## @@ -578,6 +578,11 @@ static int meminfo_stat(FAR const char *relpath, FAR struct stat *buf) void procfs_register_mem

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6979: mm: umm_heap: Do not register Umem if CONFIG_BUILD_KERNEL=y

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6979: URL: https://github.com/apache/incubator-nuttx/pull/6979#discussion_r960281884 ## fs/procfs/fs_procfsmeminfo.c: ## @@ -578,6 +578,11 @@ static int meminfo_stat(FAR const char *relpath, FAR struct stat *buf) void procfs_register_

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #6979: mm: umm_heap: Do not register Umem if CONFIG_BUILD_KERNEL=y

2022-08-31 Thread GitBox
masayuki2009 commented on PR #6979: URL: https://github.com/apache/incubator-nuttx/pull/6979#issuecomment-1233822212 @xiaoxiang781216 Please review this PR again. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

[incubator-nuttx] branch master updated: net/usrsock: forward FIONBIO to socket level

2022-08-31 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 63cd44e5e1 net/usrsock: forward FION

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6974: net/usrsock: forward FIONBIO to socket level

2022-08-31 Thread GitBox
xiaoxiang781216 merged PR #6974: URL: https://github.com/apache/incubator-nuttx/pull/6974 -- 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-unsubs

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6956: net/tcp: use independent work to free the conn instance

2022-08-31 Thread GitBox
pkarashchenko commented on code in PR #6956: URL: https://github.com/apache/incubator-nuttx/pull/6956#discussion_r960267262 ## net/tcp/tcp_close.c: ## @@ -175,11 +178,15 @@ static uint16_t tcp_close_eventhandler(FAR struct net_driver_s *dev, return flags; end_wait: - tcp

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6966: nuttx/queue: Change some queue function to macro

2022-08-31 Thread GitBox
pkarashchenko commented on code in PR #6966: URL: https://github.com/apache/incubator-nuttx/pull/6966#discussion_r960263493 ## include/queue.h: ## @@ -67,6 +67,223 @@ } \ while (0) +#define sq_addfirst(p, q) \ + do \ +{ \ + FAR sq_entry_t *tmp_node = p; \ +

[GitHub] [incubator-nuttx] masayuki2009 commented on a diff in pull request #6979: fs: procfs: Ignore to register Umem if CONFIG_BUILD_KERNEL=y

2022-08-31 Thread GitBox
masayuki2009 commented on code in PR #6979: URL: https://github.com/apache/incubator-nuttx/pull/6979#discussion_r960245543 ## fs/procfs/fs_procfsmeminfo.c: ## @@ -578,6 +578,13 @@ static int meminfo_stat(FAR const char *relpath, FAR struct stat *buf) void procfs_register_mem

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6979: fs: procfs: Ignore to register Umem if CONFIG_BUILD_KERNEL=y

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6979: URL: https://github.com/apache/incubator-nuttx/pull/6979#discussion_r960242944 ## fs/procfs/fs_procfsmeminfo.c: ## @@ -578,6 +578,13 @@ static int meminfo_stat(FAR const char *relpath, FAR struct stat *buf) void procfs_register_

[GitHub] [incubator-nuttx] masayuki2009 commented on a diff in pull request #6979: fs: procfs: Ignore to register Umem if CONFIG_BUILD_KERNEL=y

2022-08-31 Thread GitBox
masayuki2009 commented on code in PR #6979: URL: https://github.com/apache/incubator-nuttx/pull/6979#discussion_r960237986 ## fs/procfs/fs_procfsmeminfo.c: ## @@ -578,6 +578,13 @@ static int meminfo_stat(FAR const char *relpath, FAR struct stat *buf) void procfs_register_mem

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6979: fs: procfs: Ignore to register Umem if CONFIG_BUILD_KERNEL=y

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6979: URL: https://github.com/apache/incubator-nuttx/pull/6979#discussion_r960233109 ## fs/procfs/fs_procfsmeminfo.c: ## @@ -578,6 +578,13 @@ static int meminfo_stat(FAR const char *relpath, FAR struct stat *buf) void procfs_register_

[GitHub] [incubator-nuttx-apps] anchao commented on a diff in pull request #1304: net/usrsock: fix usrsocktest test case break

2022-08-31 Thread GitBox
anchao commented on code in PR #1304: URL: https://github.com/apache/incubator-nuttx-apps/pull/1304#discussion_r960224419 ## examples/usrsocktest/usrsocktest_daemon.c: ## @@ -1380,6 +1387,143 @@ static int getsockname_request(int fd, FAR struct daemon_priv_s *priv, return O

[incubator-nuttx] branch master updated: fs/dup2: fix potential deadlock on usrsock

2022-08-31 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 42388f16e9 fs/dup2: fix potential de

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6969: fs/dup2: fix potential deadlock on usrsock

2022-08-31 Thread GitBox
xiaoxiang781216 merged PR #6969: URL: https://github.com/apache/incubator-nuttx/pull/6969 -- 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-unsubs

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6949: usrsock:refine usrsock's architecture

2022-08-31 Thread GitBox
xiaoxiang781216 commented on PR #6949: URL: https://github.com/apache/incubator-nuttx/pull/6949#issuecomment-1233733739 @ethanlcz need rebase the change again. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL ab

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6974: net/usrsock: forward FIONBIO to socket level

2022-08-31 Thread GitBox
anchao commented on code in PR #6974: URL: https://github.com/apache/incubator-nuttx/pull/6974#discussion_r960210816 ## net/usrsock/usrsock_ioctl.c: ## @@ -233,6 +234,11 @@ int usrsock_ioctl(FAR struct socket *psock, int cmd, FAR void *arg, errout_unlock: net_unlock(); +

[incubator-nuttx] branch master updated (b15d38246c -> aaae317d0c)

2022-08-31 Thread masayuki
This is an automated email from the ASF dual-hosted git repository. masayuki pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from b15d38246c up_nputs: fix AddressSanitizer: global-buffer-overflow problem add aaae317d0c Revert "net/

[GitHub] [incubator-nuttx] masayuki2009 merged pull request #6982: Revert "net/usrsock: read from the closed remote should return EOF"

2022-08-31 Thread GitBox
masayuki2009 merged PR #6982: URL: https://github.com/apache/incubator-nuttx/pull/6982 -- 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-unsubscr.

[GitHub] [incubator-nuttx] masayuki2009 commented on a diff in pull request #6979: fs: procfs: Ignore to register Umem if CONFIG_BUILD_KERNEL=y

2022-08-31 Thread GitBox
masayuki2009 commented on code in PR #6979: URL: https://github.com/apache/incubator-nuttx/pull/6979#discussion_r960200461 ## fs/procfs/fs_procfsmeminfo.c: ## @@ -578,6 +578,13 @@ static int meminfo_stat(FAR const char *relpath, FAR struct stat *buf) void procfs_register_mem

[incubator-nuttx] branch master updated: up_nputs: fix AddressSanitizer: global-buffer-overflow problem

2022-08-31 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new b15d38246c up_nputs: fix AddressSani

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6981: up_nputs: fix AddressSanitizer: global-buffer-overflow problem

2022-08-31 Thread GitBox
xiaoxiang781216 merged PR #6981: URL: https://github.com/apache/incubator-nuttx/pull/6981 -- 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-unsubs

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6979: fs: procfs: Ignore to register Umem if CONFIG_BUILD_KERNEL=y

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6979: URL: https://github.com/apache/incubator-nuttx/pull/6979#discussion_r960193961 ## fs/procfs/fs_procfsmeminfo.c: ## @@ -578,6 +578,13 @@ static int meminfo_stat(FAR const char *relpath, FAR struct stat *buf) void procfs_register_

[incubator-nuttx] branch master updated: rpmsgfs/Make.defs: rpmsgfs_server.c given more than once

2022-08-31 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 301cd53f14 rpmsgfs/Make.defs: rpmsgf

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6980: rpmsgfs/Make.defs: rpmsgfs_server.c given more than once

2022-08-31 Thread GitBox
xiaoxiang781216 merged PR #6980: URL: https://github.com/apache/incubator-nuttx/pull/6980 -- 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-unsubs

[GitHub] [incubator-nuttx] masayuki2009 commented on a diff in pull request #6979: fs: procfs: Ignore to register Umem if CONFIG_BUILD_KERNEL=y

2022-08-31 Thread GitBox
masayuki2009 commented on code in PR #6979: URL: https://github.com/apache/incubator-nuttx/pull/6979#discussion_r960183166 ## fs/procfs/fs_procfsmeminfo.c: ## @@ -578,6 +578,13 @@ static int meminfo_stat(FAR const char *relpath, FAR struct stat *buf) void procfs_register_mem

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6965: nxmutex replace nxsem when used as a lock

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6965: URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r960182148 ## net/local/local_connect.c: ## @@ -143,7 +129,7 @@ static int inline local_stream_connect(FAR struct local_conn_s *client, if (nxsem_get_value(&s

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6969: fs/dup2: fix potential deadlock on usrsock

2022-08-31 Thread GitBox
anchao commented on code in PR #6969: URL: https://github.com/apache/incubator-nuttx/pull/6969#discussion_r960174004 ## fs/inode/fs_files.c: ## @@ -415,8 +415,15 @@ int fs_getfilep(int fd, FAR struct file **filep) int nx_dup2(int fd1, int fd2) { FAR struct filelist *list; +

[GitHub] [incubator-nuttx] anjiahao1 commented on a diff in pull request #6965: nxmutex replace nxsem when used as a lock

2022-08-31 Thread GitBox
anjiahao1 commented on code in PR #6965: URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r960173866 ## net/local/local_connect.c: ## @@ -143,7 +129,7 @@ static int inline local_stream_connect(FAR struct local_conn_s *client, if (nxsem_get_value(&server-

[GitHub] [incubator-nuttx] masayuki2009 opened a new pull request, #6982: Revert "net/usrsock: read from the closed remote should return EOF"

2022-08-31 Thread GitBox
masayuki2009 opened a new pull request, #6982: URL: https://github.com/apache/incubator-nuttx/pull/6982 Reverts apache/incubator-nuttx#6972 -- 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 spe

[incubator-nuttx] branch revert-6972-22083105 created (now 117792cb0c)

2022-08-31 Thread masayuki
This is an automated email from the ASF dual-hosted git repository. masayuki pushed a change to branch revert-6972-22083105 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git at 117792cb0c Revert "net/usrsock: read from the closed remote should return EOF" This branch

[incubator-nuttx] 01/01: Revert "net/usrsock: read from the closed remote should return EOF"

2022-08-31 Thread masayuki
This is an automated email from the ASF dual-hosted git repository. masayuki pushed a commit to branch revert-6972-22083105 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git commit 117792cb0c24c949daf49e01377cd797bc1af04d Author: Masayuki Ishikawa AuthorDate: Thu Sep 1 11:29:

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6972: net/usrsock: read from the closed remote should return EOF

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6972: URL: https://github.com/apache/incubator-nuttx/pull/6972#discussion_r960164261 ## net/usrsock/usrsock_recvmsg.c: ## @@ -442,6 +442,12 @@ ssize_t usrsock_recvmsg(FAR struct socket *psock, FAR struct msghdr *msg, *fromlen = ou

[GitHub] [incubator-nuttx] masayuki2009 commented on a diff in pull request #6972: net/usrsock: read from the closed remote should return EOF

2022-08-31 Thread GitBox
masayuki2009 commented on code in PR #6972: URL: https://github.com/apache/incubator-nuttx/pull/6972#discussion_r960163175 ## net/usrsock/usrsock_recvmsg.c: ## @@ -442,6 +442,12 @@ ssize_t usrsock_recvmsg(FAR struct socket *psock, FAR struct msghdr *msg, *fromlen = outad

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6975: net/usrsock: allow usrsock *DATA_ACK with no-preload data

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6975: URL: https://github.com/apache/incubator-nuttx/pull/6975#discussion_r960163049 ## net/usrsock/usrsock_dev.c: ## @@ -851,23 +851,26 @@ static ssize_t usrsockdev_write(FAR struct file *filep, /* Copy data from user-space. */

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6972: net/usrsock: read from the closed remote should return EOF

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6972: URL: https://github.com/apache/incubator-nuttx/pull/6972#discussion_r960162073 ## net/usrsock/usrsock_recvmsg.c: ## @@ -442,6 +442,12 @@ ssize_t usrsock_recvmsg(FAR struct socket *psock, FAR struct msghdr *msg, *fromlen = ou

[GitHub] [incubator-nuttx] CV-Bowen opened a new pull request, #6981: up_nputs: fix AddressSanitizer: global-buffer-overflow problem

2022-08-31 Thread GitBox
CV-Bowen opened a new pull request, #6981: URL: https://github.com/apache/incubator-nuttx/pull/6981 Signed-off-by: wangbowen6 ## Summary ==2117790==ERROR: AddressSanitizer: global-buffer-overflow on address 0x64d9e3c0 at pc 0x59ac4e16 bp 0xcefe8058 sp 0xcefe8048 READ of size 1

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6976: fs: Run the default action of FIONBIO/FIOCLEX/FIONCLEX in success path

2022-08-31 Thread GitBox
xiaoxiang781216 commented on PR #6976: URL: https://github.com/apache/incubator-nuttx/pull/6976#issuecomment-1233653165 > Does this depend on PR #6974 ? No, it's independent from PR #6974. -- This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6829: drivers/mtd:init commit of power-loss resilient cfg

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6829: URL: https://github.com/apache/incubator-nuttx/pull/6829#discussion_r960160114 ## drivers/mtd/mtd_config_fs.c: ## @@ -0,0 +1,2484 @@ +/ + * drivers/mtd/mtd_

[GitHub] [incubator-nuttx] XinStellaris commented on a diff in pull request #6829: drivers/mtd:init commit of power-loss resilient cfg

2022-08-31 Thread GitBox
XinStellaris commented on code in PR #6829: URL: https://github.com/apache/incubator-nuttx/pull/6829#discussion_r960159046 ## drivers/mtd/mtd_config_fs.c: ## @@ -0,0 +1,2484 @@ +/ + * drivers/mtd/mtd_con

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6979: fs: procfs: Ignore to register Umem if CONFIG_BUILD_KERNEL=y

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6979: URL: https://github.com/apache/incubator-nuttx/pull/6979#discussion_r960158575 ## fs/procfs/fs_procfsmeminfo.c: ## @@ -578,6 +578,13 @@ static int meminfo_stat(FAR const char *relpath, FAR struct stat *buf) void procfs_register_

[GitHub] [incubator-nuttx] CV-Bowen opened a new pull request, #6980: rpmsgfs/Make.defs: rpmsgfs_server.c given more than once

2022-08-31 Thread GitBox
CV-Bowen opened a new pull request, #6980: URL: https://github.com/apache/incubator-nuttx/pull/6980 Signed-off-by: wangbowen6 ## Summary Makefile:81: target 'rpmsgfs_server.o' given more than once in the same rule ## Impact No impact ## Testing Compile and run w

[GitHub] [incubator-nuttx] masayuki2009 commented on a diff in pull request #6979: fs: procfs: Ignore to register Umem if CONFIG_BUILD_KERNEL=y

2022-08-31 Thread GitBox
masayuki2009 commented on code in PR #6979: URL: https://github.com/apache/incubator-nuttx/pull/6979#discussion_r960142446 ## fs/procfs/fs_procfsmeminfo.c: ## @@ -578,6 +578,13 @@ static int meminfo_stat(FAR const char *relpath, FAR struct stat *buf) void procfs_register_mem

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6979: fs: procfs: Ignore to register Umem if CONFIG_BUILD_KERNEL=y

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6979: URL: https://github.com/apache/incubator-nuttx/pull/6979#discussion_r960137165 ## fs/procfs/fs_procfsmeminfo.c: ## @@ -578,6 +578,13 @@ static int meminfo_stat(FAR const char *relpath, FAR struct stat *buf) void procfs_register_

[GitHub] [incubator-nuttx] masayuki2009 opened a new pull request, #6979: fs: procfs: Ignore to register Umem if CONFIG_BUILD_KERNEL=y

2022-08-31 Thread GitBox
masayuki2009 opened a new pull request, #6979: URL: https://github.com/apache/incubator-nuttx/pull/6979 ## Summary - In the case of CONFIG_BUILD_KERNEL=y, showing Kmem and Page info is enough for free command ## Impact - CONFIG_BUILD_KERNEL=y only ## Testing

[incubator-nuttx-website] branch asf-site updated: Publishing web: 6758fc5efbbf5ed16c807ccdfb012d94d1db201a docs: 5d4c774352ec353d6b44f18b30b3dc0572f5be46

2022-08-31 Thread github-bot
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-website.git The following commit(s) were added to refs/heads/asf-site by this push: new ef151c2 Publishing web

[incubator-nuttx] branch master updated: net/usrsock: allow usrsock *DATA_ACK with no-preload data

2022-08-31 Thread masayuki
This is an automated email from the ASF dual-hosted git repository. masayuki pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 5d4c774352 net/usrsock: allow usrsock

[GitHub] [incubator-nuttx] masayuki2009 merged pull request #6975: net/usrsock: allow usrsock *DATA_ACK with no-preload data

2022-08-31 Thread GitBox
masayuki2009 merged PR #6975: URL: https://github.com/apache/incubator-nuttx/pull/6975 -- 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-unsubscr.

[incubator-nuttx] branch master updated (fe7badf2ac -> 3a653c1d5e)

2022-08-31 Thread masayuki
This is an automated email from the ASF dual-hosted git repository. masayuki pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from fe7badf2ac net/getsockname: small addrlen should be a valid value add 3a653c1d5e net/usrsock: read fro

[GitHub] [incubator-nuttx] masayuki2009 merged pull request #6972: net/usrsock: read from the closed remote should return EOF

2022-08-31 Thread GitBox
masayuki2009 merged PR #6972: URL: https://github.com/apache/incubator-nuttx/pull/6972 -- 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-unsubscr.

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6829: drivers/mtd:init commit of power-loss resilient cfg

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6829: URL: https://github.com/apache/incubator-nuttx/pull/6829#discussion_r959932678 ## drivers/mtd/mtd_config_fs.c: ## @@ -0,0 +1,2652 @@ +/ + * drivers/mtd/mtd_

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request, #6978: net: Align the prototype of sock_intf_s::si_ioctl with file_operations::ioctl

2022-08-31 Thread GitBox
xiaoxiang781216 opened a new pull request, #6978: URL: https://github.com/apache/incubator-nuttx/pull/6978 ## Summary and avoid compute the argument length redundantly ## Impact Code refactor, the behavior is same as before ## Testing Pass CI -- This is an automa

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6974: net/usrsock: forward FIONBIO to socket level

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6974: URL: https://github.com/apache/incubator-nuttx/pull/6974#discussion_r959901903 ## net/usrsock/usrsock_ioctl.c: ## @@ -233,6 +234,11 @@ int usrsock_ioctl(FAR struct socket *psock, int cmd, FAR void *arg, errout_unlock: net_unloc

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6969: fs/dup2: fix potential deadlock on usrsock

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6969: URL: https://github.com/apache/incubator-nuttx/pull/6969#discussion_r959838090 ## fs/inode/fs_files.c: ## @@ -415,8 +415,15 @@ int fs_getfilep(int fd, FAR struct file **filep) int nx_dup2(int fd1, int fd2) { FAR struct filelist

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6970: net/getsockname: small addrlen should be a valid value

2022-08-31 Thread GitBox
xiaoxiang781216 merged PR #6970: URL: https://github.com/apache/incubator-nuttx/pull/6970 -- 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-unsubs

[incubator-nuttx] branch master updated (6f27c29ce5 -> fe7badf2ac)

2022-08-31 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from 6f27c29ce5 net/usrsock: Change xid from uint64_t to uint32_t add fe7badf2ac net/getsockname: small ad

[incubator-nuttx] branch master updated: net/usrsock: Change xid from uint64_t to uint32_t

2022-08-31 Thread pkarashchenko
This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new 6f27c29ce5 net/usrsock: Change x

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #6971: net/usrsock: Change xid from uint64_t to uint32_t

2022-08-31 Thread GitBox
pkarashchenko merged PR #6971: URL: https://github.com/apache/incubator-nuttx/pull/6971 -- 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-unsubscr

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on a diff in pull request #1304: net/usrsock: fix usrsocktest test case break

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #1304: URL: https://github.com/apache/incubator-nuttx-apps/pull/1304#discussion_r959785460 ## examples/usrsocktest/usrsocktest_daemon.c: ## @@ -1380,6 +1387,143 @@ static int getsockname_request(int fd, FAR struct daemon_priv_s *priv,

[GitHub] [incubator-nuttx] anchao opened a new pull request, #6977: sim: add usrsocktest config to detect the regression issue

2022-08-31 Thread GitBox
anchao opened a new pull request, #6977: URL: https://github.com/apache/incubator-nuttx/pull/6977 ## Summary sim: add usrsocktest config to detect the regression issue Signed-off-by: chao an ## Impact N/A ## Testing @masayuki2009 The followin

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request, #6976: fs: Run the default action of FIONBIO/FIOCLEX/FIONCLEX in success path

2022-08-31 Thread GitBox
xiaoxiang781216 opened a new pull request, #6976: URL: https://github.com/apache/incubator-nuttx/pull/6976 ## Summary Avoid the FIONBIO/FIOCLEX/FIONCLEX handler in driver change the return value from OK to -NOTTY ## Impact ## Testing usrsock -- This is an automated

[GitHub] [incubator-nuttx-apps] anchao opened a new pull request, #1304: net/usrsock: fix usrsocktest test case break

2022-08-31 Thread GitBox
anchao opened a new pull request, #1304: URL: https://github.com/apache/incubator-nuttx-apps/pull/1304 ## Summary 1. examples/usrsocktest: add some delay to wait the daemon task ready 2. examples/usrsocktest: add USRSOCK_REQUEST_IOCTL support The test model of usrsock ioct

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6965: nxmutex replace nxsem when used as a lock

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6965: URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r959695234 ## include/nuttx/semaphore.h: ## @@ -74,6 +74,7 @@ # define _SEM_WAIT(s) nxsem_wait(s) # define _SEM_TRYWAIT(s) nxsem_trywait(s) # d

[incubator-nuttx] branch master updated: arch/arm: change context switch to macro

2022-08-31 Thread hartmannathan
This is an automated email from the ASF dual-hosted git repository. hartmannathan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git The following commit(s) were added to refs/heads/master by this push: new c82798c66a arch/arm: change cont

[GitHub] [incubator-nuttx] hartmannathan merged pull request #6968: arch/arm: change context switch to macro

2022-08-31 Thread GitBox
hartmannathan merged PR #6968: URL: https://github.com/apache/incubator-nuttx/pull/6968 -- 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-unsubscr

[GitHub] [incubator-nuttx] anchao opened a new pull request, #6975: net/usrsock: allow usrsock *DATA_ACK with no-preload data

2022-08-31 Thread GitBox
anchao opened a new pull request, #6975: URL: https://github.com/apache/incubator-nuttx/pull/6975 ## Summary net/usrsock: allow usrsock *DATA_ACK with no-preload data allow usrsock USRSOCK_MESSAGE_RESPONSE_DATA_ACK with no-preload data so addrlen could be updated to value

[GitHub] [incubator-nuttx] anchao opened a new pull request, #6974: net/usrsock: forward FIONBIO to socket level

2022-08-31 Thread GitBox
anchao opened a new pull request, #6974: URL: https://github.com/apache/incubator-nuttx/pull/6974 ## Summary net/usrsock: forward FIONBIO to socket level fix usrsock nonblock connect test break: ``` apps/examples/usrsocktest/usrsocktest_noblock_connect.c: ...

[GitHub] [incubator-nuttx] slorquet opened a new issue, #6973: STM32H7: SPI is not experimental anymore

2022-08-31 Thread GitBox
slorquet opened a new issue, #6973: URL: https://github.com/apache/incubator-nuttx/issues/6973 Hi, just a reminder that SPI on STM32H7 just works and shoud not be enabled with CONFIG_EXPERIMENTAL. No time for a pull request now, but keeping this as a reminder. If someone

[GitHub] [incubator-nuttx] anchao opened a new pull request, #6972: net/usrsock: read from the closed remote should return EOF

2022-08-31 Thread GitBox
anchao opened a new pull request, #6972: URL: https://github.com/apache/incubator-nuttx/pull/6972 ## Summary net/usrsock: read from the closed remote should return EOF fix usrsock remote_disconnect fail: ``` nsh> usrsocktest ... Testing gr

[GitHub] [incubator-nuttx] anchao opened a new pull request, #6971: net/usrsock: Change xid from uint64_t to uint32_t

2022-08-31 Thread GitBox
anchao opened a new pull request, #6971: URL: https://github.com/apache/incubator-nuttx/pull/6971 ## Summary net/usrsock: Change xid from uint64_t to uint32_t follow the below change: --- ``` commit 03348197429d10470a

[GitHub] [incubator-nuttx] anchao opened a new pull request, #6970: net/getsockname: small addrlen should be a valid value

2022-08-31 Thread GitBox
anchao opened a new pull request, #6970: URL: https://github.com/apache/incubator-nuttx/pull/6970 ## Summary net/getsockname: small addrlen should be a valid value fix usrsock getsockname fail ``` nsh> usrsocktest ... Testing group "basic_getsockname" =>

[GitHub] [incubator-nuttx] XinStellaris commented on a diff in pull request #6829: drivers/mtd:init commit of power-loss resilient cfg

2022-08-31 Thread GitBox
XinStellaris commented on code in PR #6829: URL: https://github.com/apache/incubator-nuttx/pull/6829#discussion_r959610188 ## boards/risc-v/esp32c3/esp32c3-devkit/configs/nvcfgdata/defconfig: ## @@ -0,0 +1,50 @@ +# +# This file is autogenerated: PLEASE DO NOT EDIT IT. +# +# You

[GitHub] [incubator-nuttx] anchao opened a new pull request, #6969: fs/dup2: fix potential deadlock on usrsock

2022-08-31 Thread GitBox
anchao opened a new pull request, #6969: URL: https://github.com/apache/incubator-nuttx/pull/6969 ## Summary fs/dup2: fix potential deadlock on usrsock apps/examples/usrsocktest/usrsocktest_basic_daemon.c: ``` 321 static void basic_daemon_dup2(FAR struct usrsocktes

[incubator-nuttx] branch master updated (71af0b5295 -> eb22ee0e21)

2022-08-31 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from 71af0b5295 list.h: Change inline function to macro as much as possbile add eb22ee0e21 sched/semaphore

[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6967: sched/semaphore: add sem_count temporary variable to improve performance

2022-08-31 Thread GitBox
xiaoxiang781216 merged PR #6967: URL: https://github.com/apache/incubator-nuttx/pull/6967 -- 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-unsubs

[incubator-nuttx-apps] branch master updated: testing:add MTD Fail-safe config-data tests

2022-08-31 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new c427f408c testing:add MTD Fail-

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #1288: testing:add MTD Fail-safe config-data tests

2022-08-31 Thread GitBox
xiaoxiang781216 merged PR #1288: URL: https://github.com/apache/incubator-nuttx-apps/pull/1288 -- 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-u

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6968: arch/arm: change context switch to macro

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #6968: URL: https://github.com/apache/incubator-nuttx/pull/6968#discussion_r959458711 ## arch/arm/src/common/arm_exit.c: ## @@ -139,4 +139,10 @@ void up_exit(int status) /* Then switch contexts */ arm_fullcontextrestore(tcb->xcp.re

[GitHub] [incubator-nuttx] zyfeier opened a new pull request, #6968: arch/arm: change context switch to macro

2022-08-31 Thread GitBox
zyfeier opened a new pull request, #6968: URL: https://github.com/apache/incubator-nuttx/pull/6968 ## Summary Add arm context switch macro to improve performance ## Impact Code Size: before: ``` text data bss dec hex filename 109708

[GitHub] [incubator-nuttx-apps] XinStellaris commented on a diff in pull request #1288: testing:add MTD Fail-safe config-data tests

2022-08-31 Thread GitBox
XinStellaris commented on code in PR #1288: URL: https://github.com/apache/incubator-nuttx-apps/pull/1288#discussion_r959427669 ## testing/mtd_config_fs/mtd_config_fs_test_main.c: ## @@ -0,0 +1,2039 @@ +/**

[GitHub] [incubator-nuttx] zyfeier opened a new pull request, #6967: sched/semaphore: add sem_count temporary variable to improve performance

2022-08-31 Thread GitBox
zyfeier opened a new pull request, #6967: URL: https://github.com/apache/incubator-nuttx/pull/6967 ## Summary Add temporary variable sem_count to improve sem post performance ## Impact Code Size: before: ``` text data bss dec hex filena

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on a diff in pull request #1288: testing:add MTD Fail-safe config-data tests

2022-08-31 Thread GitBox
xiaoxiang781216 commented on code in PR #1288: URL: https://github.com/apache/incubator-nuttx-apps/pull/1288#discussion_r959340975 ## testing/mtd_config_fs/mtd_config_fs_test_main.c: ## @@ -0,0 +1,2039 @@ +/***

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6966: nuttx/queue: Change some queue function to macro

2022-08-31 Thread GitBox
xiaoxiang781216 commented on PR #6966: URL: https://github.com/apache/incubator-nuttx/pull/6966#issuecomment-1232623574 need remove the name from libc.csv: https://github.com/apache/incubator-nuttx/blob/master/libs/libc/libc.csv#L219 -- This is an automated message from the Apache Git S

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6966: nuttx/queue: Change some queue function to macro

2022-08-31 Thread GitBox
xiaoxiang781216 commented on PR #6966: URL: https://github.com/apache/incubator-nuttx/pull/6966#issuecomment-1232564258 @zyfeier has updated the performance number. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the U

[GitHub] [incubator-nuttx] pkarashchenko commented on pull request #6966: nuttx/queue: Change some queue function to macro

2022-08-31 Thread GitBox
pkarashchenko commented on PR #6966: URL: https://github.com/apache/incubator-nuttx/pull/6966#issuecomment-1232542382 From PR description I see only 432 bytes of code increase, but missing a performance comparison. -- This is an automated message from the Apache Git Service. To respond to

[incubator-nuttx] branch master updated (d252b0b430 -> 71af0b5295)

2022-08-31 Thread pkarashchenko
This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git from d252b0b430 esp32-devkitc/wamr_wasi_debug config maintenance add c947ddd441 include/nuttx/list.h:

[GitHub] [incubator-nuttx] pkarashchenko merged pull request #6926: list.h: Change inline function to macro as much as possbile

2022-08-31 Thread GitBox
pkarashchenko merged PR #6926: URL: https://github.com/apache/incubator-nuttx/pull/6926 -- 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-unsubscr