All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: solo6x10: fix for sparse warning message
@ 2014-06-20  1:53 Anthony DeStefano
  2014-06-22  5:33 ` Ismael Luceno
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony DeStefano @ 2014-06-20  1:53 UTC (permalink / raw
  To: Ismael Luceno, linux-media, Mauro Carvalho Chehab

Define jpeg_dqt as static.

Signed-off-by: Anthony DeStefano <adx@fastmail.fm>
---
 drivers/staging/media/solo6x10/solo6x10-jpeg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/solo6x10/solo6x10-jpeg.h b/drivers/staging/media/solo6x10/solo6x10-jpeg.h
index c5218ce..9e41185 100644
--- a/drivers/staging/media/solo6x10/solo6x10-jpeg.h
+++ b/drivers/staging/media/solo6x10/solo6x10-jpeg.h
@@ -110,7 +110,7 @@ static const unsigned char jpeg_header[] = {
 /* This is the byte marker for the start of the DQT */
 #define DQT_START	17
 #define DQT_LEN		138
-const unsigned char jpeg_dqt[4][DQT_LEN] = {
+static const unsigned char jpeg_dqt[4][DQT_LEN] = {
 	{
 		0xff, 0xdb, 0x00, 0x43, 0x00,
 		0x08, 0x06, 0x06, 0x07, 0x06, 0x05, 0x08, 0x07,
-- 
2.0.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: solo6x10: fix for sparse warning message
  2014-06-20  1:53 [PATCH] staging: solo6x10: fix for sparse warning message Anthony DeStefano
@ 2014-06-22  5:33 ` Ismael Luceno
  0 siblings, 0 replies; 2+ messages in thread
From: Ismael Luceno @ 2014-06-22  5:33 UTC (permalink / raw
  To: Anthony DeStefano; +Cc: linux-media, Mauro Carvalho Chehab

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

On Thu, 19 Jun 2014 21:53:21 -0400
Anthony DeStefano <adx@fastmail.fm> wrote:
> Define jpeg_dqt as static.
> 
> Signed-off-by: Anthony DeStefano <adx@fastmail.fm>
> ---
>  drivers/staging/media/solo6x10/solo6x10-jpeg.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/media/solo6x10/solo6x10-jpeg.h
> b/drivers/staging/media/solo6x10/solo6x10-jpeg.h index
> c5218ce..9e41185 100644 ---
> a/drivers/staging/media/solo6x10/solo6x10-jpeg.h +++
> b/drivers/staging/media/solo6x10/solo6x10-jpeg.h @@ -110,7 +110,7 @@
> static const unsigned char jpeg_header[] = { /* This is the byte
> marker for the start of the DQT */ #define DQT_START	17
>  #define DQT_LEN		138
> -const unsigned char jpeg_dqt[4][DQT_LEN] = {
> +static const unsigned char jpeg_dqt[4][DQT_LEN] = {
>  	{
>  		0xff, 0xdb, 0x00, 0x43, 0x00,
>  		0x08, 0x06, 0x06, 0x07, 0x06, 0x05, 0x08, 0x07,

Signed-off-by: Ismael Luceno <ismael.luceno@corp.bluecherry.net>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-22  5:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-20  1:53 [PATCH] staging: solo6x10: fix for sparse warning message Anthony DeStefano
2014-06-22  5:33 ` Ismael Luceno

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.