From: "Jan Beulich" Subject: Re: [PATCH] do_callback_op()'s second argument can beconst Date: Fri, 18 Jan 2008 15:44:29 +0000 Message-ID: <4790D76D.76E4.0078.0@novell.com> References: <4790CE5B.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> Keir Fraser 18.01.08 16:11 >>> >On 18/1/08 15:05, "Jan Beulich" wrote: > >>> I certainly don't see how the chunk below fixes >>> anything -- doesn't it take two lines to state what took one line = before? >>=20 >> It fixes the build in the context of the other changes. > >What's the difference between assigning from a variable that is void* and >assigning from a variable that you have cast to void*? Is this just to = get >round some stupid compiler warning that shouldn't happen in the first = place? >That's why I hate type attributes: const, volatile, and the rest. Stupid >waste of time. It's been a while since I wrote this, and I can't reproduce any issue = anymore when I remove it. I must have forgotten to undo that change once it wasn't needed anymore - sorry about that. Jan