Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3308781pxj; Tue, 1 Jun 2021 02:12:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEYWua6gC6A2sK1VOZMk8lc4eqd5gqXVki1W8ktR4vaswA51RRYqPJA6KPsH8cwxqbcdds X-Received: by 2002:a05:6402:524d:: with SMTP id t13mr31127688edd.209.1622538723238; Tue, 01 Jun 2021 02:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622538723; cv=none; d=google.com; s=arc-20160816; b=CjCcge3NY7t86sqlB5Sb6AktYEb/kDrgyhY0qidAISzxLJX/8TEydDcS19aLRnheDn 9jIBjtGHRBh2gIgXHmr6/YSxoFg8dyjXPjnde2yY4kErEm6B3dpNXGABnQKQu/R2F10D fmEo20rvd5Iz6DrKadVyilw8KEQcEpvSvfqTqI3Do+B0Yo0BsSqylXla04TPz2l/pTvQ 5EJ3bEY4Aazgv4Cpi40EzfVDWI6k/XBCYriJndOaJOQUgrh/GRhASuVM148Xqw6w0UMN 1cWkxFRFWHITH+v8OvQGRvxhsuBJI+5R8nV7dRqX4/vAR41J2VKdKk7ypwF/o7mU8V8v 2xvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1EQ7MJidus+zd1vSi36boWoSco2HUCYyNMAuhLySHdo=; b=LJWJ9MVZ5T7JOTErRQ3Rm9/ZhK3NQa4ibCjPqpmdWbFuwIzH0NPjqAjVJ/QJkLdBZP a7lO4mUHEw/M2/lV31yG3EwRXXXNNyN7FQL+UVz7TodWf39n6Xu3EbV4mFZRpUdEFjOW R1/8MzQaGuch8ZiX23ecrOOWrNVEeQKxDVy2/i16Ed56VrWKhrBseifxOkPrQP6FgX6I 1nxPOVlz4dj5n+n62BZ4Jn4IADbUN5ETHeBbKe9Lb7wyXo5nS/3JxUBA9FHegKsaB8EC QJinTz5uuBCrRmCRP+N5wTHna2wuym86QCQtUZsDP6281q0KrRht3FDls1K2uDoHaKtW VE+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nAqGW0rv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j23si13335014eje.719.2021.06.01.02.11.40; Tue, 01 Jun 2021 02:12:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nAqGW0rv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233577AbhFAJLq (ORCPT + 99 others); Tue, 1 Jun 2021 05:11:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231139AbhFAJLp (ORCPT ); Tue, 1 Jun 2021 05:11:45 -0400 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4598DC061574 for ; Tue, 1 Jun 2021 02:10:04 -0700 (PDT) Received: by mail-io1-xd2f.google.com with SMTP id h7so384453iok.8 for ; Tue, 01 Jun 2021 02:10:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=1EQ7MJidus+zd1vSi36boWoSco2HUCYyNMAuhLySHdo=; b=nAqGW0rv0vLb/EEjZ9CGKdRvJYzioH/TkKipmvva9d1weHd96fZy5/UMXiUFy21A5D Kau+N2HOeAygpGrZ3k2uI1JxhnRTx79j4kat57E4sAGqGJaxF7xnpDXpfUJ/+G0Z70P+ KgMxj5H/MWx1On8FgVGTc48quuPGuLdFuo+hQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=1EQ7MJidus+zd1vSi36boWoSco2HUCYyNMAuhLySHdo=; b=WBMrQRp/jVlw8ECg35fwAmvAFS3Ttz7BS5k8dYHfZ3hJhMOmOJOVJK06PcHAGmmbs+ nK8PR5kcZFVGjfyDO49n+r3bl7SqwqSCha/pZ+CO35t77WDaTjoqv1rW/7z8k9QGNykH oQyAQpbE6bNKem/4WfTZKjWvKeB/+j0Kvl5vXD4zATORxQEoQYd3cVV4xhirEd9Oiu0s iUsRE1Zmyo5aUCUgUyi1pK0wg5jy7YsrzvyGntIXOIHrXTu1MYCmecuwI+V6ALUXQ53a 0Wxg8G7vUXR/EC79qrMngfLcwGyGz9vlW0EMhn4HLY5MCVn3uuiyj2eOVbwL5bXDX65n DrUw== X-Gm-Message-State: AOAM532YaLR6X5yUid6kfZj8xEKvlGZmjCRJFvTiOmVLmDfYCTDdrPzn cKN/zCu7f10PdTjopUmqTe6hSqHAwVwgI5AGd/oUmA== X-Received: by 2002:a02:ca0d:: with SMTP id i13mr23985823jak.98.1622538603578; Tue, 01 Jun 2021 02:10:03 -0700 (PDT) MIME-Version: 1.0 References: <20210601103250.07301254@canb.auug.org.au> In-Reply-To: From: Hsin-Yi Wang Date: Tue, 1 Jun 2021 17:09:37 +0800 Message-ID: Subject: Re: linux-next: build failure after merge of the i2c tree To: Wolfram Sang , Stephen Rothwell , Chris Wilson , Bibby Hsieh , Hsin-Yi Wang , Marek Szyprowski , Linux Kernel Mailing List , Linux Next Mailing List , Daniel Vetter , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Intel Graphics , DRI , Dave Airlie Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 1, 2021 at 4:55 PM Wolfram Sang wrote: > > Hi Stephen, > > > After merging the i2c tree, today's linux-next build (x86_64 allmodconfig) > > failed like this: > > > > In file included from drivers/gpu/drm/i915/i915_gem.c:1250: > > drivers/gpu/drm/i915/selftests/i915_gem.c:97:13: error: conflicting types for 'pm_suspend' > > 97 | static void pm_suspend(struct drm_i915_private *i915) > > | ^~~~~~~~~~ > > In file included from include/linux/regulator/consumer.h:35, > > from include/linux/i2c.h:18, > > from drivers/gpu/drm/i915/i915_drv.h:39, > > from drivers/gpu/drm/i915/gt/intel_context.h:14, > > from drivers/gpu/drm/i915/gem/i915_gem_context.h:12, > > from drivers/gpu/drm/i915/i915_gem.c:44: > > include/linux/suspend.h:331:12: note: previous declaration of 'pm_suspend' was here > > 331 | extern int pm_suspend(suspend_state_t state); > > | ^~~~~~~~~~ > > > > Caused by commit > > > > 5a7b95fb993e ("i2c: core: support bus regulator controlling in adapter") > > > > interacting with commit > > > > 3f51b7e1f36a ("drm/i915/selftests: Add a simple exerciser for suspend/hibernate") > > > > from Linus' tree (v4.20-rc1) > > Thank you very much for taking care of this! > Hi, this issue is fixed in https://cgit.freedesktop.org/drm-intel/commit/?h=drm-intel-gt-next&id=5b11705608898c31a1cae5340555ee60d5a4fa45 And I think the pull request is in https://lists.freedesktop.org/archives/intel-gfx/2021-May/267588.html Thanks > > > I have added the following merge fix patch: > > > > From: Stephen Rothwell > > Date: Tue, 1 Jun 2021 10:25:49 +1000 > > Subject: [PATCH] drm/i915/selftests: Avoid name clash with pm_ global functions > > > > Signed-off-by: Stephen Rothwell > > Looks like the proper solution to me. I think this should be added to > the i915 tree. D'accord everyone? > > Reviewed-by: Wolfram Sang > > Kind regards, > > Wolfram >