Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107175
b: refs/heads/master
c: 883e512
h: refs/heads/master
i:
  107173: 27f09b0
  107171: 5134bbf
  107167: be96e6c
v: v3
  • Loading branch information
Michael Ernst authored and Martin Schwidefsky committed Aug 1, 2008
1 parent 7861c3b commit 9ba5927
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: 683d718a893575a88c551ad71ea2c382eedbf67e
refs/heads/master: 883e512c99fc398d1b2b5e8e92b6bacff2551756
8 changes: 4 additions & 4 deletions trunk/drivers/s390/cio/idset.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Author(s): Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
*/

#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/bitops.h>
#include "idset.h"
#include "css.h"
Expand All @@ -25,18 +25,18 @@ static struct idset *idset_new(int num_ssid, int num_id)
{
struct idset *set;

set = kzalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id),
GFP_KERNEL);
set = vmalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id));
if (set) {
set->num_ssid = num_ssid;
set->num_id = num_id;
memset(set->bitmap, 0, bitmap_size(num_ssid, num_id));
}
return set;
}

void idset_free(struct idset *set)
{
kfree(set);
vfree(set);
}

void idset_clear(struct idset *set)
Expand Down

0 comments on commit 9ba5927

Please sign in to comment.