From patchwork Thu Jul 30 10:25:19 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stoyan Gaydarov X-Patchwork-Id: 38287 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6UAUvqT017336 for ; Thu, 30 Jul 2009 10:30:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752585AbZG3Kaz (ORCPT ); Thu, 30 Jul 2009 06:30:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752647AbZG3Kaz (ORCPT ); Thu, 30 Jul 2009 06:30:55 -0400 Received: from dscas1.ad.uiuc.edu ([128.174.68.119]:38326 "EHLO dscas1.ad.uiuc.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752585AbZG3Kaz (ORCPT ); Thu, 30 Jul 2009 06:30:55 -0400 X-Greylist: delayed 326 seconds by postgrey-1.27 at vger.kernel.org; Thu, 30 Jul 2009 06:30:54 EDT Received: from localhost.localdomain (24.14.10.32) by smtp-secure.illinois.edu (128.174.68.18) with Microsoft SMTP Server (TLS) id 8.1.358.0; Thu, 30 Jul 2009 05:25:29 -0500 From: Stoyan Gaydarov To: linux-kernel@vger.kernel.org CC: Stoyan Gaydarov , deller@gmx.de, kyle@mcmartin.ca, grundler@parisc-linux.org, akpm@linux-foundation.org, achiang@hp.com, bunk@kernel.org, linux-parisc@vger.kernel.org Subject: [PATCH 3/4] [parisc] fixed faulty check Date: Thu, 30 Jul 2009 05:25:19 -0500 Message-ID: <1248949519-20858-1-git-send-email-sgayda2@uiuc.edu> X-Mailer: git-send-email 1.6.3.3 MIME-Version: 1.0 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org This patche fixes a spelling error that has resulted from copy and pasting. The location of the error was found using a semantic patch but the semantic patch was not trying to find these errors. After looking things over it seemed logical that this change was needed. Please review it and then include the patch if it is in fact the correct change. Signed-off-by: Stoyan Gaydarov --- drivers/parisc/lba_pci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/parisc/lba_pci.c b/drivers/parisc/lba_pci.c index ede6146..3aeb327 100644 --- a/drivers/parisc/lba_pci.c +++ b/drivers/parisc/lba_pci.c @@ -992,7 +992,7 @@ lba_pat_resources(struct parisc_device *pa_dev, struct lba_device *lba_dev) return; io_pdc_cell = kzalloc(sizeof(pdc_pat_cell_mod_maddr_block_t), GFP_KERNEL); - if (!pa_pdc_cell) { + if (!io_pdc_cell) { kfree(pa_pdc_cell); return; }