Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758913AbYAFPKk (ORCPT ); Sun, 6 Jan 2008 10:10:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755919AbYAFPKb (ORCPT ); Sun, 6 Jan 2008 10:10:31 -0500 Received: from ug-out-1314.google.com ([66.249.92.175]:41314 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755630AbYAFPK3 (ORCPT ); Sun, 6 Jan 2008 10:10:29 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=Qacc9Rgyu4hCzXFulTAgmDx6dzTFsFyQ4e6yeXoR9Cg8Z4r5FvfQgHTAGZgMS269J19nECuhvX6rR4Tu78kQ5jeGHqWQokgbo9Ns9XFFJpGwsm282uq7klcuQFfq+a2irSa2PRHG9YL7yNXTXQrIy+2RrwiLYKH7/g2cQljEc2Q= From: Bartlomiej Zolnierkiewicz To: bbpetkov@yahoo.de Subject: Re: [RESEND PATCH 06/10] ide-floppy: report DMA handling in idefloppy_pc_intr() properly Date: Sun, 6 Jan 2008 16:21:53 +0100 User-Agent: KMail/1.9.6 (enterprise 0.20071123.740460) Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org References: <1199366409-26016-1-git-send-email-bbpetkov@yahoo.de> <200801051646.05131.bzolnier@gmail.com> <20080105214519.GA4470@gollum.tnic> In-Reply-To: <20080105214519.GA4470@gollum.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801061621.53436.bzolnier@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1617 Lines: 44 On Saturday 05 January 2008, Borislav Petkov wrote: > On Sat, Jan 05, 2008 at 04:46:05PM +0100, Bartlomiej Zolnierkiewicz wrote: > > Hmm, no. The driver is called ide-floppy (ide_floppy) and it is more > > readable this way. > > > > > { > > > idefloppy_t *floppy = drive->driver_data; > > > struct gendisk *g = floppy->disk; > > > @@ -1479,7 +1450,7 @@ static ide_proc_entry_t idefloppy_proc[] = { > > > }; > > > #endif /* CONFIG_IDE_PROC_FS */ > > > > > > -static int ide_floppy_probe(ide_drive_t *); > > > +static int idefloppy_probe(ide_drive_t *); > > > > ditto > > > > [...] > > > > > @@ -1733,7 +1704,7 @@ static struct block_device_operations idefloppy_ops = { > > > .revalidate_disk= idefloppy_revalidate_disk > > > }; > > > > > > -static int ide_floppy_probe(ide_drive_t *drive) > > > +static int idefloppy_probe(ide_drive_t *drive) > > > > ditto > Shouldn't those also conform to the driver function format idefloppy_bla() - > after all, those function names are unambiguous for the whole file...? Why conform to something sub-optimal instead of changing it? + I was using ide_floppy_* in the new code to tag the areas that were rewritten. Currently it doesn't look that optimistic since there are five ide_floppy_* functions and fifty idefloppy_* ones but I'm hoping that this statistics will improve after your patches. :) Thanks, Bart -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/