login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
29
Re: [PATCH 14/40] ide-floppy: merge idefloppy_transfer_pc() and idefloppy_transfer_pc1()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Bartlomiej Zolnierkiewicz <bzolnier@...>
To: <petkovbb@...>
Cc: <linux-ide@...>, <linux-kernel@...>
Subject:
Re: [PATCH 14/40] ide-floppy: merge idefloppy_transfer_pc() and idefloppy_transfer_pc1()
Date: Thursday, May 29, 2008 - 7:01 pm
On Tuesday 27 May 2008, Borislav Petkov wrote:
quoted text
> On Tue, May 27, 2008 at 08:57:42PM +0200, Bartlomiej Zolnierkiewicz wrote: > > On Wednesday 21 May 2008, Borislav Petkov wrote: > > > On Sun, May 18, 2008 at 08:56:33PM +0200, Bartlomiej Zolnierkiewicz wrote: > > > > * Check IDEFLOPPY_FLAG_ZIP_DRIVE flag in idefloppy_transfer_pc1() > > > > and skip idefloppy_transfer_pc2()-phase if the flag is not set. > > > > > > > > * Always use idefloppy_transfer_pc1() in idefloppy_issue_pc() > > > > and remove no longer needed idefloppy_transfer_pc(). > > > > > > ... and also probably mv idefloppy_transfer_pc1() to something like > > > idefloppy_start_transfer_pc() and rename idefloppy_transfer_pc2() to something > > > more appropriate like e.g. idefloppy_do_transfer_pc() or similar and do away > > > with those misleading names and probably even the comments are superfluous then. > > > > Probably the most intuitive would be to do: > > > > idefloppy_transfer_pc1() -> idefloppy_transfer_pc() > > > > and > > > > idefloppy_transfer_pc2() -> idefloppy_do_transfer_pc() > > > > but I don't feel too strong about it and welcome other ideas > > (preferably in form of patches :). > > ^Hint^! :) Sure, what about the following: > -- > > From: Borislav Petkov <petkovbb@gmail.com> > Date: Tue, 27 May 2008 07:31:37 +0200 > Subject: [PATCH] ide-floppy: fix unfortunate function naming > > mv idefloppy_transfer_pc1 idefloppy_start_pc_transfer > mv idefloppy_transfer_pc2 idefloppy_transfer_pc > > which describes their functionality and disambiguates them. There should be no > functionality change introduced by this patch. > > Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
applied, thanks --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 00/40] ide: generic ATAPI support
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:54 pm)
Re: [PATCH 00/40] ide: generic ATAPI support
, Borislav Petkov
, (Thu May 22, 3:43 am)
Re: [PATCH 00/40] ide: generic ATAPI support
, Bartlomiej Zolnierkiewicz...
, (Sun May 25, 9:23 am)
[PATCH 40/40] ide: add ide_pc_intr() helper
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 3:00 pm)
[PATCH 39/40] ide-{floppy,scsi}: read Status Register before...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 3:00 pm)
[PATCH 38/40] ide-scsi: add more debugging to idescsi_pc_int...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 3:00 pm)
[PATCH 37/40] ide-scsi: use pc->callback
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 3:00 pm)
[PATCH 36/40] ide-floppy: add more debugging to idefloppy_pc...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:59 pm)
[PATCH 35/40] ide-tape: always log debug info in idetape_pc_...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:59 pm)
[PATCH 34/40] ide-tape: add ide_tape_io_buffers() helper
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:59 pm)
[PATCH 33/40] ide-tape: factor out DSC handling from idetape...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:59 pm)
[PATCH 32/40] ide-{floppy,tape}: move checking of ->faile...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:59 pm)
[PATCH 31/40] ide: add ide_issue_pc() helper
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:59 pm)
[PATCH 30/40] ide: add PC_FLAG_DRQ_INTERRUPT pc flag
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:58 pm)
[PATCH 29/40] ide-scsi: move idescsi_map_sg() call out from ...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:58 pm)
[PATCH 28/40] ide: add ide_transfer_pc() helper
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:58 pm)
[PATCH 27/40] ide-scsi: set drive->scsi flag for devices ...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:58 pm)
[PATCH 26/40] ide-{cd,floppy,tape}: remove checking for driv...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:58 pm)
[PATCH 25/40] ide: add PC_FLAG_ZIP_DRIVE pc flag
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:58 pm)
[PATCH 24/40] ide-tape: factor out waiting for good ireason ...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:58 pm)
[PATCH 23/40] ide-tape: set PC_FLAG_DMA_IN_PROGRESS flag in ...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:57 pm)
[PATCH 22/40] ide-floppy: start DMA engine in idefloppy_tran...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:57 pm)
Re: [PATCH 22/40] ide-floppy: start DMA engine in idefloppy_...
, Sergei Shtylyov
, (Tue May 20, 7:00 am)
Re: [PATCH 22/40] ide-floppy: start DMA engine in idefloppy_...
, Bartlomiej Zolnierkiewicz...
, (Tue May 27, 2:58 pm)
[PATCH 21/40] ide-{floppy,tape}: PC_FLAG_DMA_RECOMMENDED -&g...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:57 pm)
[PATCH 20/40] ide-{floppy,tape}: merge pc->idefloppy_call...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:57 pm)
[PATCH 19/40] ide-floppy: merge callbacks
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:57 pm)
[PATCH 18/40] ide-tape: make pc->idetape_callback void
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:57 pm)
[PATCH 17/40] ide-tape: merge callbacks
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:57 pm)
[PATCH 16/40] ide-tape: make idetape_retry_pc() void
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:56 pm)
[PATCH 15/40] ide-{floppy,tape,scsi}: log device name instea...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:56 pm)
[PATCH 14/40] ide-floppy: merge idefloppy_transfer_pc() and ...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:56 pm)
Re: [PATCH 14/40] ide-floppy: merge idefloppy_transfer_pc() ...
, Borislav Petkov
, (Wed May 21, 1:24 am)
Re: [PATCH 14/40] ide-floppy: merge idefloppy_transfer_pc() ...
, Bartlomiej Zolnierkiewicz...
, (Tue May 27, 2:57 pm)
Re: [PATCH 14/40] ide-floppy: merge idefloppy_transfer_pc() ...
, Borislav Petkov
, (Tue May 27, 1:37 am)
Re: [PATCH 14/40] ide-floppy: merge idefloppy_transfer_pc() ...
, Bartlomiej Zolnierkiewicz...
, (Thu May 29, 7:01 pm)
[PATCH 13/40] ide-tape: remove SIMULATE_ERRORS debug code
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:56 pm)
[PATCH 12/40] ide-tape: remove stale comments from idetape_p...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:56 pm)
[PATCH 11/40] ide-tape: remove unneeded CONFIG_BLK_DEV_IDEDM...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:56 pm)
[PATCH 10/40] ide-tape: remove superfluous warning message f...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:55 pm)
[PATCH 09/40] ide-tape: remove superfluous error message fro...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:55 pm)
[PATCH 08/40] ide-tape: idetape_pc_intr() should use local_i...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:55 pm)
[PATCH 07/40] ide-scsi: add debug_log() macro
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:55 pm)
[PATCH 06/40] ide-scsi: remove superfluous BUG_ON() from ide...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:55 pm)
[PATCH 05/40] ide-scsi: merge idescsi_input_buffers() and id...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:55 pm)
[PATCH 04/40] ide-scsi: fix Interrupt Reason checking in ide...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:55 pm)
Re: [PATCH 04/40] ide-scsi: fix Interrupt Reason checking in...
, Borislav Petkov
, (Mon May 19, 1:10 am)
Re: [PATCH 04/40] ide-scsi: fix Interrupt Reason checking in...
, Bartlomiej Zolnierkiewicz...
, (Tue May 27, 2:30 pm)
[PATCH 03/40] ide-scsi: fix handling of DMA errors in idescs...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:54 pm)
[PATCH 02/40] ide-scsi: fix DRQ checking for DMA transfers i...
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:54 pm)
[PATCH 01/40] ide-scsi: fix race in idescsi_transfer_pc()
, Bartlomiej Zolnierkiewicz...
, (Sun May 18, 2:54 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
H. Peter Anvin
Re: [rft] s2ram wakeup moves to .c, could fix few machines
Greg Kroah-Hartman
[PATCH 002/196] Chinese: rephrase English introduction in HOWTO
Ingo Molnar
[patch] PID namespace design bug, workaround
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Eric Dumazet
Re: Multicast packet loss
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
11 users
and
975 guests
online.
Online users
chikungpro
zeekec
leetresty
golfclubironsv
airfreightchar
christmasgifti
coachf13810cyi
homebasedbusjt
houstonintercd
shoesbymarc
hloeung
Syndicate