From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
To: Rob Herring <robh@kernel.org>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>,
linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org,
Nicolas Ferre <nicolas.ferre@atmel.com>,
Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Subject: Re: [PATCH] video: fbdev: atmel: fix warning for const return value
Date: Fri, 07 Aug 2015 05:34:21 +0000 [thread overview]
Message-ID: <20150807052221.GC3537@sudip-pc> (raw)
In-Reply-To: <1438011701-18423-1-git-send-email-robh@kernel.org>
On Mon, Jul 27, 2015 at 10:41:41AM -0500, Rob Herring wrote:
> A const on a return value is meaningless and generates a warning on some
> versions of gcc:
>
> drivers/video/fbdev/atmel_lcdfb.c:1003: warning: type qualifiers ignored on function return type
maybe this one should have been static instead of const.
regards
sudip
WARNING: multiple messages have this Message-ID (diff)
From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
To: Rob Herring <robh@kernel.org>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>,
linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org,
Nicolas Ferre <nicolas.ferre@atmel.com>,
Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Subject: Re: [PATCH] video: fbdev: atmel: fix warning for const return value
Date: Fri, 7 Aug 2015 10:52:21 +0530 [thread overview]
Message-ID: <20150807052221.GC3537@sudip-pc> (raw)
In-Reply-To: <1438011701-18423-1-git-send-email-robh@kernel.org>
On Mon, Jul 27, 2015 at 10:41:41AM -0500, Rob Herring wrote:
> A const on a return value is meaningless and generates a warning on some
> versions of gcc:
>
> drivers/video/fbdev/atmel_lcdfb.c:1003: warning: type qualifiers ignored on function return type
maybe this one should have been static instead of const.
regards
sudip
next prev parent reply other threads:[~2015-08-07 5:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-27 15:41 [PATCH] video: fbdev: atmel: fix warning for const return value Rob Herring
2015-07-27 15:41 ` Rob Herring
2015-07-27 15:49 ` Nicolas Ferre
2015-07-27 15:49 ` Nicolas Ferre
2015-08-07 5:22 ` Sudip Mukherjee [this message]
2015-08-07 5:34 ` Sudip Mukherjee
2015-08-20 10:51 ` Tomi Valkeinen
2015-08-20 10:51 ` Tomi Valkeinen
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=20150807052221.GC3537@sudip-pc \
--to=sudipm.mukherjee@gmail.com \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.ferre@atmel.com \
--cc=plagnioj@jcrosoft.com \
--cc=robh@kernel.org \
--cc=tomi.valkeinen@ti.com \
/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.