Received: by 10.192.165.148 with SMTP id m20csp611788imm; Wed, 25 Apr 2018 05:07:44 -0700 (PDT) X-Google-Smtp-Source: AIpwx49gsdKc7rGzq9EjtH4jBXzKirMp5nj638elq13Jv+rzYKZB9ymyRRqZRHr7QHBdKGK0lgKW X-Received: by 2002:a17:902:1aa:: with SMTP id b39-v6mr25826002plb.120.1524658064648; Wed, 25 Apr 2018 05:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524658064; cv=none; d=google.com; s=arc-20160816; b=Ex8KyEgVGRaebjt9fp9oJnvvFVSDUZr+wyBI+2eZszuRV1Rur1aa9aL7kmWRfFfaLq 9GnFi4b+v5ydrAVlbJdabSnj8UhLU7YpHxwJzUoCyw6FmW1Frgyt2I6oaBMLuUQvP1sY tbpiKGfNVHSS7lao+qll8VDflS5XOmOGcgFe8MEoqnXYV3QQRJ3fS+mXo/1I455Z9IFs s4ORR6gzTKHbxyaHaf7L368/8HEXvOm0yL+M5FdQPdz214llItTydjSjMJRNtw5qyglR IHgSoHbPWKGd61vpNNMcB9vnqJ8n17pGemLrWi7wwj9HzR9DHkwSkfDpgW8FPNEXNi8v okTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=QmEQ9Kbjf3b1bOx0p2zxjI59u7i3DQaEXUvaqLQQyns=; b=vlpv/DFoY5+3ANAQMkuthmxYMpZiGYov/Unne1/KVQOH0hKpPYGbSDch6GRJuUvdJ2 xQuf9H+wy41hvQI0HYNV/nquJDfoLYZ8tDcJq1hlRM6ThG5Y82kMkZbjeSPZK4Mv9w0M IiQ4ebgNHylD+fLu/AJ1p1mebUa6b4gox4vePS/DGIgshIbTrea8BJytudup06aB4iXi jTq/FMTiLxpmOPDFezhO8MYYAk1diMFTSOLJXd82Zhutxct3n7MWe5VjUoMwV52vIPnZ bpsJo2QAbneUJpKdSVnXuWzHuvSanfz4yT/d/PAXqhoisvYiskPCYM60zGJ9qZe7Q7Sq nMzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n86si15817177pfb.126.2018.04.25.05.07.30; Wed, 25 Apr 2018 05:07:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753110AbeDYMFk (ORCPT + 99 others); Wed, 25 Apr 2018 08:05:40 -0400 Received: from bert.emutex.com ([91.103.1.109]:54674 "EHLO bert.emutex.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753040AbeDYMFh (ORCPT ); Wed, 25 Apr 2018 08:05:37 -0400 Received: from [92.51.199.138] (helo=statler.emutex.com) by bert.emutex.com with esmtp (Exim 4.84) (envelope-from ) id 1fBJBc-000138-DO; Wed, 25 Apr 2018 13:06:12 +0100 Received: from 182.red-79-157-43.dynamicip.rima-tde.net ([79.157.43.182] helo=localhost) by statler.emutex.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84) (envelope-from ) id 1fBJAx-0008Dg-SZ; Wed, 25 Apr 2018 13:05:32 +0100 Date: Wed, 25 Apr 2018 13:05:30 +0100 From: Javier Arteaga To: Mika Westerberg Cc: Lee Jones , Dan O'Donovan , Andy Shevchenko , Heikki Krogerus , Linus Walleij , Jacek Anaszewski , Pavel Machek , linux-gpio@vger.kernel.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH RESEND 1/3] mfd: upboard: Add UP2 platform controller driver Message-ID: <20180425120530.zxodrjx3r3i6aipu@localhost> References: <20180421085009.28773-1-javier@emutex.com> <20180421085009.28773-2-javier@emutex.com> <20180425095141.GL2173@lahna.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180425095141.GL2173@lahna.fi.intel.com> X-Spam-Score: -1.0 (-) X-Spam-Report: Spam detection software, running on the system "statler.emutex.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Mika, On Wed, Apr 25, 2018 at 12:51:41PM +0300, Mika Westerberg wrote: > On Sat, Apr 21, 2018 at 09:50:07AM +0100, Javier Arteaga wrote: > > +static const struct acpi_device_id upboard_acpi_match[] = { > > + { "AANT0F01", (kernel_ulong_t) &upboard_up2_data }, > > No space after cast so write it like, > > { "AANT0F01", (kernel_ulong_t)&upboard_up2_data }, [...] Content analysis details: (-1.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mika, On Wed, Apr 25, 2018 at 12:51:41PM +0300, Mika Westerberg wrote: > On Sat, Apr 21, 2018 at 09:50:07AM +0100, Javier Arteaga wrote: > > +static const struct acpi_device_id upboard_acpi_match[] = { > > + { "AANT0F01", (kernel_ulong_t) &upboard_up2_data }, > > No space after cast so write it like, > > { "AANT0F01", (kernel_ulong_t)&upboard_up2_data }, > > + upboard_data = (const struct upboard_data *) id->driver_data; > > Ditto and to other places. Thanks! I've fixed it for the next series now. Actually, checkpatch did not catch this one, and I can't see an explicit mention to this rule in coding-style.rst either. Is this worth sending a patch to the style guide? > Otherwise looks good to me. Thanks for your review!