anchao commented on code in PR #6469: URL: https://github.com/apache/incubator-nuttx/pull/6469#discussion_r901013755
########## drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio.c: ########## @@ -868,7 +865,8 @@ void bcmf_sdio_waitdog_timeout(wdparm_t arg) int bcmf_sdio_thread(int argc, char **argv) { - FAR struct bcmf_dev_s *priv = g_sdio_priv; + FAR struct bcmf_dev_s *priv = (FAR struct bcmf_dev_s *) + ((uintptr_t)strtoul(argv[1], NULL, 0)); Review Comment: Done ########## drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio.c: ########## @@ -774,11 +769,13 @@ int bcmf_bus_sdio_initialize(FAR struct bcmf_dev_s *priv, /* Spawn bcmf daemon thread */ + snprintf(arg1, 16, "0x%" PRIxPTR, (uintptr_t)priv); Review Comment: Done -- 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...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org