Messages in this thread Patch in this message | | | Date | Thu, 30 Oct 2008 13:35:39 +0200 (EET) | From | "Ilpo Järvinen" <> | Subject | [PATCH 05/10] misdn: indentation and braces disagree - add braces |
| |
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> --- drivers/isdn/mISDN/dsp_pipeline.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/isdn/mISDN/dsp_pipeline.c b/drivers/isdn/mISDN/dsp_pipeline.c index 45bff0a..3e3d895 100644 --- a/drivers/isdn/mISDN/dsp_pipeline.c +++ b/drivers/isdn/mISDN/dsp_pipeline.c @@ -99,7 +99,7 @@ int mISDN_dsp_element_register(struct mISDN_dsp_element *elem) goto err1; } - 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) { @@ -107,6 +107,7 @@ int mISDN_dsp_element_register(struct mISDN_dsp_element *elem) __func__); goto err2; } + } list_add_tail(&entry->list, &dsp_elements); -- 1.5.2.2
| |