[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5hprktc4zz.wl%tiwai@suse.de>
Date: Tue, 18 Nov 2008 18:34:40 +0100
From: Takashi Iwai <tiwai@...e.de>
To: "Hannes Eder" <hannes@...neseder.net>
Cc: "Richard Holden" <aciddeath@...il.com>,
"Jaroslav Kysela" <perex@...ex.cz>,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sound: Fix warnings relating to ignored return value in snd_card_register
At Tue, 18 Nov 2008 12:25:06 -0500,
Hannes Eder wrote:
>
> Do not ignore the return of 'device_create_file' in
> 'snd_card_register' and thereby fixing the following warnings:
>
> sound/core/init.c: In function 'snd_card_register':
> sound/core/init.c:640: warning: ignoring return value of
> 'device_create_file', declared with attribute warn_unused_result
> sound/core/init.c:641: warning: ignoring return value of
> 'device_create_file', declared with attribute warn_unused_result
>
> Signed-off-by: Hannes Eder <hannes@...neseder.net>
> ---
> All warnings and errors reported by checkpatch.pl fixed.
Thanks! Applied now.
Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists