Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127902
b: refs/heads/master
c: becce74
h: refs/heads/master
v: v3
  • Loading branch information
Martin K. Petersen authored and James Bottomley committed Jan 5, 2009
1 parent 54a6326 commit 22b26ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 10da5181688886758ce162705aaad8131b963e99
refs/heads/master: becce74b8231f8b5e51165e797f6c950d1dbcf67
8 changes: 4 additions & 4 deletions trunk/drivers/scsi/sd_dif.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static int sd_dif_type1_verify_ip(struct blk_integrity_exchg *bix)
static void sd_dif_type1_set_tag(void *prot, void *tag_buf, unsigned int sectors)
{
struct sd_dif_tuple *sdt = prot;
char *tag = tag_buf;
u8 *tag = tag_buf;
unsigned int i, j;

for (i = 0, j = 0 ; i < sectors ; i++, j += 2, sdt++) {
Expand All @@ -154,7 +154,7 @@ static void sd_dif_type1_set_tag(void *prot, void *tag_buf, unsigned int sectors
static void sd_dif_type1_get_tag(void *prot, void *tag_buf, unsigned int sectors)
{
struct sd_dif_tuple *sdt = prot;
char *tag = tag_buf;
u8 *tag = tag_buf;
unsigned int i, j;

for (i = 0, j = 0 ; i < sectors ; i++, j += 2, sdt++) {
Expand Down Expand Up @@ -256,7 +256,7 @@ static int sd_dif_type3_verify_ip(struct blk_integrity_exchg *bix)
static void sd_dif_type3_set_tag(void *prot, void *tag_buf, unsigned int sectors)
{
struct sd_dif_tuple *sdt = prot;
char *tag = tag_buf;
u8 *tag = tag_buf;
unsigned int i, j;

for (i = 0, j = 0 ; i < sectors ; i++, j += 6, sdt++) {
Expand All @@ -269,7 +269,7 @@ static void sd_dif_type3_set_tag(void *prot, void *tag_buf, unsigned int sectors
static void sd_dif_type3_get_tag(void *prot, void *tag_buf, unsigned int sectors)
{
struct sd_dif_tuple *sdt = prot;
char *tag = tag_buf;
u8 *tag = tag_buf;
unsigned int i, j;

for (i = 0, j = 0 ; i < sectors ; i++, j += 2, sdt++) {
Expand Down

0 comments on commit 22b26ab

Please sign in to comment.