Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1195242

Re: [PATCH] staging: wilc1000: host_interface.c: Fix build warning

From Dan Carpenter <dan.carpenter@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] staging: wilc1000: host_interface.c: Fix build warning
Date 2015-07-29 16:30 +0200
Message-ID <pRAwO-2g5-7@gated-at.bofh.it> (permalink)
References <pRAds-1Te-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jul 29, 2015 at 07:36:59PM +0530, Chandra S Gorentla wrote:
> Fixed - warning: ‘*((void *)&strHostIFmsg+4).pu8Head’ may be used uninitialized 
> 

I can't reproduce this warning and the original code looks fine to me.

When you say the word "fix" it means the code is buggy.  Otherwise we
are just silencing warnings or cleaning up code.  It's not clear from
the patch description what is happening here, is it a bug or a warning
only?

regards,
dan carpenter

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] staging: wilc1000: host_interface.c: Fix build warning Chandra S Gorentla <csgorentla@gmail.com> - 2015-07-29 16:10 +0200
  Re: [PATCH] staging: wilc1000: host_interface.c: Fix build warning Dan Carpenter <dan.carpenter@oracle.com> - 2015-07-29 16:30 +0200

csiph-web