From: Alan Cox Subject: Re: [PATCH] ATA: fix PCI must_checks Date: Thu, 5 Apr 2007 12:13:42 +0100 Message-ID: <20070405121342.41b517fc@the-village.bc.nu> References: <20070404213711.e4ce4c79.randy.dunlap@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:52322 "EHLO the-village.bc.nu" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2992461AbXDELKw (ORCPT ); Thu, 5 Apr 2007 07:10:52 -0400 In-Reply-To: <20070404213711.e4ce4c79.randy.dunlap@oracle.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Randy Dunlap Cc: ide , jgarzik , akpm On Wed, 4 Apr 2007 21:37:11 -0700 Randy Dunlap wrote: > From: Randy Dunlap > > Check PCI interface functions results for PATA/SATA drivers. > > Fixes these warnings: > > drivers/ata/pata_cs5530.c:284: warning: ignoring return value of 'pci_set_mwi', declared with attribute warn_unused_result NAK The bug is in pci_set_mwi being marked as warn_unused_result. Please fix that instead