Skip to contentSkip to conversation

cciss: fix bug if scsi tape support is disabled

PATCH In review Mike Miller 4 participants 11 messages Jul 30, 2008 – Aug 7, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 6/6 cciss: fix bug if scsi tape support is disabled

Patch 6 of 6

Bug fix. If SCSI tape support is turned off we get an implicit declaration of cciss_unregister_scsi error in cciss_remove_one.
Please consider this for inclusion.

Thanks,
mikem

drivers/block/cciss.c +2 -0
index ae663db..262148b 100644
@@ -3616,7 +3616,9 @@ static void __devexit cciss_remove_one(struct pci_dev *pdev)
 		}
 	}
 
+#ifdef CONFIG_CISS_SCSI_TAPE
 	cciss_unregister_scsi(i);	/* unhook from SCSI subsystem */
+#endif
 
 	cciss_shutdown(pdev);
 
#1 lore raw
Quoted 5 lines · Mike Miller

Patch 6 of 6

Bug fix. If SCSI tape support is turned off we get an implicit declaration of cciss_unregister_scsi error in cciss_remove_one.
Please consider this for inclusion.

Applied 1-6, thanks.

Signature · 1 line
Jens Axboe
#2 lore raw
Quoted 8 lines · On Mon, 4 Aug 2008 11:56:33 +0200 Jens Axboe <[email protected]> wrote:
Quoted 5 lines · Mike Miller

Patch 6 of 6

Bug fix. If SCSI tape support is turned off we get an implicit declaration of cciss_unregister_scsi error in cciss_remove_one.
Please consider this for inclusion.

Applied 1-6, thanks.

I'm not seeing these changes in linux-next nor in master.kernel.org/pub/scm/linux/kernel/git/axboe/linux-2.6-block.git#for-next nor in #for-akpm.

Also, #for-next is empty, but #for-akpm has the single commit

commit 7b87c0541a2d606c0b1a47fa8afbaeb32fad6d60
Author: Jens Axboe <[email protected]>
Date: Wed Jun 25 12:04:48 2008 +0200

vmsplice: implement real vmsplice to userspace

#3 lore raw
Quoted 4 lines · On Tue, 5 Aug 2008 15:30:12 -0700 Andrew Morton <[email protected]>…

I'm not seeing these changes in linux-next nor in master.kernel.org/pub/scm/linux/kernel/git/axboe/linux-2.6-block.git#for-next nor in #for-akpm.

Well linux-next gets its block tree from
git://git.kernel.dk/linux-2.6-block.git#for-next (which appears to be very similar - if not identical to - the above).

Quoted 1 line

Also, #for-next is empty, but #for-akpm has the single commit

The for-linus branch seems to have a few commits, though ... Jens, would you like that in linux-next as block-current (merged early - meant for bug fixes destined for the current release)?

Quoted 1 line

vmsplice: implement real vmsplice to userspace

Yeah, that looks way to scary for linux-next :-)

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#4 lore raw
Quoted 10 lines · Stephen Rothwell
Quoted 4 lines · On Tue, 5 Aug 2008 15:30:12 -0700 Andrew Morton <[email protected]>…

I'm not seeing these changes in linux-next nor in master.kernel.org/pub/scm/linux/kernel/git/axboe/linux-2.6-block.git#for-next nor in #for-akpm.

Well linux-next gets its block tree from
git://git.kernel.dk/linux-2.6-block.git#for-next (which appears to be very similar - if not identical to - the above).

Quoted 5 lines
Quoted 1 line

Also, #for-next is empty, but #for-akpm has the single commit

The for-linus branch seems to have a few commits, though ... Jens, would you like that in linux-next as block-current (merged early - meant for bug fixes destined for the current release)?

Thanks, but just keep pulling linux-next and I'll try and get them uptodate more frequently :-)

Signature · 1 line
Jens Axboe
#5 lore raw

Hi Jens,

Quoted 3 lines · On Wed, 6 Aug 2008 12:33:08 +0200 Jens Axboe <[email protected]> wrote:

