From patchwork Tue Jul 7 15:21:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Auhagen X-Patchwork-Id: 11648913 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 84E986C1 for ; Tue, 7 Jul 2020 15:23:23 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5E1432065D for ; Tue, 7 Jul 2020 15:23:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QRKSTKod"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=voleatech.de header.i=@voleatech.de header.b="iYqlbUV8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E1432065D Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=voleatech.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gNl1ZJCrhB4ARqj7G7c/45FqFoIqFSMtIrWkcey82DI=; b=QRKSTKodiVYRqCjkfHG5RssIQ FJ4bOQ0QHLEGJpEYsmSgLU0cVMU/hDXsOlbVh+8escI8TBkRp9rL9xTn3/B4xMTv3jaLLlQ5LStmq CBihSJH5F2f6A24nsWpnoDSMmyMkEDIrNOCXcGu2yH6MjRr7JMZUfGRP/mXQWpz1wWBljg0XQVLqp bfqNoyu6BJxCqAHfwJf+PdgpBVaOR0WyBFxlEt/aYYJfuK697f5H7FzcXKxGC0gnV4UJbWeK+sk7Y vqEd8cO/5WVg8cdTrj/ePy6ACPGRAeF0myyDS/sgFZ6ZB7VGw6XSAn5AOJF4P8q5unik0y1j5MRF1 j9A1IGG6Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jspPe-0005he-3H; Tue, 07 Jul 2020 15:21:38 +0000 Received: from mail-db8eur05on2119.outbound.protection.outlook.com ([40.107.20.119] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jspPY-0005ec-LL for linux-arm-kernel@lists.infradead.org; Tue, 07 Jul 2020 15:21:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Se+V4Lrq9bjaZFKCUKvFf2/lf4nEsOcQrKTM3JVPZ+vOk1dD5vtOH00ug4XSM014VpR5u6Zsl3D1eRKD3o6JpmDo/u+seWKUp546mgmEXUlMRNEB2yxrb4U8QEekAwGA9AMu/uFlKglPlRwOItjnIxvh7Uanlfrb+C+MfMqrjaQIaEioF5NDP86FwW5ir/mR2R7qZMFlgStLjkG3ck19kOEwtZlZqTciAYS5LRFeks/eMQUwDOQgW90/fGhcyY3v3qWn2XTsT1v1Ld5Zh28+R+M8ebvW2mSDiETW4xMX3dQcCYfEtajuWJHsZumOoFbJBilQJLn1Ure9mBDAo+iPeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aGjZ1/ViDdjFpDJn6oquiUiE5uvTVkg71oPWAFLeU0Q=; b=Mu/QJ2t/O72ZED+pSVKNjQKXierLbAeHbEijDHKiqgWO7Rh7BBZgD/lZGcUu7dcevfhsT7P5KWMS2fnAqpbXfPzSfUzh0D75p0l1kyZfG6UN4uZG9TvZ09u4ZdkPBW6LHuXjkO4VlO8z7JpjNraEKGLkU4iELNJQc/mJdAJt6pQQKN1ZDw4UH44T95DMQMausihCfnxlpbiT6IYYjVLRq0GECWJ1xsOYxPYPxE/PNOTZR0zH9MPihHVsRtWNevG0pRioXi7HSKI6UB25RmW6LCFoir11kJqWeDA6+trk6oyD2n8cmS/I4Fjnnuji2jZNpcD9chOiw9kk+OfnFlkbbA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=voleatech.de; dmarc=pass action=none header.from=voleatech.de; dkim=pass header.d=voleatech.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=voleatech.de; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aGjZ1/ViDdjFpDJn6oquiUiE5uvTVkg71oPWAFLeU0Q=; b=iYqlbUV8fObrBoRCwqVz7zDXHzJoTv5jRHKwnUvg/9vK2aCCdOU4pJCEa+YkIL1RuTx3ubNwQko8Q5THpSPiGT3jL/E2DjKy5U/ZSpnrHtP2OyU/YqdIyqGXuLtvbdde1r+m377371yt69e+s5AvTogjM0uChzetvxrTjn9I4B4= Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=voleatech.de; Received: from AM4PR0501MB2785.eurprd05.prod.outlook.com (2603:10a6:200:5d::11) by AM0PR05MB4226.eurprd05.prod.outlook.com (2603:10a6:208:57::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.27; Tue, 7 Jul 2020 15:21:27 +0000 Received: from AM4PR0501MB2785.eurprd05.prod.outlook.com ([fe80::39a1:e237:5fef:6f39]) by AM4PR0501MB2785.eurprd05.prod.outlook.com ([fe80::39a1:e237:5fef:6f39%11]) with mapi id 15.20.3153.029; Tue, 7 Jul 2020 15:21:27 +0000 From: sven.auhagen@voleatech.de To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/7] ata: ahci: mvebu: Rename a platform data flag Date: Tue, 7 Jul 2020 17:21:08 +0200 Message-Id: <20200707152114.53890-2-sven.auhagen@voleatech.de> X-Mailer: git-send-email 2.24.3 (Apple Git-128) In-Reply-To: <20200707152114.53890-1-sven.auhagen@voleatech.de> References: <20200707152114.53890-1-sven.auhagen@voleatech.de> X-ClientProxiedBy: AM0PR04CA0006.eurprd04.prod.outlook.com (2603:10a6:208:122::19) To AM4PR0501MB2785.eurprd05.prod.outlook.com (2603:10a6:200:5d::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from SvensMacBookAir.sven.lan (109.193.235.168) by AM0PR04CA0006.eurprd04.prod.outlook.com (2603:10a6:208:122::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.20 via Frontend Transport; Tue, 7 Jul 2020 15:21:27 +0000 X-Mailer: git-send-email 2.24.3 (Apple Git-128) X-Originating-IP: [109.193.235.168] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a7d4cca6-0957-46ae-c95e-08d822896af0 X-MS-TrafficTypeDiagnostic: AM0PR05MB4226: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3631; X-Forefront-PRVS: 0457F11EAF X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PGOxEYL+ZWqNzevPn4gv9L6ZCmY/ZCQ+Sr88qDrbRJgsIuKXBKZu0o73GIjF+Dj2MJLRGKZlwRVWd/h708V4cXTAdTOLIetZbEsOYmyzGJh/FrWhTYEV/g61yRXB8lRw0f8YBMMLlKU4fEX1vun1t8jAg2IZNG/tD2ExTgSOUFWoytsb9GAaFbF6zH0hwVqd1t7nZ1MVHfsLIotfSH66gBpd/xEsrC50Nft6xzAseZGSEHpz4/3VpZnTM2eorhwfOHcGH+Rh2XvafdO0DsWkaJ6Sb2RDZ3shtsw97BuIVDtqUSp2S3dT4z4wzyMO32erMPs5BT5B/WsNvwYcuMFdtQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM4PR0501MB2785.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(346002)(39830400003)(376002)(366004)(136003)(6916009)(5660300002)(83380400001)(86362001)(508600001)(6486002)(6666004)(4326008)(36756003)(316002)(956004)(2616005)(186003)(16526019)(52116002)(8936002)(8676002)(66476007)(66946007)(6512007)(1076003)(9686003)(2906002)(6506007)(26005)(66556008); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: i39ieWk8qi34NnbZy5Npq1cRCpjKJFrEk6HZR8JCE5rtxGCOZiA5wnJrKjgCzMzXtzVrw9hCMPtpkSMOSU6XTkM1Pe9evh7vSPufx++bhqvZ81XZ6E87byuDCbXPCQAVjJl40isIA7DvyUzuQuOD8Y4y82jpGHiR9p7O4M5KzAn8o75gWvB2ubGRIHIAeWTsVqZu1BxWCgtdfeTIi3rxOetw9Pupk6rPnfTruPN/0l6bQ1IQMZVcVT6hfOawf/iUmPshL/LUHeLTkBKVNHir5MpW86cBp1qpK7SgjQGUCgkoeCS9JF2eXnaFxoQ9e6X8yLOgFoRS7gfe1Yrwk/JITE2jL8VvJkt8NF9y1QHzc8DPZ9EmvcRADKLYjTW69FuFguPvanwV4jmMImX4IMf9mZ5PGb67jwlCWKU2XBv8ux9PBWe14gjGwAaLJhgOuCRC8gWiJcLpVuS1JYtzGjkPYn8VblChuLFyebEKoJ5uus4dVt+qVwrQ9LtEhbn7/zne X-OriginatorOrg: voleatech.de X-MS-Exchange-CrossTenant-Network-Message-Id: a7d4cca6-0957-46ae-c95e-08d822896af0 X-MS-Exchange-CrossTenant-AuthSource: AM4PR0501MB2785.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2020 15:21:27.5592 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b82a99f6-7981-4a72-9534-4d35298f847b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gNOzPcq60rQDP+/fVd7nYvDQIO9LA9AzNuB3oXkxyd5Bc29AEZ4T9stVp3ICjXTwYnsK5NL6sXZtxo7NKqIkO1RDKdPWOsFmGzp4zKsN6gM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4226 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_112132_714839_A349C95F X-CRM114-Status: UNSURE ( 9.18 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.20.119 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.20.119 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: baruch@tkos.co.il, antoine.tenart@bootlin.com, maxime.chevallier@bootlin.com, nadavh@marvell.com, thomas.petazzoni@bootlin.com, miquel.raynal@bootlin.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Miquel Raynal Before adding more entries in the platform data structure, rename the flags entry to be more precise and name it host_flags. Signed-off-by: Miquel Raynal --- drivers/ata/ahci_mvebu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ata/ahci_mvebu.c b/drivers/ata/ahci_mvebu.c index d4bba3ace45d..43bb2db59698 100644 --- a/drivers/ata/ahci_mvebu.c +++ b/drivers/ata/ahci_mvebu.c @@ -30,7 +30,7 @@ struct ahci_mvebu_plat_data { int (*plat_config)(struct ahci_host_priv *hpriv); - unsigned int flags; + unsigned int host_flags; }; static void ahci_mvebu_mbus_config(struct ahci_host_priv *hpriv, @@ -196,7 +196,7 @@ static int ahci_mvebu_probe(struct platform_device *pdev) if (IS_ERR(hpriv)) return PTR_ERR(hpriv); - hpriv->flags |= pdata->flags; + hpriv->flags |= pdata->host_flags; hpriv->plat_data = (void *)pdata; rc = ahci_platform_enable_resources(hpriv); @@ -227,7 +227,7 @@ static const struct ahci_mvebu_plat_data ahci_mvebu_armada_380_plat_data = { static const struct ahci_mvebu_plat_data ahci_mvebu_armada_3700_plat_data = { .plat_config = ahci_mvebu_armada_3700_config, - .flags = AHCI_HFLAG_SUSPEND_PHYS, + .host_flags = AHCI_HFLAG_SUSPEND_PHYS, }; static const struct of_device_id ahci_mvebu_of_match[] = {