event/octeontx2: clean LTO warnings
authorAndrzej Ostruszka <aostruszka@marvell.com>
Thu, 7 Nov 2019 15:03:12 +0000 (16:03 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 8 Nov 2019 14:18:52 +0000 (15:18 +0100)
commit12bddd9134717884751d1100f13fac0abe541309
treea33a8900c4b53fd80abcb844ee021644d2a5b300
parent99c25664149b9fe4b0d66e6897ab803552e649fb
event/octeontx2: clean LTO warnings

During LTO build compiler reports some 'false positive' warnings about
variables being possibly used uninitialized.  This patch silences these
warnings.

Exemplary compiler warning to suppress (with LTO enabled):
error: ‘chunk’ may be used uninitialized in this function
[-Werror=maybe-uninitialized]
   bkt->current_chunk = (uintptr_t)chunk;

Signed-off-by: Andrzej Ostruszka <aostruszka@marvell.com>
drivers/event/octeontx2/otx2_tim_worker.h