Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148537
b: refs/heads/master
c: 4b402e3
h: refs/heads/master
i:
  148535: c83a08f
v: v3
  • Loading branch information
Graf Yang authored and Mike Frysinger committed Jun 12, 2009
1 parent 7f2dbca commit 4487af3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 5d89137a17ca804ee60077f5d4ad8d7ca60f0614
refs/heads/master: 4b402e3a54a46505692ec8215231e2ede46a4aeb
2 changes: 1 addition & 1 deletion trunk/arch/blackfin/mm/isram-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ static bool isram_check_addr(const void *addr, size_t n)
{
if ((addr >= (void *)L1_CODE_START) &&
(addr < (void *)(L1_CODE_START + L1_CODE_LENGTH))) {
if ((addr + n) >= (void *)(L1_CODE_START + L1_CODE_LENGTH)) {
if ((addr + n) > (void *)(L1_CODE_START + L1_CODE_LENGTH)) {
show_stack(NULL, NULL);
printk(KERN_ERR "isram_memcpy: copy involving %p length "
"(%zu) too long\n", addr, n);
Expand Down

0 comments on commit 4487af3

Please sign in to comment.