From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [[PATCH v2]] video: ipu_disp: squash clang warning
Date: Mon, 11 Aug 2014 17:54:11 +0200 [thread overview]
Message-ID: <20140811175411.0abbef90@crub> (raw)
In-Reply-To: <1403025627-2850-1-git-send-email-jeroen@myspectrum.nl>
Hi,
On Tue, 17 Jun 2014 19:20:27 +0200
Jeroen Hofstee <jeroen@myspectrum.nl> wrote:
> Since rgb2ycbcr_coeff and friends are declared const, but assigned
> to a void pointer, clang will warn that the const is implicity casted
> away. If the pointer is changed to void const * gcc will warn when it
> is implicitly casted to a const int array. Just add a correctly
> typed pointer instead to prevent these casts and hence the warnings.
>
> Cc: Troy Kisky <troy.kisky@boundarydevices.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
>
> ---
> changes since v1:
> Do actually fix the warning. As pointed out by Troy Kisky
> the patch was doing something different then the commit
> message said.
>
> ... and prefix subject with v2
> ---
> drivers/video/ipu_disp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
applied to u-boot-video/master. Thanks!
Anatolij
prev parent reply other threads:[~2014-08-11 15:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-16 19:41 [U-Boot] [PATCH] video: ipu_disp: squash clang warning Jeroen Hofstee
2014-06-16 19:52 ` Troy Kisky
2014-06-16 20:03 ` Jeroen Hofstee
2014-06-16 20:37 ` Jeroen Hofstee
2014-06-16 21:50 ` Troy Kisky
2014-06-17 17:16 ` Jeroen Hofstee
2014-06-17 17:20 ` [U-Boot] [[PATCH v2]] " Jeroen Hofstee
2014-08-11 15:54 ` Anatolij Gustschin [this message]
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=20140811175411.0abbef90@crub \
--to=agust@denx.de \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox