From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A6D3CC54798 for ; Tue, 5 Mar 2024 10:42:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hgDApFGrEDobErl+DueXVJHJCVhM4S+7WY8YhMqRm80=; b=A4ed+WiCfjpYuc uqKmUTn3joGES0XnatOuRKTi4Hfw+gL1m/vtqFS4g7GUMbxiyZIOwIyRPYV0kabY4FtHzzwdBafXc VA2mSd38FtdRDxBTWsGu+6zezLqMH8LII8YmXzHA/OeBE5VPcH8AQGKXsYRmZlnlLkEmCEE0Q+8yk HU9xYAI1SAUpHyN1H94824t+JBqtOxidQVigBy8USgjxxBYmhgEXwYxQbXPABzP2fgaqMM3Hr07PW rbndW1jbVjxiMLzE6JwAwpp55atFLHOOGeoyf++SdkOBl3XdOTTXJ4tvar9rpzIZS6IsupqW0Gc4R wZjf9QiDiiv1prrBsReQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhSFv-0000000D8Z9-2mVB; Tue, 05 Mar 2024 10:42:43 +0000 Received: from mail-db8eur05on20606.outbound.protection.outlook.com ([2a01:111:f400:7e1a::606] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhSFs-0000000D8W1-0mwe for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2024 10:42:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a2P/oHJUYcOVWA16mR32vEojjEI809KRohKRMbJumCoE3F5nch3CitmtgJShU6B05PKQPCFp1/xxynPssfFsA4nivLIVVNOonrhgALND5ILFOODCZUjnnVsmhG82Qq17z7Rg+BZewMH1Hl5McJycag5AKgleOF3tVM5R8PoZZN1DVXJd9XYQfBH2JqVFJFu+ZrTxWgi+g0sjMDgWrGs6bdNva4NFPw77rF+J6UqEncJnoYqCPN8IhlCjbKBXNoPIiTYXU5chVyY/LCrz2jZOTzkkzmxdLRHlCzdvawbfCyIqhRmwK3oPaAASF9nxZ0GvDZWyfQ7k6yqTQ6vdfs/3aQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BKSfWfopwpRmf3e7aWi9+Gru+dJlvk+BfCPeG4Iqi6g=; b=XrZ5DJMR1k4B5uZw07sB0O1T4kSr7S4BWmh6pCplGcNVteksMhZqI9tlLD2HGbQSFmVK/5vtrAn3ZQI7lmzwmBhLpTkNo7s4YgskNDciepfXSClgZ/3TsznlTVrD107mZxwe3yPhh+8BK9ep1anwgmgrJPQGEwgb6+WnZUQnxQAhVWoi/GMcQfSL05KDF7aS/PE6ogYsLxywHqB0QuEMJs0qF5FSg7a7kRlmbYEVpCsp025o/LGnHixgs0x5d6jG5HTUzUj34WziSescyd1GYdDoLRJwWbAwzQeiq8Qz8iNJN4ISFHoele3XQrV0LZxznWoWp1bF7X3UK+4bjCj/oA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 195.60.68.100) smtp.rcpttodomain=kernel.org smtp.mailfrom=axis.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=axis.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BKSfWfopwpRmf3e7aWi9+Gru+dJlvk+BfCPeG4Iqi6g=; b=qR5WPS+ToOzycI3mOO7SJgw1YZGjxInwBjVyFdIpqARfswUeyYkFsR3hiR7rmvy87jfioghHJ2hUL183aO8iDIBGyg50ifb7WxhtFWig1zRCBmSrNJwURwMMa2A+PjdyF/8Qeg8Pv0PGka1hPt88QmFGd5cjBUp490dn5s0alZY= Received: from AM4PR0302CA0020.eurprd03.prod.outlook.com (2603:10a6:205:2::33) by AM7PR02MB6084.eurprd02.prod.outlook.com (2603:10a6:20b:1aa::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39; Tue, 5 Mar 2024 10:42:27 +0000 Received: from AMS0EPF00000193.eurprd05.prod.outlook.com (2603:10a6:205:2:cafe::a0) by AM4PR0302CA0020.outlook.office365.com (2603:10a6:205:2::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39 via Frontend Transport; Tue, 5 Mar 2024 10:42:27 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 195.60.68.100) smtp.mailfrom=axis.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=axis.com; Received-SPF: Fail (protection.outlook.com: domain of axis.com does not designate 195.60.68.100 as permitted sender) receiver=protection.outlook.com; client-ip=195.60.68.100; helo=mail.axis.com; Received: from mail.axis.com (195.60.68.100) by AMS0EPF00000193.mail.protection.outlook.com (10.167.16.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7362.11 via Frontend Transport; Tue, 5 Mar 2024 10:42:26 +0000 Received: from SE-MAILARCH01W.axis.com (10.20.40.15) by se-mail02w.axis.com (10.20.40.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 5 Mar 2024 11:42:26 +0100 Received: from se-mail02w.axis.com (10.20.40.8) by SE-MAILARCH01W.axis.com (10.20.40.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 5 Mar 2024 11:42:26 +0100 Received: from se-intmail01x.se.axis.com (10.0.5.60) by se-mail02w.axis.com (10.20.40.8) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Tue, 5 Mar 2024 11:42:26 +0100 Received: from pc36611-1939.se.axis.com (pc36611-1939.se.axis.com [10.88.125.175]) by se-intmail01x.se.axis.com (Postfix) with ESMTP id 2403515AB7; Tue, 5 Mar 2024 11:42:26 +0100 (CET) Received: by pc36611-1939.se.axis.com (Postfix, from userid 363) id 2A0E7629C1; Tue, 5 Mar 2024 11:42:26 +0100 (CET) Date: Tue, 5 Mar 2024 11:42:26 +0100 From: Jesper Nilsson To: Andi Shyti CC: Jesper Nilsson , Krzysztof Kozlowski , Alim Akhtar , Naveen Krishna Ch , , , , , Subject: Re: [PATCH v2] i2c: exynos5: Init data before registering interrupt handler Message-ID: <20240305104226.GW30969@axis.com> References: <20240304-i2c_exynos5-v2-1-7b9c312be719@axis.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AMS0EPF00000193:EE_|AM7PR02MB6084:EE_ X-MS-Office365-Filtering-Correlation-Id: c83f665b-3e80-4765-b98d-08dc3d00f31f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /QE/AYggXJh/qgzq6Vb+yMZRBlQP12JkKl8vGqHnr6A4XTDlSHWfdZ+gXDQJ+ewfACll3L3QBS2FukG+w6KFEPjE+7FQBGFVAIEYbukJl2elSqFmHDdcTRTWYt5pk68fxXoJD7s2MD/yrM5kX5bXLmVlaFDn7NyRYarFSZb8KD8xopZrhpj/TRwc1fo1OO+2tUd9XhBighR5VmZ6yyzNgRK1PQYdz/wQVH5eLGySNqoJQtGOlp5qBIfH7uoK3ydi4yLXWYLjWBFlm0i+jc/6/cs7NcBv3irAVz7Qb8IyZJWP6YbsWxLOhD4kLnNqZVpjYD/PcadkGDIV/P+gM3TRuaUWl8eNaaU/YWWaN4rSSj8sNxXi1B9SUo9gNxL9Od/VZDEoQ6OjGxiz+SjHxUtMRMUgU3jJtx/FTzVBckDocdIp0evaUUag579CCMObvr8k2umVC5NArKayKMSwu8qBoLv5Iqol7y/aNbs630g7xvwV1bwFPBBTdn9K3JrDHIzKsCjZr+X76rdPsDrgAyJ5p6+EO7IXSEVXIIlhvgnk4lfs1K5Cu4pZNMIHcRjcaK/cvQ7Sc/mHBLftYQuyaGUINmxk4+ShGtfUw89P8uTqZL2vHJV/2KxaEDGs8na4ksWLxG/s3WeBJBW34jAUTSjhkUfiqBwRQKllu3DfXgDaEhz+oTcQlb0fN7+mCEobeNAYvVQ46uqAHNuOUeiWp8LxKeeieWlDauTmMLRpCRziRxHI49FFHP/R1D5EIKN68fLy X-Forefront-Antispam-Report: CIP:195.60.68.100;CTRY:SE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.axis.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(82310400014)(36860700004)(376005);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2024 10:42:26.7692 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c83f665b-3e80-4765-b98d-08dc3d00f31f X-MS-Exchange-CrossTenant-Id: 78703d3c-b907-432f-b066-88f7af9ca3af X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=78703d3c-b907-432f-b066-88f7af9ca3af;Ip=[195.60.68.100];Helo=[mail.axis.com] X-MS-Exchange-CrossTenant-AuthSource: AMS0EPF00000193.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR02MB6084 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240305_024240_599458_FFDEA9A4 X-CRM114-Status: GOOD ( 14.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Mar 05, 2024 at 10:53:13AM +0100, Andi Shyti wrote: > Hi Jesper, Hi Andi, > I have taken your patch in my testing branch, but... > > > + /* Clear pending interrupts from u-boot or misc causes */ > > + exynos5_i2c_clr_pend_irq(i2c); > > + > > + i2c->irq = ret = platform_get_irq(pdev, 0); > > ... I get this checkpatch note: > > CHECK: multiple assignments should be avoided > #60: FILE: drivers/i2c/busses/i2c-exynos5.c:932: > + i2c->irq = ret = platform_get_irq(pdev, 0); Hm, that's weird, I did run checkpatch and got no notices about that. Ah, it looks like you're running with --strict to checkpatch. > You are still in time to fix it, or you can fix it later or you > can leave it as for me it's not a big deal. No problem, v3 coming soon. > But, please, next time, make sure to run checkpatch before > sending a patch. Yup. I'll run with --strict also in the future. > Thanks, > Andi /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nilsson@axis.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel