xiaoxiang781216 commented on PR #17296:
URL: https://github.com/apache/nuttx/pull/17296#issuecomment-3506493766

   @hujun260 please fix:
   ```
   31d30
   < CONFIG_DEV_ZERO=y
   66d64
   < CONFIG_SERIAL_GDBSTUB_WAIT_CONNECT=y
   Saving the new configuration file
   HEAD detached at pull/17296/merge
   Changes not staged for commit:
     (use "git add <file>..." to update what will be committed)
     (use "git restore <file>..." to discard changes in working directory)
        modified:   boards/arm64/qemu/qemu-armv8a/configs/gdbstub/defconfig
   Error: common/arm64_hwdebug.c:307:58: error: pointer type mismatch 
('uint64_t *' (aka 'unsigned long *') and 'void **') 
[-Werror,-Wpointer-type-mismatch]
     307 |       if (ARM64_MASK_ADDR(dp[i].addr) == 
ARM64_MASK_ADDR(up_getusrpc(regs)))
         |                                          
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
   /github/workspace/sources/nuttx/include/arch/irq.h:469:28: note: expanded 
from macro 'up_getusrpc'
     469 |     (((uintptr_t *)((regs) ? (regs) : running_regs()))[REG_ELR])
         |                            ^
   common/arm64_hwdebug.c:47:38: note: expanded from macro 'ARM64_MASK_ADDR'
      47 |   ((uint64_t)kasan_clear_tag((void *)addr) & ~0x3)
         |              ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
   /github/workspace/sources/nuttx/include/nuttx/mm/kasan.h:46:33: note: 
expanded from macro 'kasan_clear_tag'
      46 | #  define kasan_clear_tag(addr) addr
         |                                 ^~~~
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to