Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936414AbcJXSgt (ORCPT ); Mon, 24 Oct 2016 14:36:49 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:36215 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752030AbcJXSgp (ORCPT ); Mon, 24 Oct 2016 14:36:45 -0400 Subject: Re: [PATCH 17/28] spi: fsl-espi: avoid processing uninitalized data on error To: Mark Brown References: <20161017220342.1627073-1-arnd@arndb.de> <20161017221355.1861551-5-arnd@arndb.de> <20161024172713.GI17252@sirena.org.uk> Cc: Arnd Bergmann , Linus Torvalds , linux-kernel@vger.kernel.org, Heiner Kallweit , Nobuteru Hayashi , linux-spi@vger.kernel.org From: Heiner Kallweit Message-ID: Date: Mon, 24 Oct 2016 20:36:37 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161024172713.GI17252@sirena.org.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 650 Lines: 14 Am 24.10.2016 um 19:27 schrieb Mark Brown: > On Tue, Oct 18, 2016 at 12:13:38AM +0200, Arnd Bergmann wrote: >> When we get a spurious interrupt in fsl_espi_irq, we end up >> processing four uninitalized bytes of data, as shown in this >> warning message: > > This doesn't apply against current code, please check and resend. > The not yet reviewed part of my patch series from Oct 2nd, namely "[PATCH 07/11] spi: fsl-espi: fix and improve reading from RX FIFO" replaces the code in question. There's more to fix like removing polling from the ISR. If you prefer to apply Arnd's fix first I'd rebase the open part of the patch series and resend it.