From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH] pata_octeon_cf.c: use resource_size() Date: Thu, 17 Dec 2009 01:03:11 -0500 Message-ID: <4B29C99F.2020700@garzik.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-yx0-f187.google.com ([209.85.210.187]:33634 "EHLO mail-yx0-f187.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752297AbZLQGDO (ORCPT ); Thu, 17 Dec 2009 01:03:14 -0500 Received: by yxe17 with SMTP id 17so1658359yxe.33 for ; Wed, 16 Dec 2009 22:03:14 -0800 (PST) In-Reply-To: Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: H Hartley Sweeten Cc: linux-ide@vger.kernel.org On 12/10/2009 08:03 PM, H Hartley Sweeten wrote: > It appears the size for cs1 is calculated using the wrong resource. > Use the function resource_size to get the correct value. > > Signed-off-by: H Hartley Sweeten applied