media_build: ov534_9.c:1381:3: error: implicit declaration of function 'err'

2012-07-17 Thread Antti Palosaari

Hello Jean-François,

I just tried to build drivers using media_build.git.
Could you look that issue?

/media_build/v4l/ov534_9.c: In function 'sd_init':
/media_build/v4l/ov534_9.c:1381:3: error: implicit declaration of 
function 'err' [-Werror=implicit-function-declaration]


Diff against 3.5-rc5 says:

26a27
 #undef pr_fmt
1380c1381
pr_err(Unknown sensor %04x, sensor_id);
---
err(Unknown sensor %04x, sensor_id);


regards
Antti

--
http://palosaari.fi/

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: media_build: ov534_9.c:1381:3: error: implicit declaration of function 'err'

2012-07-17 Thread Antti Palosaari

On 07/17/2012 03:27 PM, Antti Palosaari wrote:

Hello Jean-François,

I just tried to build drivers using media_build.git.
Could you look that issue?

/media_build/v4l/ov534_9.c: In function 'sd_init':
/media_build/v4l/ov534_9.c:1381:3: error: implicit declaration of
function 'err' [-Werror=implicit-function-declaration]

Diff against 3.5-rc5 says:

26a27
  #undef pr_fmt
1380c1381
 pr_err(Unknown sensor %04x, sensor_id);
---
  err(Unknown sensor %04x, sensor_id);


argh, same seem to be for hdpvr-core.c.

Forget whole issue. 3.5-rc5 seems to have fixed those correctly but 
media_build.git downloads older drivers.


regards
Antti


--
http://palosaari.fi/


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html