From: simon@mungewell.org
To: "Jiri Slaby" <jslaby@suse.cz>
Cc: "Simon Wood" <simon@mungewell.org>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
"Jiri Kosina" <jkosina@suse.cz>,
"Michael Bauer" <michael@m-bauer.org>,
"Michal Maly" <madcatxster@gmail.com>
Subject: Re: [PATCH 1/2] HID: hid-lg4ff: Use Private Data
Date: Mon, 2 Apr 2012 13:01:30 -0400 [thread overview]
Message-ID: <44acbf3ff0b6aa62eab2831ee6ecea80.squirrel@mungewell.org> (raw)
In-Reply-To: <4F79D486.5090605@suse.cz>
>> + struct lg4ff_device_entry *uninitialized_var(entry);
>> + struct lg_drv_data *uninitialized_var(drv_data);
>
> You don't need uninitialized_var bloat anymroe, right?
I guess I don't fully understand the 'unitialized_var()' macro, and was
just following the previous uses in the code.
Google'ing doesn't really help either. Is there a definitive guide as when
to use and not?
Simon
next prev parent reply other threads:[~2012-04-02 17:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <a4e40aa5c43be934d83240849aa25f3b.squirrel@mungewell.org>
2012-04-02 14:54 ` Simon Wood
2012-04-02 14:54 ` [PATCH 2/2] HID: hid-lg4ff: Add support for G27 leds Simon Wood
2012-04-02 16:38 ` Jiri Slaby
2012-04-02 16:32 ` [PATCH 1/2] HID: hid-lg4ff: Use Private Data Jiri Slaby
2012-04-02 17:01 ` simon [this message]
2012-04-02 17:30 ` Jiri Slaby
2012-04-03 2:14 ` Jiri Kosina
2012-04-03 2:13 ` Jiri Kosina
2012-04-03 8:02 ` Michal Malý
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44acbf3ff0b6aa62eab2831ee6ecea80.squirrel@mungewell.org \
--to=simon@mungewell.org \
--cc=jkosina@suse.cz \
--cc=jslaby@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=madcatxster@gmail.com \
--cc=michael@m-bauer.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®