From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 649311C2A9D for ; Fri, 5 Dec 2014 22:11:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5EFB492A17 for ; Fri, 5 Dec 2014 22:11:29 +0000 (UTC) Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s3ni26szhhXx for ; Fri, 5 Dec 2014 22:11:28 +0000 (UTC) Received: from mail1.bemta8.messagelabs.com (mail1.bemta8.messagelabs.com [216.82.243.193]) by whitealder.osuosl.org (Postfix) with ESMTPS id 84B3492A19 for ; Fri, 5 Dec 2014 22:11:28 +0000 (UTC) From: Benjamin Romer Subject: [PATCH 35/69] staging: unisys: fix spacing in uisutils.c Date: Fri, 5 Dec 2014 17:09:10 -0500 Message-ID: <1417817384-3811-36-git-send-email-benjamin.romer@unisys.com> In-Reply-To: <1417817384-3811-1-git-send-email-benjamin.romer@unisys.com> References: <1417817384-3811-1-git-send-email-benjamin.romer@unisys.com> MIME-Version: 1.0 List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: gregkh@linuxfoundation.org Cc: driverdev-devel@linuxdriverproject.org, sparmaintainer@unisys.com, Benjamin Romer Fix as many spacing problems as possible by indenting lines properly and getting rid of spaces between typecasts and their targets. Signed-off-by: Bryan Thompson Signed-off-by: Benjamin Romer --- drivers/staging/unisys/uislib/uisutils.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/unisys/uislib/uisutils.c b/drivers/staging/unisys/uislib/uisutils.c index 941f007..5865df7 100644 --- a/drivers/staging/unisys/uislib/uisutils.c +++ b/drivers/staging/unisys/uislib/uisutils.c @@ -48,7 +48,7 @@ atomic_t uisutils_registered_services = ATOMIC_INIT(0); int uisutil_add_proc_line_ex(int *total, char **buffer, int *buffer_remaining, - char *format, ...) + char *format, ...) { va_list args; int len; @@ -95,7 +95,7 @@ uisctrl_register_req_handler(int type, void *fptr, } if (chipset_driver_info) bus_device_info_init(chipset_driver_info, "chipset", "uislib", - VERSION, NULL); + VERSION, NULL); return 1; } @@ -147,7 +147,7 @@ Away: if (rc) { if (chipset_driver_info) bus_device_info_init(chipset_driver_info, "chipset", - "uislib", VERSION, NULL); + "uislib", VERSION, NULL); } else LOGERR("failed to register type %pUL.\n", &switch_uuid); @@ -163,7 +163,7 @@ uisctrl_unregister_req_handler_ex(uuid_le switch_uuid) LOGINF("type=%pUL.\n", &switch_uuid); if (req_handler_del(switch_uuid) < 0) { LOGERR("failed to remove %pUL from server list\n", - &switch_uuid); + &switch_uuid); goto Away; } atomic_dec(&uisutils_registered_services); @@ -213,10 +213,10 @@ uisutil_copy_fragsinfo_from_skb(unsigned char *calling_ctx, void *skb_in, frags[count].pi_pfn = page_to_pfn(virt_to_page(skb->data + offset)); frags[count].pi_off = - (unsigned long) (skb->data + offset) & PI_PAGE_MASK; + (unsigned long)(skb->data + offset) & PI_PAGE_MASK; size = min(firstfraglen, - (unsigned int) (PI_PAGE_SIZE - frags[count].pi_off)); + (unsigned int)(PI_PAGE_SIZE - frags[count].pi_off)); /* can take smallest of firstfraglen(what's left) OR * bytes left in the page */ @@ -230,7 +230,7 @@ uisutil_copy_fragsinfo_from_skb(unsigned char *calling_ctx, void *skb_in, if ((count + numfrags) > frags_max) { LOGERR("**** FAILED %s frags array too small: max:%d count+nr_frags:%d\n", - calling_ctx, frags_max, count + numfrags); + calling_ctx, frags_max, count + numfrags); return -1; /* failure */ } -- 2.1.0 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel