Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269315
b: refs/heads/master
c: 21dba24
h: refs/heads/master
i:
  269313: 7224f2d
  269311: e1964ef
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Oct 8, 2011
1 parent e104f5e commit e01335a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d86619211ed3cdf4f6abff984774b65314aba0fe
refs/heads/master: 21dba24481f70696308bd4361a7b2460c8a41965
4 changes: 2 additions & 2 deletions trunk/drivers/ata/libata-sff.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ unsigned int ata_sff_data_xfer(struct ata_device *dev, unsigned char *buf,

/* Transfer trailing byte, if any. */
if (unlikely(buflen & 0x01)) {
unsigned char pad[2];
unsigned char pad[2] = { };

/* Point buf to the tail of buffer */
buf += buflen - 1;
Expand Down Expand Up @@ -628,7 +628,7 @@ unsigned int ata_sff_data_xfer32(struct ata_device *dev, unsigned char *buf,

/* Transfer trailing bytes, if any */
if (unlikely(slop)) {
unsigned char pad[4];
unsigned char pad[4] = { };

/* Point buf to the tail of buffer */
buf += buflen - slop;
Expand Down

0 comments on commit e01335a

Please sign in to comment.