Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2131199imm; Mon, 16 Jul 2018 02:47:52 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeds2jV0739ijzNaJVgocJwgPIra9qJmVW2Ez5Kvd487bNITPpau04QXYPxgzK7+LmUgBtX X-Received: by 2002:a17:902:15a8:: with SMTP id m37-v6mr16052634pla.219.1531734472696; Mon, 16 Jul 2018 02:47:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531734472; cv=none; d=google.com; s=arc-20160816; b=GNDyJmQGibbAlmK5pqawXgnoU/b6MhDIzlsaOPrrMkhC3dXps1TZka2iue7MO/tpeg IIIYeilFkCYG4GJxZYI4zwYoOLRkbv+mjhovkG3FPY9mwZEJ13QUyDmJDx36lkDLeu/q tZQ0KRLoMeSCet139H0l7PMgrz9spYPdIaMz89epHWtgWsgOpKC3VJNVebE7tMdHaGFg mmz7RvGPS0dgeXTKf1ecKEx9loLcj8PLm7FuD7v4WFRjhS523IyvxE6cxp7HQ9zHOHpG rMWQ5bxt2dywROZA8Yr0ycN53qQVarSwCdLTekvLBaNIzGV3qAYI7fzVBDzhZ2bRf+Xf GdmQ== 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:message-id:date:subject:cc:to:from :arc-authentication-results; bh=+XKt8afZ9w5KUiA6pSzgkE+Tn3DZvIbHWb7vEq9yjzk=; b=HR2i3TvG8+EgtOOjusWC0IJlEFR7VHDRtagnKAa2sjpW8zF0VztKOU//0b9Is9o6Tz 3JJXJ86KBvwGjnTXxpziTJkWjyC6f5UDaaP6jzrgc2Rn+AigDACqzuOqKgERyoUUHcE7 NoWuSRx/wke2LvSdpApzAGYSgpxFJaT9VVOewZcO9lsnwfXi74v0CkuLXUPEG2EAla/E eIkjaY+siPSPRzfvZXuLzOL27iW0UnrUXyWBUDdtkvbIUHZdVJjIhQGSuo/EpxbDdjWb 2cInZpHoYS8EUaDFDEoz12Ppt0ryYYPOlMScsmHh32wykPS1mq1AlyH7WK0UjALUCJEK qMYA== 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 n184-v6si28373213pga.98.2018.07.16.02.47.38; Mon, 16 Jul 2018 02:47:52 -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 S1730875AbeGPKNY (ORCPT + 99 others); Mon, 16 Jul 2018 06:13:24 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:41424 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728450AbeGPKNY (ORCPT ); Mon, 16 Jul 2018 06:13:24 -0400 Received: from 79.184.255.17.ipv4.supernova.orange.pl (79.184.255.17) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83) id 6ed516ad50d648e0; Mon, 16 Jul 2018 11:46:47 +0200 From: "Rafael J. Wysocki" To: Benjamin Gaignard Cc: Greg KH , Mark Brown , pascal paillet , Linux Kernel Mailing List , Marek Szyprowski , Benjamin Gaignard Subject: Re: [PATCH] base: core: Remove WARN_ON from link dependencies check Date: Mon, 16 Jul 2018 11:45:11 +0200 Message-ID: <2043787.xsU0OtZjGC@aspire.rjw.lan> In-Reply-To: References: <20180712080623.21203-1-benjamin.gaignard@st.com> <20180712085501.GA25313@kroah.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 On Thursday, July 12, 2018 11:18:26 AM CEST Benjamin Gaignard wrote: > 2018-07-12 10:55 GMT+02:00 Greg KH : > > On Thu, Jul 12, 2018 at 10:06:23AM +0200, Benjamin Gaignard wrote: > >> In some cases the link between between customer and supplier > >> already exist. Do not warn about already existing dependencies > >> because device_link_add() take care of this case. > > > > Why would a link already exist that is asked to be created again? What > > code path causes this? > > It could happen that the link exist because a device use it parent as supplier. > That case has been describe by Marek in this thread (I forgot to add > it in the commit message, sorry): > https://lkml.org/lkml/2018/7/9/356 So please add this information to the patch changelog and resend. Thanks, Rafael