Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3768338pxb; Sun, 7 Feb 2021 22:35:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxVbwcj3P65D14A72Qg/jinxmKDWSHvljJzLESMfUGlW4LkKvxWnyEzOcDSeJw7nDFpBt6m X-Received: by 2002:a17:906:2993:: with SMTP id x19mr14714906eje.409.1612766140159; Sun, 07 Feb 2021 22:35:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612766140; cv=none; d=google.com; s=arc-20160816; b=F6UeNaW8QRgmFlQXYNcW9o0u1EnUm+WX3kuVitNaGWW/4VregWMrS5i3pXys4vVDs+ YDAs9IbmgF4Vu/HEAbnF08LmGWIwJoLrl3PLg8mzIWJEC556ITAJSdrsSnt8NGE/uyNW 5AwlZdNCHIA0yucIY4eeCtGET+74B9O0bSBDfNwscsMJUJV5M46/nbiTwPLAeAP7vXoq n7I8CLyf6GA+1HsNGPQMrhr1TfZkQ7H0XO6Ga1VNJRh29bTJXv76Kz7xerUgMK8OUusv wyXKjNUDVXQdVHePrHHNe5uRWO547N/H6IsXcEQ4z2+9R7gDgeP5cDxja3icvLlqsxJA LEKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=PrrK+KYB/zqk30Tuwnh/VXBvnBc0+fkwrD6lgyTM+DU=; b=o9lYHs+lULFn5OoMlNWH/wqqJeWUgQVrieJYvJJyzPSWFpD/8hz4w+6v7qPJJtHm5y 579cnQviDU4M9ERT1mS7gbNqoFmQGDoyr4QpCh4J5TXimDIkLpZxXDf6CPn1+djhjlFB XA1OFmTj+BeNatg+/53whHrjd+ftDFrBqazO3O2vYXjs7/SXV4KKyTV+vcRzegTaM2YT a4lOozjUEtMwyeUMeFFQb29aH93h+LWVQN7UvATx+H98u6MRutILfNeSx02tGpCcssuF Ofng+KcMdE3SQNF45cVuIbmypeu2+xvj0K/skhZl3gJuBi8n01EVVhkE456aD09lPF5U 6t6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="E/rZHuyc"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cn1si6820189edb.235.2021.02.07.22.35.17; Sun, 07 Feb 2021 22:35:40 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b="E/rZHuyc"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229846AbhBHGeC (ORCPT + 99 others); Mon, 8 Feb 2021 01:34:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:55342 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229821AbhBHGbl (ORCPT ); Mon, 8 Feb 2021 01:31:41 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E3C5864E59; Mon, 8 Feb 2021 06:30:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612765843; bh=S/icdn535lryv9nbPE2ylA0wWXfxmpt/hfxjkhjIREY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=E/rZHuycGv4iCvWHONIDnd5aUj63tpmwtRs1dcO6TZFkmgqLVxpmLtjUcc95pPDt0 Zr+yskLca53LEIMnTUmG31roGBReTWtS+iEn1+6nF5EPGNH7IMFFZS9eJV9YYRWO7p 0oVjeklkinwVElhwWKDAjbqpQzeX6+Zfhwv/dxL8INwkvr6Tz4ncideANoTyTBBEYh NrIbWdgcknuNIulDOSNuUP1Hl23MFl+aMshnh27Vg+49TIePFV5cer9n/x+Js6I0i7 zqs3ve+HL7USEMTo+xHwSYqFpMirslgMsMCm9txf5OjtYtoTQhvE/IfE5irigY4BDa Gfpfmd4B7iFaQ== Date: Mon, 8 Feb 2021 07:30:37 +0100 From: Mauro Carvalho Chehab To: Stephen Rothwell Cc: Jacopo Mondi , Sakari Ailus , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build warning after merge of the v4l-dvb tree Message-ID: <20210208073037.0b9fe4b9@coco.lan> In-Reply-To: <20210208113208.35449879@canb.auug.org.au> References: <20210208113208.35449879@canb.auug.org.au> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, 8 Feb 2021 11:32:08 +1100 Stephen Rothwell escreveu: > Hi all, > > After merging the v4l-dvb tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > WARNING: modpost: drivers/media/i2c/rdacm21-camera_module: 'max9271_set_serial_link' exported twice. Previous export was in drivers/media/i2c/rdacm20-camera_module.ko > WARNING: modpost: drivers/media/i2c/rdacm21-camera_module: 'max9271_configure_i2c' exported twice. Previous export was in drivers/media/i2c/rdacm20-camera_module.ko > WARNING: modpost: drivers/media/i2c/rdacm21-camera_module: 'max9271_set_high_threshold' exported twice. Previous export was in drivers/media/i2c/rdacm20-camera_module.ko > WARNING: modpost: drivers/media/i2c/rdacm21-camera_module: 'max9271_configure_gmsl_link' exported twice. Previous export was in drivers/media/i2c/rdacm20-camera_module.ko > WARNING: modpost: drivers/media/i2c/rdacm21-camera_module: 'max9271_set_gpios' exported twice. Previous export was in drivers/media/i2c/rdacm20-camera_module.ko > WARNING: modpost: drivers/media/i2c/rdacm21-camera_module: 'max9271_clear_gpios' exported twice. Previous export was in drivers/media/i2c/rdacm20-camera_module.ko > WARNING: modpost: drivers/media/i2c/rdacm21-camera_module: 'max9271_enable_gpios' exported twice. Previous export was in drivers/media/i2c/rdacm20-camera_module.ko > WARNING: modpost: drivers/media/i2c/rdacm21-camera_module: 'max9271_disable_gpios' exported twice. Previous export was in drivers/media/i2c/rdacm20-camera_module.ko > WARNING: modpost: drivers/media/i2c/rdacm21-camera_module: 'max9271_verify_id' exported twice. Previous export was in drivers/media/i2c/rdacm20-camera_module.ko > WARNING: modpost: drivers/media/i2c/rdacm21-camera_module: 'max9271_set_address' exported twice. Previous export was in drivers/media/i2c/rdacm20-camera_module.ko > WARNING: modpost: drivers/media/i2c/rdacm21-camera_module: 'max9271_set_deserializer_address' exported twice. Previous export was in drivers/media/i2c/rdacm20-camera_module.ko > WARNING: modpost: drivers/media/i2c/rdacm21-camera_module: 'max9271_set_translation' exported twice. Previous export was in drivers/media/i2c/rdacm20-camera_module.ko > > Introduced by commit > > a59f853b3b4b ("media: i2c: Add driver for RDACM21 camera module") > It sounds to be due to a Makefile mess: drivers/media/i2c/Makefile:rdacm20-camera_module-objs := rdacm20.o max9271.o drivers/media/i2c/Makefile:rdacm21-camera_module-objs := rdacm21.o max9271.o Neither drivers should be including max9271.o as their objects, but, instead, be addressing max9271 dependency via Kconfig. Thanks, Mauro