Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
4eaefb39
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
4eaefb39
编写于
8月 18, 2005
作者:
T
Tony Luck
浏览文件
操作
浏览文件
下载
差异文件
Auto-update from upstream
上级
3a931d4c
30d5b64b
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
13 addition
and
6 deletion
+13
-6
arch/ppc64/kernel/iommu.c
arch/ppc64/kernel/iommu.c
+4
-3
drivers/base/bus.c
drivers/base/bus.c
+3
-1
drivers/pnp/card.c
drivers/pnp/card.c
+2
-0
fs/ntfs/ChangeLog
fs/ntfs/ChangeLog
+1
-1
fs/ntfs/aops.c
fs/ntfs/aops.c
+1
-0
sound/ppc/pmac.c
sound/ppc/pmac.c
+2
-1
未找到文件。
arch/ppc64/kernel/iommu.c
浏览文件 @
4eaefb39
...
...
@@ -242,7 +242,7 @@ int iommu_map_sg(struct device *dev, struct iommu_table *tbl,
dma_addr_t
dma_next
=
0
,
dma_addr
;
unsigned
long
flags
;
struct
scatterlist
*
s
,
*
outs
,
*
segstart
;
int
outcount
;
int
outcount
,
incount
;
unsigned
long
handle
;
BUG_ON
(
direction
==
DMA_NONE
);
...
...
@@ -252,6 +252,7 @@ int iommu_map_sg(struct device *dev, struct iommu_table *tbl,
outs
=
s
=
segstart
=
&
sglist
[
0
];
outcount
=
1
;
incount
=
nelems
;
handle
=
0
;
/* Init first segment length for backout at failure */
...
...
@@ -338,10 +339,10 @@ int iommu_map_sg(struct device *dev, struct iommu_table *tbl,
DBG
(
"mapped %d elements:
\n
"
,
outcount
);
/* For the sake of iommu_
free
_sg, we clear out the length in the
/* For the sake of iommu_
unmap
_sg, we clear out the length in the
* next entry of the sglist if we didn't fill the list completely
*/
if
(
outcount
<
nelems
)
{
if
(
outcount
<
incount
)
{
outs
++
;
outs
->
dma_address
=
DMA_ERROR_CODE
;
outs
->
dma_length
=
0
;
...
...
drivers/base/bus.c
浏览文件 @
4eaefb39
...
...
@@ -180,7 +180,9 @@ static ssize_t driver_bind(struct device_driver *drv,
up
(
&
dev
->
sem
);
put_device
(
dev
);
}
return
err
;
if
(
err
)
return
err
;
return
count
;
}
static
DRIVER_ATTR
(
bind
,
S_IWUSR
,
NULL
,
driver_bind
);
...
...
drivers/pnp/card.c
浏览文件 @
4eaefb39
...
...
@@ -312,6 +312,8 @@ struct pnp_dev * pnp_request_card_device(struct pnp_card_link *clink, const char
if
(
drv
->
link
.
driver
.
probe
)
{
if
(
drv
->
link
.
driver
.
probe
(
&
dev
->
dev
))
{
dev
->
dev
.
driver
=
NULL
;
dev
->
card_link
=
NULL
;
up_write
(
&
dev
->
dev
.
bus
->
subsys
.
rwsem
);
return
NULL
;
}
}
...
...
fs/ntfs/ChangeLog
浏览文件 @
4eaefb39
...
...
@@ -175,7 +175,7 @@ ToDo/Notes:
the ntfs inode in memory if present. Also, the ntfs inode has its
own locking so it does not matter if the vfs inode is locked.
- Fix bug in mft record writing where we forgot to set the device in
the buffers when mapping them after the VM had discarded them
the buffers when mapping them after the VM had discarded them
.
Thanks to Martin MOKREJŠ for the bug report.
2.1.22 - Many bug and race fixes and error handling improvements.
...
...
fs/ntfs/aops.c
浏览文件 @
4eaefb39
...
...
@@ -924,6 +924,7 @@ static int ntfs_write_mst_block(struct page *page,
LCN
lcn
;
unsigned
int
vcn_ofs
;
bh
->
b_bdev
=
vol
->
sb
->
s_bdev
;
/* Obtain the vcn and offset of the current block. */
vcn
=
(
VCN
)
block
<<
bh_size_bits
;
vcn_ofs
=
vcn
&
vol
->
cluster_size_mask
;
...
...
sound/ppc/pmac.c
浏览文件 @
4eaefb39
...
...
@@ -765,7 +765,8 @@ snd_pmac_ctrl_intr(int irq, void *devid, struct pt_regs *regs)
*/
static
void
snd_pmac_sound_feature
(
pmac_t
*
chip
,
int
enable
)
{
ppc_md
.
feature_call
(
PMAC_FTR_SOUND_CHIP_ENABLE
,
chip
->
node
,
0
,
enable
);
if
(
ppc_md
.
feature_call
)
ppc_md
.
feature_call
(
PMAC_FTR_SOUND_CHIP_ENABLE
,
chip
->
node
,
0
,
enable
);
}
/*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录