[PATCH] Fix compilation warning

Simon Horman horms at verge.net.au
Tue Feb 26 22:44:51 EST 2008


On Tue, Feb 26, 2008 at 08:58:35AM +0100, Bernhard Walle wrote:
> * Simon Horman <horms at verge.net.au> [2008-02-22 10:02]:
> > On Thu, Feb 21, 2008 at 10:28:33AM +0100, Bernhard Walle wrote:
> > > * Simon Horman <horms at verge.net.au> [2008-02-21 10:21]:
> > > > On Wed, Feb 20, 2008 at 09:07:55AM +0100, Bernhard Walle wrote:
> > > > > This patch fixes following compilation warning:
> > > > > 
> > > > > purgatory/purgatory.c:21: warning: passing argument 2 of 'sha256_update' makes pointer from integer without a cast
> > > > > 
> > > > 
> > > > Thanks Bernhard, I have queued that up.
> > > > Although I notice that on arm the warning turns into
> > > > 
> > > > purgatory/purgatory.c: In function 'verify_sha256_digest':
> > > > purgatory/purgatory.c:21: warning: cast to pointer from integer of different size
> > > 
> > > Isn't this the case on every 32 bit system?
> > 
> > Yes, now you mention it, I expect so. I guess its not a problem.
> 
> But you didn't merge the patch. ;) Here's a version that should not
> give any warnings ...

Sorry, I had queued it up awaiting the release. I now have applied this
updated fix in git.

-- 
Horms




More information about the kexec mailing list