Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47799
b: refs/heads/master
c: 22cfefb
h: refs/heads/master
i:
  47797: 7abb0d8
  47795: 40476a7
  47791: bb565b7
v: v3
  • Loading branch information
Andrew Morton authored and James Bottomley committed Feb 7, 2007
1 parent 2041f90 commit f17b856
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 44746438973e4f9ed9bdf3347e75f60f105b325a
refs/heads/master: 22cfefb56b53103a99908ec63311e61c217eaffe
2 changes: 2 additions & 0 deletions trunk/drivers/scsi/scsi_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -2250,6 +2250,8 @@ void *scsi_kmap_atomic_sg(struct scatterlist *sg, int sg_count,
size_t sg_len = 0, len_complete = 0;
struct page *page;

WARN_ON(!irqs_disabled());

for (i = 0; i < sg_count; i++) {
len_complete = sg_len; /* Complete sg-entries */
sg_len += sg[i].length;
Expand Down

0 comments on commit f17b856

Please sign in to comment.