[PATCH] jffs, clang: avoid some warnings of used uninitialized ptr

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Oct 5 07:12:26 UTC 2018


On 05/10/2018 08:57, Daniel Hellstrom wrote:
> This fixes the following test failures on LEON3 UP/SMP when
> built using clang compiler:
>   * fsjffs2gc01
>   * jffs2_fserror
>   * jffs2_fspermission
>   * jffs2_fsrdwr
>   * jffs2_fstime

The problem is probably in the rbtree_postorder_for_each_entry_safe(). 
Coverity Scan has also an issue with this macro. It is on my todo list. 
Please do not check in this patch.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list