From patchwork Thu Jun 6 09:46:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 10979045 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4810714B6 for ; Thu, 6 Jun 2019 09:47:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 394DE28765 for ; Thu, 6 Jun 2019 09:47:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D0C528782; Thu, 6 Jun 2019 09:47:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBAF028765 for ; Thu, 6 Jun 2019 09:47:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727875AbfFFJrJ (ORCPT ); Thu, 6 Jun 2019 05:47:09 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:33582 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727540AbfFFJrJ (ORCPT ); Thu, 6 Jun 2019 05:47:09 -0400 Received: by mail-lf1-f66.google.com with SMTP id y17so1084272lfe.0 for ; Thu, 06 Jun 2019 02:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZUJtTHTXNxu11uFgApSggUR6FUDtGDSUrwD5+2c4fw4=; b=fjWTs+v9sRcacPTkE7/eRu/9lwuTPBz6IVARKm6m4Eq7OW7fr63Dg12tQgHVVCRbol X9xJuP/JqN3cXHjJiC6f8ejkT+eMEcvNjqmDsSgH22spBK04YFEiIlwrHageUyfQp0xt Dr0W1fN4Dhoc4Vs0e2dMfi84pDucPLYspHEx1qyBDNLoCiJIDHxXk89F7LxCZQIsKONd 8my/z5+M+Fr/vICw5e12GUeEZWFVwbkdPpr56GF9RuHraCzJOfRPTERnTkxQX5WMo6cS EP4xY+CInGYsGcd/8/b+F6qjYG5PezinP4T3p0CCu/MDQ46QsZOu/D1w+p5MJ3axD+dR KU2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZUJtTHTXNxu11uFgApSggUR6FUDtGDSUrwD5+2c4fw4=; b=YucSo1eU++uFc7OYxpXfjIji5suGhv3cevbeLsTrWINB68QgrHePPfvxBcffJQkx2y tVYy/uXgQxteeBc9jLShkmjvFmN8Ff8BMNcFG4P1saB5u3HwsIXU3EFyCp3SojBhRqDN d5Ou9+8RTbV+5i2vQILsuavlioR3yDQ825UuGUMaN7M5cMlsv1DQZbIZOnANT93O6294 bkEPoyiz0eTuveZWrM51QIWcgybAGSzIqX5NHZyoI5Ew3vvJ/R7tbYVJgb/F4renlzE9 wlCWcYDLuUFOqreJ/ElrWPPHKQqw9+aRGcF2If7FLYD2kYTGh72kK2GILaRePwHP2a6d /eOA== X-Gm-Message-State: APjAAAV0ZCgWir0GsZ4MBREP46fOWODKqnUvlpYNutHvF2Ov2IuSTVwG sBlftpB61U7TXSLiT5XhP2U3gg== X-Google-Smtp-Source: APXvYqyfSm4WZqLlK2FuAsUFqx7p2Ew9DH+2Np2QIeyhi9dQlGG8JR0BxiRPugpDfNWGd0YdYSALPA== X-Received: by 2002:ac2:5609:: with SMTP id v9mr15271221lfd.27.1559814426775; Thu, 06 Jun 2019 02:47:06 -0700 (PDT) Received: from localhost (c-1c3670d5.07-21-73746f28.bbcust.telenor.se. [213.112.54.28]) by smtp.gmail.com with ESMTPSA id e8sm241763lfc.27.2019.06.06.02.47.05 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 06 Jun 2019 02:47:06 -0700 (PDT) From: Anders Roxell To: andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, marex@denx.de, stefan@agner.ch, airlied@linux.ie, daniel@ffwll.ch, shawnguo@kernel.org, s.hauer@pengutronix.de, b.zolnierkie@samsung.com, a.hajda@samsung.com, mchehab@kernel.org, p.zabel@pengutronix.de, hkallweit1@gmail.com, lee.jones@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, davem@davemloft.net Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, Anders Roxell Subject: [PATCH 0/8] fix warnings for same module names Date: Thu, 6 Jun 2019 11:46:57 +0200 Message-Id: <20190606094657.23612-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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(-)