diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-04-13 13:24:54 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-04-13 13:24:54 +0200 |
commit | 2b2f862ee6ef8ae8f913fee6af2112c5ffeedf94 (patch) | |
tree | 06a89df37436f9902a37800e05541880ba3aa603 /lib | |
parent | 0d0fb0f9c5fddef4a10242fe3337f00f528a3099 (diff) | |
parent | 4b83873d3da0704987cb116833818ed96214ee29 (diff) | |
download | kernel_samsung_crespo-2b2f862ee6ef8ae8f913fee6af2112c5ffeedf94.zip kernel_samsung_crespo-2b2f862ee6ef8ae8f913fee6af2112c5ffeedf94.tar.gz kernel_samsung_crespo-2b2f862ee6ef8ae8f913fee6af2112c5ffeedf94.tar.bz2 |
Merge branch 'iommu/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/linux-2.6-iommu into x86/urgent
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dma-debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dma-debug.c b/lib/dma-debug.c index ba8b670..01e6427 100644 --- a/lib/dma-debug.c +++ b/lib/dma-debug.c @@ -570,7 +570,7 @@ static ssize_t filter_write(struct file *file, const char __user *userbuf, * Now parse out the first token and use it as the name for the * driver to filter for. */ - for (i = 0; i < NAME_MAX_LEN; ++i) { + for (i = 0; i < NAME_MAX_LEN - 1; ++i) { current_driver_name[i] = buf[i]; if (isspace(buf[i]) || buf[i] == ' ' || buf[i] == 0) break; |