All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
To: linux-fbdev@vger.kernel.org
Cc: Ben Dooks <ben-linux@fluff.org>, linux-samsung-soc@vger.kernel.org
Subject: [PATCH] s3c2410fb: silence warning
Date: Mon, 08 Mar 2010 23:33:06 +0000	[thread overview]
Message-ID: <876356o0ct.fsf@lechat.rtp-net.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 311 bytes --]



When building s3c2410fb with CPU_FREQ set, one gets :

drivers/video/s3c2410fb.c: In function 's3c2410fb_cpufreq_transition':
drivers/video/s3c2410fb.c:769: warning: unused variable 'freqs'

Remove this useless declaration to silence the warning.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
---

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: fix_fb_warning.patch --]
[-- Type: text/x-diff, Size: 631 bytes --]

---
 drivers/video/s3c2410fb.c |    1 	0 +	1 -	0 !
 1 file changed, 1 deletion(-)

Index: linux-2.6/drivers/video/s3c2410fb.c
===================================================================
--- linux-2.6.orig/drivers/video/s3c2410fb.c	2010-03-09 00:22:08.317640239 +0100
+++ linux-2.6/drivers/video/s3c2410fb.c	2010-03-09 00:22:33.117640575 +0100
@@ -766,7 +766,6 @@ static irqreturn_t s3c2410fb_irq(int irq
 static int s3c2410fb_cpufreq_transition(struct notifier_block *nb,
 					unsigned long val, void *data)
 {
-	struct cpufreq_freqs *freqs = data;
 	struct s3c2410fb_info *info;
 	struct fb_info *fbinfo;
 	long delta_f;

WARNING: multiple messages have this Message-ID (diff)
From: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
To: linux-fbdev@vger.kernel.org
Cc: Ben Dooks <ben-linux@fluff.org>, linux-samsung-soc@vger.kernel.org
Subject: [PATCH] s3c2410fb: silence warning
Date: Tue, 09 Mar 2010 00:33:06 +0100	[thread overview]
Message-ID: <876356o0ct.fsf@lechat.rtp-net.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 311 bytes --]



When building s3c2410fb with CPU_FREQ set, one gets :

drivers/video/s3c2410fb.c: In function 's3c2410fb_cpufreq_transition':
drivers/video/s3c2410fb.c:769: warning: unused variable 'freqs'

Remove this useless declaration to silence the warning.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
---

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: fix_fb_warning.patch --]
[-- Type: text/x-diff, Size: 631 bytes --]

---
 drivers/video/s3c2410fb.c |    1 	0 +	1 -	0 !
 1 file changed, 1 deletion(-)

Index: linux-2.6/drivers/video/s3c2410fb.c
===================================================================
--- linux-2.6.orig/drivers/video/s3c2410fb.c	2010-03-09 00:22:08.317640239 +0100
+++ linux-2.6/drivers/video/s3c2410fb.c	2010-03-09 00:22:33.117640575 +0100
@@ -766,7 +766,6 @@ static irqreturn_t s3c2410fb_irq(int irq
 static int s3c2410fb_cpufreq_transition(struct notifier_block *nb,
 					unsigned long val, void *data)
 {
-	struct cpufreq_freqs *freqs = data;
 	struct s3c2410fb_info *info;
 	struct fb_info *fbinfo;
 	long delta_f;

             reply	other threads:[~2010-03-08 23:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-08 23:33 Arnaud Patard [this message]
2010-03-08 23:33 ` [PATCH] s3c2410fb: silence warning Arnaud Patard
2010-03-10 16:41 ` James Simmons
2010-03-10 16:41   ` James Simmons

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=876356o0ct.fsf@lechat.rtp-net.org \
    --to=arnaud.patard@rtp-net.org \
    --cc=ben-linux@fluff.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.