Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1202296 > unrolled thread

Re: [PATCH] video: fbdev: atmel: fix warning for const return value

Started bySudip Mukherjee <sudipm.mukherjee@gmail.com>
First post2015-08-07 07:30 +0200
Last post2015-08-07 07:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] video: fbdev: atmel: fix warning for const return value Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-08-07 07:30 +0200

#1202296 — Re: [PATCH] video: fbdev: atmel: fix warning for const return value

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2015-08-07 07:30 +0200
SubjectRe: [PATCH] video: fbdev: atmel: fix warning for const return value
Message-ID<pUIoa-6BT-3@gated-at.bofh.it>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web