* linux-next: build failure after merge of the usb tree with the scsi tree
@ 2010-10-13 3:25 Stephen Rothwell
2010-10-13 13:36 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2010-10-13 3:25 UTC (permalink / raw)
To: Greg KH
Cc: linux-next, linux-kernel, Hans de Goede, Andrew Morton,
Martin K. Petersen, James Bottomley
Hi Greg,
After merging the usb tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
drivers/scsi/sd.c: In function 'read_capacity_10':
drivers/scsi/sd.c:1637: error: 'struct scsi_disk' has no member named 'hw_sector_size'
Caused by commit a488ec87ee2e79911d10425cb0c0264290905b38 ("scsi/sd: add
a no_read_capacity_16 scsi_device flag") interacting with commit
526f7c7950bbf1271e59177d70d74438c2ef96de ("[SCSI] sd: Fix overflow with
big physical blocks") from the scsi tree.
I have applied the following patch for today and will carry it as a merge
fix as necessary.
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 13 Oct 2010 14:15:15 +1100
Subject: [PATCH] scsi/sd: update for hw_sector_size rename
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
drivers/scsi/sd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 8ca43e5..57d1e3e 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -1634,7 +1634,7 @@ static int read_capacity_10(struct scsi_disk *sdkp, struct scsi_device *sdp,
0xffffffff when the want to report a size of 0 (with
which they really mean no media is present) */
sdkp->capacity = 0;
- sdkp->hw_sector_size = sector_size;
+ sdkp->physical_block_size = sector_size;
return sector_size;
}
--
1.7.1
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: linux-next: build failure after merge of the usb tree with the scsi tree
2010-10-13 3:25 linux-next: build failure after merge of the usb tree with the scsi tree Stephen Rothwell
@ 2010-10-13 13:36 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2010-10-13 13:36 UTC (permalink / raw)
To: Stephen Rothwell
Cc: linux-next, linux-kernel, Hans de Goede, Andrew Morton,
Martin K. Petersen, James Bottomley
On Wed, Oct 13, 2010 at 02:25:58PM +1100, Stephen Rothwell wrote:
> Hi Greg,
>
> After merging the usb tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> drivers/scsi/sd.c: In function 'read_capacity_10':
> drivers/scsi/sd.c:1637: error: 'struct scsi_disk' has no member named 'hw_sector_size'
>
> Caused by commit a488ec87ee2e79911d10425cb0c0264290905b38 ("scsi/sd: add
> a no_read_capacity_16 scsi_device flag") interacting with commit
> 526f7c7950bbf1271e59177d70d74438c2ef96de ("[SCSI] sd: Fix overflow with
> big physical blocks") from the scsi tree.
>
> I have applied the following patch for today and will carry it as a merge
> fix as necessary.
Thanks for carrying the fix, I'll make sure to keep it in mind if I end
up merging after James does with Linus.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-13 13:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13 3:25 linux-next: build failure after merge of the usb tree with the scsi tree Stephen Rothwell
2010-10-13 13:36 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).