mkiiskila commented on issue #700: kernel/os_mempool: Fix for incorrect check 
on os_mempool_init
URL: https://github.com/apache/mynewt-core/pull/700#issuecomment-354764611
 
 
   We should take into account linkage to freelist, therefore the size should 
not be smaller than a pointer. Correct fix would've been to change the 
block_size <= sizeof(struct os_memblock)
   to block_size < sizeof(struct os_memblock). Opening PR for that.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to