Re: [PATCH v2] selftests/android/ion: fix heap_type may be uninitialized

2018-04-08 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a "Fixes:" tag, fixing commit: 47a18c42d992 android/ion: userspace test utility for ion buffer sharing. The bot has also determined it's probably a bug fixing patch. (score: 30.2608) The bot has tested the foll

Re: [PATCH v2] selftests/android/ion: fix heap_type may be uninitialized

2018-04-06 Thread Pintu Kumar
On Thu, Apr 5, 2018 at 1:09 PM, Anders Roxell wrote: > gcc warns that 'heap_type' is not initialized if we don't come through > any of the two 'case' statesments before: > > ionapp_export.c:91:2: warning: ‘heap_type’ may be used uninitialized in > this function [-Wmaybe-uninitialized] > printf("