Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1489069 > unrolled thread
| Started by | Antti Keränen <detegr@gmail.com> |
|---|---|
| First post | 2016-09-22 18:10 +0200 |
| Last post | 2016-09-22 22:20 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v3 1/2] staging: ion: Fix a coding style issue Antti Keränen <detegr@gmail.com> - 2016-09-22 18:10 +0200
Re: [PATCH v3 1/2] staging: ion: Fix a coding style issue Laura Abbott <labbott@redhat.com> - 2016-09-22 22:20 +0200
| From | Antti Keränen <detegr@gmail.com> |
|---|---|
| Date | 2016-09-22 18:10 +0200 |
| Subject | [PATCH v3 1/2] staging: ion: Fix a coding style issue |
| Message-ID | <skeJr-7S-5@gated-at.bofh.it> |
Remove unnecessary braces surrounding a single statement block
Signed-off-by: Antti Keränen <detegr@gmail.com>
---
drivers/staging/android/ion/hisilicon/hi6220_ion.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/android/ion/hisilicon/hi6220_ion.c b/drivers/staging/android/ion/hisilicon/hi6220_ion.c
index 659aa71..bd45151 100644
--- a/drivers/staging/android/ion/hisilicon/hi6220_ion.c
+++ b/drivers/staging/android/ion/hisilicon/hi6220_ion.c
@@ -82,9 +82,9 @@ static int hi6220_ion_remove(struct platform_device *pdev)
ipdev = platform_get_drvdata(pdev);
- for (i = 0; i < ipdev->data->nr; i++) {
+ for (i = 0; i < ipdev->data->nr; i++)
ion_heap_destroy(ipdev->heaps[i]);
- }
+
ion_destroy_platform_data(ipdev->data);
ion_device_destroy(ipdev->idev);
--
2.9.3
[toc] | [next] | [standalone]
| From | Laura Abbott <labbott@redhat.com> |
|---|---|
| Date | 2016-09-22 22:20 +0200 |
| Message-ID | <skiDo-2wz-11@gated-at.bofh.it> |
| In reply to | #1489069 |
On 09/22/2016 08:59 AM, Antti Keränen wrote:
> Remove unnecessary braces surrounding a single statement block
>
In the future, when sending different versions of a patch please
give a short summary of what's changed. I think this is just
a resend from v2 with more reviewers added but I'm not 100%
sure.
> Signed-off-by: Antti Keränen <detegr@gmail.com>
> ---
You can put your summary right here between the --- and the
diffstat.
> drivers/staging/android/ion/hisilicon/hi6220_ion.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/android/ion/hisilicon/hi6220_ion.c b/drivers/staging/android/ion/hisilicon/hi6220_ion.c
> index 659aa71..bd45151 100644
> --- a/drivers/staging/android/ion/hisilicon/hi6220_ion.c
> +++ b/drivers/staging/android/ion/hisilicon/hi6220_ion.c
> @@ -82,9 +82,9 @@ static int hi6220_ion_remove(struct platform_device *pdev)
>
> ipdev = platform_get_drvdata(pdev);
>
> - for (i = 0; i < ipdev->data->nr; i++) {
> + for (i = 0; i < ipdev->data->nr; i++)
> ion_heap_destroy(ipdev->heaps[i]);
> - }
> +
> ion_destroy_platform_data(ipdev->data);
> ion_device_destroy(ipdev->idev);
>
>
The patch looks fine though so assuming nothing else has
changed
Acked-by: Laura Abbott <labbott@redhat.com>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web