]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
misdn: indentation and braces disagree - add braces
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Fri, 9 Jan 2009 20:22:52 +0000 (12:22 -0800)
committerKarsten Keil <kkeil@suse.de>
Sun, 11 Jan 2009 17:18:18 +0000 (18:18 +0100)
This is not buggy due to plain luck as there is only one entry currently
in the element_attributes.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Karsten Keil <kkeil@suse.de>
drivers/isdn/mISDN/dsp_pipeline.c

index 0c773fa9dbd0bc67641bc6bc2ec919cbcbbcf889..18cf87c113e725cb9f7adc157963bb0105e3d5ea 100644 (file)
@@ -110,7 +110,7 @@ int mISDN_dsp_element_register(struct mISDN_dsp_element *elem)
        }
        list_add_tail(&entry->list, &dsp_elements);
 
-       for (i = 0; i < ARRAY_SIZE(element_attributes); ++i)
+       for (i = 0; i < ARRAY_SIZE(element_attributes); ++i) {
                ret = device_create_file(&entry->dev,
                                &element_attributes[i]);
                if (ret) {
@@ -118,6 +118,7 @@ int mISDN_dsp_element_register(struct mISDN_dsp_element *elem)
                                __func__);
                        goto err2;
                }
+       }
 
 #ifdef PIPELINE_DEBUG
        printk(KERN_DEBUG "%s: %s registered\n", __func__, elem->name);