diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-24 16:41:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-24 16:41:39 -0400 |
commit | 229aebb873e29726b91e076161649cf45154b0bf (patch) | |
tree | acc02a3702215bce8d914f4c8cc3d7a1382b1c67 /drivers/ide | |
parent | 8de547e1824437f3c6af180d3ed2162fa4b3f389 (diff) | |
parent | 50a23e6eec6f20d55a3a920e47adb455bff6046e (diff) |
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
Update broken web addresses in arch directory.
Update broken web addresses in the kernel.
Revert "drivers/usb: Remove unnecessary return's from void functions" for musb gadget
Revert "Fix typo: configuation => configuration" partially
ida: document IDA_BITMAP_LONGS calculation
ext2: fix a typo on comment in ext2/inode.c
drivers/scsi: Remove unnecessary casts of private_data
drivers/s390: Remove unnecessary casts of private_data
net/sunrpc/rpc_pipe.c: Remove unnecessary casts of private_data
drivers/infiniband: Remove unnecessary casts of private_data
drivers/gpu/drm: Remove unnecessary casts of private_data
kernel/pm_qos_params.c: Remove unnecessary casts of private_data
fs/ecryptfs: Remove unnecessary casts of private_data
fs/seq_file.c: Remove unnecessary casts of private_data
arm: uengine.c: remove C99 comments
arm: scoop.c: remove C99 comments
Fix typo configue => configure in comments
Fix typo: configuation => configuration
Fix typo interrest[ing|ed] => interest[ing|ed]
Fix various typos of valid in comments
...
Fix up trivial conflicts in:
drivers/char/ipmi/ipmi_si_intf.c
drivers/usb/gadget/rndis.c
net/irda/irnet/irnet_ppp.c
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/hpt366.c | 2 | ||||
-rw-r--r-- | drivers/ide/ht6560b.c | 1 | ||||
-rw-r--r-- | drivers/ide/ide-disk.c | 3 |
3 files changed, 2 insertions, 4 deletions
diff --git a/drivers/ide/hpt366.c b/drivers/ide/hpt366.c index 45163693f737..97d98fbf5849 100644 --- a/drivers/ide/hpt366.c +++ b/drivers/ide/hpt366.c | |||
@@ -12,7 +12,7 @@ | |||
12 | * | 12 | * |
13 | * | 13 | * |
14 | * HighPoint has its own drivers (open source except for the RAID part) | 14 | * HighPoint has its own drivers (open source except for the RAID part) |
15 | * available from http://www.highpoint-tech.com/BIOS%20+%20Driver/. | 15 | * available from http://www.highpoint-tech.com/USA_new/service_support.htm |
16 | * This may be useful to anyone wanting to work on this driver, however do not | 16 | * This may be useful to anyone wanting to work on this driver, however do not |
17 | * trust them too much since the code tends to become less and less meaningful | 17 | * trust them too much since the code tends to become less and less meaningful |
18 | * as the time passes... :-/ | 18 | * as the time passes... :-/ |
diff --git a/drivers/ide/ht6560b.c b/drivers/ide/ht6560b.c index d81e49680c3f..808bcdcbf8e1 100644 --- a/drivers/ide/ht6560b.c +++ b/drivers/ide/ht6560b.c | |||
@@ -10,7 +10,6 @@ | |||
10 | * Author: Mikko Ala-Fossi <maf@iki.fi> | 10 | * Author: Mikko Ala-Fossi <maf@iki.fi> |
11 | * Jan Evert van Grootheest <j.e.van.grootheest@caiway.nl> | 11 | * Jan Evert van Grootheest <j.e.van.grootheest@caiway.nl> |
12 | * | 12 | * |
13 | * Try: http://www.maf.iki.fi/~maf/ht6560b/ | ||
14 | */ | 13 | */ |
15 | 14 | ||
16 | #define DRV_NAME "ht6560b" | 15 | #define DRV_NAME "ht6560b" |
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c index 7c5b01ce51d2..274798068a54 100644 --- a/drivers/ide/ide-disk.c +++ b/drivers/ide/ide-disk.c | |||
@@ -435,12 +435,11 @@ static int idedisk_prep_fn(struct request_queue *q, struct request *rq) | |||
435 | if (!(rq->cmd_flags & REQ_FLUSH)) | 435 | if (!(rq->cmd_flags & REQ_FLUSH)) |
436 | return BLKPREP_OK; | 436 | return BLKPREP_OK; |
437 | 437 | ||
438 | cmd = kmalloc(sizeof(*cmd), GFP_ATOMIC); | 438 | cmd = kzalloc(sizeof(*cmd), GFP_ATOMIC); |
439 | 439 | ||
440 | /* FIXME: map struct ide_taskfile on rq->cmd[] */ | 440 | /* FIXME: map struct ide_taskfile on rq->cmd[] */ |
441 | BUG_ON(cmd == NULL); | 441 | BUG_ON(cmd == NULL); |
442 | 442 | ||
443 | memset(cmd, 0, sizeof(*cmd)); | ||
444 | if (ata_id_flush_ext_enabled(drive->id) && | 443 | if (ata_id_flush_ext_enabled(drive->id) && |
445 | (drive->capacity64 >= (1UL << 28))) | 444 | (drive->capacity64 >= (1UL << 28))) |
446 | cmd->tf.command = ATA_CMD_FLUSH_EXT; | 445 | cmd->tf.command = ATA_CMD_FLUSH_EXT; |