From: Mugunthan V N Date: Fri, 22 Jul 2016 15:39:00 +0530 Subject: [U-Boot] [PATCH v2 2/3] spi: ti_qspi: Fix compiler warning when DEBUG macro is set In-Reply-To: <20160722052550.13339-2-vigneshr@ti.com> References: <20160722052550.13339-1-vigneshr@ti.com> <20160722052550.13339-2-vigneshr@ti.com> Message-ID: <40052e80-4091-bf89-59e5-0c73e72f7585@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday 22 July 2016 10:55 AM, Vignesh R wrote: > clk_div is uninitialized at the beginning of ti_spi_set_speed(), move > debug() print after clk_div calculation to avoid compiler warning and to > have proper value of clk_div printed during debugging. > > Signed-off-by: Vignesh R Reviewed-by: Mugunthan V N Regards Mugunthan V N