Re: [PATCH] gfp flags annotations - part 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 07, 2005 at 07:46:04AM +0100, Al Viro wrote:
> --- RC14-rc3-git4-linus-delta/drivers/s390/scsi/zfcp_aux.c
> +++ current/drivers/s390/scsi/zfcp_aux.c

>  static void *
> -zfcp_mempool_alloc(unsigned int __nocast gfp_mask, void *size)
> +zfcp_mempool_alloc(gfp_t gfp_mask, void *size)
>  {
>  	return kmalloc((size_t) size, gfp_mask);
>  }

Lovely. Yes, they cast sizeof() to void * in all calls.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux