Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10098793ybi; Wed, 10 Jul 2019 23:29:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7Ca65wCn2QHJtRNa0KdsZbW2VxJSkZAT3oR9j5LYwB1cZfYo0Ld10ikGg7+m4NTuVklU5 X-Received: by 2002:a65:534c:: with SMTP id w12mr2644315pgr.51.1562826596370; Wed, 10 Jul 2019 23:29:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562826596; cv=none; d=google.com; s=arc-20160816; b=Jcw09ZmVu9+owauS2NVSEeQ48YTLk8xwGK9M3sCONqi4UyjCbtsMT0mBIi0R33KrC6 bzcDDs1OjVLOWWnAXBvsgoQqroFdWt9iwplTeGF+VoV4VuIHM1cMngZDzrM1imUuS4bS AF4p7M67y1tgNhv+0Qs1Y8v2AsF0o8rZMHIjRaGFT5IQY5dnVU/c+raHhC1GqvAqMLnD 0N/D0VFRGXFR7ojb/F9TQVini4K3O86pFZnMApM7Eo//KrejKPjLycKOJnQU4PUKgLt5 PKmL2YTyHEjspnqaEPHPlZuzbqDoaQduPF8UhOoCDmCiTpLmx0jqz2SNJoDt12a0iqGF eywQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from; bh=D5PMopS9Giu5LOoqCB39aNDwe08suGUuFi30u/I73C4=; b=V0rkUufbZ5xX9eEAs++vVU4rF3VcE7FUslDcbCyGxhIMs/bhoH6FRLc0yHLGXtG6xj MzM/UcrOdHadKEVH0xt1aZC0sXY1KOm9prHs1Nm73mHkBR9nLjeC6kpR2mmkJfaKc+I9 2JTZ/zL8I0kLt4Qarbe22jTgyQ8r4k6W+x27ZmjEEDnYG7s9P7s/z2yiSdHSDYsrwSai oAECaE4cJocl9yfupicbGdVoT4H72fR2HCbPwSfUZx1ryZMfbL9/m+hGUt9FBDnZTPxO Kswx9Ca8mjpa1I+qSDnC+pMzUKdVSjthFUD2Wv1YmxAs802lC5nHKS4jCvcYmgrZWHON behQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b15si3980930plz.109.2019.07.10.23.29.39; Wed, 10 Jul 2019 23:29:56 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728018AbfGKG3I (ORCPT + 99 others); Thu, 11 Jul 2019 02:29:08 -0400 Received: from mga02.intel.com ([134.134.136.20]:48814 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725963AbfGKG3I (ORCPT ); Thu, 11 Jul 2019 02:29:08 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jul 2019 23:29:08 -0700 X-IronPort-AV: E=Sophos;i="5.63,476,1557212400"; d="scan'208";a="159976996" Received: from jkrzyszt-desk.igk.intel.com (HELO jkrzyszt-desk.ger.corp.intel.com) ([172.22.244.18]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jul 2019 23:29:05 -0700 From: Janusz Krzysztofik To: Chris Wilson Cc: intel-gfx@lists.freedesktop.org, Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , =?utf-8?B?TWljaGHFgg==?= Wajdeczko , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Janusz Krzysztofik Subject: Re: [RFC PATCH] drm/i915: Drop extern qualifiers from header function prototypes Date: Thu, 11 Jul 2019 08:28:55 +0200 Message-ID: <1625229.KzvQlO0Tx8@jkrzyszt-desk.ger.corp.intel.com> Organization: Intel Technology Poland sp. z o.o. - ul. Slowackiego 173, 80-298 Gdansk - KRS 101882 - NIP 957-07-52-316 In-Reply-To: <156277086449.4055.15655120452619911756@skylake-alporthouse-com> References: <20190710145239.12844-1-janusz.krzysztofik@linux.intel.com> <156277086449.4055.15655120452619911756@skylake-alporthouse-com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chris, On Wednesday, July 10, 2019 5:01:04 PM CEST Chris Wilson wrote: > Quoting Janusz Krzysztofik (2019-07-10 15:52:39) > > Follow dim checkpatch recommendation so it doesn't complain on that now > > and again on header file modifications. > > > > Signed-off-by: Janusz Krzysztofik > > > --- a/drivers/gpu/drm/i915/i915_drv.h > > +++ b/drivers/gpu/drm/i915/i915_drv.h > > @@ -2388,19 +2388,18 @@ __i915_printk(struct drm_i915_private *dev_priv, const char *level, > > __i915_printk(dev_priv, KERN_ERR, fmt, ##__VA_ARGS__) > > > > #ifdef CONFIG_COMPAT > > -extern long i915_compat_ioctl(struct file *filp, unsigned int cmd, > > - unsigned long arg); > > +long i915_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); > > #else > > #define i915_compat_ioctl NULL > > #endif > > extern const struct dev_pm_ops i915_pm_ops; > > +extern const struct dev_pm_ops i915_pm_ops_1; > > That's novel. Oh, sorry, that was my testing of how dim checkpatch reacts on extern qualifiers on variables. Thanks for catching this. Janusz > > -Chris >