lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20160930225844.GA1667@jessie.raw>
Date:   Fri, 30 Sep 2016 22:58:44 +0000
From:   Wayne Porter <wporter82@...il.com>
To:     labbott@...hat.com
Cc:     devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH] staging: android: ion: fix checks found by checkpatch.pl

Alignment fixes

Signed-off-by: Wayne Porter <wporter82@...il.com>
---
 drivers/staging/android/ion/hisilicon/hi6220_ion.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/android/ion/hisilicon/hi6220_ion.c b/drivers/staging/android/ion/hisilicon/hi6220_ion.c
index 659aa71..a2f2611 100644
--- a/drivers/staging/android/ion/hisilicon/hi6220_ion.c
+++ b/drivers/staging/android/ion/hisilicon/hi6220_ion.c
@@ -29,11 +29,11 @@ struct hisi_ion_dev {
 
 static struct ion_of_heap hisi_heaps[] = {
 	PLATFORM_HEAP("hisilicon,sys_user", 0,
-			ION_HEAP_TYPE_SYSTEM, "sys_user"),
+		      ION_HEAP_TYPE_SYSTEM, "sys_user"),
 	PLATFORM_HEAP("hisilicon,sys_contig", 1,
-			ION_HEAP_TYPE_SYSTEM_CONTIG, "sys_contig"),
+		      ION_HEAP_TYPE_SYSTEM_CONTIG, "sys_contig"),
 	PLATFORM_HEAP("hisilicon,cma", ION_HEAP_TYPE_DMA, ION_HEAP_TYPE_DMA,
-			"cma"),
+		      "cma"),
 	{}
 };
 
@@ -57,7 +57,7 @@ static int hi6220_ion_probe(struct platform_device *pdev)
 		return PTR_ERR(ipdev->data);
 
 	ipdev->heaps = devm_kzalloc(&pdev->dev,
-				sizeof(struct ion_heap)*ipdev->data->nr,
+				sizeof(struct ion_heap) * ipdev->data->nr,
 				GFP_KERNEL);
 	if (!ipdev->heaps) {
 		ion_destroy_platform_data(ipdev->data);
-- 
2.1.4


Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