Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
4ae5c2e5
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
7
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
4ae5c2e5
编写于
3月 25, 2006
作者:
M
Mauro Carvalho Chehab
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
V4L/DVB (3614): Fix compilation warning at powerpc platform
Signed-off-by:
N
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
上级
31bc09b5
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
6 addition
and
5 deletion
+6
-5
drivers/media/dvb/dvb-usb/vp702x-fe.c
drivers/media/dvb/dvb-usb/vp702x-fe.c
+3
-2
drivers/media/video/bt8xx/bttv-vbi.c
drivers/media/video/bt8xx/bttv-vbi.c
+1
-1
drivers/media/video/tuner-core.c
drivers/media/video/tuner-core.c
+1
-1
drivers/media/video/video-buf.c
drivers/media/video/video-buf.c
+1
-1
未找到文件。
drivers/media/dvb/dvb-usb/vp702x-fe.c
浏览文件 @
4ae5c2e5
...
...
@@ -147,8 +147,9 @@ static int vp702x_fe_set_frontend(struct dvb_frontend* fe,
cmd
[
4
]
=
(
sr
>>
4
)
&
0xff
;
cmd
[
5
]
=
(
sr
<<
4
)
&
0xf0
;
deb_fe
(
"setting frontend to: %u -> %u (%x) LNB-based GHz, symbolrate: %d -> %Lu (%Lx)
\n
"
,
fep
->
frequency
,
freq
,
freq
,
fep
->
u
.
qpsk
.
symbol_rate
,
sr
,
sr
);
deb_fe
(
"setting frontend to: %u -> %u (%x) LNB-based GHz, symbolrate: %d -> %lu (%lx)
\n
"
,
fep
->
frequency
,
freq
,
freq
,
fep
->
u
.
qpsk
.
symbol_rate
,
(
unsigned
long
)
sr
,
(
unsigned
long
)
sr
);
/* if (fep->inversion == INVERSION_ON)
cmd[6] |= 0x80; */
...
...
drivers/media/video/bt8xx/bttv-vbi.c
浏览文件 @
4ae5c2e5
...
...
@@ -184,7 +184,7 @@ void bttv_vbi_try_fmt(struct bttv_fh *fh, struct v4l2_format *f)
-
tvnorm
->
vbistart
[
0
];
count1
=
(
s64
)
f
->
fmt
.
vbi
.
start
[
1
]
+
f
->
fmt
.
vbi
.
count
[
1
]
-
tvnorm
->
vbistart
[
1
];
count
=
clamp
(
max
(
count0
,
count1
),
1LL
,
(
s64
)
VBI_MAXLINES
);
count
=
clamp
(
max
(
count0
,
count1
),
(
s64
)
1
,
(
s64
)
VBI_MAXLINES
);
f
->
fmt
.
vbi
.
start
[
0
]
=
tvnorm
->
vbistart
[
0
];
f
->
fmt
.
vbi
.
start
[
1
]
=
tvnorm
->
vbistart
[
1
];
...
...
drivers/media/video/tuner-core.c
浏览文件 @
4ae5c2e5
...
...
@@ -401,7 +401,7 @@ static void tuner_status(struct i2c_client *client)
}
tuner_info
(
"Tuner mode: %s
\n
"
,
p
);
tuner_info
(
"Frequency: %lu.%02lu MHz
\n
"
,
freq
,
freq_fraction
);
tuner_info
(
"Standard: 0x%08l
lx
\n
"
,
t
->
std
);
tuner_info
(
"Standard: 0x%08l
x
\n
"
,
(
unsigned
long
)
t
->
std
);
if
(
t
->
mode
!=
V4L2_TUNER_RADIO
)
return
;
if
(
t
->
has_signal
)
{
...
...
drivers/media/video/video-buf.c
浏览文件 @
4ae5c2e5
...
...
@@ -923,7 +923,7 @@ ssize_t videobuf_read_one(struct videobuf_queue *q,
/* need to capture a new frame */
retval
=
-
ENOMEM
;
q
->
read_buf
=
videobuf_alloc
(
q
->
msize
);
dprintk
(
1
,
"video alloc=0x%
08x
\n
"
,(
unsigned
int
)
q
->
read_buf
);
dprintk
(
1
,
"video alloc=0x%
p
\n
"
,
q
->
read_buf
);
if
(
NULL
==
q
->
read_buf
)
goto
done
;
q
->
read_buf
->
memory
=
V4L2_MEMORY_USERPTR
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录