{"id":809953,"url":"http://patchwork.ozlabs.org/api/patches/809953/?format=json","web_url":"http://patchwork.ozlabs.org/project/skiboot/patch/20170905055202.8216-19-joel@jms.id.au/","project":{"id":44,"url":"http://patchwork.ozlabs.org/api/projects/44/?format=json","name":"skiboot firmware development","link_name":"skiboot","list_id":"skiboot.lists.ozlabs.org","list_email":"skiboot@lists.ozlabs.org","web_url":"http://github.com/open-power/skiboot","scm_url":"http://github.com/open-power/skiboot","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170905055202.8216-19-joel@jms.id.au>","list_archive_url":null,"date":"2017-09-05T05:51:55","name":"[18/25] hw/fsi-master: Fix other coding whitespace issues","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"12629487e97bfc95c91e94bcc96ecb91da7bde0e","submitter":{"id":48628,"url":"http://patchwork.ozlabs.org/api/people/48628/?format=json","name":"Joel Stanley","email":"joel@jms.id.au"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/skiboot/patch/20170905055202.8216-19-joel@jms.id.au/mbox/","series":[{"id":1492,"url":"http://patchwork.ozlabs.org/api/series/1492/?format=json","web_url":"http://patchwork.ozlabs.org/project/skiboot/list/?series=1492","date":"2017-09-05T05:51:37","name":"Checkpatch fixes","version":1,"mbox":"http://patchwork.ozlabs.org/series/1492/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/809953/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/809953/checks/","tags":{},"related":[],"headers":{"Return-Path":"<skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>","X-Original-To":["incoming@patchwork.ozlabs.org","skiboot@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","skiboot@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xmbZ44gzlz9ryv\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 15:56:28 +1000 (AEST)","from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xmbZ43XwtzDrWJ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 15:56:28 +1000 (AEST)","from mail-pf0-x243.google.com (mail-pf0-x243.google.com\n\t[IPv6:2607:f8b0:400e:c00::243])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xmbWW5DzWzDqjf\n\tfor <skiboot@lists.ozlabs.org>; Tue,  5 Sep 2017 15:54:15 +1000 (AEST)","by mail-pf0-x243.google.com with SMTP id m1so1217618pfk.0\n\tfor <skiboot@lists.ozlabs.org>; Mon, 04 Sep 2017 22:54:15 -0700 (PDT)","from aurora.jms.id.au ([122.99.82.10])\n\tby smtp.gmail.com with ESMTPSA id\n\td6sm12012863pfh.113.2017.09.04.22.54.10\n\tfor <skiboot@lists.ozlabs.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tMon, 04 Sep 2017 22:54:12 -0700 (PDT)","by aurora.jms.id.au (sSMTP sendmail emulation);\n\tTue, 05 Sep 2017 15:54:07 +1000"],"Authentication-Results":["ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"nJ2Qvqdh\"; dkim-atps=neutral","lists.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"nJ2Qvqdh\"; dkim-atps=neutral","ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gmail.com\n\t(client-ip=2607:f8b0:400e:c00::243; helo=mail-pf0-x243.google.com;\n\tenvelope-from=joel.stan@gmail.com; receiver=<UNKNOWN>)","lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"nJ2Qvqdh\"; dkim-atps=neutral"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:subject:date:message-id:in-reply-to:references;\n\tbh=QppRZfS7oHKorFaTOQQTpO9im/uepCu7z0CRV3kb2ok=;\n\tb=nJ2QvqdhMvzAcawAFb2vyyZBzdiMJjdyu3GUfSqfJ33eEK3mywVnCIbS8BB3ce9ymq\n\tbSWmxHy/G8Cm5enP2zM4kF+FmAmQtfKe5OMaszWktREpBrSQwLaM3/nqBCVXsmoSLuyB\n\tLdl5A88usodo3QuuMdlSwwhW2p/+Ae7ejzK8/6lI3wKGRqFeVbAbDVR45ZRIaN1pRV/o\n\t95BYY3Z2ZY6d1ijJNwaS2fh8L5r+4Tut1HFQYxPZr5gpM9btfu4hU2SmqscT2Vb/9hGE\n\too8QhQHZNb8P39/bRj5rn6LoteMl0aXPjtpoxhn1v6IziNscVbTTMZLBNhcduKFEXv18\n\twqPw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=QppRZfS7oHKorFaTOQQTpO9im/uepCu7z0CRV3kb2ok=;\n\tb=OZO3d+/w6ng0DU6BxWMu46kj1OrwQLYogllAw/A5j1cIMncRss7bWB/lZfntVbFu+U\n\txSwrMiRE51ii4R5yYlxjIE9of0AkFeX4ryZsYFJ0ps8LvlrilhXb/VTFBwEbgj/AgbTT\n\tNJKOue+HT0J9o7Y/mCIJbInfTsivz8+QhmxTK72knUYIk2sSnSmyPKHFR1P6M3j5UfZL\n\tvv3Qof9wnuICJ83vlfw3pC5mC5BUKWbXIkbznoVUr9IoRxNB1dP6nY8ZsjrxDm4oVqNT\n\trZtUlu5zDO02xKvqFUATEXdZHgdEG/hIrqmozCLt6KLxZb7+I+YpuoNurGB/GlgPtDMW\n\ty/1w==","X-Gm-Message-State":"AHPjjUidKZLUO0+V6kGrRdbKfMdgM706IFB5rQ+pIn9mbh97yUjG/tu4\n\tJZW5nRVIsTHYQlJCf+I=","X-Google-Smtp-Source":"ADKCNb5IW/V+6pFpXTSo3UrkwtzN07xkZ9tCrqjFEhJvhrwLmEIOgs3PWuvauQ7tkAg8PgfLNILNDw==","X-Received":"by 10.98.215.18 with SMTP id b18mr2627043pfh.25.1504590853384;\n\tMon, 04 Sep 2017 22:54:13 -0700 (PDT)","From":"Joel Stanley <joel@jms.id.au>","To":"skiboot@lists.ozlabs.org","Date":"Tue,  5 Sep 2017 15:51:55 +1000","Message-Id":"<20170905055202.8216-19-joel@jms.id.au>","X-Mailer":"git-send-email 2.14.1","In-Reply-To":"<20170905055202.8216-1-joel@jms.id.au>","References":"<20170905055202.8216-1-joel@jms.id.au>","Subject":"[Skiboot] [PATCH 18/25] hw/fsi-master: Fix other coding whitespace\n\tissues","X-BeenThere":"skiboot@lists.ozlabs.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"Mailing list for skiboot development <skiboot.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/skiboot>,\n\t<mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/skiboot/>","List-Post":"<mailto:skiboot@lists.ozlabs.org>","List-Help":"<mailto:skiboot-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/skiboot>,\n\t<mailto:skiboot-request@lists.ozlabs.org?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org","Sender":"\"Skiboot\"\n\t<skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>"},"content":"Signed-off-by: Joel Stanley <joel@jms.id.au>\n---\n hw/fsi-master.c | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)","diff":"diff --git a/hw/fsi-master.c b/hw/fsi-master.c\nindex dadc7776d3be..6d0c25d8f3c8 100644\n--- a/hw/fsi-master.c\n+++ b/hw/fsi-master.c\n@@ -89,7 +89,7 @@\n /* FSI Slave registers */\n #define FSI_SLAVE_REGS\t\t0x000800\t/**< FSI Slave Register */\n #define FSI_SMODE\t\t(FSI_SLAVE_REGS | 0x00)\n-#define FSI_SLBUS         \t(FSI_SLAVE_REGS | 0x30)\n+#define FSI_SLBUS\t\t(FSI_SLAVE_REGS | 0x30)\n #define FSI_SLRES\t\t(FSI_SLAVE_REGS | 0x34)\n \n #define FSI2PIB_ENGINE\t\t0x001000\t/**< FSI2PIB Engine (SCOM) */\n@@ -313,14 +313,14 @@ static int64_t mfsi_dump_ctrl_regs(struct mfsi *mfsi)\n \t\tMFSI_REG_MAEB,\n \t\tMFSI_REG_MSCSB0,\n \t};\n-\tstatic const char * dump_regs_names[] = {\n+\tstatic const char *dump_regs_names[] = {\n \t\t\"MFSI_REG_MATRB0\",\n \t\t\"MFSI_REG_MDTRB0\",\n \t\t\"MFSI_REG_MESRB0\",\n \t\t\"MFSI_REG_MAESP0\",\n \t\t\"MFSI_REG_MAEB  \",\n \t\t\"MFSI_REG_MSCSB0\",\n-        };\n+\t};\n \tfor (i = 0; i < ARRAY_SIZE(dump_regs); i++) {\n \t\tuint32_t val;\n \n@@ -460,7 +460,7 @@ static int64_t mfsi_analyse_fsi_error(struct mfsi *mfsi)\n \t\tmfsi_log(PR_ERR, mfsi, \" Master parity error !\\n\");\n \t} else {\n \t\t/* bits 0:3 are a specific error code */\n-\t\tswitch ((mesrb0 & 0xF0000000) >> 28 ) {\n+\t\tswitch ((mesrb0 & 0xF0000000) >> 28) {\n \t\tcase 0x1: /* OPB error\t*/\n \t\tcase 0x2: /* Invalid state of OPB state machine */\n \t\t\t/* error is inside the OPB logic */\n@@ -630,7 +630,7 @@ static void mfsi_add(struct proc_chip *chip, struct mfsi *mfsi, uint32_t unit)\n \tmfsi->unit = unit;\n \n \t/* We hard code everything for now */\n-\tswitch(unit) {\n+\tswitch (unit) {\n \tcase MFSI_cMFSI0:\n \t\tmfsi->xscom_base = PIB2OPB_MFSI0_ADDR;\n \t\tmfsi->ports_base = cMFSI_OPB_PORTS_BASE;\n","prefixes":["18/25"]}