anchao opened a new pull request, #6734:
URL: https://github.com/apache/incubator-nuttx/pull/6734

   ## Summary
   
   arm/hostfs: fix build warning
   
   ```
   arch/arm/src/common/arm_hostfs.c: In function 'host_read':
   arch/arm/src/common/arm_hostfs.c:156:24:
     warning: passing argument 1 of 'up_invalidate_dcache' makes integer from 
pointer without a cast [-Wint-conversion]
     156 |   up_invalidate_dcache(buf, buf + count);
         |                        ^~~
         |                        |
         |                        void *
   In file included from arch/arm/src/common/arm_hostfs.c:26:
   include/nuttx/cache.h:261:37: note: expected 'uintptr_t' {aka 'unsigned 
int'} but argument is of type 'void *'
     261 | void up_invalidate_dcache(uintptr_t start, uintptr_t end);
         |                           ~~~~~~~~~~^~~~~
   ```
   
   Signed-off-by: chao.an <anc...@xiaomi.com>
   
   
   ## Impact
   
   N/A
   
   ## Testing
   
   ci-check


-- 
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

Reply via email to