xiaoxiang781216 commented on code in PR #7595: URL: https://github.com/apache/incubator-nuttx/pull/7595#discussion_r1024307976
########## arch/arm/src/sama5/sam_tsd.c: ########## @@ -1655,7 +1735,11 @@ int sam_tsd_register(struct sam_adc_s *adc, int minor) /* Initialize the touchscreen device driver instance */ - priv->adc = adc; /* Save the ADC device handle */ + memset(priv, 0, sizeof(struct sam_tsd_s)); Review Comment: squash first and then make the change. Please use --amend option after you finish: git commit --amend -- 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