Thanks, but just keep pulling linux-next and I'll try and get them uptodate more frequently :-)

OK, will do.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#6 lore raw
Quoted 11 lines

-----Original Message-----
From: Stephen Rothwell [mailto:[email protected]]
Sent: Wednesday, August 06, 2008 6:43 PM
To: Jens Axboe
Cc: Andrew Morton; Miller, Mike (OS Dev); [email protected]; [email protected]
Subject: Re: [PATCH 6/6] cciss: fix bug if scsi tape support is disabled

Quoted 8 lines

Hi Jens,

Quoted 3 lines · On Wed, 6 Aug 2008 12:33:08 +0200 Jens Axboe <[email protected]> wrote:

Thanks, but just keep pulling linux-next and I'll try and get them uptodate more frequently :-)

I still can't find my latest patches in any tree. Jens?

-- mikem

#7 lore raw
Quoted 13 lines · Mike (OS Dev)
Quoted 13 lines

-----Original Message-----
From: Stephen Rothwell [mailto:[email protected]]
Sent: Wednesday, August 06, 2008 6:43 PM
To: Jens Axboe
Cc: Andrew Morton; Miller, Mike (OS Dev); [email protected]; [email protected]
Subject: Re: [PATCH 6/6] cciss: fix bug if scsi tape support is disabled

Hi Jens,

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines · On Wed, 6 Aug 2008 12:33:08 +0200 Jens Axboe <[email protected]> wrote:

Thanks, but just keep pulling linux-next and I'll try and get them uptodate more frequently :-)

I still can't find my latest patches in any tree. Jens?

It's in for-next, for-akpm, and for-linus. It'll be going upstream for this release, 2.6.27.

Signature · 1 line
Jens Axboe
#8 lore raw
Quoted 7 lines · Jens
Quoted 4 lines
Quoted 2 lines
Quoted 1 line

uptodate more frequently :-)

I still can't find my latest patches in any tree. Jens?

It's in for-next, for-akpm, and for-linus. It'll be going upstream for this release, 2.6.27.

Thanks, I'm just a bit impatient I guess. When a patch makes into for-* how long would it take to get to Linus' git tree?

-- mikem

#9 lore raw
Quoted 5 lines · Mike (OS Dev)
Quoted 3 lines · Jens
Quoted 3 lines
Quoted 2 lines
Quoted 1 line

uptodate more frequently :-)

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

I still can't find my latest patches in any tree. Jens?

It's in for-next, for-akpm, and for-linus. It'll be going upstream for this release, 2.6.27.

Thanks, I'm just a bit impatient I guess. When a patch makes into for-* how long would it take to get to Linus' git tree?

Oh that depends entirely on what else it's queued with, but for something going into the current branch, usually 2 weeks at the most.

Signature · 1 line
Jens Axboe
#10 lore raw
In reply to Andrew Morton
Quoted 10 lines · Andrew Morton
Quoted 7 lines · On Mon, 4 Aug 2008 11:56:33 +0200 Jens Axboe <[email protected]> wrote:
Quoted 5 lines · Mike Miller

Patch 6 of 6

Bug fix. If SCSI tape support is turned off we get an implicit declaration of cciss_unregister_scsi error in cciss_remove_one.
Please consider this for inclusion.

Quoted 5 lines
Quoted 1 line

Applied 1-6, thanks.

I'm not seeing these changes in linux-next nor in master.kernel.org/pub/scm/linux/kernel/git/axboe/linux-2.6-block.git#for-next nor in #for-akpm.

Both are fixed up now!

Quoted 7 lines

Also, #for-next is empty, but #for-akpm has the single commit

commit 7b87c0541a2d606c0b1a47fa8afbaeb32fad6d60
Author: Jens Axboe <[email protected]>
Date: Wed Jun 25 12:04:48 2008 +0200

vmsplice: implement real vmsplice to userspace

Not sure what to do about that one, actually. It's relatively simple, but... I'll probaly send it out for review soonish on linux-mm and linux-kernel.

Signature · 1 line
Jens Axboe