summaryrefslogtreecommitdiffstats
path: root/drivers/rapidio
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-06-23 16:01:06 -0700
committerDavid S. Miller <davem@davemloft.net>2009-06-24 00:32:30 -0700
commitaf054ed0018f0a69f8ea6f7546cbf34385edf13b (patch)
tree3c83e7452f6e0ecb14a278ab833626fa3e51a687 /drivers/rapidio
parentffc36c7610731115c77700dcc53901920361c235 (diff)
downloadop-kernel-dev-af054ed0018f0a69f8ea6f7546cbf34385edf13b.zip
op-kernel-dev-af054ed0018f0a69f8ea6f7546cbf34385edf13b.tar.gz
ide-cd: Don't warn on bogus block size unless it actually matters.
Frans Pop reported that his CDROM drive reports a blocksize of 2352, and this causes new warnings due to commit e8e7b9eb11c34ee18bde8b7011af41938d1ad667 ("ide-cd: fix oops when using growisofs"). What we're trying to do is make sure that "blocklen >> SECTOR_BITS" is something the block layer won't choke on. And for Frans' case "2352 >> SECTOR_BITS" is equal to "2048 >> SECTOR_BITS", and thats "4". So warning in this case gives no real benefit. Reported-by: Frans Pop <elendil@planet.nl> Tested-by: Frans Pop <elendil@planet.nl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud