Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4640327ybi; Tue, 11 Jun 2019 09:55:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUYNYhAHpaoe547sHQON7wpB/pbd0FKrjQaDeYXrUC7cwxeLHcT62xY+AuVWkCrpD9I0dv X-Received: by 2002:a62:14c4:: with SMTP id 187mr8110984pfu.241.1560272127770; Tue, 11 Jun 2019 09:55:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560272127; cv=none; d=google.com; s=arc-20160816; b=RGpJcRKZBtluO4oFE0EBbk0ae8TlXztd23HiHiQQEAOi3v5QlCyKvbL/CQRn+ZaPmY rtkq1I+5Xdchv2zO5Iu+JJheTKs4j29G4axTwYgYe7oy3BUi66iqKDfLFiBC80Ls6xc7 mJpMSiV1mZ8N8bkCr12Hjiyxkjxuc4Vf8x2cmLbGCbudDbMgiEOxtkB24PPjLaQEMNBC K0tgwsBXWygsNfQGVIV1LW5k1fvebengPQRWf1OO+KuMhWB6jhL3WDS/d4NXxl+zRfSM Wjyu+lQhp6BUkf2W55CKLpb6+E6fM1pU0eG+LvFkifnCZ5G1PnaNFDIuONYmpSN2XNIr crLg== 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=RgyPf7xhx0YF0w9Kty/80UkxGW/cNJhmecxkZGC4Svg=; b=S9ywNoQcu0rn6g9yFR+YHzZCH0bFbOgQQgRxBylIreiV/GGnMonjeVf+gcvLjKTDDH tt0o8aX8ty2PpRwHEzN9wXs57Py0dKIItb6fnbZVTTpFsx+OYin29YKcXioQyZ8s05AA 7Ephk1BLNofx/kW4j4jsfPYzmBDA6lOh4uhmoCI82R9ouIP9Shtm5/ReN2rPSTzIXyqJ 8lU0r1KovUxhSZV6qzsPuHfa5R5VeUb2EUWXW0hOLI4+aTT5g6tYnTrv6iIbB1BC9Ddu 6rEXEqiCIxhZoR3lYZjxAz5vmGNjvzxIaitOaaUqpt5mndR7YPNmV02k8iLydQM1dfLB nRqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Wy6GLE/b"; 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 16si13120381pfo.12.2019.06.11.09.55.12; Tue, 11 Jun 2019 09:55:27 -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="Wy6GLE/b"; 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 S2391700AbfFKQ2v (ORCPT + 99 others); Tue, 11 Jun 2019 12:28:51 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:35604 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727748AbfFKQ2v (ORCPT ); Tue, 11 Jun 2019 12:28:51 -0400 Received: by mail-lf1-f68.google.com with SMTP id a25so9809359lfg.2 for ; Tue, 11 Jun 2019 09:28:49 -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=RgyPf7xhx0YF0w9Kty/80UkxGW/cNJhmecxkZGC4Svg=; b=Wy6GLE/bRjVgzVg3lTBzcxvgONy0/gxFk0wNAyFPNhLKb1zkqgi7IORqDn/A5oMhNs P1N7dtfcmcAozuWE5Eb3UlefyJfoLU/vDMgiMI3gdS0x+DBehpksepzE3rG6XpxcTQTL dgguk5hn73V7XtY9m418kM424zKdGmSeZiwHBMjROl0RJXauPuHC4yXQZJhkON6lbL4x 8yP5dVjBuymlWB96zkGHGcjBVzztPUFGpPcNcVrKQyhj8zt9gsA+MYw/a7H4tw2+tBeS 72NhJJT+iv7ymfMLyx7RYScRS52teqvNNZh+H661tbd0KCYPYAwPMSB88JYKm6t07qyn 5NRA== 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=RgyPf7xhx0YF0w9Kty/80UkxGW/cNJhmecxkZGC4Svg=; b=li18fbD6oV3hw48bRgMN4pFYBRUtJTfctWm08yj5mBTtHvz9TG1aduvhbWDTfkab8F +4vEwnNfL6gtbs0AhbCEByb0fSYqeqO8e9rrCE3EByyOEGy8TpFUkGmfOIUMMcheBlvj 2G0ela9R2gE6RhuSrk1W8d8dh7gcTHuVfiOge/pDdEfIfLOeZhW7jKe9dWMDHbfEP7lZ +O+UlILBML4IK0jeBzfypMr3ZrUZOXIkjDmws9CshC+SNuPHWEltdM2PkvEKSsDbyR/l BQmpKQD701QiBpil2VXJYwC51ssVRtkrw7Lg9Dz+TP4hM/mOEv/NPJQUml6x92Qhu6D8 CoKg== X-Gm-Message-State: APjAAAWBrrCPy+FUK3DdNyF+cFQHLieMr9vV3dRvirxvASlXWe/MwOJ4 qMOwXotMKRWfoAJQTiekZ4iUhDtQ7edUwnYzeWBSzQ== X-Received: by 2002:a19:c383:: with SMTP id t125mr31681402lff.89.1560270528359; Tue, 11 Jun 2019 09:28:48 -0700 (PDT) MIME-Version: 1.0 References: <20190606094722.23816-1-anders.roxell@linaro.org> <1560240943.13886.1.camel@pengutronix.de> <221c8ef8-7adc-4383-93c9-9031dca590f0@xs4all.nl> In-Reply-To: From: Anders Roxell Date: Tue, 11 Jun 2019 18:28:37 +0200 Message-ID: Subject: Re: [PATCH 5/8] drivers: media: coda: fix warning same module names To: Ezequiel Garcia Cc: Hans Verkuil , Philipp Zabel , Matt Redfearn , Mauro Carvalho Chehab , "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" , "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 Tue, 11 Jun 2019 at 18:18, Ezequiel Garcia wrote: > > > > On Tue, Jun 11, 2019, 1:01 PM Anders Roxell wrote: >> >> On Tue, 11 Jun 2019 at 10:21, Hans Verkuil wrote: >> > >> > On 6/11/19 10:15 AM, Philipp Zabel wrote: >> > > Hi, >> > > >> > > On Mon, 2019-06-10 at 13:14 +0000, Matt Redfearn wrote: >> > >> >> > >> On 10/06/2019 14:03, Anders Roxell wrote: >> > >>> On Thu, 6 Jun 2019 at 12:13, Hans Verkuil wrote: >> > >>>> >> > >>>> On 6/6/19 11:47 AM, Anders Roxell wrote: >> > >>>>> When building with CONFIG_VIDEO_CODA and CONFIG_CODA_FS enabled as >> > >>>>> loadable modules, we see the following warning: >> > >>>>> >> > >>>>> warning: same module names found: >> > >>>>> fs/coda/coda.ko >> > >>>>> drivers/media/platform/coda/coda.ko >> > >>>>> >> > >>>>> Rework so media coda matches the config fragment. Leaving CODA_FS as is >> > >>>>> since thats a well known module. >> > >>>>> >> > >>>>> Signed-off-by: Anders Roxell >> > >>>>> --- >> > >>>>> drivers/media/platform/coda/Makefile | 4 ++-- >> > >>>>> 1 file changed, 2 insertions(+), 2 deletions(-) >> > >>>>> >> > >>>>> diff --git a/drivers/media/platform/coda/Makefile b/drivers/media/platform/coda/Makefile >> > >>>>> index 54e9a73a92ab..588e6bf7c190 100644 >> > >>>>> --- a/drivers/media/platform/coda/Makefile >> > >>>>> +++ b/drivers/media/platform/coda/Makefile >> > >>>>> @@ -1,6 +1,6 @@ >> > >>>>> # SPDX-License-Identifier: GPL-2.0-only >> > >>>>> >> > >>>>> -coda-objs := coda-common.o coda-bit.o coda-gdi.o coda-h264.o coda-mpeg2.o coda-mpeg4.o coda-jpeg.o >> > >>>>> +video-coda-objs := coda-common.o coda-bit.o coda-gdi.o coda-h264.o coda-mpeg2.o coda-mpeg4.o coda-jpeg.o >> > >>>>> >> > >>>>> -obj-$(CONFIG_VIDEO_CODA) += coda.o >> > >>>>> +obj-$(CONFIG_VIDEO_CODA) += video-coda.o >> > >>>> >> > >>>> How about imx-coda? video-coda suggests it is part of the video subsystem, >> > >>>> which it isn't. >> > >>> >> > >>> I'll resend a v2 shortly with imx-coda instead. >> > > >> > > I'd be in favor of calling it "coda-vpu" instead. >> > >> > Fine by me! >> > >> > > >> > >> What about other vendor SoCs implementing the Coda IP block which are >> > >> not an imx? I'd prefer a more generic name - maybe media-coda. >> > > >> > > Right, this driver can be used on other SoCs [1]. >> > >> > Good point. >> >> OK, so I'll change it to 'media-coda'. >> >> >> > > As suggested by Philipp, coda-vpu seems the most accurate name. urgh, that correct. Thanks, Anders > > Thanks, > Ezequiel > > > >> Cheers, >> Anders >> >> > >> > Regards, >> > >> > Hans >> > >> > > >> > > [1] https://www.mail-archive.com/linux-media@vger.kernel.org/msg146498.html >> > > >> > > regards >> > > Philipp >> > > >> >