[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200905201238.16160.borntrae@de.ibm.com>
Date: Wed, 20 May 2009 12:38:15 +0200
From: Christian Bornträger <borntrae@...ibm.com>
To: André Lopes <andre.neo.net@...il.com>
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: Are the cast necessary in function "kfree"?
Am Mittwoch 20 Mai 2009 12:30:21 schrieb André Lopes:
I only looked at the s390 parts:
> arch/s390/include/asm/idals.h:110: kfree((void *)(unsigned long) ccw->cda);
This cast is necessary since cda is an u32 even on 64bit machines.
> drivers/s390/char/vmur.c:188: kfree((void *)(addr_t) ptr->cda);
dito.
Christian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists