linux-next: build failure after merge of the v4l-dvb tree

2021-02-09 Thread Stephen Rothwell
Hi all,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: modpost: missing MODULE_LICENSE() in drivers/media/i2c/max9271.o

Caused by commit

  7f03d9fefcc5 ("media: i2c: Kconfig: Make MAX9271 a module")

I have used the v4l-dvb tree from next-20210209 for today.

-- 
Cheers,
Stephen Rothwell


pgpMGzEs9n9ZT.pgp
Description: OpenPGP digital signature


linux-next: build failure after merge of the v4l-dvb tree

2020-09-14 Thread Stephen Rothwell
Hi all,

After merging the v4l-dvb tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/media/test-drivers/vidtv/vidtv_psi.c: In function 
'vidtv_psi_sdt_serv_get_desc_loop_len':
include/linux/build_bug.h:16:51: error: negative width in bit-field 
''
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
  |   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
  |   ^
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
  |   ^~~
drivers/media/test-drivers/vidtv/vidtv_psi.c:103:9: note: in expansion of macro 
'GENMASK'
  103 |  mask = GENMASK(0, 11);
  | ^~~
drivers/media/test-drivers/vidtv/vidtv_psi.c: In function 
'vidtv_psi_pmt_stream_get_desc_loop_len':
include/linux/build_bug.h:16:51: error: negative width in bit-field 
''
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
  |   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
  |   ^
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
  |   ^~~
drivers/media/test-drivers/vidtv/vidtv_psi.c:118:9: note: in expansion of macro 
'GENMASK'
  118 |  mask = GENMASK(0, 9);
  | ^~~
drivers/media/test-drivers/vidtv/vidtv_psi.c: In function 
'vidtv_psi_pmt_get_desc_loop_len':
include/linux/build_bug.h:16:51: error: negative width in bit-field 
''
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
  |   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
  |   ^
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
  |   ^~~
drivers/media/test-drivers/vidtv/vidtv_psi.c:133:9: note: in expansion of macro 
'GENMASK'
  133 |  mask = GENMASK(0, 9);
  | ^~~
drivers/media/test-drivers/vidtv/vidtv_psi.c: In function 
'vidtv_psi_get_sec_len':
include/linux/build_bug.h:16:51: error: negative width in bit-field 
''
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
  |   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
  |   ^
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
  |   ^~~
drivers/media/test-drivers/vidtv/vidtv_psi.c:148:9: note: in expansion of macro 
'GENMASK'
  148 |  mask = GENMASK(0, 11);
  | ^~~
drivers/media/test-drivers/vidtv/vidtv_psi.c: In function 
'vidtv_psi_get_pat_program_pid':
include/linux/build_bug.h:16:51: error: negative width in bit-field 
''
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
  |   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
  |   ^
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
  |   ^~~
drivers/media/test-drivers/vidtv/vidtv_psi.c:163:9: note: in expansion of macro 
'GENMASK'
  163 |  mask = GENMASK(0, 12);
  | ^~~
drivers/media/test-drivers/vidtv/vidtv_psi.c: In function 
'vidtv_psi_pmt_stream_get_elem_pid':
include/linux/build_bug.h:16:51: error: negative width in bit-field 
''
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
  |   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
  |   ^
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
  |   ^~~
drivers/media/test-drivers/vidtv/vidtv_psi.c:178:9: note: in expansion of macro 
'GENMASK'
  178 |  mask = GENMASK(0, 12);
  | ^~~
drivers/media/test-drivers/vidtv/vidtv_psi.c: In function 
'vidtv_psi_set_sec_len':
include/linux/build_bug.h:16:51: error: negative width in bit-field 
''
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
  | 

linux-next: build failure after merge of the v4l-dvb tree

2020-09-07 Thread Stephen Rothwell
Hi all,

After merging the v4l-dvb tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/media/test-drivers/vivid/vivid-core.c: In function 
'vivid_create_devnodes':
drivers/media/test-drivers/vivid/vivid-core.c:1318:11: warning: unused variable 
'i' [-Wunused-variable]
 1318 |  int ret, i;
  |   ^
drivers/media/test-drivers/vivid/vivid-core.c: In function 
'vivid_create_instance':
drivers/media/test-drivers/vivid/vivid-core.c:1885:47: error: 'cec_tx_bus_cnt' 
undeclared (first use in this function)
 1885 |  ret = vivid_create_devnodes(pdev, dev, inst, cec_tx_bus_cnt,
  |   ^~
drivers/media/test-drivers/vivid/vivid-core.c:1885:47: note: each undeclared 
identifier is reported only once for each function it appears in

Caused by commit

  62c6b4c9e3c8 ("media: vivid: move the devnode creation logic to a separate 
function")

I have used the v4l-dvb tree from next-20200903 for today.

-- 
Cheers,
Stephen Rothwell


pgpBAmJXaRKAk.pgp
Description: OpenPGP digital signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2019-07-23 Thread Mauro Carvalho Chehab
Em Tue, 23 Jul 2019 12:14:20 -0300
Ezequiel Garcia  escreveu:

> On Tue, 2019-07-23 at 10:13 +1000, Stephen Rothwell wrote:
> > Hi all,
> > 
> > After merging the v4l-dvb tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> > 
> > In file included from :
> > include/media/vp8-ctrls.h:25:2: error: unknown type name '__s8'
> >   __s8 quant_update[4];
> >   ^~~~
> > include/media/vp8-ctrls.h:26:2: error: unknown type name '__s8'
> >   __s8 lf_update[4];
> >   ^~~~
> > include/media/vp8-ctrls.h:27:2: error: unknown type name '__u8'
> >   __u8 segment_probs[3];
> >   ^~~~
> > include/media/vp8-ctrls.h:28:2: error: unknown type name '__u8'
> >   __u8 padding;
> >   ^~~~
> > include/media/vp8-ctrls.h:29:2: error: unknown type name '__u32'
> >   __u32 flags;
> >   ^
> > include/media/vp8-ctrls.h:36:2: error: unknown type name '__s8'
> >   __s8 ref_frm_delta[4];
> >   ^~~~
> > include/media/vp8-ctrls.h:37:2: error: unknown type name '__s8'
> >   __s8 mb_mode_delta[4];
> >   ^~~~
> > include/media/vp8-ctrls.h:38:2: error: unknown type name '__u8'
> >   __u8 sharpness_level;
> >   ^~~~
> > include/media/vp8-ctrls.h:39:2: error: unknown type name '__u8'
> >   __u8 level;
> >   ^~~~
> > include/media/vp8-ctrls.h:40:2: error: unknown type name '__u16'
> >   __u16 padding;
> >   ^
> > include/media/vp8-ctrls.h:41:2: error: unknown type name '__u32'
> >   __u32 flags;
> >   ^
> > include/media/vp8-ctrls.h:45:2: error: unknown type name '__u8'
> >   __u8 y_ac_qi;
> >   ^~~~
> > include/media/vp8-ctrls.h:46:2: error: unknown type name '__s8'
> >   __s8 y_dc_delta;
> >   ^~~~
> > include/media/vp8-ctrls.h:47:2: error: unknown type name '__s8'
> >   __s8 y2_dc_delta;
> >   ^~~~
> > include/media/vp8-ctrls.h:48:2: error: unknown type name '__s8'
> >   __s8 y2_ac_delta;
> >   ^~~~
> > include/media/vp8-ctrls.h:49:2: error: unknown type name '__s8'
> >   __s8 uv_dc_delta;
> >   ^~~~
> > include/media/vp8-ctrls.h:50:2: error: unknown type name '__s8'
> >   __s8 uv_ac_delta;
> >   ^~~~
> > include/media/vp8-ctrls.h:51:2: error: unknown type name '__u16'
> >   __u16 padding;
> >   ^
> > include/media/vp8-ctrls.h:55:2: error: unknown type name '__u8'
> >   __u8 coeff_probs[4][8][3][11];
> >   ^~~~
> > include/media/vp8-ctrls.h:56:2: error: unknown type name '__u8'
> >   __u8 y_mode_probs[4];
> >   ^~~~
> > include/media/vp8-ctrls.h:57:2: error: unknown type name '__u8'
> >   __u8 uv_mode_probs[3];
> >   ^~~~
> > include/media/vp8-ctrls.h:58:2: error: unknown type name '__u8'
> >   __u8 mv_probs[2][19];
> >   ^~~~
> > include/media/vp8-ctrls.h:59:2: error: unknown type name '__u8'
> >   __u8 padding[3];
> >   ^~~~
> > include/media/vp8-ctrls.h:63:2: error: unknown type name '__u8'
> >   __u8 range;
> >   ^~~~
> > include/media/vp8-ctrls.h:64:2: error: unknown type name '__u8'
> >   __u8 value;
> >   ^~~~
> > include/media/vp8-ctrls.h:65:2: error: unknown type name '__u8'
> >   __u8 bit_count;
> >   ^~~~
> > include/media/vp8-ctrls.h:66:2: error: unknown type name '__u8'
> >   __u8 padding;
> >   ^~~~
> > include/media/vp8-ctrls.h:86:2: error: unknown type name '__u16'
> >   __u16 width;
> >   ^
> > include/media/vp8-ctrls.h:87:2: error: unknown type name '__u16'
> >   __u16 height;
> >   ^
> > include/media/vp8-ctrls.h:89:2: error: unknown type name '__u8'
> >   __u8 horizontal_scale;
> >   ^~~~
> > include/media/vp8-ctrls.h:90:2: error: unknown type name '__u8'
> >   __u8 vertical_scale;
> >   ^~~~
> > include/media/vp8-ctrls.h:92:2: error: unknown type name '__u8'
> >   __u8 version;
> >   ^~~~
> > include/media/vp8-ctrls.h:93:2: error: unknown type name '__u8'
> >   __u8 prob_skip_false;
> >   ^~~~
> > include/media/vp8-ctrls.h:94:2: error: unknown type name '__u8'
> >   __u8 prob_intra;
> >   ^~~~
> > include/media/vp8-ctrls.h:95:2: error: unknown type name '__u8'
> >   __u8 prob_last;
> >   ^~~~
> > include/media/vp8-ctrls.h:96:2: error: unknown type name '__u8'
> >   __u8 prob_gf;
> >   ^~~~
> > include/media/vp8-ctrls.h:97:2: error: unknown type name '__u8'
> >   __u8 num_dct_parts;
> >   ^~~~
> > include/media/vp8-ctrls.h:99:2: error: unknown type name '__u32'
> >   __u32 first_part_size;
> >   ^
> > include/media/vp8-ctrls.h:100:2: error: unknown type name '__u32'
> >   __u32 first_part_header_bits;
> >   ^
> > include/media/vp8-ctrls.h:101:2: error: unknown type name '__u32'
> >   __u32 dct_part_sizes[8];
> >   ^
> > include/media/vp8-ctrls.h:103:2: error: unknown type name '__u64'
> >   __u64 last_frame_ts;
> >   ^
> > include/media/vp8-ctrls.h:104:2: error: unknown type name '__u64'
> >   __u64 golden_frame_ts;
> >   ^
> > include/media/vp8-ctrls.h:105:2: error: unknown type name '__u64'
> >   __u64 alt_frame_ts;
> >   ^
> > include/media/vp8-ctrls.h:107:2: error: unknown type name '__u64'
> >   __u64 flags;
> >   ^
> > 
> > Caused by commit
> > 
> >   a57d6acaf352 ("media: uapi: Add VP8 stateless decoder API")
> > 
> > I have added the following 

Re: linux-next: build failure after merge of the v4l-dvb tree

2019-07-23 Thread Ezequiel Garcia
On Tue, 2019-07-23 at 10:13 +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> In file included from :
> include/media/vp8-ctrls.h:25:2: error: unknown type name '__s8'
>   __s8 quant_update[4];
>   ^~~~
> include/media/vp8-ctrls.h:26:2: error: unknown type name '__s8'
>   __s8 lf_update[4];
>   ^~~~
> include/media/vp8-ctrls.h:27:2: error: unknown type name '__u8'
>   __u8 segment_probs[3];
>   ^~~~
> include/media/vp8-ctrls.h:28:2: error: unknown type name '__u8'
>   __u8 padding;
>   ^~~~
> include/media/vp8-ctrls.h:29:2: error: unknown type name '__u32'
>   __u32 flags;
>   ^
> include/media/vp8-ctrls.h:36:2: error: unknown type name '__s8'
>   __s8 ref_frm_delta[4];
>   ^~~~
> include/media/vp8-ctrls.h:37:2: error: unknown type name '__s8'
>   __s8 mb_mode_delta[4];
>   ^~~~
> include/media/vp8-ctrls.h:38:2: error: unknown type name '__u8'
>   __u8 sharpness_level;
>   ^~~~
> include/media/vp8-ctrls.h:39:2: error: unknown type name '__u8'
>   __u8 level;
>   ^~~~
> include/media/vp8-ctrls.h:40:2: error: unknown type name '__u16'
>   __u16 padding;
>   ^
> include/media/vp8-ctrls.h:41:2: error: unknown type name '__u32'
>   __u32 flags;
>   ^
> include/media/vp8-ctrls.h:45:2: error: unknown type name '__u8'
>   __u8 y_ac_qi;
>   ^~~~
> include/media/vp8-ctrls.h:46:2: error: unknown type name '__s8'
>   __s8 y_dc_delta;
>   ^~~~
> include/media/vp8-ctrls.h:47:2: error: unknown type name '__s8'
>   __s8 y2_dc_delta;
>   ^~~~
> include/media/vp8-ctrls.h:48:2: error: unknown type name '__s8'
>   __s8 y2_ac_delta;
>   ^~~~
> include/media/vp8-ctrls.h:49:2: error: unknown type name '__s8'
>   __s8 uv_dc_delta;
>   ^~~~
> include/media/vp8-ctrls.h:50:2: error: unknown type name '__s8'
>   __s8 uv_ac_delta;
>   ^~~~
> include/media/vp8-ctrls.h:51:2: error: unknown type name '__u16'
>   __u16 padding;
>   ^
> include/media/vp8-ctrls.h:55:2: error: unknown type name '__u8'
>   __u8 coeff_probs[4][8][3][11];
>   ^~~~
> include/media/vp8-ctrls.h:56:2: error: unknown type name '__u8'
>   __u8 y_mode_probs[4];
>   ^~~~
> include/media/vp8-ctrls.h:57:2: error: unknown type name '__u8'
>   __u8 uv_mode_probs[3];
>   ^~~~
> include/media/vp8-ctrls.h:58:2: error: unknown type name '__u8'
>   __u8 mv_probs[2][19];
>   ^~~~
> include/media/vp8-ctrls.h:59:2: error: unknown type name '__u8'
>   __u8 padding[3];
>   ^~~~
> include/media/vp8-ctrls.h:63:2: error: unknown type name '__u8'
>   __u8 range;
>   ^~~~
> include/media/vp8-ctrls.h:64:2: error: unknown type name '__u8'
>   __u8 value;
>   ^~~~
> include/media/vp8-ctrls.h:65:2: error: unknown type name '__u8'
>   __u8 bit_count;
>   ^~~~
> include/media/vp8-ctrls.h:66:2: error: unknown type name '__u8'
>   __u8 padding;
>   ^~~~
> include/media/vp8-ctrls.h:86:2: error: unknown type name '__u16'
>   __u16 width;
>   ^
> include/media/vp8-ctrls.h:87:2: error: unknown type name '__u16'
>   __u16 height;
>   ^
> include/media/vp8-ctrls.h:89:2: error: unknown type name '__u8'
>   __u8 horizontal_scale;
>   ^~~~
> include/media/vp8-ctrls.h:90:2: error: unknown type name '__u8'
>   __u8 vertical_scale;
>   ^~~~
> include/media/vp8-ctrls.h:92:2: error: unknown type name '__u8'
>   __u8 version;
>   ^~~~
> include/media/vp8-ctrls.h:93:2: error: unknown type name '__u8'
>   __u8 prob_skip_false;
>   ^~~~
> include/media/vp8-ctrls.h:94:2: error: unknown type name '__u8'
>   __u8 prob_intra;
>   ^~~~
> include/media/vp8-ctrls.h:95:2: error: unknown type name '__u8'
>   __u8 prob_last;
>   ^~~~
> include/media/vp8-ctrls.h:96:2: error: unknown type name '__u8'
>   __u8 prob_gf;
>   ^~~~
> include/media/vp8-ctrls.h:97:2: error: unknown type name '__u8'
>   __u8 num_dct_parts;
>   ^~~~
> include/media/vp8-ctrls.h:99:2: error: unknown type name '__u32'
>   __u32 first_part_size;
>   ^
> include/media/vp8-ctrls.h:100:2: error: unknown type name '__u32'
>   __u32 first_part_header_bits;
>   ^
> include/media/vp8-ctrls.h:101:2: error: unknown type name '__u32'
>   __u32 dct_part_sizes[8];
>   ^
> include/media/vp8-ctrls.h:103:2: error: unknown type name '__u64'
>   __u64 last_frame_ts;
>   ^
> include/media/vp8-ctrls.h:104:2: error: unknown type name '__u64'
>   __u64 golden_frame_ts;
>   ^
> include/media/vp8-ctrls.h:105:2: error: unknown type name '__u64'
>   __u64 alt_frame_ts;
>   ^
> include/media/vp8-ctrls.h:107:2: error: unknown type name '__u64'
>   __u64 flags;
>   ^
> 
> Caused by commit
> 
>   a57d6acaf352 ("media: uapi: Add VP8 stateless decoder API")
> 
> I have added the following fix patch for today.
> 

Looks good, thanks for the fix. I wonder why this
got triggered with VP8 only, and not with MPEG-2.

Acked-by: Ezequiel Garcia 

> From: Stephen Rothwell 
> Date: Tue, 23 Jul 2019 10:07:40 +1000
> Subject: [PATCH] media: uapi: new file needs types.h
> 
> Signed-off-by: Stephen Rothwell 
> ---
>  include/media/vp8-ctrls.h | 2 

linux-next: build failure after merge of the v4l-dvb tree

2019-07-22 Thread Stephen Rothwell
Hi all,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from :
include/media/vp8-ctrls.h:25:2: error: unknown type name '__s8'
  __s8 quant_update[4];
  ^~~~
include/media/vp8-ctrls.h:26:2: error: unknown type name '__s8'
  __s8 lf_update[4];
  ^~~~
include/media/vp8-ctrls.h:27:2: error: unknown type name '__u8'
  __u8 segment_probs[3];
  ^~~~
include/media/vp8-ctrls.h:28:2: error: unknown type name '__u8'
  __u8 padding;
  ^~~~
include/media/vp8-ctrls.h:29:2: error: unknown type name '__u32'
  __u32 flags;
  ^
include/media/vp8-ctrls.h:36:2: error: unknown type name '__s8'
  __s8 ref_frm_delta[4];
  ^~~~
include/media/vp8-ctrls.h:37:2: error: unknown type name '__s8'
  __s8 mb_mode_delta[4];
  ^~~~
include/media/vp8-ctrls.h:38:2: error: unknown type name '__u8'
  __u8 sharpness_level;
  ^~~~
include/media/vp8-ctrls.h:39:2: error: unknown type name '__u8'
  __u8 level;
  ^~~~
include/media/vp8-ctrls.h:40:2: error: unknown type name '__u16'
  __u16 padding;
  ^
include/media/vp8-ctrls.h:41:2: error: unknown type name '__u32'
  __u32 flags;
  ^
include/media/vp8-ctrls.h:45:2: error: unknown type name '__u8'
  __u8 y_ac_qi;
  ^~~~
include/media/vp8-ctrls.h:46:2: error: unknown type name '__s8'
  __s8 y_dc_delta;
  ^~~~
include/media/vp8-ctrls.h:47:2: error: unknown type name '__s8'
  __s8 y2_dc_delta;
  ^~~~
include/media/vp8-ctrls.h:48:2: error: unknown type name '__s8'
  __s8 y2_ac_delta;
  ^~~~
include/media/vp8-ctrls.h:49:2: error: unknown type name '__s8'
  __s8 uv_dc_delta;
  ^~~~
include/media/vp8-ctrls.h:50:2: error: unknown type name '__s8'
  __s8 uv_ac_delta;
  ^~~~
include/media/vp8-ctrls.h:51:2: error: unknown type name '__u16'
  __u16 padding;
  ^
include/media/vp8-ctrls.h:55:2: error: unknown type name '__u8'
  __u8 coeff_probs[4][8][3][11];
  ^~~~
include/media/vp8-ctrls.h:56:2: error: unknown type name '__u8'
  __u8 y_mode_probs[4];
  ^~~~
include/media/vp8-ctrls.h:57:2: error: unknown type name '__u8'
  __u8 uv_mode_probs[3];
  ^~~~
include/media/vp8-ctrls.h:58:2: error: unknown type name '__u8'
  __u8 mv_probs[2][19];
  ^~~~
include/media/vp8-ctrls.h:59:2: error: unknown type name '__u8'
  __u8 padding[3];
  ^~~~
include/media/vp8-ctrls.h:63:2: error: unknown type name '__u8'
  __u8 range;
  ^~~~
include/media/vp8-ctrls.h:64:2: error: unknown type name '__u8'
  __u8 value;
  ^~~~
include/media/vp8-ctrls.h:65:2: error: unknown type name '__u8'
  __u8 bit_count;
  ^~~~
include/media/vp8-ctrls.h:66:2: error: unknown type name '__u8'
  __u8 padding;
  ^~~~
include/media/vp8-ctrls.h:86:2: error: unknown type name '__u16'
  __u16 width;
  ^
include/media/vp8-ctrls.h:87:2: error: unknown type name '__u16'
  __u16 height;
  ^
include/media/vp8-ctrls.h:89:2: error: unknown type name '__u8'
  __u8 horizontal_scale;
  ^~~~
include/media/vp8-ctrls.h:90:2: error: unknown type name '__u8'
  __u8 vertical_scale;
  ^~~~
include/media/vp8-ctrls.h:92:2: error: unknown type name '__u8'
  __u8 version;
  ^~~~
include/media/vp8-ctrls.h:93:2: error: unknown type name '__u8'
  __u8 prob_skip_false;
  ^~~~
include/media/vp8-ctrls.h:94:2: error: unknown type name '__u8'
  __u8 prob_intra;
  ^~~~
include/media/vp8-ctrls.h:95:2: error: unknown type name '__u8'
  __u8 prob_last;
  ^~~~
include/media/vp8-ctrls.h:96:2: error: unknown type name '__u8'
  __u8 prob_gf;
  ^~~~
include/media/vp8-ctrls.h:97:2: error: unknown type name '__u8'
  __u8 num_dct_parts;
  ^~~~
include/media/vp8-ctrls.h:99:2: error: unknown type name '__u32'
  __u32 first_part_size;
  ^
include/media/vp8-ctrls.h:100:2: error: unknown type name '__u32'
  __u32 first_part_header_bits;
  ^
include/media/vp8-ctrls.h:101:2: error: unknown type name '__u32'
  __u32 dct_part_sizes[8];
  ^
include/media/vp8-ctrls.h:103:2: error: unknown type name '__u64'
  __u64 last_frame_ts;
  ^
include/media/vp8-ctrls.h:104:2: error: unknown type name '__u64'
  __u64 golden_frame_ts;
  ^
include/media/vp8-ctrls.h:105:2: error: unknown type name '__u64'
  __u64 alt_frame_ts;
  ^
include/media/vp8-ctrls.h:107:2: error: unknown type name '__u64'
  __u64 flags;
  ^

Caused by commit

  a57d6acaf352 ("media: uapi: Add VP8 stateless decoder API")

I have added the following fix patch for today.

From: Stephen Rothwell 
Date: Tue, 23 Jul 2019 10:07:40 +1000
Subject: [PATCH] media: uapi: new file needs types.h

Signed-off-by: Stephen Rothwell 
---
 include/media/vp8-ctrls.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/media/vp8-ctrls.h b/include/media/vp8-ctrls.h
index 6cc2eeea4c90..53cba826e482 100644
--- a/include/media/vp8-ctrls.h
+++ b/include/media/vp8-ctrls.h
@@ -11,6 +11,8 @@
 #ifndef _VP8_CTRLS_H_
 #define _VP8_CTRLS_H_
 
+#include 
+
 #define V4L2_PIX_FMT_VP8_FRAME v4l2_fourcc('V', 'P', '8', 'F')
 
 #define V4L2_CID_MPEG_VIDEO_VP8_FRAME_HEADER (V4L2_CID_MPEG_BASE + 2000)
-- 
2.20.1

-- 
Cheers,
Stephen Rothwell


pgp1lGnU_CIAu.pgp

linux-next: build failure after merge of the v4l-dvb tree

2019-02-18 Thread Stephen Rothwell
Hi all,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/staging/media/imx/imx7-media-csi.c: In function 'imx7_csi_set_fmt':
drivers/staging/media/imx/imx7-media-csi.c:1086:11: error: passing argument 2 
of 'imx_media_mbus_fmt_to_pix_fmt' from incompatible pointer type 
[-Werror=incompatible-pointer-types]
   >format_mbus[IMX7_CSI_PAD_SRC],
   ^~~
In file included from drivers/staging/media/imx/imx7-media-csi.c:30:
drivers/staging/media/imx/imx-media.h:183:25: note: expected 'struct v4l2_rect 
*' but argument is of type 'struct v4l2_mbus_framefmt *'
   struct v4l2_rect *compose,
   ~~^~~
drivers/staging/media/imx/imx7-media-csi.c:1087:18: error: passing argument 3 
of 'imx_media_mbus_fmt_to_pix_fmt' from incompatible pointer type 
[-Werror=incompatible-pointer-types]
   csi->cc[IMX7_CSI_PAD_SRC]);
   ~~~^~
In file included from drivers/staging/media/imx/imx7-media-csi.c:30:
drivers/staging/media/imx/imx-media.h:184:40: note: expected 'const struct 
v4l2_mbus_framefmt *' but argument is of type 'const struct imx_media_pixfmt *'
   const struct v4l2_mbus_framefmt *mbus,
   ~^~~~
drivers/staging/media/imx/imx7-media-csi.c:1085:2: error: too few arguments to 
function 'imx_media_mbus_fmt_to_pix_fmt'
  imx_media_mbus_fmt_to_pix_fmt(_fmt,
  ^
In file included from drivers/staging/media/imx/imx7-media-csi.c:30:
drivers/staging/media/imx/imx-media.h:182:5: note: declared here
 int imx_media_mbus_fmt_to_pix_fmt(struct v4l2_pix_format *pix,
 ^
drivers/staging/media/imx/imx7-media-csi.c:1089:2: error: too few arguments to 
function 'imx_media_capture_device_set_format'
  imx_media_capture_device_set_format(vdev, _fmt);
  ^~~
In file included from drivers/staging/media/imx/imx7-media-csi.c:30:
drivers/staging/media/imx/imx-media.h:278:6: note: declared here
 void imx_media_capture_device_set_format(struct imx_media_video_dev *vdev,
  ^~~

Caused by commit

  05f634040c0d ("media: staging/imx7: add imx7 CSI subdev driver")

interacting with the earlier commit

  5964cbd86922 ("media: imx: Set capture compose rectangle in 
capture_device_set_format")

I have used the v4l-dvb tree from next-20190218 for today.

-- 
Cheers,
Stephen Rothwell


pgpNLzd4Llqg9.pgp
Description: OpenPGP digital signature


linux-next: build failure after merge of the v4l-dvb tree

2018-07-26 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

fs/compat_ioctl.c: In function 'do_video_set_spu_palette':
fs/compat_ioctl.c:218:45: error: invalid application of 'sizeof' to incomplete 
type 'struct video_spu_palette'
  up_native = compat_alloc_user_space(sizeof(struct video_spu_palette));
 ^~
In file included from include/linux/uaccess.h:14:0,
 from include/linux/compat.h:19,
 from fs/compat_ioctl.c:17:
fs/compat_ioctl.c:219:46: error: dereferencing pointer to incomplete type 
'struct video_spu_palette'
  err  = put_user(compat_ptr(palp), _native->palette);
  ^
At top level:
fs/compat_ioctl.c:206:12: warning: 'do_video_set_spu_palette' defined but not 
used [-Wunused-function]
 static int do_video_set_spu_palette(struct file *file,
^~~~

Caused by commit

  f863ce990030 ("media: dvb: get rid of VIDEO_SET_SPU_PALETTE")

grep is your friend ...

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell


pgpz9D4vMW0yA.pgp
Description: OpenPGP digital signature


linux-next: build failure after merge of the v4l-dvb tree

2018-07-26 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

fs/compat_ioctl.c: In function 'do_video_set_spu_palette':
fs/compat_ioctl.c:218:45: error: invalid application of 'sizeof' to incomplete 
type 'struct video_spu_palette'
  up_native = compat_alloc_user_space(sizeof(struct video_spu_palette));
 ^~
In file included from include/linux/uaccess.h:14:0,
 from include/linux/compat.h:19,
 from fs/compat_ioctl.c:17:
fs/compat_ioctl.c:219:46: error: dereferencing pointer to incomplete type 
'struct video_spu_palette'
  err  = put_user(compat_ptr(palp), _native->palette);
  ^
At top level:
fs/compat_ioctl.c:206:12: warning: 'do_video_set_spu_palette' defined but not 
used [-Wunused-function]
 static int do_video_set_spu_palette(struct file *file,
^~~~

Caused by commit

  f863ce990030 ("media: dvb: get rid of VIDEO_SET_SPU_PALETTE")

grep is your friend ...

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell


pgpz9D4vMW0yA.pgp
Description: OpenPGP digital signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-06-21 Thread Stanimir Varbanov
Hi Stephen,

On 06/21/2017 04:25 AM, Stephen Rothwell wrote:
> Hi Mauro,
> 
> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> ERROR: "qcom_scm_is_available" 
> [drivers/media/platform/qcom/venus/venus-core.ko] undefined!
> ERROR: "qcom_scm_pas_shutdown" 
> [drivers/media/platform/qcom/venus/venus-core.ko] undefined!
> ERROR: "qcom_scm_set_remote_state" 
> [drivers/media/platform/qcom/venus/venus-core.ko] undefined!
> 
> Caused by commits
> 
>   af2c3834c8ca ("[media] media: venus: adding core part and helper functions")
>   d96d3f30c0f2 ("[media] media: venus: hfi: add Venus HFI files")
>   703528005e58 ("[media] media: venus: enable building of Venus video driver")
> 
> I have merged the 4vl-dvb tree from next-20170620 for today.
> 

I've investigated this and the issue comes from this commit:

d4348b43bbcadb6d5faee36024245944b6600d25 firmware: qcom_scm: Fix to
allow COMPILE_TEST-ing

which is from Andy's qcom git tree, I asked Andy to drop this patch
because it was rejected.

I also manually merged v4l-dvb:master and reverted above commit. After
that allmodconfig builds fine and the subject error from venus driver
disappeared.

Sorry for inconvenience.

-- 
regards,
Stan


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-06-21 Thread Stanimir Varbanov
Hi Stephen,

On 06/21/2017 04:25 AM, Stephen Rothwell wrote:
> Hi Mauro,
> 
> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> ERROR: "qcom_scm_is_available" 
> [drivers/media/platform/qcom/venus/venus-core.ko] undefined!
> ERROR: "qcom_scm_pas_shutdown" 
> [drivers/media/platform/qcom/venus/venus-core.ko] undefined!
> ERROR: "qcom_scm_set_remote_state" 
> [drivers/media/platform/qcom/venus/venus-core.ko] undefined!
> 
> Caused by commits
> 
>   af2c3834c8ca ("[media] media: venus: adding core part and helper functions")
>   d96d3f30c0f2 ("[media] media: venus: hfi: add Venus HFI files")
>   703528005e58 ("[media] media: venus: enable building of Venus video driver")
> 
> I have merged the 4vl-dvb tree from next-20170620 for today.
> 

I've investigated this and the issue comes from this commit:

d4348b43bbcadb6d5faee36024245944b6600d25 firmware: qcom_scm: Fix to
allow COMPILE_TEST-ing

which is from Andy's qcom git tree, I asked Andy to drop this patch
because it was rejected.

I also manually merged v4l-dvb:master and reverted above commit. After
that allmodconfig builds fine and the subject error from venus driver
disappeared.

Sorry for inconvenience.

-- 
regards,
Stan


linux-next: build failure after merge of the v4l-dvb tree

2017-06-20 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: "qcom_scm_is_available" 
[drivers/media/platform/qcom/venus/venus-core.ko] undefined!
ERROR: "qcom_scm_pas_shutdown" 
[drivers/media/platform/qcom/venus/venus-core.ko] undefined!
ERROR: "qcom_scm_set_remote_state" 
[drivers/media/platform/qcom/venus/venus-core.ko] undefined!

Caused by commits

  af2c3834c8ca ("[media] media: venus: adding core part and helper functions")
  d96d3f30c0f2 ("[media] media: venus: hfi: add Venus HFI files")
  703528005e58 ("[media] media: venus: enable building of Venus video driver")

I have merged the 4vl-dvb tree from next-20170620 for today.

-- 
Cheers,
Stephen Rothwell


linux-next: build failure after merge of the v4l-dvb tree

2017-06-20 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: "qcom_scm_is_available" 
[drivers/media/platform/qcom/venus/venus-core.ko] undefined!
ERROR: "qcom_scm_pas_shutdown" 
[drivers/media/platform/qcom/venus/venus-core.ko] undefined!
ERROR: "qcom_scm_set_remote_state" 
[drivers/media/platform/qcom/venus/venus-core.ko] undefined!

Caused by commits

  af2c3834c8ca ("[media] media: venus: adding core part and helper functions")
  d96d3f30c0f2 ("[media] media: venus: hfi: add Venus HFI files")
  703528005e58 ("[media] media: venus: enable building of Venus video driver")

I have merged the 4vl-dvb tree from next-20170620 for today.

-- 
Cheers,
Stephen Rothwell


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-05 Thread Mauro Carvalho Chehab
Em Mon, 6 Feb 2017 09:19:14 +1100
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> On Thu, 2 Feb 2017 22:24:35 -0200 Mauro Carvalho Chehab 
>  wrote:
> >
> > So, if this is not a problem to you, maybe you can setup your
> > environment to pull (in this order) from:
> > 
> > git://linuxtv.org/media_tree.git fixes
> > git://linuxtv.org/media_tree.git master
> > git://linuxtv.org/mchehab/media-next.git master
> > 
> > Most of the time, the last pull won't get anything.  
> 
> OK, from today I have those three trees called v4l-dvb-fixes, v4l-dvb
> and v4l-dvb-next respectively.  We'll see how it goes.

OK!

Thanks!
Mauro


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-05 Thread Mauro Carvalho Chehab
Em Mon, 6 Feb 2017 09:19:14 +1100
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> On Thu, 2 Feb 2017 22:24:35 -0200 Mauro Carvalho Chehab 
>  wrote:
> >
> > So, if this is not a problem to you, maybe you can setup your
> > environment to pull (in this order) from:
> > 
> > git://linuxtv.org/media_tree.git fixes
> > git://linuxtv.org/media_tree.git master
> > git://linuxtv.org/mchehab/media-next.git master
> > 
> > Most of the time, the last pull won't get anything.  
> 
> OK, from today I have those three trees called v4l-dvb-fixes, v4l-dvb
> and v4l-dvb-next respectively.  We'll see how it goes.

OK!

Thanks!
Mauro


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-05 Thread Stephen Rothwell
Hi Mauro,

On Thu, 2 Feb 2017 22:24:35 -0200 Mauro Carvalho Chehab 
 wrote:
>
> So, if this is not a problem to you, maybe you can setup your
> environment to pull (in this order) from:
> 
>   git://linuxtv.org/media_tree.git fixes
>   git://linuxtv.org/media_tree.git master
>   git://linuxtv.org/mchehab/media-next.git master
> 
> Most of the time, the last pull won't get anything.

OK, from today I have those three trees called v4l-dvb-fixes, v4l-dvb
and v4l-dvb-next respectively.  We'll see how it goes.

Thanks for adding your subsystem tree as a participant of linux-next.  As
you may know, this is not a judgement of your code.  The purpose of
linux-next is for integration testing and to lower the impact of
conflicts between subsystems in the next merge window. 

You will need to ensure that the patches/commits in your tree/series have
been:
 * submitted under GPL v2 (or later) and include the Contributor's
Signed-off-by,
 * posted to the relevant mailing list,
 * reviewed by you (or another maintainer of your subsystem tree),
 * successfully unit tested, and 
 * destined for the current or next Linux merge window.

Basically, this should be just what you would send to Linus (or ask him
to fetch).  It is allowed to be rebased if you deem it necessary.

-- 
Cheers,
Stephen Rothwell 
s...@canb.auug.org.au


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-05 Thread Stephen Rothwell
Hi Mauro,

On Thu, 2 Feb 2017 22:24:35 -0200 Mauro Carvalho Chehab 
 wrote:
>
> So, if this is not a problem to you, maybe you can setup your
> environment to pull (in this order) from:
> 
>   git://linuxtv.org/media_tree.git fixes
>   git://linuxtv.org/media_tree.git master
>   git://linuxtv.org/mchehab/media-next.git master
> 
> Most of the time, the last pull won't get anything.

OK, from today I have those three trees called v4l-dvb-fixes, v4l-dvb
and v4l-dvb-next respectively.  We'll see how it goes.

Thanks for adding your subsystem tree as a participant of linux-next.  As
you may know, this is not a judgement of your code.  The purpose of
linux-next is for integration testing and to lower the impact of
conflicts between subsystems in the next merge window. 

You will need to ensure that the patches/commits in your tree/series have
been:
 * submitted under GPL v2 (or later) and include the Contributor's
Signed-off-by,
 * posted to the relevant mailing list,
 * reviewed by you (or another maintainer of your subsystem tree),
 * successfully unit tested, and 
 * destined for the current or next Linux merge window.

Basically, this should be just what you would send to Linus (or ask him
to fetch).  It is allowed to be rebased if you deem it necessary.

-- 
Cheers,
Stephen Rothwell 
s...@canb.auug.org.au


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Mauro Carvalho Chehab
Em Fri, 3 Feb 2017 11:01:17 +1100
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> On Thu, 2 Feb 2017 21:24:40 -0200 Mauro Carvalho Chehab 
>  wrote:
> >
> > I actually push the patches on a different tree:
> > git://linuxtv.org/media_tree.git
> > 
> > At the branches "master" and "fixes", where
> > 
> > master - for rolling develoment patches
> > fixes - for bug fixes against current -rc release  
> 
> So maybe I should fetch those 2 branches separately and save you the
> bother of merging them yourself?  There will be occasional conflicts,
> but I get those with others trees as well.

Yeah, that makes sense.

> 
> > My current procedure is to manually merge both branches
> > at git://linuxtv.org/mchehab/media-next.git, but this is a manual
> > work, that I use to do by the end of the days I merge patches.
> > Unfortunately, sometimes, I got side-tracked by something and
> > I forget to do such manual merge.  
> 
> Unless you need to do that for your own testing.

Yes, when I merge there, I usually run a batch process that takes
about 2 hours on my current build machine[1] and compile it with 57
different config/arch combinations.

[1] I'm waiting for a new machine that will hopefully reduce it.

With Kernel test robot, this usually get good results.

It would be still interesting if you could pull from it, as
sometimes I need to create topic branches (either when there's
a controversial patchset that I would be sending in separate, or
when I need to pull from some other subsystem tree to solve a
complex merge conflict).

So, if this is not a problem to you, maybe you can setup your
environment to pull (in this order) from:

git://linuxtv.org/media_tree.git fixes
git://linuxtv.org/media_tree.git master
git://linuxtv.org/mchehab/media-next.git master

Most of the time, the last pull won't get anything.

-- 
Thanks,
Mauro


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Mauro Carvalho Chehab
Em Fri, 3 Feb 2017 11:01:17 +1100
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> On Thu, 2 Feb 2017 21:24:40 -0200 Mauro Carvalho Chehab 
>  wrote:
> >
> > I actually push the patches on a different tree:
> > git://linuxtv.org/media_tree.git
> > 
> > At the branches "master" and "fixes", where
> > 
> > master - for rolling develoment patches
> > fixes - for bug fixes against current -rc release  
> 
> So maybe I should fetch those 2 branches separately and save you the
> bother of merging them yourself?  There will be occasional conflicts,
> but I get those with others trees as well.

Yeah, that makes sense.

> 
> > My current procedure is to manually merge both branches
> > at git://linuxtv.org/mchehab/media-next.git, but this is a manual
> > work, that I use to do by the end of the days I merge patches.
> > Unfortunately, sometimes, I got side-tracked by something and
> > I forget to do such manual merge.  
> 
> Unless you need to do that for your own testing.

Yes, when I merge there, I usually run a batch process that takes
about 2 hours on my current build machine[1] and compile it with 57
different config/arch combinations.

[1] I'm waiting for a new machine that will hopefully reduce it.

With Kernel test robot, this usually get good results.

It would be still interesting if you could pull from it, as
sometimes I need to create topic branches (either when there's
a controversial patchset that I would be sending in separate, or
when I need to pull from some other subsystem tree to solve a
complex merge conflict).

So, if this is not a problem to you, maybe you can setup your
environment to pull (in this order) from:

git://linuxtv.org/media_tree.git fixes
git://linuxtv.org/media_tree.git master
git://linuxtv.org/mchehab/media-next.git master

Most of the time, the last pull won't get anything.

-- 
Thanks,
Mauro


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Stephen Rothwell
Hi Mauro,

On Thu, 2 Feb 2017 21:24:40 -0200 Mauro Carvalho Chehab 
 wrote:
>
> I actually push the patches on a different tree:
>   git://linuxtv.org/media_tree.git
> 
> At the branches "master" and "fixes", where
> 
> master - for rolling develoment patches
> fixes - for bug fixes against current -rc release

So maybe I should fetch those 2 branches separately and save you the
bother of merging them yourself?  There will be occasional conflicts,
but I get those with others trees as well.

> My current procedure is to manually merge both branches
> at git://linuxtv.org/mchehab/media-next.git, but this is a manual
> work, that I use to do by the end of the days I merge patches.
> Unfortunately, sometimes, I got side-tracked by something and
> I forget to do such manual merge.

Unless you need to do that for your own testing.

-- 
Cheers,
Stephen Rothwell


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Stephen Rothwell
Hi Mauro,

On Thu, 2 Feb 2017 21:24:40 -0200 Mauro Carvalho Chehab 
 wrote:
>
> I actually push the patches on a different tree:
>   git://linuxtv.org/media_tree.git
> 
> At the branches "master" and "fixes", where
> 
> master - for rolling develoment patches
> fixes - for bug fixes against current -rc release

So maybe I should fetch those 2 branches separately and save you the
bother of merging them yourself?  There will be occasional conflicts,
but I get those with others trees as well.

> My current procedure is to manually merge both branches
> at git://linuxtv.org/mchehab/media-next.git, but this is a manual
> work, that I use to do by the end of the days I merge patches.
> Unfortunately, sometimes, I got side-tracked by something and
> I forget to do such manual merge.

Unless you need to do that for your own testing.

-- 
Cheers,
Stephen Rothwell


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Mauro Carvalho Chehab
Em Fri, 3 Feb 2017 09:59:34 +1100
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> On Thu, 2 Feb 2017 20:46:20 -0200 Mauro Carvalho Chehab 
>  wrote:
> >
> > Gah, forgot to push the fix on the -next branch. Should be ok now.  
> 
> What I fetch for the v4l-dvb tree is the master branch of
> git://linuxtv.org/mchehab/media-next.git

I actually push the patches on a different tree:
git://linuxtv.org/media_tree.git

At the branches "master" and "fixes", where

master - for rolling develoment patches
fixes - for bug fixes against current -rc release

My current procedure is to manually merge both branches
at git://linuxtv.org/mchehab/media-next.git, but this is a manual
work, that I use to do by the end of the days I merge patches.
Unfortunately, sometimes, I got side-tracked by something and
I forget to do such manual merge.

-- 
Thanks,
Mauro


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Mauro Carvalho Chehab
Em Fri, 3 Feb 2017 09:59:34 +1100
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> On Thu, 2 Feb 2017 20:46:20 -0200 Mauro Carvalho Chehab 
>  wrote:
> >
> > Gah, forgot to push the fix on the -next branch. Should be ok now.  
> 
> What I fetch for the v4l-dvb tree is the master branch of
> git://linuxtv.org/mchehab/media-next.git

I actually push the patches on a different tree:
git://linuxtv.org/media_tree.git

At the branches "master" and "fixes", where

master - for rolling develoment patches
fixes - for bug fixes against current -rc release

My current procedure is to manually merge both branches
at git://linuxtv.org/mchehab/media-next.git, but this is a manual
work, that I use to do by the end of the days I merge patches.
Unfortunately, sometimes, I got side-tracked by something and
I forget to do such manual merge.

-- 
Thanks,
Mauro


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Stephen Rothwell
Hi Mauro,

On Thu, 2 Feb 2017 20:46:20 -0200 Mauro Carvalho Chehab 
 wrote:
>
> Gah, forgot to push the fix on the -next branch. Should be ok now.

What I fetch for the v4l-dvb tree is the master branch of
git://linuxtv.org/mchehab/media-next.git

-- 
Cheers,
Stephen Rothwell


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Stephen Rothwell
Hi Mauro,

On Thu, 2 Feb 2017 20:46:20 -0200 Mauro Carvalho Chehab 
 wrote:
>
> Gah, forgot to push the fix on the -next branch. Should be ok now.

What I fetch for the v4l-dvb tree is the master branch of
git://linuxtv.org/mchehab/media-next.git

-- 
Cheers,
Stephen Rothwell


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Mauro Carvalho Chehab
Em Fri, 3 Feb 2017 09:24:46 +1100
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> On Tue, 31 Jan 2017 11:55:05 +1100 Stephen Rothwell  
> wrote:
> >
> > After merging the v4l-dvb tree, today's linux-next build (arm
> > multi_v7_defconfig) failed like this:
> > 
> > In file included from arch/arm/mach-omap2/pdata-quirks.c:15:0:
> > arch/arm/mach-omap2/pdata-quirks.c:536:49: error: 'rx51_lirc_data' 
> > undeclared here (not in a function)
> >   OF_DEV_AUXDATA("nokia,n900-ir", 0, "n900-ir", _lirc_data),
> >  ^
> > include/linux/of_platform.h:52:21: note: in definition of macro 
> > 'OF_DEV_AUXDATA'
> > .platform_data = _pdata }
> >  ^
> > 
> > Caused by commit
> > 
> >   a92def1becf3 ("[media] ir-rx51: port to rc-core")
> > 
> > I have used the v4l-dvb tree from next-20170130 for today.  
> 
> I am still getting this error.

Gah, forgot to push the fix on the -next branch. Should be ok now.

Regards,
Mauro


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Mauro Carvalho Chehab
Em Fri, 3 Feb 2017 09:24:46 +1100
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> On Tue, 31 Jan 2017 11:55:05 +1100 Stephen Rothwell  
> wrote:
> >
> > After merging the v4l-dvb tree, today's linux-next build (arm
> > multi_v7_defconfig) failed like this:
> > 
> > In file included from arch/arm/mach-omap2/pdata-quirks.c:15:0:
> > arch/arm/mach-omap2/pdata-quirks.c:536:49: error: 'rx51_lirc_data' 
> > undeclared here (not in a function)
> >   OF_DEV_AUXDATA("nokia,n900-ir", 0, "n900-ir", _lirc_data),
> >  ^
> > include/linux/of_platform.h:52:21: note: in definition of macro 
> > 'OF_DEV_AUXDATA'
> > .platform_data = _pdata }
> >  ^
> > 
> > Caused by commit
> > 
> >   a92def1becf3 ("[media] ir-rx51: port to rc-core")
> > 
> > I have used the v4l-dvb tree from next-20170130 for today.  
> 
> I am still getting this error.

Gah, forgot to push the fix on the -next branch. Should be ok now.

Regards,
Mauro


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Stephen Rothwell
Hi Mauro,

On Tue, 31 Jan 2017 11:55:05 +1100 Stephen Rothwell  
wrote:
>
> After merging the v4l-dvb tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
> 
> In file included from arch/arm/mach-omap2/pdata-quirks.c:15:0:
> arch/arm/mach-omap2/pdata-quirks.c:536:49: error: 'rx51_lirc_data' undeclared 
> here (not in a function)
>   OF_DEV_AUXDATA("nokia,n900-ir", 0, "n900-ir", _lirc_data),
>  ^
> include/linux/of_platform.h:52:21: note: in definition of macro 
> 'OF_DEV_AUXDATA'
> .platform_data = _pdata }
>  ^
> 
> Caused by commit
> 
>   a92def1becf3 ("[media] ir-rx51: port to rc-core")
> 
> I have used the v4l-dvb tree from next-20170130 for today.

I am still getting this error.

-- 
Cheers,
Stephen Rothwell


Re: linux-next: build failure after merge of the v4l-dvb tree

2017-02-02 Thread Stephen Rothwell
Hi Mauro,

On Tue, 31 Jan 2017 11:55:05 +1100 Stephen Rothwell  
wrote:
>
> After merging the v4l-dvb tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
> 
> In file included from arch/arm/mach-omap2/pdata-quirks.c:15:0:
> arch/arm/mach-omap2/pdata-quirks.c:536:49: error: 'rx51_lirc_data' undeclared 
> here (not in a function)
>   OF_DEV_AUXDATA("nokia,n900-ir", 0, "n900-ir", _lirc_data),
>  ^
> include/linux/of_platform.h:52:21: note: in definition of macro 
> 'OF_DEV_AUXDATA'
> .platform_data = _pdata }
>  ^
> 
> Caused by commit
> 
>   a92def1becf3 ("[media] ir-rx51: port to rc-core")
> 
> I have used the v4l-dvb tree from next-20170130 for today.

I am still getting this error.

-- 
Cheers,
Stephen Rothwell


linux-next: build failure after merge of the v4l-dvb tree

2017-01-30 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

In file included from arch/arm/mach-omap2/pdata-quirks.c:15:0:
arch/arm/mach-omap2/pdata-quirks.c:536:49: error: 'rx51_lirc_data' undeclared 
here (not in a function)
  OF_DEV_AUXDATA("nokia,n900-ir", 0, "n900-ir", _lirc_data),
 ^
include/linux/of_platform.h:52:21: note: in definition of macro 'OF_DEV_AUXDATA'
.platform_data = _pdata }
 ^

Caused by commit

  a92def1becf3 ("[media] ir-rx51: port to rc-core")

I have used the v4l-dvb tree from next-20170130 for today.

-- 
Cheers,
Stephen Rothwell


linux-next: build failure after merge of the v4l-dvb tree

2017-01-30 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

In file included from arch/arm/mach-omap2/pdata-quirks.c:15:0:
arch/arm/mach-omap2/pdata-quirks.c:536:49: error: 'rx51_lirc_data' undeclared 
here (not in a function)
  OF_DEV_AUXDATA("nokia,n900-ir", 0, "n900-ir", _lirc_data),
 ^
include/linux/of_platform.h:52:21: note: in definition of macro 'OF_DEV_AUXDATA'
.platform_data = _pdata }
 ^

Caused by commit

  a92def1becf3 ("[media] ir-rx51: port to rc-core")

I have used the v4l-dvb tree from next-20170130 for today.

-- 
Cheers,
Stephen Rothwell


Re: linux-next: build failure after merge of the v4l-dvb tree

2016-09-12 Thread Hans Verkuil

On 09/12/2016 07:10 AM, Stephen Rothwell wrote:

Hi all,

After merging the dax-misc tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/media/platform/soc_camera/built-in.o:(.opd+0x678): multiple definition 
of `soc_mbus_config_compatible'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x78): first defined here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x630): multiple definition 
of `soc_mbus_image_size'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x30): first defined here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x600): multiple definition 
of `soc_mbus_samples_per_pixel'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x0): first defined here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_bytes_per_line':
(.text+0x4d20): multiple definition of `.soc_mbus_bytes_per_line'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x120): first defined 
here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_get_fmtdesc':
(.text+0x4f90): multiple definition of `.soc_mbus_get_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x390): first defined 
here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x660): multiple definition 
of `soc_mbus_get_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x60): first defined here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_image_size':
(.text+0x4e10): multiple definition of `.soc_mbus_image_size'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x210): first defined 
here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_samples_per_pixel':
(.text+0x4c00): multiple definition of `.soc_mbus_samples_per_pixel'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x0): first defined here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_config_compatible':
(.text+0x5030): multiple definition of `.soc_mbus_config_compatible'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x430): first defined 
here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_find_fmtdesc':
(.text+0x4ec0): multiple definition of `.soc_mbus_find_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x2c0): first defined 
here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x648): multiple definition 
of `soc_mbus_find_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x48): first defined here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x618): multiple definition 
of `soc_mbus_bytes_per_line'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x18): first defined here

Caused by commit

  4bb738f228b3 ("[media] media: platform: pxa_camera: move pxa_camera out of 
soc_camera")

I have reverted that commit for today.



I posted a patch fixing this yesterday. I'll make a pull request today 
for Mauro to merge.


Regards,

Hans


Re: linux-next: build failure after merge of the v4l-dvb tree

2016-09-12 Thread Hans Verkuil

On 09/12/2016 07:10 AM, Stephen Rothwell wrote:

Hi all,

After merging the dax-misc tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/media/platform/soc_camera/built-in.o:(.opd+0x678): multiple definition 
of `soc_mbus_config_compatible'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x78): first defined here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x630): multiple definition 
of `soc_mbus_image_size'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x30): first defined here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x600): multiple definition 
of `soc_mbus_samples_per_pixel'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x0): first defined here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_bytes_per_line':
(.text+0x4d20): multiple definition of `.soc_mbus_bytes_per_line'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x120): first defined 
here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_get_fmtdesc':
(.text+0x4f90): multiple definition of `.soc_mbus_get_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x390): first defined 
here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x660): multiple definition 
of `soc_mbus_get_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x60): first defined here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_image_size':
(.text+0x4e10): multiple definition of `.soc_mbus_image_size'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x210): first defined 
here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_samples_per_pixel':
(.text+0x4c00): multiple definition of `.soc_mbus_samples_per_pixel'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x0): first defined here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_config_compatible':
(.text+0x5030): multiple definition of `.soc_mbus_config_compatible'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x430): first defined 
here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_find_fmtdesc':
(.text+0x4ec0): multiple definition of `.soc_mbus_find_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x2c0): first defined 
here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x648): multiple definition 
of `soc_mbus_find_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x48): first defined here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x618): multiple definition 
of `soc_mbus_bytes_per_line'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x18): first defined here

Caused by commit

  4bb738f228b3 ("[media] media: platform: pxa_camera: move pxa_camera out of 
soc_camera")

I have reverted that commit for today.



I posted a patch fixing this yesterday. I'll make a pull request today 
for Mauro to merge.


Regards,

Hans


linux-next: build failure after merge of the v4l-dvb tree

2016-09-11 Thread Stephen Rothwell
Hi all,

After merging the dax-misc tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/media/platform/soc_camera/built-in.o:(.opd+0x678): multiple definition 
of `soc_mbus_config_compatible'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x78): first defined here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x630): multiple definition 
of `soc_mbus_image_size'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x30): first defined here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x600): multiple definition 
of `soc_mbus_samples_per_pixel'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x0): first defined here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_bytes_per_line':
(.text+0x4d20): multiple definition of `.soc_mbus_bytes_per_line'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x120): first defined 
here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_get_fmtdesc':
(.text+0x4f90): multiple definition of `.soc_mbus_get_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x390): first defined 
here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x660): multiple definition 
of `soc_mbus_get_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x60): first defined here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_image_size':
(.text+0x4e10): multiple definition of `.soc_mbus_image_size'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x210): first defined 
here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_samples_per_pixel':
(.text+0x4c00): multiple definition of `.soc_mbus_samples_per_pixel'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x0): first defined here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_config_compatible':
(.text+0x5030): multiple definition of `.soc_mbus_config_compatible'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x430): first defined 
here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_find_fmtdesc':
(.text+0x4ec0): multiple definition of `.soc_mbus_find_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x2c0): first defined 
here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x648): multiple definition 
of `soc_mbus_find_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x48): first defined here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x618): multiple definition 
of `soc_mbus_bytes_per_line'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x18): first defined here

Caused by commit

  4bb738f228b3 ("[media] media: platform: pxa_camera: move pxa_camera out of 
soc_camera")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell


linux-next: build failure after merge of the v4l-dvb tree

2016-09-11 Thread Stephen Rothwell
Hi all,

After merging the dax-misc tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/media/platform/soc_camera/built-in.o:(.opd+0x678): multiple definition 
of `soc_mbus_config_compatible'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x78): first defined here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x630): multiple definition 
of `soc_mbus_image_size'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x30): first defined here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x600): multiple definition 
of `soc_mbus_samples_per_pixel'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x0): first defined here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_bytes_per_line':
(.text+0x4d20): multiple definition of `.soc_mbus_bytes_per_line'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x120): first defined 
here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_get_fmtdesc':
(.text+0x4f90): multiple definition of `.soc_mbus_get_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x390): first defined 
here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x660): multiple definition 
of `soc_mbus_get_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x60): first defined here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_image_size':
(.text+0x4e10): multiple definition of `.soc_mbus_image_size'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x210): first defined 
here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_samples_per_pixel':
(.text+0x4c00): multiple definition of `.soc_mbus_samples_per_pixel'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x0): first defined here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_config_compatible':
(.text+0x5030): multiple definition of `.soc_mbus_config_compatible'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x430): first defined 
here
drivers/media/platform/soc_camera/built-in.o: In function 
`.soc_mbus_find_fmtdesc':
(.text+0x4ec0): multiple definition of `.soc_mbus_find_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x2c0): first defined 
here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x648): multiple definition 
of `soc_mbus_find_fmtdesc'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x48): first defined here
drivers/media/platform/soc_camera/built-in.o:(.opd+0x618): multiple definition 
of `soc_mbus_bytes_per_line'
drivers/media/platform/soc_camera/soc_mediabus.o:(.opd+0x18): first defined here

Caused by commit

  4bb738f228b3 ("[media] media: platform: pxa_camera: move pxa_camera out of 
soc_camera")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell


linux-next: build failure after merge of the v4l-dvb tree

2015-08-11 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

ERROR (phandle_references): Reference to non-existent node or label "ssc2"

ERROR: Input tree has errors, aborting (use -f to force output)
scripts/Makefile.lib:293: recipe for target 
'arch/arm/boot/dts/stih410-b2120.dtb' failed
ERROR (phandle_references): Reference to non-existent node or label "ssc2"

ERROR: Input tree has errors, aborting (use -f to force output)
scripts/Makefile.lib:293: recipe for target 
'arch/arm/boot/dts/stih407-b2120.dtb' failed

Caused by commit

  5d8877b6ae0d ("[media] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node")

I have used the v4l-dvb tree from next-20150810 for today.

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


linux-next: build failure after merge of the v4l-dvb tree

2015-08-11 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

ERROR (phandle_references): Reference to non-existent node or label ssc2

ERROR: Input tree has errors, aborting (use -f to force output)
scripts/Makefile.lib:293: recipe for target 
'arch/arm/boot/dts/stih410-b2120.dtb' failed
ERROR (phandle_references): Reference to non-existent node or label ssc2

ERROR: Input tree has errors, aborting (use -f to force output)
scripts/Makefile.lib:293: recipe for target 
'arch/arm/boot/dts/stih407-b2120.dtb' failed

Caused by commit

  5d8877b6ae0d ([media] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node)

I have used the v4l-dvb tree from next-20150810 for today.

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


linux-next: build failure after merge of the v4l-dvb tree

2015-06-18 Thread Michael Ellerman
Hi all,

After merging the v4l-dvb tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

  drivers/media/platform/sti/bdisp/bdisp-debug.c: In function 'bdisp_dbg_perf':
  drivers/media/platform/sti/bdisp/bdisp-debug.c:600:50: error: expected ';' 
before ')' token
 min_fps = SECOND / (s32)bdisp->dbg.min_duration);
^
  drivers/media/platform/sti/bdisp/bdisp-debug.c:600:50: error: expected 
statement before ')' token


Caused by commit fdf11845cbc1 "bdisp-debug: don't try to divide by s64":

  @@ -585,16 +587,27 @@ static int bdisp_dbg_perf(struct seq_file *s, void 
*data)
  }

  avg_time_us = bdisp->dbg.tot_duration;
  -   do_div(avg_time_us, request->nb_req);
  -
  -   avg_fps = 100;
  -   min_fps = 100;
  -   max_fps = 100;
  -   last_fps = 100;
  -   do_div(avg_fps, avg_time_us);
  -   do_div(min_fps, bdisp->dbg.min_duration);
  -   do_div(max_fps, bdisp->dbg.max_duration);
  -   do_div(last_fps, bdisp->dbg.last_duration);
  +   div64_s64(avg_time_us, request->nb_req);
  +
  +   if (avg_time_us > SECOND)
  +   avg_fps = 0;
  +   else
  +   avg_fps = SECOND / (s32)avg_time_us;
  +
  +   if (bdisp->dbg.min_duration > SECOND)
  +   min_fps = 0;
  +   else
  +   min_fps = SECOND / (s32)bdisp->dbg.min_duration);
 ^

I fixed it up for today.

cheers



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


linux-next: build failure after merge of the v4l-dvb tree

2015-06-18 Thread Michael Ellerman
Hi all,

After merging the v4l-dvb tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

  drivers/media/platform/sti/bdisp/bdisp-debug.c: In function 'bdisp_dbg_perf':
  drivers/media/platform/sti/bdisp/bdisp-debug.c:600:50: error: expected ';' 
before ')' token
 min_fps = SECOND / (s32)bdisp-dbg.min_duration);
^
  drivers/media/platform/sti/bdisp/bdisp-debug.c:600:50: error: expected 
statement before ')' token


Caused by commit fdf11845cbc1 bdisp-debug: don't try to divide by s64:

  @@ -585,16 +587,27 @@ static int bdisp_dbg_perf(struct seq_file *s, void 
*data)
  }

  avg_time_us = bdisp-dbg.tot_duration;
  -   do_div(avg_time_us, request-nb_req);
  -
  -   avg_fps = 100;
  -   min_fps = 100;
  -   max_fps = 100;
  -   last_fps = 100;
  -   do_div(avg_fps, avg_time_us);
  -   do_div(min_fps, bdisp-dbg.min_duration);
  -   do_div(max_fps, bdisp-dbg.max_duration);
  -   do_div(last_fps, bdisp-dbg.last_duration);
  +   div64_s64(avg_time_us, request-nb_req);
  +
  +   if (avg_time_us  SECOND)
  +   avg_fps = 0;
  +   else
  +   avg_fps = SECOND / (s32)avg_time_us;
  +
  +   if (bdisp-dbg.min_duration  SECOND)
  +   min_fps = 0;
  +   else
  +   min_fps = SECOND / (s32)bdisp-dbg.min_duration);
 ^

I fixed it up for today.

cheers



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


Re: linux-next: build failure after merge of the v4l-dvb tree

2015-04-13 Thread Laurent Pinchart
Hi Stephen,

On Monday 13 April 2015 13:05:57 Stephen Rothwell wrote:
> On Fri, 10 Apr 2015 15:45:11 +0300 Laurent Pinchart wrote:
> > On Friday 10 April 2015 20:11:43 Stephen Rothwell wrote:
> > > Hi Mauro,
> > > 
> > > After merging the v4l-dvb tree, today's linux-next build (powerpc
> > > allyesconfig) failed like this:
> > > 
> > > drivers/media/platform/xilinx/xilinx-dma.c:15:35: fatal error:
> > > linux/amba/xilinx_dma.h: No such file or directory #include
> > > 
> > > 
> > >^
> > > 
> > > Caused by commit df3305156f98 ("[media] v4l: xilinx: Add Xilinx Video
> > > IP core").
> > > 
> > > I have reverted that commit (and the 2 following it) for today.
> > 
> > linux/amba/xilinx_dma.h has been moved to linux/dma/xilinx_dma.h by
> > 
> > commit 937abe88aea3161cd3a563e577fc9cf4522c7aad
> > Author: Kedareswara rao Appana 
> > Date:   Mon Mar 2 23:24:24 2015 +0530
> > 
> > dmaengine: xilinx-dma: move header file to common location
> > 
> > This patch moves the xilinx_dma.h header file
> > to the include/linux/dma.
> > 
> > Signed-off-by: Kedareswara rao Appana 
> > Signed-off-by: Vinod Koul 
> > 
> > Could you update the path instead of reverting the commits ?
> 
> I applied this:

Perfect, thank you.

> From: Stephen Rothwell 
> Date: Mon, 13 Apr 2015 12:48:27 +1000
> Subject: [PATCH] v4l: xilinx: fix for include file movement
> 
> Signed-off-by: Stephen Rothwell 
> ---
>  drivers/media/platform/xilinx/xilinx-dma.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/platform/xilinx/xilinx-dma.c
> b/drivers/media/platform/xilinx/xilinx-dma.c index
> 10209c294168..efde88adf624 100644
> --- a/drivers/media/platform/xilinx/xilinx-dma.c
> +++ b/drivers/media/platform/xilinx/xilinx-dma.c
> @@ -12,7 +12,7 @@
>   * published by the Free Software Foundation.
>   */
> 
> -#include 
> +#include 
>  #include 
>  #include 
>  #include 

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2015-04-13 Thread Laurent Pinchart
Hi Stephen,

On Monday 13 April 2015 13:05:57 Stephen Rothwell wrote:
 On Fri, 10 Apr 2015 15:45:11 +0300 Laurent Pinchart wrote:
  On Friday 10 April 2015 20:11:43 Stephen Rothwell wrote:
   Hi Mauro,
   
   After merging the v4l-dvb tree, today's linux-next build (powerpc
   allyesconfig) failed like this:
   
   drivers/media/platform/xilinx/xilinx-dma.c:15:35: fatal error:
   linux/amba/xilinx_dma.h: No such file or directory #include
   linux/amba/xilinx_dma.h
   
  ^
   
   Caused by commit df3305156f98 ([media] v4l: xilinx: Add Xilinx Video
   IP core).
   
   I have reverted that commit (and the 2 following it) for today.
  
  linux/amba/xilinx_dma.h has been moved to linux/dma/xilinx_dma.h by
  
  commit 937abe88aea3161cd3a563e577fc9cf4522c7aad
  Author: Kedareswara rao Appana appana.durga@xilinx.com
  Date:   Mon Mar 2 23:24:24 2015 +0530
  
  dmaengine: xilinx-dma: move header file to common location
  
  This patch moves the xilinx_dma.h header file
  to the include/linux/dma.
  
  Signed-off-by: Kedareswara rao Appana appa...@xilinx.com
  Signed-off-by: Vinod Koul vinod.k...@intel.com
  
  Could you update the path instead of reverting the commits ?
 
 I applied this:

Perfect, thank you.

 From: Stephen Rothwell s...@canb.auug.org.au
 Date: Mon, 13 Apr 2015 12:48:27 +1000
 Subject: [PATCH] v4l: xilinx: fix for include file movement
 
 Signed-off-by: Stephen Rothwell s...@canb.auug.org.au
 ---
  drivers/media/platform/xilinx/xilinx-dma.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/drivers/media/platform/xilinx/xilinx-dma.c
 b/drivers/media/platform/xilinx/xilinx-dma.c index
 10209c294168..efde88adf624 100644
 --- a/drivers/media/platform/xilinx/xilinx-dma.c
 +++ b/drivers/media/platform/xilinx/xilinx-dma.c
 @@ -12,7 +12,7 @@
   * published by the Free Software Foundation.
   */
 
 -#include linux/amba/xilinx_dma.h
 +#include linux/dma/xilinx_dma.h
  #include linux/lcm.h
  #include linux/list.h
  #include linux/module.h

-- 
Regards,

Laurent Pinchart

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


Re: linux-next: build failure after merge of the v4l-dvb tree

2015-04-12 Thread Stephen Rothwell
Hi Laurent,

On Fri, 10 Apr 2015 15:45:11 +0300 Laurent Pinchart 
 wrote:
>
> On Friday 10 April 2015 20:11:43 Stephen Rothwell wrote:
> > Hi Mauro,
> > 
> > After merging the v4l-dvb tree, today's linux-next build (powerpc
> > allyesconfig) failed like this:
> > 
> > drivers/media/platform/xilinx/xilinx-dma.c:15:35: fatal error:
> > linux/amba/xilinx_dma.h: No such file or directory #include
> > 
> >^
> > 
> > Caused by commit df3305156f98 ("[media] v4l: xilinx: Add Xilinx Video
> > IP core").
> > 
> > I have reverted that commit (and the 2 following it) for today.
> 
> linux/amba/xilinx_dma.h has been moved to linux/dma/xilinx_dma.h by
> 
> commit 937abe88aea3161cd3a563e577fc9cf4522c7aad
> Author: Kedareswara rao Appana 
> Date:   Mon Mar 2 23:24:24 2015 +0530
> 
> dmaengine: xilinx-dma: move header file to common location
> 
> This patch moves the xilinx_dma.h header file
> to the include/linux/dma.
> 
> Signed-off-by: Kedareswara rao Appana 
> Signed-off-by: Vinod Koul 
> 
> Could you update the path instead of reverting the commits ?

I applied this:

From: Stephen Rothwell 
Date: Mon, 13 Apr 2015 12:48:27 +1000
Subject: [PATCH] v4l: xilinx: fix for include file movement

Signed-off-by: Stephen Rothwell 
---
 drivers/media/platform/xilinx/xilinx-dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/platform/xilinx/xilinx-dma.c 
b/drivers/media/platform/xilinx/xilinx-dma.c
index 10209c294168..efde88adf624 100644
--- a/drivers/media/platform/xilinx/xilinx-dma.c
+++ b/drivers/media/platform/xilinx/xilinx-dma.c
@@ -12,7 +12,7 @@
  * published by the Free Software Foundation.
  */
 
-#include 
+#include 
 #include 
 #include 
 #include 
-- 
2.1.4


Someone needs to tell Linus when the merge happens.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpBTelvUceHa.pgp
Description: OpenPGP digital signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2015-04-12 Thread Stephen Rothwell
Hi Laurent,

On Fri, 10 Apr 2015 15:45:11 +0300 Laurent Pinchart 
laurent.pinch...@ideasonboard.com wrote:

 On Friday 10 April 2015 20:11:43 Stephen Rothwell wrote:
  Hi Mauro,
  
  After merging the v4l-dvb tree, today's linux-next build (powerpc
  allyesconfig) failed like this:
  
  drivers/media/platform/xilinx/xilinx-dma.c:15:35: fatal error:
  linux/amba/xilinx_dma.h: No such file or directory #include
  linux/amba/xilinx_dma.h
 ^
  
  Caused by commit df3305156f98 ([media] v4l: xilinx: Add Xilinx Video
  IP core).
  
  I have reverted that commit (and the 2 following it) for today.
 
 linux/amba/xilinx_dma.h has been moved to linux/dma/xilinx_dma.h by
 
 commit 937abe88aea3161cd3a563e577fc9cf4522c7aad
 Author: Kedareswara rao Appana appana.durga@xilinx.com
 Date:   Mon Mar 2 23:24:24 2015 +0530
 
 dmaengine: xilinx-dma: move header file to common location
 
 This patch moves the xilinx_dma.h header file
 to the include/linux/dma.
 
 Signed-off-by: Kedareswara rao Appana appa...@xilinx.com
 Signed-off-by: Vinod Koul vinod.k...@intel.com
 
 Could you update the path instead of reverting the commits ?

I applied this:

From: Stephen Rothwell s...@canb.auug.org.au
Date: Mon, 13 Apr 2015 12:48:27 +1000
Subject: [PATCH] v4l: xilinx: fix for include file movement

Signed-off-by: Stephen Rothwell s...@canb.auug.org.au
---
 drivers/media/platform/xilinx/xilinx-dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/platform/xilinx/xilinx-dma.c 
b/drivers/media/platform/xilinx/xilinx-dma.c
index 10209c294168..efde88adf624 100644
--- a/drivers/media/platform/xilinx/xilinx-dma.c
+++ b/drivers/media/platform/xilinx/xilinx-dma.c
@@ -12,7 +12,7 @@
  * published by the Free Software Foundation.
  */
 
-#include linux/amba/xilinx_dma.h
+#include linux/dma/xilinx_dma.h
 #include linux/lcm.h
 #include linux/list.h
 #include linux/module.h
-- 
2.1.4


Someone needs to tell Linus when the merge happens.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpBTelvUceHa.pgp
Description: OpenPGP digital signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-09-16 Thread Stephen Rothwell
Hi all,

On Tue, 9 Sep 2014 12:43:06 +1000 Stephen Rothwell  
wrote:
>
> After merging the v4l-dvb tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> ERROR: "omap_stop_dma" [drivers/media/platform/soc_camera/omap1_camera.ko] 
> undefined!
> ERROR: "omap_start_dma" [drivers/media/platform/soc_camera/omap1_camera.ko] 
> undefined!
> ERROR: "omap_dma_link_lch" 
> [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
> ERROR: "omap_set_dma_dest_burst_mode" 
> [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
> ERROR: "omap_set_dma_src_params" 
> [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
> ERROR: "omap_request_dma" [drivers/media/platform/soc_camera/omap1_camera.ko] 
> undefined!
> ERROR: "omap_set_dma_transfer_params" 
> [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
> ERROR: "omap_set_dma_dest_params" 
> [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
> ERROR: "omap_free_dma" [drivers/media/platform/soc_camera/omap1_camera.ko] 
> undefined!
> ERROR: "__bad_ndelay" [drivers/media/platform/s5p-jpeg/s5p-jpeg.ko] undefined!
> ERROR: "vpif_lock" [drivers/media/platform/davinci/vpif_display.ko] undefined!
> ERROR: "vpif_lock" [drivers/media/platform/davinci/vpif_capture.ko] undefined!

Still getting these ...

> I have used the v4l-dvb tree from next-20140908 for today.

So this still applies.

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-09-16 Thread Stephen Rothwell
Hi all,

On Tue, 9 Sep 2014 12:43:06 +1000 Stephen Rothwell s...@canb.auug.org.au 
wrote:

 After merging the v4l-dvb tree, today's linux-next build (x86_64 allmodconfig)
 failed like this:
 
 ERROR: omap_stop_dma [drivers/media/platform/soc_camera/omap1_camera.ko] 
 undefined!
 ERROR: omap_start_dma [drivers/media/platform/soc_camera/omap1_camera.ko] 
 undefined!
 ERROR: omap_dma_link_lch 
 [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
 ERROR: omap_set_dma_dest_burst_mode 
 [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
 ERROR: omap_set_dma_src_params 
 [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
 ERROR: omap_request_dma [drivers/media/platform/soc_camera/omap1_camera.ko] 
 undefined!
 ERROR: omap_set_dma_transfer_params 
 [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
 ERROR: omap_set_dma_dest_params 
 [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
 ERROR: omap_free_dma [drivers/media/platform/soc_camera/omap1_camera.ko] 
 undefined!
 ERROR: __bad_ndelay [drivers/media/platform/s5p-jpeg/s5p-jpeg.ko] undefined!
 ERROR: vpif_lock [drivers/media/platform/davinci/vpif_display.ko] undefined!
 ERROR: vpif_lock [drivers/media/platform/davinci/vpif_capture.ko] undefined!

Still getting these ...

 I have used the v4l-dvb tree from next-20140908 for today.

So this still applies.

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-09-08 Thread Mauro Carvalho Chehab
Hi Stephen,

Em Tue, 9 Sep 2014 12:43:06 +1000
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> After merging the v4l-dvb tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> ERROR: "omap_stop_dma" [drivers/media/platform/soc_camera/omap1_camera.ko] 
> undefined!
> ERROR: "omap_start_dma" [drivers/media/platform/soc_camera/omap1_camera.ko] 
> undefined!
> ERROR: "omap_dma_link_lch" 
> [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
> ERROR: "omap_set_dma_dest_burst_mode" 
> [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
> ERROR: "omap_set_dma_src_params" 
> [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
> ERROR: "omap_request_dma" [drivers/media/platform/soc_camera/omap1_camera.ko] 
> undefined!
> ERROR: "omap_set_dma_transfer_params" 
> [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
> ERROR: "omap_set_dma_dest_params" 
> [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
> ERROR: "omap_free_dma" [drivers/media/platform/soc_camera/omap1_camera.ko] 
> undefined!
> ERROR: "__bad_ndelay" [drivers/media/platform/s5p-jpeg/s5p-jpeg.ko] undefined!
> ERROR: "vpif_lock" [drivers/media/platform/davinci/vpif_display.ko] undefined!
> ERROR: "vpif_lock" [drivers/media/platform/davinci/vpif_capture.ko] undefined!
> 

Yeah, there are several drivers that are now enabled with COMPILE_TEST.

Not sure what's the best thing to do with those errors. Perhaps I should
add some stub functions for those drivers to not complain about linking
issues if COMPILE_TEST.

> I have used the v4l-dvb tree from next-20140908 for today.

> 
> There were also lots of new warnings like:
> 
> drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c: In function 
> 's5p_mfc_get_crop_info_h_v6':
> drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:2039:3: warning: cast from 
> pointer to integer of different size [-Wpointer-to-int-cast]
>(unsigned int) ctx->dev->mfc_regs->d_display_crop_info1);
>^
> 

Those warnings are harmless in practice, but they should be fixed.

I'll be handling them before the next merge window.

Regards,
Mauro


signature.asc
Description: PGP signature


linux-next: build failure after merge of the v4l-dvb tree

2014-09-08 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

ERROR: "omap_stop_dma" [drivers/media/platform/soc_camera/omap1_camera.ko] 
undefined!
ERROR: "omap_start_dma" [drivers/media/platform/soc_camera/omap1_camera.ko] 
undefined!
ERROR: "omap_dma_link_lch" [drivers/media/platform/soc_camera/omap1_camera.ko] 
undefined!
ERROR: "omap_set_dma_dest_burst_mode" 
[drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
ERROR: "omap_set_dma_src_params" 
[drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
ERROR: "omap_request_dma" [drivers/media/platform/soc_camera/omap1_camera.ko] 
undefined!
ERROR: "omap_set_dma_transfer_params" 
[drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
ERROR: "omap_set_dma_dest_params" 
[drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
ERROR: "omap_free_dma" [drivers/media/platform/soc_camera/omap1_camera.ko] 
undefined!
ERROR: "__bad_ndelay" [drivers/media/platform/s5p-jpeg/s5p-jpeg.ko] undefined!
ERROR: "vpif_lock" [drivers/media/platform/davinci/vpif_display.ko] undefined!
ERROR: "vpif_lock" [drivers/media/platform/davinci/vpif_capture.ko] undefined!

I have used the v4l-dvb tree from next-20140908 for today.

There were also lots of new warnings like:

drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c: In function 
's5p_mfc_get_crop_info_h_v6':
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:2039:3: warning: cast from 
pointer to integer of different size [-Wpointer-to-int-cast]
   (unsigned int) ctx->dev->mfc_regs->d_display_crop_info1);
   ^

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


linux-next: build failure after merge of the v4l-dvb tree

2014-09-08 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

ERROR: omap_stop_dma [drivers/media/platform/soc_camera/omap1_camera.ko] 
undefined!
ERROR: omap_start_dma [drivers/media/platform/soc_camera/omap1_camera.ko] 
undefined!
ERROR: omap_dma_link_lch [drivers/media/platform/soc_camera/omap1_camera.ko] 
undefined!
ERROR: omap_set_dma_dest_burst_mode 
[drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
ERROR: omap_set_dma_src_params 
[drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
ERROR: omap_request_dma [drivers/media/platform/soc_camera/omap1_camera.ko] 
undefined!
ERROR: omap_set_dma_transfer_params 
[drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
ERROR: omap_set_dma_dest_params 
[drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
ERROR: omap_free_dma [drivers/media/platform/soc_camera/omap1_camera.ko] 
undefined!
ERROR: __bad_ndelay [drivers/media/platform/s5p-jpeg/s5p-jpeg.ko] undefined!
ERROR: vpif_lock [drivers/media/platform/davinci/vpif_display.ko] undefined!
ERROR: vpif_lock [drivers/media/platform/davinci/vpif_capture.ko] undefined!

I have used the v4l-dvb tree from next-20140908 for today.

There were also lots of new warnings like:

drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c: In function 
's5p_mfc_get_crop_info_h_v6':
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:2039:3: warning: cast from 
pointer to integer of different size [-Wpointer-to-int-cast]
   (unsigned int) ctx-dev-mfc_regs-d_display_crop_info1);
   ^

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-09-08 Thread Mauro Carvalho Chehab
Hi Stephen,

Em Tue, 9 Sep 2014 12:43:06 +1000
Stephen Rothwell s...@canb.auug.org.au escreveu:

 Hi Mauro,
 
 After merging the v4l-dvb tree, today's linux-next build (x86_64 allmodconfig)
 failed like this:
 
 ERROR: omap_stop_dma [drivers/media/platform/soc_camera/omap1_camera.ko] 
 undefined!
 ERROR: omap_start_dma [drivers/media/platform/soc_camera/omap1_camera.ko] 
 undefined!
 ERROR: omap_dma_link_lch 
 [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
 ERROR: omap_set_dma_dest_burst_mode 
 [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
 ERROR: omap_set_dma_src_params 
 [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
 ERROR: omap_request_dma [drivers/media/platform/soc_camera/omap1_camera.ko] 
 undefined!
 ERROR: omap_set_dma_transfer_params 
 [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
 ERROR: omap_set_dma_dest_params 
 [drivers/media/platform/soc_camera/omap1_camera.ko] undefined!
 ERROR: omap_free_dma [drivers/media/platform/soc_camera/omap1_camera.ko] 
 undefined!
 ERROR: __bad_ndelay [drivers/media/platform/s5p-jpeg/s5p-jpeg.ko] undefined!
 ERROR: vpif_lock [drivers/media/platform/davinci/vpif_display.ko] undefined!
 ERROR: vpif_lock [drivers/media/platform/davinci/vpif_capture.ko] undefined!
 

Yeah, there are several drivers that are now enabled with COMPILE_TEST.

Not sure what's the best thing to do with those errors. Perhaps I should
add some stub functions for those drivers to not complain about linking
issues if COMPILE_TEST.

 I have used the v4l-dvb tree from next-20140908 for today.

 
 There were also lots of new warnings like:
 
 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c: In function 
 's5p_mfc_get_crop_info_h_v6':
 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:2039:3: warning: cast from 
 pointer to integer of different size [-Wpointer-to-int-cast]
(unsigned int) ctx-dev-mfc_regs-d_display_crop_info1);
^
 

Those warnings are harmless in practice, but they should be fixed.

I'll be handling them before the next merge window.

Regards,
Mauro


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-25 Thread Mauro Carvalho Chehab
Em Fri, 25 Jul 2014 07:25:05 +0200
David Härdeman  escreveu:

> Mauro,
> 
> On July 25, 2014 4:23:17 AM CEST, Stephen Rothwell  
> wrote:
> >Hi Mauro,
> >
> >After merging the v4l-dvb tree, today's linux-next build (x86_64
> >allmodconfig)
> >failed like this:
> >
> >drivers/hid/hid-picolcd_cir.c: In function 'picolcd_init_cir':
> >drivers/hid/hid-picolcd_cir.c:117:6: error: 'struct rc_dev' has no
> >member named 'allowed_protos'
> >  rdev->allowed_protos   = RC_BIT_ALL;
> >  ^

Sorry for not noticing. I generally don't do full builds, as doing it
for all archs would require a bigger compilation system than what I
have here. I generally do only partial builds for (almost) all archs
before pushing at linux-next, because it is very hare that a change
on media would break anything outside it.

> I'll have time to look at it on Monday/Tuesday unless you beat me to it.
> 

Well, I can beat you on that ;) it should be allowed_protocols. I'll
fix it here and do a full build to see if you made this mistake on
some other file, as this is the second file where you typed it wrong ;)

Regards,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-25 Thread Mauro Carvalho Chehab
Em Fri, 25 Jul 2014 07:25:05 +0200
David Härdeman da...@hardeman.nu escreveu:

 Mauro,
 
 On July 25, 2014 4:23:17 AM CEST, Stephen Rothwell s...@canb.auug.org.au 
 wrote:
 Hi Mauro,
 
 After merging the v4l-dvb tree, today's linux-next build (x86_64
 allmodconfig)
 failed like this:
 
 drivers/hid/hid-picolcd_cir.c: In function 'picolcd_init_cir':
 drivers/hid/hid-picolcd_cir.c:117:6: error: 'struct rc_dev' has no
 member named 'allowed_protos'
   rdev-allowed_protos   = RC_BIT_ALL;
   ^

Sorry for not noticing. I generally don't do full builds, as doing it
for all archs would require a bigger compilation system than what I
have here. I generally do only partial builds for (almost) all archs
before pushing at linux-next, because it is very hare that a change
on media would break anything outside it.

 I'll have time to look at it on Monday/Tuesday unless you beat me to it.
 

Well, I can beat you on that ;) it should be allowed_protocols. I'll
fix it here and do a full build to see if you made this mistake on
some other file, as this is the second file where you typed it wrong ;)

Regards,
Mauro
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


linux-next: build failure after merge of the v4l-dvb tree

2014-07-24 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/hid/hid-picolcd_cir.c: In function 'picolcd_init_cir':
drivers/hid/hid-picolcd_cir.c:117:6: error: 'struct rc_dev' has no member named 
'allowed_protos'
  rdev->allowed_protos   = RC_BIT_ALL;
  ^

Caused by commit 0dd0e92836cc ("[media] rc-core: remove protocol arrays").

I have used the v4l-dvb tree from next-20410724 for today.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


linux-next: build failure after merge of the v4l-dvb tree

2014-07-24 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/hid/hid-picolcd_cir.c: In function 'picolcd_init_cir':
drivers/hid/hid-picolcd_cir.c:117:6: error: 'struct rc_dev' has no member named 
'allowed_protos'
  rdev-allowed_protos   = RC_BIT_ALL;
  ^

Caused by commit 0dd0e92836cc ([media] rc-core: remove protocol arrays).

I have used the v4l-dvb tree from next-20410724 for today.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-16 Thread Ingo Molnar

* Stephen Rothwell  wrote:

> Hi Ingo,
> 
> On Wed, 16 Jul 2014 15:21:14 +0200 Ingo Molnar  wrote:
> >
> > FYI, I sent the fix to Linus earlier today.
> 
> Excellent, thanks.

You are welcome!

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-16 Thread Stephen Rothwell
Hi Ingo,

On Wed, 16 Jul 2014 15:21:14 +0200 Ingo Molnar  wrote:
>
> FYI, I sent the fix to Linus earlier today.

Excellent, thanks.

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-16 Thread Ingo Molnar

* Stephen Rothwell  wrote:

> Hi Guenter,
> 
> On Tue, 15 Jul 2014 12:08:07 -0700 Guenter Roeck  wrote:
> >
> > > > > Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that 
> > > > > was accepted
> > > > > a week or so ago.
> > > > 
> > > > That is in the tip tree and includes the fixups to powerpc and arm.  I
> > > > don't merge the tip tree till well after the v4l-dvb tree.  The merge
> > > > in the v4l-dvb tree included only the change to include/linus/sched.h
> > > > and neither parent fo that merge was based on the tip tree ...
> > > > 
> > > Stephen, 
> > > 
> > > Do you know if/when this patch will be merged upstream? It doesn't
> > > seem to be at 2.6.16-rc5. Otherwise, I'll likely cherry-pick it on
> > s/2.16/3.16/
> > > my trees, as the lack of this fixup is making hard for me to check
> > > if a media tree patch isn't introducing new warnings.
> > 
> > Only queued for 3.17 as far as I can see, and not scheduled for 3.16.
> 
> Its in the sched/urgent branch of the tip tree, so hopefully it will go
> to Linus shortly.
> 
> [ccing various tip tree maintainers ...]
> 
> Hi guys, this commit (b6220ad66 (sched: Fix compiler warnings)) fixes
> lots of W=1 build warnings ... just wondering when it will progress?

FYI, I sent the fix to Linus earlier today.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-16 Thread Ingo Molnar

* Stephen Rothwell s...@canb.auug.org.au wrote:

 Hi Guenter,
 
 On Tue, 15 Jul 2014 12:08:07 -0700 Guenter Roeck li...@roeck-us.net wrote:
 
 Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that 
 was accepted
 a week or so ago.

That is in the tip tree and includes the fixups to powerpc and arm.  I
don't merge the tip tree till well after the v4l-dvb tree.  The merge
in the v4l-dvb tree included only the change to include/linus/sched.h
and neither parent fo that merge was based on the tip tree ...

   Stephen, 
   
   Do you know if/when this patch will be merged upstream? It doesn't
   seem to be at 2.6.16-rc5. Otherwise, I'll likely cherry-pick it on
  s/2.16/3.16/
   my trees, as the lack of this fixup is making hard for me to check
   if a media tree patch isn't introducing new warnings.
  
  Only queued for 3.17 as far as I can see, and not scheduled for 3.16.
 
 Its in the sched/urgent branch of the tip tree, so hopefully it will go
 to Linus shortly.
 
 [ccing various tip tree maintainers ...]
 
 Hi guys, this commit (b6220ad66 (sched: Fix compiler warnings)) fixes
 lots of W=1 build warnings ... just wondering when it will progress?

FYI, I sent the fix to Linus earlier today.

Thanks,

Ingo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-16 Thread Stephen Rothwell
Hi Ingo,

On Wed, 16 Jul 2014 15:21:14 +0200 Ingo Molnar mi...@kernel.org wrote:

 FYI, I sent the fix to Linus earlier today.

Excellent, thanks.

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-16 Thread Ingo Molnar

* Stephen Rothwell s...@canb.auug.org.au wrote:

 Hi Ingo,
 
 On Wed, 16 Jul 2014 15:21:14 +0200 Ingo Molnar mi...@kernel.org wrote:
 
  FYI, I sent the fix to Linus earlier today.
 
 Excellent, thanks.

You are welcome!

Thanks,

Ingo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-15 Thread Guenter Roeck

On 07/15/2014 08:04 PM, Stephen Rothwell wrote:

Hi Guenter,

On Tue, 15 Jul 2014 12:08:07 -0700 Guenter Roeck  wrote:



Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that was 
accepted
a week or so ago.


That is in the tip tree and includes the fixups to powerpc and arm.  I
don't merge the tip tree till well after the v4l-dvb tree.  The merge
in the v4l-dvb tree included only the change to include/linus/sched.h
and neither parent fo that merge was based on the tip tree ...


Stephen,

Do you know if/when this patch will be merged upstream? It doesn't
seem to be at 2.6.16-rc5. Otherwise, I'll likely cherry-pick it on

s/2.16/3.16/

my trees, as the lack of this fixup is making hard for me to check
if a media tree patch isn't introducing new warnings.


Only queued for 3.17 as far as I can see, and not scheduled for 3.16.


Its in the sched/urgent branch of the tip tree, so hopefully it will go
to Linus shortly.



Excellent, glad to hear that I was wrong. Looking forward to it.

Thanks,
Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-15 Thread Stephen Rothwell
Hi Guenter,

On Tue, 15 Jul 2014 12:08:07 -0700 Guenter Roeck  wrote:
>
> > > > Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that 
> > > > was accepted
> > > > a week or so ago.
> > > 
> > > That is in the tip tree and includes the fixups to powerpc and arm.  I
> > > don't merge the tip tree till well after the v4l-dvb tree.  The merge
> > > in the v4l-dvb tree included only the change to include/linus/sched.h
> > > and neither parent fo that merge was based on the tip tree ...
> > > 
> > Stephen, 
> > 
> > Do you know if/when this patch will be merged upstream? It doesn't
> > seem to be at 2.6.16-rc5. Otherwise, I'll likely cherry-pick it on
>   s/2.16/3.16/
> > my trees, as the lack of this fixup is making hard for me to check
> > if a media tree patch isn't introducing new warnings.
> 
> Only queued for 3.17 as far as I can see, and not scheduled for 3.16.

Its in the sched/urgent branch of the tip tree, so hopefully it will go
to Linus shortly.

[ccing various tip tree maintainers ...]

Hi guys, this commit (b6220ad66 (sched: Fix compiler warnings)) fixes
lots of W=1 build warnings ... just wondering when it will progress?

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-15 Thread Guenter Roeck
On Tue, Jul 15, 2014 at 03:08:01PM -0300, Mauro Carvalho Chehab wrote:
> Hi Guenter,
> 
> Em Tue, 15 Jul 2014 15:55:47 +1000
> Stephen Rothwell  escreveu:
> 
> > Hi Guenter,
> > 
> > On Mon, 14 Jul 2014 22:43:42 -0700 Guenter Roeck  wrote:
> > >
> > > On 07/14/2014 08:29 PM, Stephen Rothwell wrote:
> > > >
> > > > After merging the v4l-dvb tree, today's linux-next build (powerpc 
> > > > ppc64_defconfig)
> > > > failed like this:
> > > >
> > > > arch/powerpc/kernel/smp.c:764:2: error: initialization from 
> > > > incompatible pointer type [-Werror]
> > > >{ cpu_smt_mask, powerpc_smt_flags, SD_INIT_NAME(SMT) },
> > > >^
> > > > arch/powerpc/kernel/smp.c:764:2: error: (near initialization for 
> > > > 'powerpc_topology[0].sd_flags') [-Werror]
> > > >
> > > > Caused by commit 6a0b50087a89 ("Merge branch 'patchwork' into
> > > > to_next").  The change to include/linux/sched.h in this merge commit
> > > > does not seem to appear in either of the parents of the merge.
> > > >
> > > > Its also a change that (when suggested) was shown to cause more
> > > > problems than it was worth and dropped.  I can't imagine how it ended
> > > > up in the merge commit.
> > > >
> 
> Sorry, it was merged there by mistake. I had to apply that quick hack
> to be able check if everything was ok on my tree before pushing it
> upstream (as I do my tests with W=1). Without that hack, it is almost
> impossible to see anything at the compilation logs, as it generates
> hundreds of warnings like:
> 
> In file included from include/linux/i2c.h:31:0,
>  from drivers/staging/media/go7007/go7007-fw.c:31:
> include/linux/sched.h:875:25: warning: type qualifiers ignored on function 
> return type [-Wignored-qualifiers]
>  static inline const int cpu_smt_flags(void)
>  ^
> include/linux/sched.h:882:25: warning: type qualifiers ignored on function 
> return type [-Wignored-qualifiers]
>  static inline const int cpu_core_flags(void)
>  ^
> include/linux/sched.h:1002:21: warning: type qualifiers ignored on function 
> return type [-Wignored-qualifiers]
>  typedef const int (*sched_domain_flags_f)(void);
>  ^
> 
> even when compiling just drivers/media and drivers/staging/media.
> 
Yes, I know, I had the same problem with my hwmon and watchdog builds.
I ended up adding code to my test scripts to specifically ignore
those warnings. Of course, that may accidentially remove real warnings,
but it is still better than drowning _all_ warnings in the noise.

> > > 
> > > Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that was 
> > > accepted
> > > a week or so ago.
> > 
> > That is in the tip tree and includes the fixups to powerpc and arm.  I
> > don't merge the tip tree till well after the v4l-dvb tree.  The merge
> > in the v4l-dvb tree included only the change to include/linus/sched.h
> > and neither parent fo that merge was based on the tip tree ...
> > 
> Stephen, 
> 
> Do you know if/when this patch will be merged upstream? It doesn't
> seem to be at 2.6.16-rc5. Otherwise, I'll likely cherry-pick it on
s/2.16/3.16/
> my trees, as the lack of this fixup is making hard for me to check
> if a media tree patch isn't introducing new warnings.
> 

Only queued for 3.17 as far as I can see, and not scheduled for 3.16.

Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-15 Thread Mauro Carvalho Chehab
Hi Guenter,

Em Tue, 15 Jul 2014 15:55:47 +1000
Stephen Rothwell  escreveu:

> Hi Guenter,
> 
> On Mon, 14 Jul 2014 22:43:42 -0700 Guenter Roeck  wrote:
> >
> > On 07/14/2014 08:29 PM, Stephen Rothwell wrote:
> > >
> > > After merging the v4l-dvb tree, today's linux-next build (powerpc 
> > > ppc64_defconfig)
> > > failed like this:
> > >
> > > arch/powerpc/kernel/smp.c:764:2: error: initialization from incompatible 
> > > pointer type [-Werror]
> > >{ cpu_smt_mask, powerpc_smt_flags, SD_INIT_NAME(SMT) },
> > >^
> > > arch/powerpc/kernel/smp.c:764:2: error: (near initialization for 
> > > 'powerpc_topology[0].sd_flags') [-Werror]
> > >
> > > Caused by commit 6a0b50087a89 ("Merge branch 'patchwork' into
> > > to_next").  The change to include/linux/sched.h in this merge commit
> > > does not seem to appear in either of the parents of the merge.
> > >
> > > Its also a change that (when suggested) was shown to cause more
> > > problems than it was worth and dropped.  I can't imagine how it ended
> > > up in the merge commit.
> > >

Sorry, it was merged there by mistake. I had to apply that quick hack
to be able check if everything was ok on my tree before pushing it
upstream (as I do my tests with W=1). Without that hack, it is almost
impossible to see anything at the compilation logs, as it generates
hundreds of warnings like:

In file included from include/linux/i2c.h:31:0,
 from drivers/staging/media/go7007/go7007-fw.c:31:
include/linux/sched.h:875:25: warning: type qualifiers ignored on function 
return type [-Wignored-qualifiers]
 static inline const int cpu_smt_flags(void)
 ^
include/linux/sched.h:882:25: warning: type qualifiers ignored on function 
return type [-Wignored-qualifiers]
 static inline const int cpu_core_flags(void)
 ^
include/linux/sched.h:1002:21: warning: type qualifiers ignored on function 
return type [-Wignored-qualifiers]
 typedef const int (*sched_domain_flags_f)(void);
 ^

even when compiling just drivers/media and drivers/staging/media.

> > 
> > Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that was 
> > accepted
> > a week or so ago.
> 
> That is in the tip tree and includes the fixups to powerpc and arm.  I
> don't merge the tip tree till well after the v4l-dvb tree.  The merge
> in the v4l-dvb tree included only the change to include/linus/sched.h
> and neither parent fo that merge was based on the tip tree ...
> 
Stephen, 

Do you know if/when this patch will be merged upstream? It doesn't
seem to be at 2.6.16-rc5. Otherwise, I'll likely cherry-pick it on
my trees, as the lack of this fixup is making hard for me to check
if a media tree patch isn't introducing new warnings.

Thanks,
Mauro


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-15 Thread Guenter Roeck

On 07/14/2014 10:55 PM, Stephen Rothwell wrote:

Hi Guenter,

On Mon, 14 Jul 2014 22:43:42 -0700 Guenter Roeck  wrote:


On 07/14/2014 08:29 PM, Stephen Rothwell wrote:


After merging the v4l-dvb tree, today's linux-next build (powerpc 
ppc64_defconfig)
failed like this:

arch/powerpc/kernel/smp.c:764:2: error: initialization from incompatible 
pointer type [-Werror]
{ cpu_smt_mask, powerpc_smt_flags, SD_INIT_NAME(SMT) },
^
arch/powerpc/kernel/smp.c:764:2: error: (near initialization for 
'powerpc_topology[0].sd_flags') [-Werror]

Caused by commit 6a0b50087a89 ("Merge branch 'patchwork' into
to_next").  The change to include/linux/sched.h in this merge commit
does not seem to appear in either of the parents of the merge.

Its also a change that (when suggested) was shown to cause more
problems than it was worth and dropped.  I can't imagine how it ended
up in the merge commit.



Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that was 
accepted
a week or so ago.


That is in the tip tree and includes the fixups to powerpc and arm.  I
don't merge the tip tree till well after the v4l-dvb tree.  The merge
in the v4l-dvb tree included only the change to include/linus/sched.h
and neither parent fo that merge was based on the tip tree ...



Ah, looks like that is the older version of my patch. You are right, this 
version
did have problems.

Thanks,
Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-15 Thread Guenter Roeck

On 07/14/2014 10:55 PM, Stephen Rothwell wrote:

Hi Guenter,

On Mon, 14 Jul 2014 22:43:42 -0700 Guenter Roeck li...@roeck-us.net wrote:


On 07/14/2014 08:29 PM, Stephen Rothwell wrote:


After merging the v4l-dvb tree, today's linux-next build (powerpc 
ppc64_defconfig)
failed like this:

arch/powerpc/kernel/smp.c:764:2: error: initialization from incompatible 
pointer type [-Werror]
{ cpu_smt_mask, powerpc_smt_flags, SD_INIT_NAME(SMT) },
^
arch/powerpc/kernel/smp.c:764:2: error: (near initialization for 
'powerpc_topology[0].sd_flags') [-Werror]

Caused by commit 6a0b50087a89 (Merge branch 'patchwork' into
to_next).  The change to include/linux/sched.h in this merge commit
does not seem to appear in either of the parents of the merge.

Its also a change that (when suggested) was shown to cause more
problems than it was worth and dropped.  I can't imagine how it ended
up in the merge commit.



Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that was 
accepted
a week or so ago.


That is in the tip tree and includes the fixups to powerpc and arm.  I
don't merge the tip tree till well after the v4l-dvb tree.  The merge
in the v4l-dvb tree included only the change to include/linus/sched.h
and neither parent fo that merge was based on the tip tree ...



Ah, looks like that is the older version of my patch. You are right, this 
version
did have problems.

Thanks,
Guenter

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


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-15 Thread Mauro Carvalho Chehab
Hi Guenter,

Em Tue, 15 Jul 2014 15:55:47 +1000
Stephen Rothwell s...@canb.auug.org.au escreveu:

 Hi Guenter,
 
 On Mon, 14 Jul 2014 22:43:42 -0700 Guenter Roeck li...@roeck-us.net wrote:
 
  On 07/14/2014 08:29 PM, Stephen Rothwell wrote:
  
   After merging the v4l-dvb tree, today's linux-next build (powerpc 
   ppc64_defconfig)
   failed like this:
  
   arch/powerpc/kernel/smp.c:764:2: error: initialization from incompatible 
   pointer type [-Werror]
  { cpu_smt_mask, powerpc_smt_flags, SD_INIT_NAME(SMT) },
  ^
   arch/powerpc/kernel/smp.c:764:2: error: (near initialization for 
   'powerpc_topology[0].sd_flags') [-Werror]
  
   Caused by commit 6a0b50087a89 (Merge branch 'patchwork' into
   to_next).  The change to include/linux/sched.h in this merge commit
   does not seem to appear in either of the parents of the merge.
  
   Its also a change that (when suggested) was shown to cause more
   problems than it was worth and dropped.  I can't imagine how it ended
   up in the merge commit.
  

Sorry, it was merged there by mistake. I had to apply that quick hack
to be able check if everything was ok on my tree before pushing it
upstream (as I do my tests with W=1). Without that hack, it is almost
impossible to see anything at the compilation logs, as it generates
hundreds of warnings like:

In file included from include/linux/i2c.h:31:0,
 from drivers/staging/media/go7007/go7007-fw.c:31:
include/linux/sched.h:875:25: warning: type qualifiers ignored on function 
return type [-Wignored-qualifiers]
 static inline const int cpu_smt_flags(void)
 ^
include/linux/sched.h:882:25: warning: type qualifiers ignored on function 
return type [-Wignored-qualifiers]
 static inline const int cpu_core_flags(void)
 ^
include/linux/sched.h:1002:21: warning: type qualifiers ignored on function 
return type [-Wignored-qualifiers]
 typedef const int (*sched_domain_flags_f)(void);
 ^

even when compiling just drivers/media and drivers/staging/media.

  
  Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that was 
  accepted
  a week or so ago.
 
 That is in the tip tree and includes the fixups to powerpc and arm.  I
 don't merge the tip tree till well after the v4l-dvb tree.  The merge
 in the v4l-dvb tree included only the change to include/linus/sched.h
 and neither parent fo that merge was based on the tip tree ...
 
Stephen, 

Do you know if/when this patch will be merged upstream? It doesn't
seem to be at 2.6.16-rc5. Otherwise, I'll likely cherry-pick it on
my trees, as the lack of this fixup is making hard for me to check
if a media tree patch isn't introducing new warnings.

Thanks,
Mauro


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-15 Thread Guenter Roeck
On Tue, Jul 15, 2014 at 03:08:01PM -0300, Mauro Carvalho Chehab wrote:
 Hi Guenter,
 
 Em Tue, 15 Jul 2014 15:55:47 +1000
 Stephen Rothwell s...@canb.auug.org.au escreveu:
 
  Hi Guenter,
  
  On Mon, 14 Jul 2014 22:43:42 -0700 Guenter Roeck li...@roeck-us.net wrote:
  
   On 07/14/2014 08:29 PM, Stephen Rothwell wrote:
   
After merging the v4l-dvb tree, today's linux-next build (powerpc 
ppc64_defconfig)
failed like this:
   
arch/powerpc/kernel/smp.c:764:2: error: initialization from 
incompatible pointer type [-Werror]
   { cpu_smt_mask, powerpc_smt_flags, SD_INIT_NAME(SMT) },
   ^
arch/powerpc/kernel/smp.c:764:2: error: (near initialization for 
'powerpc_topology[0].sd_flags') [-Werror]
   
Caused by commit 6a0b50087a89 (Merge branch 'patchwork' into
to_next).  The change to include/linux/sched.h in this merge commit
does not seem to appear in either of the parents of the merge.
   
Its also a change that (when suggested) was shown to cause more
problems than it was worth and dropped.  I can't imagine how it ended
up in the merge commit.
   
 
 Sorry, it was merged there by mistake. I had to apply that quick hack
 to be able check if everything was ok on my tree before pushing it
 upstream (as I do my tests with W=1). Without that hack, it is almost
 impossible to see anything at the compilation logs, as it generates
 hundreds of warnings like:
 
 In file included from include/linux/i2c.h:31:0,
  from drivers/staging/media/go7007/go7007-fw.c:31:
 include/linux/sched.h:875:25: warning: type qualifiers ignored on function 
 return type [-Wignored-qualifiers]
  static inline const int cpu_smt_flags(void)
  ^
 include/linux/sched.h:882:25: warning: type qualifiers ignored on function 
 return type [-Wignored-qualifiers]
  static inline const int cpu_core_flags(void)
  ^
 include/linux/sched.h:1002:21: warning: type qualifiers ignored on function 
 return type [-Wignored-qualifiers]
  typedef const int (*sched_domain_flags_f)(void);
  ^
 
 even when compiling just drivers/media and drivers/staging/media.
 
Yes, I know, I had the same problem with my hwmon and watchdog builds.
I ended up adding code to my test scripts to specifically ignore
those warnings. Of course, that may accidentially remove real warnings,
but it is still better than drowning _all_ warnings in the noise.

   
   Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that was 
   accepted
   a week or so ago.
  
  That is in the tip tree and includes the fixups to powerpc and arm.  I
  don't merge the tip tree till well after the v4l-dvb tree.  The merge
  in the v4l-dvb tree included only the change to include/linus/sched.h
  and neither parent fo that merge was based on the tip tree ...
  
 Stephen, 
 
 Do you know if/when this patch will be merged upstream? It doesn't
 seem to be at 2.6.16-rc5. Otherwise, I'll likely cherry-pick it on
s/2.16/3.16/
 my trees, as the lack of this fixup is making hard for me to check
 if a media tree patch isn't introducing new warnings.
 

Only queued for 3.17 as far as I can see, and not scheduled for 3.16.

Guenter
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-15 Thread Stephen Rothwell
Hi Guenter,

On Tue, 15 Jul 2014 12:08:07 -0700 Guenter Roeck li...@roeck-us.net wrote:

Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that 
was accepted
a week or so ago.
   
   That is in the tip tree and includes the fixups to powerpc and arm.  I
   don't merge the tip tree till well after the v4l-dvb tree.  The merge
   in the v4l-dvb tree included only the change to include/linus/sched.h
   and neither parent fo that merge was based on the tip tree ...
   
  Stephen, 
  
  Do you know if/when this patch will be merged upstream? It doesn't
  seem to be at 2.6.16-rc5. Otherwise, I'll likely cherry-pick it on
   s/2.16/3.16/
  my trees, as the lack of this fixup is making hard for me to check
  if a media tree patch isn't introducing new warnings.
 
 Only queued for 3.17 as far as I can see, and not scheduled for 3.16.

Its in the sched/urgent branch of the tip tree, so hopefully it will go
to Linus shortly.

[ccing various tip tree maintainers ...]

Hi guys, this commit (b6220ad66 (sched: Fix compiler warnings)) fixes
lots of W=1 build warnings ... just wondering when it will progress?

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-15 Thread Guenter Roeck

On 07/15/2014 08:04 PM, Stephen Rothwell wrote:

Hi Guenter,

On Tue, 15 Jul 2014 12:08:07 -0700 Guenter Roeck li...@roeck-us.net wrote:



Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that was 
accepted
a week or so ago.


That is in the tip tree and includes the fixups to powerpc and arm.  I
don't merge the tip tree till well after the v4l-dvb tree.  The merge
in the v4l-dvb tree included only the change to include/linus/sched.h
and neither parent fo that merge was based on the tip tree ...


Stephen,

Do you know if/when this patch will be merged upstream? It doesn't
seem to be at 2.6.16-rc5. Otherwise, I'll likely cherry-pick it on

s/2.16/3.16/

my trees, as the lack of this fixup is making hard for me to check
if a media tree patch isn't introducing new warnings.


Only queued for 3.17 as far as I can see, and not scheduled for 3.16.


Its in the sched/urgent branch of the tip tree, so hopefully it will go
to Linus shortly.



Excellent, glad to hear that I was wrong. Looking forward to it.

Thanks,
Guenter

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


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-14 Thread Stephen Rothwell
Hi Guenter,

On Mon, 14 Jul 2014 22:43:42 -0700 Guenter Roeck  wrote:
>
> On 07/14/2014 08:29 PM, Stephen Rothwell wrote:
> >
> > After merging the v4l-dvb tree, today's linux-next build (powerpc 
> > ppc64_defconfig)
> > failed like this:
> >
> > arch/powerpc/kernel/smp.c:764:2: error: initialization from incompatible 
> > pointer type [-Werror]
> >{ cpu_smt_mask, powerpc_smt_flags, SD_INIT_NAME(SMT) },
> >^
> > arch/powerpc/kernel/smp.c:764:2: error: (near initialization for 
> > 'powerpc_topology[0].sd_flags') [-Werror]
> >
> > Caused by commit 6a0b50087a89 ("Merge branch 'patchwork' into
> > to_next").  The change to include/linux/sched.h in this merge commit
> > does not seem to appear in either of the parents of the merge.
> >
> > Its also a change that (when suggested) was shown to cause more
> > problems than it was worth and dropped.  I can't imagine how it ended
> > up in the merge commit.
> >
> 
> Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that was 
> accepted
> a week or so ago.

That is in the tip tree and includes the fixups to powerpc and arm.  I
don't merge the tip tree till well after the v4l-dvb tree.  The merge
in the v4l-dvb tree included only the change to include/linus/sched.h
and neither parent fo that merge was based on the tip tree ...

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-14 Thread Guenter Roeck

On 07/14/2014 08:29 PM, Stephen Rothwell wrote:

Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (powerpc 
ppc64_defconfig)
failed like this:

arch/powerpc/kernel/smp.c:764:2: error: initialization from incompatible 
pointer type [-Werror]
   { cpu_smt_mask, powerpc_smt_flags, SD_INIT_NAME(SMT) },
   ^
arch/powerpc/kernel/smp.c:764:2: error: (near initialization for 
'powerpc_topology[0].sd_flags') [-Werror]

Caused by commit 6a0b50087a89 ("Merge branch 'patchwork' into
to_next").  The change to include/linux/sched.h in this merge commit
does not seem to appear in either of the parents of the merge.

Its also a change that (when suggested) was shown to cause more
problems than it was worth and dropped.  I can't imagine how it ended
up in the merge commit.



Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that was 
accepted
a week or so ago.

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


linux-next: build failure after merge of the v4l-dvb tree

2014-07-14 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (powerpc 
ppc64_defconfig)
failed like this:

arch/powerpc/kernel/smp.c:764:2: error: initialization from incompatible 
pointer type [-Werror]
  { cpu_smt_mask, powerpc_smt_flags, SD_INIT_NAME(SMT) },
  ^
arch/powerpc/kernel/smp.c:764:2: error: (near initialization for 
'powerpc_topology[0].sd_flags') [-Werror]

Caused by commit 6a0b50087a89 ("Merge branch 'patchwork' into
to_next").  The change to include/linux/sched.h in this merge commit
does not seem to appear in either of the parents of the merge.

Its also a change that (when suggested) was shown to cause more
problems than it was worth and dropped.  I can't imagine how it ended
up in the merge commit.

I have used the v4l-dvb tree from next-20140714 for today.  Please fix
this up.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


linux-next: build failure after merge of the v4l-dvb tree

2014-07-14 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (powerpc 
ppc64_defconfig)
failed like this:

arch/powerpc/kernel/smp.c:764:2: error: initialization from incompatible 
pointer type [-Werror]
  { cpu_smt_mask, powerpc_smt_flags, SD_INIT_NAME(SMT) },
  ^
arch/powerpc/kernel/smp.c:764:2: error: (near initialization for 
'powerpc_topology[0].sd_flags') [-Werror]

Caused by commit 6a0b50087a89 (Merge branch 'patchwork' into
to_next).  The change to include/linux/sched.h in this merge commit
does not seem to appear in either of the parents of the merge.

Its also a change that (when suggested) was shown to cause more
problems than it was worth and dropped.  I can't imagine how it ended
up in the merge commit.

I have used the v4l-dvb tree from next-20140714 for today.  Please fix
this up.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-14 Thread Guenter Roeck

On 07/14/2014 08:29 PM, Stephen Rothwell wrote:

Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (powerpc 
ppc64_defconfig)
failed like this:

arch/powerpc/kernel/smp.c:764:2: error: initialization from incompatible 
pointer type [-Werror]
   { cpu_smt_mask, powerpc_smt_flags, SD_INIT_NAME(SMT) },
   ^
arch/powerpc/kernel/smp.c:764:2: error: (near initialization for 
'powerpc_topology[0].sd_flags') [-Werror]

Caused by commit 6a0b50087a89 (Merge branch 'patchwork' into
to_next).  The change to include/linux/sched.h in this merge commit
does not seem to appear in either of the parents of the merge.

Its also a change that (when suggested) was shown to cause more
problems than it was worth and dropped.  I can't imagine how it ended
up in the merge commit.



Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that was 
accepted
a week or so ago.

Guenter

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


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-07-14 Thread Stephen Rothwell
Hi Guenter,

On Mon, 14 Jul 2014 22:43:42 -0700 Guenter Roeck li...@roeck-us.net wrote:

 On 07/14/2014 08:29 PM, Stephen Rothwell wrote:
 
  After merging the v4l-dvb tree, today's linux-next build (powerpc 
  ppc64_defconfig)
  failed like this:
 
  arch/powerpc/kernel/smp.c:764:2: error: initialization from incompatible 
  pointer type [-Werror]
 { cpu_smt_mask, powerpc_smt_flags, SD_INIT_NAME(SMT) },
 ^
  arch/powerpc/kernel/smp.c:764:2: error: (near initialization for 
  'powerpc_topology[0].sd_flags') [-Werror]
 
  Caused by commit 6a0b50087a89 (Merge branch 'patchwork' into
  to_next).  The change to include/linux/sched.h in this merge commit
  does not seem to appear in either of the parents of the merge.
 
  Its also a change that (when suggested) was shown to cause more
  problems than it was worth and dropped.  I can't imagine how it ended
  up in the merge commit.
 
 
 Do you mean b6220ad66 (sched: Fix compiler warnings) ? I thought that was 
 accepted
 a week or so ago.

That is in the tip tree and includes the fixups to powerpc and arm.  I
don't merge the tip tree till well after the v4l-dvb tree.  The merge
in the v4l-dvb tree included only the change to include/linus/sched.h
and neither parent fo that merge was based on the tip tree ...

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-03-31 Thread Mauro Carvalho Chehab
Hi Stephen,

Em Mon, 31 Mar 2014 13:01:07 +1100
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28xx_dvb_resume':
> drivers/media/usb/em28xx/em28xx-dvb.c:1645:7: error: 'client' undeclared 
> (first use in this function)
>if (client) {
>^
> 
> Caused by commit 37571b163c15 ("[media] em28xx-dvb: fix PCTV 461e tuner
> I2C binding").  Basic build testing is a good idea :-(

Yeah, sorry for that. The affected patch came from another branch,
but one of the hunks got incorrectly merged. I'm applying a fix for
it in a few.

> 
> I have used the v4v-dvb tree from next-20140328 for today.

Thanks!
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2014-03-31 Thread Mauro Carvalho Chehab
Hi Stephen,

Em Mon, 31 Mar 2014 13:01:07 +1100
Stephen Rothwell s...@canb.auug.org.au escreveu:

 Hi Mauro,
 
 After merging the v4l-dvb tree, today's linux-next build (x86_64
 allmodconfig) failed like this:
 
 drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28xx_dvb_resume':
 drivers/media/usb/em28xx/em28xx-dvb.c:1645:7: error: 'client' undeclared 
 (first use in this function)
if (client) {
^
 
 Caused by commit 37571b163c15 ([media] em28xx-dvb: fix PCTV 461e tuner
 I2C binding).  Basic build testing is a good idea :-(

Yeah, sorry for that. The affected patch came from another branch,
but one of the hunks got incorrectly merged. I'm applying a fix for
it in a few.

 
 I have used the v4v-dvb tree from next-20140328 for today.

Thanks!
Mauro
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


linux-next: build failure after merge of the v4l-dvb tree

2014-03-30 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28xx_dvb_resume':
drivers/media/usb/em28xx/em28xx-dvb.c:1645:7: error: 'client' undeclared (first 
use in this function)
   if (client) {
   ^

Caused by commit 37571b163c15 ("[media] em28xx-dvb: fix PCTV 461e tuner
I2C binding").  Basic build testing is a good idea :-(

I have used the v4v-dvb tree from next-20140328 for today.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpIHYTf1NUNk.pgp
Description: PGP signature


linux-next: build failure after merge of the v4l-dvb tree

2014-03-30 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28xx_dvb_resume':
drivers/media/usb/em28xx/em28xx-dvb.c:1645:7: error: 'client' undeclared (first 
use in this function)
   if (client) {
   ^

Caused by commit 37571b163c15 ([media] em28xx-dvb: fix PCTV 461e tuner
I2C binding).  Basic build testing is a good idea :-(

I have used the v4v-dvb tree from next-20140328 for today.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpIHYTf1NUNk.pgp
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2013-01-11 Thread Mauro Carvalho Chehab
Em Fri, 11 Jan 2013 11:39:04 +1100
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> drivers/media/platform/sh_veu.c:1146:22: error: expected '=', ',', ';', 'asm' 
> or '__attribute__' before 'sh_veu_probe'
> drivers/media/platform/sh_veu.c:1228:22: error: expected '=', ',', ';', 'asm' 
> or '__attribute__' before 'sh_veu_remove'
> drivers/media/platform/sh_veu.c:1244:2: error: implicit declaration of 
> function '__devexit_p' [-Werror=implicit-function-declaration]
> drivers/media/platform/sh_veu.c:1244:25: error: 'sh_veu_remove' undeclared 
> here (not in a function)
> drivers/media/platform/sh_veu.c: In function 'sh_veu_init':
> drivers/media/platform/sh_veu.c:1253:45: error: 'sh_veu_probe' undeclared 
> (first use in this function)
> drivers/media/platform/sh_veu.c:1253:45: note: each undeclared identifier is 
> reported only once for each function it appears in
> drivers/media/platform/sh_veu.c: At top level:
> drivers/media/platform/sh_veu.c:1095:20: warning: 'sh_veu_bh' defined but not 
> used [-Wunused-function]
> drivers/media/platform/sh_veu.c:1109:20: warning: 'sh_veu_isr' defined but 
> not used [-Wunused-function]
> drivers/media/platform/sh_veu.c: In function 'sh_veu_init':
> drivers/media/platform/sh_veu.c:1254:1: warning: control reaches end of 
> non-void function [-Wreturn-type]
> 
> Caused by commit 05efa71bdc0e ("[media] media: add a VEU MEM2MEM format
> conversion and scaling driver") interacting with commit 54b956b90360
> ("Remove __dev* markings from init.h") from the driver-core.current tree.
> 
> I have applied the following merge fix patch which could be applied
> directly to the v4l-dvb tree (please):

Applied,

Thanks!
Mauro

> From: Stephen Rothwell 
> Date: Fri, 11 Jan 2013 11:35:34 +1100
> Subject: [PATCH] [media] media: remove __dev* annotations
> 
> CONFIG_HOTPLUG is always true now and the __dev* macros have meen removed.
> 
> Signed-off-by: Stephen Rothwell 
> ---
>  drivers/media/platform/sh_veu.c |6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/media/platform/sh_veu.c b/drivers/media/platform/sh_veu.c
> index a018676..cb54c69 100644
> --- a/drivers/media/platform/sh_veu.c
> +++ b/drivers/media/platform/sh_veu.c
> @@ -1143,7 +1143,7 @@ static irqreturn_t sh_veu_isr(int irq, void *dev_id)
>   return IRQ_HANDLED;
>  }
>  
> -static int __devinit sh_veu_probe(struct platform_device *pdev)
> +static int sh_veu_probe(struct platform_device *pdev)
>  {
>   struct sh_veu_dev *veu;
>   struct resource *reg_res;
> @@ -1225,7 +1225,7 @@ einitctx:
>   return ret;
>  }
>  
> -static int __devexit sh_veu_remove(struct platform_device *pdev)
> +static int sh_veu_remove(struct platform_device *pdev)
>  {
>   struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev);
>   struct sh_veu_dev *veu = container_of(v4l2_dev,
> @@ -1241,7 +1241,7 @@ static int __devexit sh_veu_remove(struct 
> platform_device *pdev)
>  }
>  
>  static struct platform_driver __refdata sh_veu_pdrv = {
> - .remove = __devexit_p(sh_veu_remove),
> + .remove = sh_veu_remove,
>   .driver = {
>   .name   = "sh_veu",
>   .owner  = THIS_MODULE,




Cheers,
Mauro


signature.asc
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2013-01-11 Thread Mauro Carvalho Chehab
Em Fri, 11 Jan 2013 11:39:04 +1100
Stephen Rothwell s...@canb.auug.org.au escreveu:

 Hi Mauro,
 
 After merging the v4l-dvb tree, today's linux-next build (x86_64
 allmodconfig) failed like this:
 
 drivers/media/platform/sh_veu.c:1146:22: error: expected '=', ',', ';', 'asm' 
 or '__attribute__' before 'sh_veu_probe'
 drivers/media/platform/sh_veu.c:1228:22: error: expected '=', ',', ';', 'asm' 
 or '__attribute__' before 'sh_veu_remove'
 drivers/media/platform/sh_veu.c:1244:2: error: implicit declaration of 
 function '__devexit_p' [-Werror=implicit-function-declaration]
 drivers/media/platform/sh_veu.c:1244:25: error: 'sh_veu_remove' undeclared 
 here (not in a function)
 drivers/media/platform/sh_veu.c: In function 'sh_veu_init':
 drivers/media/platform/sh_veu.c:1253:45: error: 'sh_veu_probe' undeclared 
 (first use in this function)
 drivers/media/platform/sh_veu.c:1253:45: note: each undeclared identifier is 
 reported only once for each function it appears in
 drivers/media/platform/sh_veu.c: At top level:
 drivers/media/platform/sh_veu.c:1095:20: warning: 'sh_veu_bh' defined but not 
 used [-Wunused-function]
 drivers/media/platform/sh_veu.c:1109:20: warning: 'sh_veu_isr' defined but 
 not used [-Wunused-function]
 drivers/media/platform/sh_veu.c: In function 'sh_veu_init':
 drivers/media/platform/sh_veu.c:1254:1: warning: control reaches end of 
 non-void function [-Wreturn-type]
 
 Caused by commit 05efa71bdc0e ([media] media: add a VEU MEM2MEM format
 conversion and scaling driver) interacting with commit 54b956b90360
 (Remove __dev* markings from init.h) from the driver-core.current tree.
 
 I have applied the following merge fix patch which could be applied
 directly to the v4l-dvb tree (please):

Applied,

Thanks!
Mauro

 From: Stephen Rothwell s...@canb.auug.org.au
 Date: Fri, 11 Jan 2013 11:35:34 +1100
 Subject: [PATCH] [media] media: remove __dev* annotations
 
 CONFIG_HOTPLUG is always true now and the __dev* macros have meen removed.
 
 Signed-off-by: Stephen Rothwell s...@canb.auug.org.au
 ---
  drivers/media/platform/sh_veu.c |6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/drivers/media/platform/sh_veu.c b/drivers/media/platform/sh_veu.c
 index a018676..cb54c69 100644
 --- a/drivers/media/platform/sh_veu.c
 +++ b/drivers/media/platform/sh_veu.c
 @@ -1143,7 +1143,7 @@ static irqreturn_t sh_veu_isr(int irq, void *dev_id)
   return IRQ_HANDLED;
  }
  
 -static int __devinit sh_veu_probe(struct platform_device *pdev)
 +static int sh_veu_probe(struct platform_device *pdev)
  {
   struct sh_veu_dev *veu;
   struct resource *reg_res;
 @@ -1225,7 +1225,7 @@ einitctx:
   return ret;
  }
  
 -static int __devexit sh_veu_remove(struct platform_device *pdev)
 +static int sh_veu_remove(struct platform_device *pdev)
  {
   struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev);
   struct sh_veu_dev *veu = container_of(v4l2_dev,
 @@ -1241,7 +1241,7 @@ static int __devexit sh_veu_remove(struct 
 platform_device *pdev)
  }
  
  static struct platform_driver __refdata sh_veu_pdrv = {
 - .remove = __devexit_p(sh_veu_remove),
 + .remove = sh_veu_remove,
   .driver = {
   .name   = sh_veu,
   .owner  = THIS_MODULE,




Cheers,
Mauro


signature.asc
Description: PGP signature


linux-next: build failure after merge of the v4l-dvb tree

2013-01-10 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/media/platform/sh_veu.c:1146:22: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'sh_veu_probe'
drivers/media/platform/sh_veu.c:1228:22: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'sh_veu_remove'
drivers/media/platform/sh_veu.c:1244:2: error: implicit declaration of function 
'__devexit_p' [-Werror=implicit-function-declaration]
drivers/media/platform/sh_veu.c:1244:25: error: 'sh_veu_remove' undeclared here 
(not in a function)
drivers/media/platform/sh_veu.c: In function 'sh_veu_init':
drivers/media/platform/sh_veu.c:1253:45: error: 'sh_veu_probe' undeclared 
(first use in this function)
drivers/media/platform/sh_veu.c:1253:45: note: each undeclared identifier is 
reported only once for each function it appears in
drivers/media/platform/sh_veu.c: At top level:
drivers/media/platform/sh_veu.c:1095:20: warning: 'sh_veu_bh' defined but not 
used [-Wunused-function]
drivers/media/platform/sh_veu.c:1109:20: warning: 'sh_veu_isr' defined but not 
used [-Wunused-function]
drivers/media/platform/sh_veu.c: In function 'sh_veu_init':
drivers/media/platform/sh_veu.c:1254:1: warning: control reaches end of 
non-void function [-Wreturn-type]

Caused by commit 05efa71bdc0e ("[media] media: add a VEU MEM2MEM format
conversion and scaling driver") interacting with commit 54b956b90360
("Remove __dev* markings from init.h") from the driver-core.current tree.

I have applied the following merge fix patch which could be applied
directly to the v4l-dvb tree (please):

From: Stephen Rothwell 
Date: Fri, 11 Jan 2013 11:35:34 +1100
Subject: [PATCH] [media] media: remove __dev* annotations

CONFIG_HOTPLUG is always true now and the __dev* macros have meen removed.

Signed-off-by: Stephen Rothwell 
---
 drivers/media/platform/sh_veu.c |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/media/platform/sh_veu.c b/drivers/media/platform/sh_veu.c
index a018676..cb54c69 100644
--- a/drivers/media/platform/sh_veu.c
+++ b/drivers/media/platform/sh_veu.c
@@ -1143,7 +1143,7 @@ static irqreturn_t sh_veu_isr(int irq, void *dev_id)
return IRQ_HANDLED;
 }
 
-static int __devinit sh_veu_probe(struct platform_device *pdev)
+static int sh_veu_probe(struct platform_device *pdev)
 {
struct sh_veu_dev *veu;
struct resource *reg_res;
@@ -1225,7 +1225,7 @@ einitctx:
return ret;
 }
 
-static int __devexit sh_veu_remove(struct platform_device *pdev)
+static int sh_veu_remove(struct platform_device *pdev)
 {
struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev);
struct sh_veu_dev *veu = container_of(v4l2_dev,
@@ -1241,7 +1241,7 @@ static int __devexit sh_veu_remove(struct platform_device 
*pdev)
 }
 
 static struct platform_driver __refdata sh_veu_pdrv = {
-   .remove = __devexit_p(sh_veu_remove),
+   .remove = sh_veu_remove,
.driver = {
.name   = "sh_veu",
.owner  = THIS_MODULE,
-- 
1.7.10.280.gaa39

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpKkQNtkAmu_.pgp
Description: PGP signature


linux-next: build failure after merge of the v4l-dvb tree

2013-01-10 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/media/platform/sh_veu.c:1146:22: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'sh_veu_probe'
drivers/media/platform/sh_veu.c:1228:22: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'sh_veu_remove'
drivers/media/platform/sh_veu.c:1244:2: error: implicit declaration of function 
'__devexit_p' [-Werror=implicit-function-declaration]
drivers/media/platform/sh_veu.c:1244:25: error: 'sh_veu_remove' undeclared here 
(not in a function)
drivers/media/platform/sh_veu.c: In function 'sh_veu_init':
drivers/media/platform/sh_veu.c:1253:45: error: 'sh_veu_probe' undeclared 
(first use in this function)
drivers/media/platform/sh_veu.c:1253:45: note: each undeclared identifier is 
reported only once for each function it appears in
drivers/media/platform/sh_veu.c: At top level:
drivers/media/platform/sh_veu.c:1095:20: warning: 'sh_veu_bh' defined but not 
used [-Wunused-function]
drivers/media/platform/sh_veu.c:1109:20: warning: 'sh_veu_isr' defined but not 
used [-Wunused-function]
drivers/media/platform/sh_veu.c: In function 'sh_veu_init':
drivers/media/platform/sh_veu.c:1254:1: warning: control reaches end of 
non-void function [-Wreturn-type]

Caused by commit 05efa71bdc0e ([media] media: add a VEU MEM2MEM format
conversion and scaling driver) interacting with commit 54b956b90360
(Remove __dev* markings from init.h) from the driver-core.current tree.

I have applied the following merge fix patch which could be applied
directly to the v4l-dvb tree (please):

From: Stephen Rothwell s...@canb.auug.org.au
Date: Fri, 11 Jan 2013 11:35:34 +1100
Subject: [PATCH] [media] media: remove __dev* annotations

CONFIG_HOTPLUG is always true now and the __dev* macros have meen removed.

Signed-off-by: Stephen Rothwell s...@canb.auug.org.au
---
 drivers/media/platform/sh_veu.c |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/media/platform/sh_veu.c b/drivers/media/platform/sh_veu.c
index a018676..cb54c69 100644
--- a/drivers/media/platform/sh_veu.c
+++ b/drivers/media/platform/sh_veu.c
@@ -1143,7 +1143,7 @@ static irqreturn_t sh_veu_isr(int irq, void *dev_id)
return IRQ_HANDLED;
 }
 
-static int __devinit sh_veu_probe(struct platform_device *pdev)
+static int sh_veu_probe(struct platform_device *pdev)
 {
struct sh_veu_dev *veu;
struct resource *reg_res;
@@ -1225,7 +1225,7 @@ einitctx:
return ret;
 }
 
-static int __devexit sh_veu_remove(struct platform_device *pdev)
+static int sh_veu_remove(struct platform_device *pdev)
 {
struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev);
struct sh_veu_dev *veu = container_of(v4l2_dev,
@@ -1241,7 +1241,7 @@ static int __devexit sh_veu_remove(struct platform_device 
*pdev)
 }
 
 static struct platform_driver __refdata sh_veu_pdrv = {
-   .remove = __devexit_p(sh_veu_remove),
+   .remove = sh_veu_remove,
.driver = {
.name   = sh_veu,
.owner  = THIS_MODULE,
-- 
1.7.10.280.gaa39

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpKkQNtkAmu_.pgp
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2012-11-26 Thread Marek Szyprowski

Hi Stephen,

On 11/26/2012 3:31 AM, Stephen Rothwell wrote:

Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: "dma_common_get_sgtable" 
[drivers/media/v4l2-core/videobuf2-dma-contig.ko] undefined!

Caused by commit 9ef2cbeb8192 ("[media] v4l: vb2-dma-contig: add support
for DMABUF exporting").  dma_common_get_sgtable() is called from the
inline dma_get_sgtable_attrs() and dma_get_sgtable_attrs() is "called
from" dma_get_sgtable().  dma_common_get_sgtable() is only defined if
ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY is set which depends on
CONFIG_HAVE_GENERIC_DMA_COHERENT being set which it isn't for this build.

I have used the v4l-dvb tree form next-20121026 for today.

Please try testing your tree with an x86_64 allmodconfig build.


Thanks for spotting this issue. It's my fault, code for 
dma_common_get_sgtable()

function was incorrectly placed under ifdefs in drivrs/base/dma-mapping.

I've posted a fix, please refer to the "dma-mapping: fix 
dma_common_get_sgtable()

conditional compilation" patch, which I will push to Linus asap.

Best regards
--
Marek Szyprowski
Samsung Poland R Center


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2012-11-26 Thread Mauro Carvalho Chehab
Hi Stephen,

Em Mon, 26 Nov 2012 13:31:53 +1100
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> ERROR: "dma_common_get_sgtable" 
> [drivers/media/v4l2-core/videobuf2-dma-contig.ko] undefined!
> 
> Caused by commit 9ef2cbeb8192 ("[media] v4l: vb2-dma-contig: add support
> for DMABUF exporting").  dma_common_get_sgtable() is called from the
> inline dma_get_sgtable_attrs() and dma_get_sgtable_attrs() is "called
> from" dma_get_sgtable().  dma_common_get_sgtable() is only defined if
> ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY is set which depends on
> CONFIG_HAVE_GENERIC_DMA_COHERENT being set which it isn't for this build.
> 
> I have used the v4l-dvb tree form next-20121026 for today.
> 
> Please try testing your tree with an x86_64 allmodconfig build.

My tree does compile here with allmodconfig on x86_64.

A quick fix is to just disable support for DMABUF if !HAVE_GENERIC_DMA_COHERENT.

Regards,
Mauro

-

videobuf2-dma-contig: Only support if  HAVE_GENERIC_DMA_COHERENT

As reported by Stephen:

> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> ERROR: "dma_common_get_sgtable" 
> [drivers/media/v4l2-core/videobuf2-dma-contig.ko] undefined!
>
> Caused by commit 9ef2cbeb8192 ("[media] v4l: vb2-dma-contig: add support
> for DMABUF exporting").  dma_common_get_sgtable() is called from the
> inline dma_get_sgtable_attrs() and dma_get_sgtable_attrs() is "called
> from" dma_get_sgtable().  dma_common_get_sgtable() is only defined if
> ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY is set which depends on
> CONFIG_HAVE_GENERIC_DMA_COHERENT being set which it isn't for this build.

The simplest fix is to just not support DMABUF with vb2-contig, on archs
where this symbol doesn't exist. Some latter patch can rewrite it to
support this outside -arm.

Signed-off-by: Mauro Carvalho Chehab 

diff --git a/drivers/media/v4l2-core/videobuf2-dma-contig.c 
b/drivers/media/v4l2-core/videobuf2-dma-contig.c
index 10beaee..5729450 100644
--- a/drivers/media/v4l2-core/videobuf2-dma-contig.c
+++ b/drivers/media/v4l2-core/videobuf2-dma-contig.c
@@ -226,6 +226,8 @@ static int vb2_dc_mmap(void *buf_priv, struct 
vm_area_struct *vma)
 /* DMABUF ops for exporters  */
 /*/
 
+#ifdef HAVE_GENERIC_DMA_COHERENT
+
 struct vb2_dc_attachment {
struct sg_table sgt;
enum dma_data_direction dir;
@@ -416,6 +418,8 @@ static struct dma_buf *vb2_dc_get_dmabuf(void *buf_priv)
return dbuf;
 }
 
+#endif
+
 /*/
 /*   callbacks for USERPTR buffers   */
 /*/
@@ -735,7 +739,9 @@ static void *vb2_dc_attach_dmabuf(void *alloc_ctx, struct 
dma_buf *dbuf,
 const struct vb2_mem_ops vb2_dma_contig_memops = {
.alloc  = vb2_dc_alloc,
.put= vb2_dc_put,
+#ifdef CONFIG_HAVE_GENERIC_DMA_COHERENT
.get_dmabuf = vb2_dc_get_dmabuf,
+#endif
.cookie = vb2_dc_cookie,
.vaddr  = vb2_dc_vaddr,
.mmap   = vb2_dc_mmap,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2012-11-26 Thread Mauro Carvalho Chehab
Hi Stephen,

Em Mon, 26 Nov 2012 13:31:53 +1100
Stephen Rothwell s...@canb.auug.org.au escreveu:

 Hi Mauro,
 
 After merging the v4l-dvb tree, today's linux-next build (x86_64
 allmodconfig) failed like this:
 
 ERROR: dma_common_get_sgtable 
 [drivers/media/v4l2-core/videobuf2-dma-contig.ko] undefined!
 
 Caused by commit 9ef2cbeb8192 ([media] v4l: vb2-dma-contig: add support
 for DMABUF exporting).  dma_common_get_sgtable() is called from the
 inline dma_get_sgtable_attrs() and dma_get_sgtable_attrs() is called
 from dma_get_sgtable().  dma_common_get_sgtable() is only defined if
 ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY is set which depends on
 CONFIG_HAVE_GENERIC_DMA_COHERENT being set which it isn't for this build.
 
 I have used the v4l-dvb tree form next-20121026 for today.
 
 Please try testing your tree with an x86_64 allmodconfig build.

My tree does compile here with allmodconfig on x86_64.

A quick fix is to just disable support for DMABUF if !HAVE_GENERIC_DMA_COHERENT.

Regards,
Mauro

-

videobuf2-dma-contig: Only support if  HAVE_GENERIC_DMA_COHERENT

As reported by Stephen:

 After merging the v4l-dvb tree, today's linux-next build (x86_64
 allmodconfig) failed like this:

 ERROR: dma_common_get_sgtable 
 [drivers/media/v4l2-core/videobuf2-dma-contig.ko] undefined!

 Caused by commit 9ef2cbeb8192 ([media] v4l: vb2-dma-contig: add support
 for DMABUF exporting).  dma_common_get_sgtable() is called from the
 inline dma_get_sgtable_attrs() and dma_get_sgtable_attrs() is called
 from dma_get_sgtable().  dma_common_get_sgtable() is only defined if
 ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY is set which depends on
 CONFIG_HAVE_GENERIC_DMA_COHERENT being set which it isn't for this build.

The simplest fix is to just not support DMABUF with vb2-contig, on archs
where this symbol doesn't exist. Some latter patch can rewrite it to
support this outside -arm.

Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com

diff --git a/drivers/media/v4l2-core/videobuf2-dma-contig.c 
b/drivers/media/v4l2-core/videobuf2-dma-contig.c
index 10beaee..5729450 100644
--- a/drivers/media/v4l2-core/videobuf2-dma-contig.c
+++ b/drivers/media/v4l2-core/videobuf2-dma-contig.c
@@ -226,6 +226,8 @@ static int vb2_dc_mmap(void *buf_priv, struct 
vm_area_struct *vma)
 /* DMABUF ops for exporters  */
 /*/
 
+#ifdef HAVE_GENERIC_DMA_COHERENT
+
 struct vb2_dc_attachment {
struct sg_table sgt;
enum dma_data_direction dir;
@@ -416,6 +418,8 @@ static struct dma_buf *vb2_dc_get_dmabuf(void *buf_priv)
return dbuf;
 }
 
+#endif
+
 /*/
 /*   callbacks for USERPTR buffers   */
 /*/
@@ -735,7 +739,9 @@ static void *vb2_dc_attach_dmabuf(void *alloc_ctx, struct 
dma_buf *dbuf,
 const struct vb2_mem_ops vb2_dma_contig_memops = {
.alloc  = vb2_dc_alloc,
.put= vb2_dc_put,
+#ifdef CONFIG_HAVE_GENERIC_DMA_COHERENT
.get_dmabuf = vb2_dc_get_dmabuf,
+#endif
.cookie = vb2_dc_cookie,
.vaddr  = vb2_dc_vaddr,
.mmap   = vb2_dc_mmap,
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2012-11-26 Thread Marek Szyprowski

Hi Stephen,

On 11/26/2012 3:31 AM, Stephen Rothwell wrote:

Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: dma_common_get_sgtable 
[drivers/media/v4l2-core/videobuf2-dma-contig.ko] undefined!

Caused by commit 9ef2cbeb8192 ([media] v4l: vb2-dma-contig: add support
for DMABUF exporting).  dma_common_get_sgtable() is called from the
inline dma_get_sgtable_attrs() and dma_get_sgtable_attrs() is called
from dma_get_sgtable().  dma_common_get_sgtable() is only defined if
ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY is set which depends on
CONFIG_HAVE_GENERIC_DMA_COHERENT being set which it isn't for this build.

I have used the v4l-dvb tree form next-20121026 for today.

Please try testing your tree with an x86_64 allmodconfig build.


Thanks for spotting this issue. It's my fault, code for 
dma_common_get_sgtable()

function was incorrectly placed under ifdefs in drivrs/base/dma-mapping.

I've posted a fix, please refer to the dma-mapping: fix 
dma_common_get_sgtable()

conditional compilation patch, which I will push to Linus asap.

Best regards
--
Marek Szyprowski
Samsung Poland RD Center


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


linux-next: build failure after merge of the v4l-dvb tree

2012-11-25 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: "dma_common_get_sgtable" 
[drivers/media/v4l2-core/videobuf2-dma-contig.ko] undefined!

Caused by commit 9ef2cbeb8192 ("[media] v4l: vb2-dma-contig: add support
for DMABUF exporting").  dma_common_get_sgtable() is called from the
inline dma_get_sgtable_attrs() and dma_get_sgtable_attrs() is "called
from" dma_get_sgtable().  dma_common_get_sgtable() is only defined if
ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY is set which depends on
CONFIG_HAVE_GENERIC_DMA_COHERENT being set which it isn't for this build.

I have used the v4l-dvb tree form next-20121026 for today.

Please try testing your tree with an x86_64 allmodconfig build.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpZrPVHIcEpB.pgp
Description: PGP signature


linux-next: build failure after merge of the v4l-dvb tree

2012-11-25 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: dma_common_get_sgtable 
[drivers/media/v4l2-core/videobuf2-dma-contig.ko] undefined!

Caused by commit 9ef2cbeb8192 ([media] v4l: vb2-dma-contig: add support
for DMABUF exporting).  dma_common_get_sgtable() is called from the
inline dma_get_sgtable_attrs() and dma_get_sgtable_attrs() is called
from dma_get_sgtable().  dma_common_get_sgtable() is only defined if
ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY is set which depends on
CONFIG_HAVE_GENERIC_DMA_COHERENT being set which it isn't for this build.

I have used the v4l-dvb tree form next-20121026 for today.

Please try testing your tree with an x86_64 allmodconfig build.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpZrPVHIcEpB.pgp
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2012-11-13 Thread Mauro Carvalho Chehab
Em Mon, 12 Nov 2012 11:09:35 +1100
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> ERROR: "sms_ir_exit" [drivers/media/common/siano/smsmdtv.ko] undefined!
> ERROR: "sms_ir_event" [drivers/media/common/siano/smsmdtv.ko] undefined!
> ERROR: "sms_ir_init" [drivers/media/common/siano/smsmdtv.ko] undefined!
> 
> This is better than Friday, but still not quite there. :-(
> 
> I have used the v4l-dvb tree from next-20121026 again.

Sorry, I did one mistake on my last patch. Instead of adding RC to the
siano core, it was added at the build as if it was an independent module.

The fix is trivial. I'll add it on my tree for tomorrow's merge.

Thanks for pointing it.

Regards,
Mauro

-

[PATCH] [media] siano: fix build with allmodconfig

As reported by Stephen:

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: "sms_ir_exit" [drivers/media/common/siano/smsmdtv.ko] undefined!
ERROR: "sms_ir_event" [drivers/media/common/siano/smsmdtv.ko] undefined!
ERROR: "sms_ir_init" [drivers/media/common/siano/smsmdtv.ko] undefined!

The smsir file should be part of the smsmdtv core, if RC is defined.
Fix it.

Reported-by: Stephen Rothwell 
Signed-off-by: Mauro Carvalho Chehab 

diff --git a/drivers/media/common/siano/Makefile 
b/drivers/media/common/siano/Makefile
index 9e7fdf2..81b1e98 100644
--- a/drivers/media/common/siano/Makefile
+++ b/drivers/media/common/siano/Makefile
@@ -3,7 +3,7 @@ smsmdtv-objs := smscoreapi.o sms-cards.o smsendian.o
 obj-$(CONFIG_SMS_SIANO_MDTV) += smsmdtv.o smsdvb.o
 
 ifeq ($(CONFIG_SMS_SIANO_RC),y)
-  obj-$(CONFIG_SMS_SIANO_MDTV) += smsir.o
+  smsmdtv-objs += smsir.o
 endif
 
 ccflags-y += -Idrivers/media/dvb-core
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2012-11-13 Thread Mauro Carvalho Chehab
Em Mon, 12 Nov 2012 11:09:35 +1100
Stephen Rothwell s...@canb.auug.org.au escreveu:

 Hi Mauro,
 
 After merging the v4l-dvb tree, today's linux-next build (x86_64
 allmodconfig) failed like this:
 
 ERROR: sms_ir_exit [drivers/media/common/siano/smsmdtv.ko] undefined!
 ERROR: sms_ir_event [drivers/media/common/siano/smsmdtv.ko] undefined!
 ERROR: sms_ir_init [drivers/media/common/siano/smsmdtv.ko] undefined!
 
 This is better than Friday, but still not quite there. :-(
 
 I have used the v4l-dvb tree from next-20121026 again.

Sorry, I did one mistake on my last patch. Instead of adding RC to the
siano core, it was added at the build as if it was an independent module.

The fix is trivial. I'll add it on my tree for tomorrow's merge.

Thanks for pointing it.

Regards,
Mauro

-

[PATCH] [media] siano: fix build with allmodconfig

As reported by Stephen:

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: sms_ir_exit [drivers/media/common/siano/smsmdtv.ko] undefined!
ERROR: sms_ir_event [drivers/media/common/siano/smsmdtv.ko] undefined!
ERROR: sms_ir_init [drivers/media/common/siano/smsmdtv.ko] undefined!

The smsir file should be part of the smsmdtv core, if RC is defined.
Fix it.

Reported-by: Stephen Rothwell s...@canb.auug.org.au
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com

diff --git a/drivers/media/common/siano/Makefile 
b/drivers/media/common/siano/Makefile
index 9e7fdf2..81b1e98 100644
--- a/drivers/media/common/siano/Makefile
+++ b/drivers/media/common/siano/Makefile
@@ -3,7 +3,7 @@ smsmdtv-objs := smscoreapi.o sms-cards.o smsendian.o
 obj-$(CONFIG_SMS_SIANO_MDTV) += smsmdtv.o smsdvb.o
 
 ifeq ($(CONFIG_SMS_SIANO_RC),y)
-  obj-$(CONFIG_SMS_SIANO_MDTV) += smsir.o
+  smsmdtv-objs += smsir.o
 endif
 
 ccflags-y += -Idrivers/media/dvb-core
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


linux-next: build failure after merge of the v4l-dvb tree

2012-11-11 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: "sms_ir_exit" [drivers/media/common/siano/smsmdtv.ko] undefined!
ERROR: "sms_ir_event" [drivers/media/common/siano/smsmdtv.ko] undefined!
ERROR: "sms_ir_init" [drivers/media/common/siano/smsmdtv.ko] undefined!

This is better than Friday, but still not quite there. :-(

I have used the v4l-dvb tree from next-20121026 again.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpmAz4484BVi.pgp
Description: PGP signature


linux-next: build failure after merge of the v4l-dvb tree

2012-11-11 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: sms_ir_exit [drivers/media/common/siano/smsmdtv.ko] undefined!
ERROR: sms_ir_event [drivers/media/common/siano/smsmdtv.ko] undefined!
ERROR: sms_ir_init [drivers/media/common/siano/smsmdtv.ko] undefined!

This is better than Friday, but still not quite there. :-(

I have used the v4l-dvb tree from next-20121026 again.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpmAz4484BVi.pgp
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2012-11-06 Thread Mauro Carvalho Chehab
Em Wed, 7 Nov 2012 11:05:59 +1100
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> drivers/built-in.o: In function `sms_ir_event':
> (.text+0x129b95): undefined reference to `ir_raw_event_store'
> drivers/built-in.o: In function `sms_ir_event':
> (.text+0x129bb4): undefined reference to `ir_raw_event_handle'
> drivers/built-in.o: In function `sms_ir_init':
> (.text+0x129bec): undefined reference to `smscore_get_board_id'
> drivers/built-in.o: In function `sms_ir_init':
> (.text+0x129c17): undefined reference to `rc_allocate_device'
> drivers/built-in.o: In function `sms_ir_init':
> (.text+0x129cac): undefined reference to `sms_get_board'
> drivers/built-in.o: In function `sms_ir_init':
> (.text+0x129d41): undefined reference to `sms_get_board'
> drivers/built-in.o: In function `sms_ir_init':
> (.text+0x129d8c): undefined reference to `rc_register_device'
> drivers/built-in.o: In function `sms_ir_init':
> (.text+0x129dc3): undefined reference to `rc_free_device'
> drivers/built-in.o: In function `sms_ir_exit':
> (.text+0x129e15): undefined reference to `rc_unregister_device'
> 
> Caused (I think) by commit fdd1eeb49d36 ("[media] siano: allow compiling
> it without RC support").  In this build, CONFIG_SMS_SIANO_RC=y and
> CONFIG_RC_CORE=m .

Gah, this is one of those things that will require to trick Kconfig.

The thing is that the siano core driver needs to depend on RC_CORE, when
RC is selected. 

While I haven't tested yet, I suspect that the following patch will
likely do the trick.

It has one small drawback: if RC_CORE is a module, the siano driver
can't be builtin, even if siano RC is not selected. 

-

siano: make siano driver a module, when RC_CORE is selected as 'm'

Signed-off-by: Mauro Carvalho Chehab 

diff --git a/drivers/media/common/siano/Kconfig 
b/drivers/media/common/siano/Kconfig
index 3cb7823..68f0f60 100644
--- a/drivers/media/common/siano/Kconfig
+++ b/drivers/media/common/siano/Kconfig
@@ -5,6 +5,7 @@
 config SMS_SIANO_MDTV
tristate
depends on DVB_CORE && HAS_DMA
+   depends on !RC_CORE || RC_CORE
depends on SMS_USB_DRV || SMS_SDIO_DRV
default y
 
diff --git a/drivers/media/common/siano/Makefile 
b/drivers/media/common/siano/Makefile
index 0e6f5e9..9e7fdf2 100644
--- a/drivers/media/common/siano/Makefile
+++ b/drivers/media/common/siano/Makefile
@@ -1,7 +1,10 @@
 smsmdtv-objs := smscoreapi.o sms-cards.o smsendian.o
 
 obj-$(CONFIG_SMS_SIANO_MDTV) += smsmdtv.o smsdvb.o
-obj-$(CONFIG_SMS_SIANO_RC) += smsir.o
+
+ifeq ($(CONFIG_SMS_SIANO_RC),y)
+  obj-$(CONFIG_SMS_SIANO_MDTV) += smsir.o
+endif
 
 ccflags-y += -Idrivers/media/dvb-core
 ccflags-y += $(extra-cflags-y) $(extra-cflags-m)
diff --git a/drivers/media/mmc/siano/Kconfig b/drivers/media/mmc/siano/Kconfig
index 69f8061..aa05ad3 100644
--- a/drivers/media/mmc/siano/Kconfig
+++ b/drivers/media/mmc/siano/Kconfig
@@ -4,7 +4,7 @@
 
 config SMS_SDIO_DRV
tristate "Siano SMS1xxx based MDTV via SDIO interface"
-   depends on DVB_CORE && RC_CORE && HAS_DMA
+   depends on DVB_CORE && HAS_DMA
depends on MMC
select MEDIA_COMMON_OPTIONS
---help---
diff --git a/drivers/media/usb/siano/Kconfig b/drivers/media/usb/siano/Kconfig
index b2c229e..5afbd9a 100644
--- a/drivers/media/usb/siano/Kconfig
+++ b/drivers/media/usb/siano/Kconfig
@@ -4,7 +4,7 @@
 
 config SMS_USB_DRV
tristate "Siano SMS1xxx based MDTV receiver"
-   depends on DVB_CORE && RC_CORE && HAS_DMA
+   depends on DVB_CORE && HAS_DMA
select MEDIA_COMMON_OPTIONS
---help---
  Choose if you would like to have Siano's support for USB interface

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


linux-next: build failure after merge of the v4l-dvb tree

2012-11-06 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/built-in.o: In function `sms_ir_event':
(.text+0x129b95): undefined reference to `ir_raw_event_store'
drivers/built-in.o: In function `sms_ir_event':
(.text+0x129bb4): undefined reference to `ir_raw_event_handle'
drivers/built-in.o: In function `sms_ir_init':
(.text+0x129bec): undefined reference to `smscore_get_board_id'
drivers/built-in.o: In function `sms_ir_init':
(.text+0x129c17): undefined reference to `rc_allocate_device'
drivers/built-in.o: In function `sms_ir_init':
(.text+0x129cac): undefined reference to `sms_get_board'
drivers/built-in.o: In function `sms_ir_init':
(.text+0x129d41): undefined reference to `sms_get_board'
drivers/built-in.o: In function `sms_ir_init':
(.text+0x129d8c): undefined reference to `rc_register_device'
drivers/built-in.o: In function `sms_ir_init':
(.text+0x129dc3): undefined reference to `rc_free_device'
drivers/built-in.o: In function `sms_ir_exit':
(.text+0x129e15): undefined reference to `rc_unregister_device'

Caused (I think) by commit fdd1eeb49d36 ("[media] siano: allow compiling
it without RC support").  In this build, CONFIG_SMS_SIANO_RC=y and
CONFIG_RC_CORE=m .

I have used the v4l-dvb tree from next-20121026 again today.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgp1SBe8ifQqL.pgp
Description: PGP signature


linux-next: build failure after merge of the v4l-dvb tree

2012-11-06 Thread Stephen Rothwell
Hi Mauro,

After merging the v4l-dvb tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/built-in.o: In function `sms_ir_event':
(.text+0x129b95): undefined reference to `ir_raw_event_store'
drivers/built-in.o: In function `sms_ir_event':
(.text+0x129bb4): undefined reference to `ir_raw_event_handle'
drivers/built-in.o: In function `sms_ir_init':
(.text+0x129bec): undefined reference to `smscore_get_board_id'
drivers/built-in.o: In function `sms_ir_init':
(.text+0x129c17): undefined reference to `rc_allocate_device'
drivers/built-in.o: In function `sms_ir_init':
(.text+0x129cac): undefined reference to `sms_get_board'
drivers/built-in.o: In function `sms_ir_init':
(.text+0x129d41): undefined reference to `sms_get_board'
drivers/built-in.o: In function `sms_ir_init':
(.text+0x129d8c): undefined reference to `rc_register_device'
drivers/built-in.o: In function `sms_ir_init':
(.text+0x129dc3): undefined reference to `rc_free_device'
drivers/built-in.o: In function `sms_ir_exit':
(.text+0x129e15): undefined reference to `rc_unregister_device'

Caused (I think) by commit fdd1eeb49d36 ([media] siano: allow compiling
it without RC support).  In this build, CONFIG_SMS_SIANO_RC=y and
CONFIG_RC_CORE=m .

I have used the v4l-dvb tree from next-20121026 again today.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgp1SBe8ifQqL.pgp
Description: PGP signature


Re: linux-next: build failure after merge of the v4l-dvb tree

2012-11-06 Thread Mauro Carvalho Chehab
Em Wed, 7 Nov 2012 11:05:59 +1100
Stephen Rothwell s...@canb.auug.org.au escreveu:

 Hi Mauro,
 
 After merging the v4l-dvb tree, today's linux-next build (x86_64
 allmodconfig) failed like this:
 
 drivers/built-in.o: In function `sms_ir_event':
 (.text+0x129b95): undefined reference to `ir_raw_event_store'
 drivers/built-in.o: In function `sms_ir_event':
 (.text+0x129bb4): undefined reference to `ir_raw_event_handle'
 drivers/built-in.o: In function `sms_ir_init':
 (.text+0x129bec): undefined reference to `smscore_get_board_id'
 drivers/built-in.o: In function `sms_ir_init':
 (.text+0x129c17): undefined reference to `rc_allocate_device'
 drivers/built-in.o: In function `sms_ir_init':
 (.text+0x129cac): undefined reference to `sms_get_board'
 drivers/built-in.o: In function `sms_ir_init':
 (.text+0x129d41): undefined reference to `sms_get_board'
 drivers/built-in.o: In function `sms_ir_init':
 (.text+0x129d8c): undefined reference to `rc_register_device'
 drivers/built-in.o: In function `sms_ir_init':
 (.text+0x129dc3): undefined reference to `rc_free_device'
 drivers/built-in.o: In function `sms_ir_exit':
 (.text+0x129e15): undefined reference to `rc_unregister_device'
 
 Caused (I think) by commit fdd1eeb49d36 ([media] siano: allow compiling
 it without RC support).  In this build, CONFIG_SMS_SIANO_RC=y and
 CONFIG_RC_CORE=m .

Gah, this is one of those things that will require to trick Kconfig.

The thing is that the siano core driver needs to depend on RC_CORE, when
RC is selected. 

While I haven't tested yet, I suspect that the following patch will
likely do the trick.

It has one small drawback: if RC_CORE is a module, the siano driver
can't be builtin, even if siano RC is not selected. 

-

siano: make siano driver a module, when RC_CORE is selected as 'm'

Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com

diff --git a/drivers/media/common/siano/Kconfig 
b/drivers/media/common/siano/Kconfig
index 3cb7823..68f0f60 100644
--- a/drivers/media/common/siano/Kconfig
+++ b/drivers/media/common/siano/Kconfig
@@ -5,6 +5,7 @@
 config SMS_SIANO_MDTV
tristate
depends on DVB_CORE  HAS_DMA
+   depends on !RC_CORE || RC_CORE
depends on SMS_USB_DRV || SMS_SDIO_DRV
default y
 
diff --git a/drivers/media/common/siano/Makefile 
b/drivers/media/common/siano/Makefile
index 0e6f5e9..9e7fdf2 100644
--- a/drivers/media/common/siano/Makefile
+++ b/drivers/media/common/siano/Makefile
@@ -1,7 +1,10 @@
 smsmdtv-objs := smscoreapi.o sms-cards.o smsendian.o
 
 obj-$(CONFIG_SMS_SIANO_MDTV) += smsmdtv.o smsdvb.o
-obj-$(CONFIG_SMS_SIANO_RC) += smsir.o
+
+ifeq ($(CONFIG_SMS_SIANO_RC),y)
+  obj-$(CONFIG_SMS_SIANO_MDTV) += smsir.o
+endif
 
 ccflags-y += -Idrivers/media/dvb-core
 ccflags-y += $(extra-cflags-y) $(extra-cflags-m)
diff --git a/drivers/media/mmc/siano/Kconfig b/drivers/media/mmc/siano/Kconfig
index 69f8061..aa05ad3 100644
--- a/drivers/media/mmc/siano/Kconfig
+++ b/drivers/media/mmc/siano/Kconfig
@@ -4,7 +4,7 @@
 
 config SMS_SDIO_DRV
tristate Siano SMS1xxx based MDTV via SDIO interface
-   depends on DVB_CORE  RC_CORE  HAS_DMA
+   depends on DVB_CORE  HAS_DMA
depends on MMC
select MEDIA_COMMON_OPTIONS
---help---
diff --git a/drivers/media/usb/siano/Kconfig b/drivers/media/usb/siano/Kconfig
index b2c229e..5afbd9a 100644
--- a/drivers/media/usb/siano/Kconfig
+++ b/drivers/media/usb/siano/Kconfig
@@ -4,7 +4,7 @@
 
 config SMS_USB_DRV
tristate Siano SMS1xxx based MDTV receiver
-   depends on DVB_CORE  RC_CORE  HAS_DMA
+   depends on DVB_CORE  HAS_DMA
select MEDIA_COMMON_OPTIONS
---help---
  Choose if you would like to have Siano's support for USB interface

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


Re: linux-next: build failure after merge of the v4l-dvb tree

2012-11-05 Thread Mauro Carvalho Chehab
Hi Stephen,

Em Mon, 5 Nov 2012 11:34:09 +1100
Stephen Rothwell  escreveu:

> Hi Mauro,
> 
> On Mon, 29 Oct 2012 11:14:03 +1100 Stephen Rothwell  
> wrote:
> >
> > After merging the v4l-dvb tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> > 
> > drivers/hid/hid-picolcd_cir.c: In function 'picolcd_init_cir':
> > drivers/hid/hid-picolcd_cir.c:119:27: error: 'RC_TYPE_ALL' undeclared 
> > (first use in this function)
> > 
> > Caused by commit c003ab1bedf0 ("[media] rc-core: add separate defines for
> > protocol bitmaps and numbers").  The new reference was introduced in
> > commit ae08e324146c ("HID: picoLCD: Add support for CIR") which was
> > merged by Linus on October 2 into v3.7-rc1 via the hid tree.
> > 
> > I have used the v4l-dvb tree from next-20121026 for today.
> 
> I still get this today.

Not sure what happened, as I think I pushed it on my -next tree. I'm abroad
this week for LinuxCon Europe. Unfortunately, hotel's network blocks almost all
TCP ports, except for web ports. I'm seeing if this can be fixed tomorrow.
If so, I'll be pushing the patches tomorrow night.

Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2012-11-05 Thread Mauro Carvalho Chehab
Hi Stephen,

Em Mon, 5 Nov 2012 11:34:09 +1100
Stephen Rothwell s...@canb.auug.org.au escreveu:

 Hi Mauro,
 
 On Mon, 29 Oct 2012 11:14:03 +1100 Stephen Rothwell s...@canb.auug.org.au 
 wrote:
 
  After merging the v4l-dvb tree, today's linux-next build (x86_64
  allmodconfig) failed like this:
  
  drivers/hid/hid-picolcd_cir.c: In function 'picolcd_init_cir':
  drivers/hid/hid-picolcd_cir.c:119:27: error: 'RC_TYPE_ALL' undeclared 
  (first use in this function)
  
  Caused by commit c003ab1bedf0 ([media] rc-core: add separate defines for
  protocol bitmaps and numbers).  The new reference was introduced in
  commit ae08e324146c (HID: picoLCD: Add support for CIR) which was
  merged by Linus on October 2 into v3.7-rc1 via the hid tree.
  
  I have used the v4l-dvb tree from next-20121026 for today.
 
 I still get this today.

Not sure what happened, as I think I pushed it on my -next tree. I'm abroad
this week for LinuxCon Europe. Unfortunately, hotel's network blocks almost all
TCP ports, except for web ports. I'm seeing if this can be fixed tomorrow.
If so, I'll be pushing the patches tomorrow night.

Cheers,
Mauro
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: build failure after merge of the v4l-dvb tree

2012-11-04 Thread Stephen Rothwell
Hi Mauro,

On Mon, 29 Oct 2012 11:14:03 +1100 Stephen Rothwell  
wrote:
>
> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> drivers/hid/hid-picolcd_cir.c: In function 'picolcd_init_cir':
> drivers/hid/hid-picolcd_cir.c:119:27: error: 'RC_TYPE_ALL' undeclared (first 
> use in this function)
> 
> Caused by commit c003ab1bedf0 ("[media] rc-core: add separate defines for
> protocol bitmaps and numbers").  The new reference was introduced in
> commit ae08e324146c ("HID: picoLCD: Add support for CIR") which was
> merged by Linus on October 2 into v3.7-rc1 via the hid tree.
> 
> I have used the v4l-dvb tree from next-20121026 for today.

I still get this today.
-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpYYbJs06IF8.pgp
Description: PGP signature


  1   2   >