Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268322
b: refs/heads/master
c: 2ccbec0
h: refs/heads/master
v: v3
  • Loading branch information
Nitin Gupta authored and Greg Kroah-Hartman committed Sep 9, 2011
1 parent 764c6a7 commit d4cb636
Show file tree
Hide file tree
Showing 3 changed files with 4 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: 25d7315a19bae4c880ca25b75fe8c632b79a21b7
refs/heads/master: 2ccbec05ac9917a09aeb2f647667b734b4f02ce1
3 changes: 2 additions & 1 deletion trunk/drivers/staging/zram/zram_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,8 @@ int zram_init_device(struct zram *zram)
return ret;
}

void zram_slot_free_notify(struct block_device *bdev, unsigned long index)
static void zram_slot_free_notify(struct block_device *bdev,
unsigned long index)
{
struct zram *zram;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/zram/zram_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static const unsigned default_disksize_perc_ram = 25;
* Pages that compress to size greater than this are stored
* uncompressed in memory.
*/
static const unsigned max_zpage_size = PAGE_SIZE / 4 * 3;
static const size_t max_zpage_size = PAGE_SIZE / 4 * 3;

/*
* NOTE: max_zpage_size must be less than or equal to:
Expand Down

0 comments on commit d4cb636

Please sign in to comment.