The CAN bus changes have warnings ...

In file included from ../../../cpukit/include/dev/can/canqueueimpl.h:48,
                 from ../../../cpukit/dev/can/can.c:45:
../../../cpukit/dev/can/can.c: In function 'can_bus_read':
../../../cpukit/dev/can/can.c:213:15: warning: format '%u' expects argument of
type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
  213 |     CAN_DEBUG("can_bus_read: buffer size is small min sizeof(struct
can_msg) = %u\n",
      |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  214 |                     sizeof(struct can_msg));
      |                     ~~~~~~~~~~~~~~~~~~~~~~
      |                     |
      |                     long unsigned int
../../../cpukit/include/dev/can/can.h:53:14: note: in definition of macro

etc etc etc

Can these please be fixed? Use #4662.

Thanks
Chris
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to