Skip to content

Commit

Permalink
Merge branch 'x86-fixes-for-linus-2' of git://git.kernel.org/pub/scm/…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
Linus Torvalds committed Dec 31, 2009
2 parents 952363c + a8fe9ea commit 9de5460
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/dma-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,14 +670,13 @@ static int device_dma_allocations(struct device *dev)
return count;
}

static int dma_debug_device_change(struct notifier_block *nb,
unsigned long action, void *data)
static int dma_debug_device_change(struct notifier_block *nb, unsigned long action, void *data)
{
struct device *dev = data;
int count;

if (global_disable)
return;
return 0;

switch (action) {
case BUS_NOTIFY_UNBOUND_DRIVER:
Expand Down

0 comments on commit 9de5460

Please sign in to comment.