From: Wolfgang Denk Date: Fri, 02 Dec 2011 00:14:16 +0100 Subject: [U-Boot] [PATCH 08/14] drivers/usb/host/sl811-hcd.c: Fix GCC 4.6 build warning In-Reply-To: <1322641077-829-9-git-send-email-wd@denx.de> References: <1322641077-829-1-git-send-email-wd@denx.de> <1322641077-829-9-git-send-email-wd@denx.de> Message-ID: <20111201231416.07ED982325@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang Denk, In message <1322641077-829-9-git-send-email-wd@denx.de> you wrote: > Fix: > sl811-hcd.c: In function 'sl811_rh_submit_urb': > sl811-hcd.c:556:8: warning: variable 'wIndex' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: Remy Bohmer > --- > WARNING: space prohibited between function name and open parenthesis '(' > #31: FILE: drivers/usb/host/sl811-hcd.c:554: > + __u16 wValue = le16_to_cpu (cmd->value); > > WARNING: space prohibited between function name and open parenthesis '(' > #32: FILE: drivers/usb/host/sl811-hcd.c:555: > + __u16 wLength = le16_to_cpu (cmd->length); > > WARNING: space prohibited between function name and open parenthesis '(' > #34: FILE: drivers/usb/host/sl811-hcd.c:557: > + __u16 wIndex = le16_to_cpu (cmd->index); > > total: 0 errors, 3 warnings, 25 lines checked > > NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTATEMENT_MACRO_USE_DO_WHILE > > Warnings ignored. No further cleanup attempted. > > drivers/usb/host/sl811-hcd.c | 12 +++++------- > 1 files changed, 5 insertions(+), 7 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de While most peoples' opinions change, the conviction of their correct- ness never does.