This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit fc7933e27e6005af49afb5aa93a287ca9da6a27f Author: xuxingliang <[email protected]> AuthorDate: Mon Sep 29 00:19:41 2025 +0800 noteram: make sure buffer is aligned buffer is converted to pointer to struct note_common_note *, thus needs to be aligned. Signed-off-by: xuxingliang <[email protected]> --- drivers/note/noteram_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/note/noteram_driver.c b/drivers/note/noteram_driver.c index 1adee91b947..18d5a8b498a 100644 --- a/drivers/note/noteram_driver.c +++ b/drivers/note/noteram_driver.c @@ -519,7 +519,7 @@ static ssize_t noteram_read(FAR struct file *filep, FAR char *buffer, do { - uint8_t note[256]; + aligned_data(sizeof(uintptr_t)) uint8_t note[256]; /* Get the next note (removing it from the buffer) */
