Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3211101ybi; Mon, 10 Jun 2019 06:29:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzShW60ijaDfNiwFDBSwpVRmxs0iLqjO2eIgv/UPGAoBjigln6AX/paXL8A4XNzkQ/t4jxX X-Received: by 2002:a65:5202:: with SMTP id o2mr14561474pgp.199.1560173349373; Mon, 10 Jun 2019 06:29:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560173349; cv=none; d=google.com; s=arc-20160816; b=d7qdI/qZ7WrW9I//YkOjLc3ND0EzaUyGtZ54InBKZUK6chBdrF4LgHkTTYAV+m1ckw CI7/lWPX3mpjzTWpKsDNVZH+us2gbQwJJjMp9mgzbwEOeDAVUPo+njW4rljUHazXDSCX KwqB+IYkBRI0WEzZN6rvTQon2aPHAr5/BfYsw6NnP0Pn+DZ5x2iSc4i09Yzps2XAgMPW H6n9tW3kLHnTMnOUSGeD9HlxaZoBfFJaV0gAM2w/WlEkfvksrwE3dj4tGKBT+yEznQZh f73btJkTc+Bw76Bbl4QbZLiLySY/zr6eCQq7uO/qFuJhEmqtZI1kKND6DXTkA4+NlbGM q9Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=7DLFQ8by/jV1+O/LDvQ3huJEjoQ4sVNIYrRFls+hbxg=; b=GE9XO/G5PWhCFagk4/z37IZw2Y5khJ4HwUK1eeD6nyrGejB67m/V+yALdjmrK4H+YQ sP/ag/P4DkGrWuB4+fRO3Oau7czxI3q49xVOAAOUY+EgoKCAXqRq/5Bt2uQYf7/JR8OR EgFk2SbX49EcGoQsJmZyI0QwLfmiKRYW2iJ0eRWJB9tF7FMHfOUgQN4j+M1EO+KuvCTU 2FdbEALwHo06HP0412bAhqAgaw4yM5Ppyf1Mladg+bV8W4X5L9BHMCgrrxxJQ3RPfnkq bXSyWpSVx/PlwV0iq3nU1z+I6Ysvk7j13drS0R853gyauTTg763B1Y1vKd1fgC9oVUmM S64g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kJwSbhsw; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p11si9499325plk.67.2019.06.10.06.28.53; Mon, 10 Jun 2019 06:29:09 -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; dkim=pass header.i=@linaro.org header.s=google header.b=kJwSbhsw; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389368AbfFJM6d (ORCPT + 99 others); Mon, 10 Jun 2019 08:58:33 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:41233 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389309AbfFJM6c (ORCPT ); Mon, 10 Jun 2019 08:58:32 -0400 Received: by mail-lf1-f68.google.com with SMTP id 136so6550874lfa.8 for ; Mon, 10 Jun 2019 05:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7DLFQ8by/jV1+O/LDvQ3huJEjoQ4sVNIYrRFls+hbxg=; b=kJwSbhswbKbQHzM85JPdk5WWpRJM3BNteN454cZjnKRT4+2cK1IwcgVbguNeugjWKU anfYSptxIdmrRV7MDJsWRwyVls6QGDNJe5RT+rmXTGCG/V7I4ey08t14jgw3CqDZdqaM 4iETn+6dLcyFpjEoplS3FYXNzJi3sRorfA74TrLC+x6NxDVEIZqzxw7UcdmfBUQRlhlD XI6GJjZNM0hgCsW6GDaj6cyDatbRJLDB/QZwR6Hjgxqcihk9ghBmHeWACTK2zvqac68v dsnJZUC75L3rxuEyKrjXMpty88ykkZ7ebW3xpLMPpt/RQC6Pk3NpgulvKjx1FFOGfJXq 0hQA== 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:cc; bh=7DLFQ8by/jV1+O/LDvQ3huJEjoQ4sVNIYrRFls+hbxg=; b=f81xaamiHdxEstUKwN6TdVoJ97fZsJZFf7s6IYt1o7915zMoM1RrunfAVMI/NPh7uy qBjj/VB28I8aOS5TwEZxDmBntGGWtzwx23BQmq1Z36h2RmGYOUiYGbxfXjftuzmMw+IZ cEWzzOwY3bQmaeFz9GkbB2b3/kC4Tif1qg7Y9kbQL6z9C6kADUTo/tSkVYMyPHzxRqZE KX68OCL+JxOYXqpUJlIIe7hVdRd9mLE17t8yhm+T7IsDBO7ZMMZcJGByWXxEic2HKFAW tT98z1S1LkfmfqvNBKw/87HYq3uCQfKorvsyxfncXEwUR7SaAyXrzBKXHWTZ52eVMcpL XBkQ== X-Gm-Message-State: APjAAAURHSxcMSCr1aXmt9OqOhn71uPOwarbC7nm6nghHHE8VcvqLO0C njHKGiwodu16sgIuEjs18/D/5kkSUK3f+i5A2Iuoxw== X-Received: by 2002:ac2:4d17:: with SMTP id r23mr28592327lfi.130.1560171510009; Mon, 10 Jun 2019 05:58:30 -0700 (PDT) MIME-Version: 1.0 References: <20190606094657.23612-1-anders.roxell@linaro.org> <20190606071052.412a766d@coco.lan> In-Reply-To: <20190606071052.412a766d@coco.lan> From: Anders Roxell Date: Mon, 10 Jun 2019 14:58:18 +0200 Message-ID: Subject: Re: [PATCH 0/8] fix warnings for same module names To: Mauro Carvalho Chehab Cc: andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, marex@denx.de, stefan@agner.ch, David Airlie , Daniel Vetter , shawnguo@kernel.org, s.hauer@pengutronix.de, b.zolnierkie@samsung.com, a.hajda@samsung.com, p.zabel@pengutronix.de, hkallweit1@gmail.com, Lee Jones , Liam Girdwood , Mark Brown , David Miller , Networking , Linux Kernel Mailing List , dri-devel , Linux ARM , linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 6 Jun 2019 at 12:11, Mauro Carvalho Chehab wrote: > > Em Thu, 6 Jun 2019 11:46:57 +0200 > Anders Roxell escreveu: > > > Hi, > > > > This patch set addresses warnings that module names are named the > > same, this may lead to a problem that wrong module gets loaded or if one > > of the two same-name modules exports a symbol, this can confuse the > > dependency resolution. and the build may fail. > > > > > > Patch "drivers: net: dsa: realtek: fix warning same module names" and > > "drivers: net: phy: realtek: fix warning same module names" resolves the > > name clatch realtek.ko. > > > > warning: same module names found: > > drivers/net/phy/realtek.ko > > drivers/net/dsa/realtek.ko > > > > > > Patch "drivers: (video|gpu): fix warning same module names" resolves > > the name clatch mxsfb.ko. > > > > warning: same module names found: > > drivers/video/fbdev/mxsfb.ko > > drivers/gpu/drm/mxsfb/mxsfb.ko > > > > Patch "drivers: media: i2c: fix warning same module names" resolves the > > name clatch adv7511.ko however, it seams to refer to the same device > > name in i2c_device_id, does anyone have any guidance how that should be > > solved? > > > > warning: same module names found: > > drivers/gpu/drm/bridge/adv7511/adv7511.ko > > drivers/media/i2c/adv7511.ko > > > > > > Patch "drivers: media: coda: fix warning same module names" resolves the > > name clatch coda.ko. > > > > warning: same module names found: > > fs/coda/coda.ko > > drivers/media/platform/coda/coda.ko > > Media change look ok, and probably the other patches too, but the > problem here is: who will apply it and when. > > The way you grouped the changes makes harder for subsystem maintainers > to pick, as the same patch touches multiple subsystems. > > On the other hand, if this gets picked by someone else, it has the > potential to cause conflicts between linux-next and the maintainer's > tree. > > So, the best would be if you re-arrange this series to submit one > patch per subsystem. I will send it per subsystem. Cheers, Anders > > > > > > > > Patch "drivers: net: phy: fix warning same module names" resolves the > > name clatch asix.ko. > > > > warning: same module names found: > > drivers/net/phy/asix.ko > > drivers/net/usb/asix.ko > > > > Patch "drivers: mfd: 88pm800: fix warning same module names" and > > "drivers: regulator: 88pm800: fix warning same module names" resolves > > the name clatch 88pm800.ko. > > > > warning: same module names found: > > drivers/regulator/88pm800.ko > > drivers/mfd/88pm800.ko > > > > > > Cheers, > > Anders > > > > Anders Roxell (8): > > drivers: net: dsa: realtek: fix warning same module names > > drivers: net: phy: realtek: fix warning same module names > > drivers: (video|gpu): fix warning same module names > > drivers: media: i2c: fix warning same module names > > drivers: media: coda: fix warning same module names > > drivers: net: phy: fix warning same module names > > drivers: mfd: 88pm800: fix warning same module names > > drivers: regulator: 88pm800: fix warning same module names > > > > drivers/gpu/drm/bridge/adv7511/Makefile | 10 +++++----- > > drivers/gpu/drm/mxsfb/Makefile | 4 ++-- > > drivers/media/i2c/Makefile | 3 ++- > > drivers/media/platform/coda/Makefile | 4 ++-- > > drivers/mfd/Makefile | 7 +++++-- > > drivers/net/dsa/Makefile | 4 ++-- > > drivers/net/phy/Makefile | 6 ++++-- > > drivers/regulator/Makefile | 3 ++- > > drivers/video/fbdev/Makefile | 3 ++- > > 9 files changed, 26 insertions(+), 18 deletions(-) > > > > > > Thanks, > Mauro