Subversion Repositories Kolibri OS

Rev

Rev 1179 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1179 Rev 1246
Line 872... Line 872...
872
 
872
 
873
	/* allocate free_bitmap */
873
	/* allocate free_bitmap */
874
	if (!ida->free_bitmap) {
874
	if (!ida->free_bitmap) {
Line 875... Line 875...
875
		struct ida_bitmap *bitmap;
875
		struct ida_bitmap *bitmap;
876
 
876
 
877
		bitmap = kmalloc(sizeof(struct ida_bitmap), gfp_mask);
877
		bitmap = kzalloc(sizeof(struct ida_bitmap), gfp_mask);
Line 878... Line 878...
878
		if (!bitmap)
878
		if (!bitmap)
879
			return 0;
879
			return 0;