Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75371
b: refs/heads/master
c: b801a1e
h: refs/heads/master
i:
  75369: eb6cca5
  75367: 1cd223d
v: v3
  • Loading branch information
Rusty Russell authored and Jens Axboe committed Jan 11, 2008
1 parent a1eabe0 commit e37f819
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 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: 646fd12784d506180353005f40f90bcf08c84a3e
refs/heads/master: b801a1e7dbca3f51d0a4b22a750ae257196002cb
2 changes: 0 additions & 2 deletions trunk/drivers/ide/ide-acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ static const struct dmi_system_id ide_acpi_dmi_table[] = {
DMI_MATCH(DMI_BIOS_VERSION, "KAM1.60")
},
},

{ } /* terminate list */
};

static int ide_acpi_blacklist(void)
Expand Down
7 changes: 2 additions & 5 deletions trunk/drivers/mtd/chips/cfi_cmdset_0001.c
Original file line number Diff line number Diff line change
Expand Up @@ -1504,12 +1504,9 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
int ret, wbufsize, word_gap, words;
const struct kvec *vec;
unsigned long vec_seek;
unsigned long initial_adr;
int initial_len = len;

wbufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize;
adr += chip->start;
initial_adr = adr;
cmd_adr = adr & ~(wbufsize-1);

/* Let's determine this according to the interleave only once */
Expand All @@ -1522,7 +1519,7 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
return ret;
}

XIP_INVAL_CACHED_RANGE(map, initial_adr, initial_len);
XIP_INVAL_CACHED_RANGE(map, adr, len);
ENABLE_VPP(map);
xip_disable(map, chip, cmd_adr);

Expand Down Expand Up @@ -1613,7 +1610,7 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
chip->state = FL_WRITING;

ret = INVAL_CACHE_AND_WAIT(map, chip, cmd_adr,
initial_adr, initial_len,
adr, len,
chip->buffer_write_time);
if (ret) {
map_write(map, CMD(0x70), cmd_adr);
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ static inline void sg_chain(struct scatterlist *prv, unsigned int prv_nents,
/*
* offset and length are unused for chain entry. Clear them.
*/
prv->offset = 0;
prv->length = 0;
prv[prv_nents - 1].offset = 0;
prv[prv_nents - 1].length = 0;

/*
* Set lowest bit to indicate a link pointer, and make sure to clear
Expand Down

0 comments on commit e37f819

Please sign in to comment.