提交 9de54606 编写于 作者: L Linus Torvalds

Merge branch 'x86-fixes-for-linus-2' of...

Merge branch 'x86-fixes-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'x86-fixes-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  dma-debug: Fix bug causing build warning
...@@ -670,14 +670,13 @@ static int device_dma_allocations(struct device *dev) ...@@ -670,14 +670,13 @@ static int device_dma_allocations(struct device *dev)
return count; return count;
} }
static int dma_debug_device_change(struct notifier_block *nb, static int dma_debug_device_change(struct notifier_block *nb, unsigned long action, void *data)
unsigned long action, void *data)
{ {
struct device *dev = data; struct device *dev = data;
int count; int count;
if (global_disable) if (global_disable)
return; return 0;
switch (action) { switch (action) {
case BUS_NOTIFY_UNBOUND_DRIVER: case BUS_NOTIFY_UNBOUND_DRIVER:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册