Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp390525ybi; Wed, 19 Jun 2019 01:04:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwHQhx4ujGC9kFJwkyIvIT+jHYLhTyYWiGEiMB6p9/v+F33t2/vpVjQYws9LxpfLwzat06Z X-Received: by 2002:a63:1d10:: with SMTP id d16mr6504580pgd.446.1560931483739; Wed, 19 Jun 2019 01:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560931483; cv=none; d=google.com; s=arc-20160816; b=aIMgWFpOPw8Je4JMVhSJ4w4H9A0QdjHGYA6+Aay0ggHE6O4XiRqV6/uOS2qreQHrnD F4Jf4oESJ1MWsMsHG53pISvbR0E4qFZA3HJHQ6/3K91W3amrCryYdpBSfOYhLyAHIcmr /PCx+OeTk1QQyuKFmmgwOpfhfDpcCcYmXwSR/M32S053ackEUx8uwmyDeY4AzFKbRzqg SPcn4BYarStAu+dKDyNfEzYlFIBv2nbCJ1TiLkyKHAfi5xdnWJwC8fGVRLfFM08PNADF ufcble9rr83G3Eb5ROXzdULpwj7MDO723DrUwAvQPARgppRI6653HcBS6YNw5vvEn3HJ egFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=4JvU0NQp/xmG/w08GPAOkl9Kc6kWPN4Z6UvCRB1dHaE=; b=EuWqa1SJrNIyQFqrWbQIcuoKZ9aq9dvTQRKmnhjs7moeZhC5ZpPPWPs28ec7C3UHQ7 NpFDxbsom7iTgVX6tAGgSP6u542FAYWivskbL0R9azPVt/tOmU9UhZcwtcLOnCRcXwSg hResYVw5kGQ3Q/Z/JLPn6IoF6zj2HKXujn6PGGRoOEFr+uq42o2zM6wrc2UG11JbEprx 2pnV9zNxqOW1aJxzuLBZCmfzuGDXNpEHhumanzavPjgL/jZDhS/usHOzAkZEMOezUNkl yoeVfPYZydb52+Myxbtpv9dl1JRsabmeXMc5kRAR8qKKPVU/Dsk7HIK3SrEqpGY65QfF 3ooA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=iki.fi Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q42si722970pjc.103.2019.06.19.01.04.26; Wed, 19 Jun 2019 01:04:43 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=iki.fi Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731234AbfFSIDx (ORCPT + 99 others); Wed, 19 Jun 2019 04:03:53 -0400 Received: from retiisi.org.uk ([95.216.213.190]:45124 "EHLO hillosipuli.retiisi.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726142AbfFSIDw (ORCPT ); Wed, 19 Jun 2019 04:03:52 -0400 Received: from valkosipuli.localdomain (valkosipuli.retiisi.org.uk [IPv6:2a01:4f9:c010:4572::80:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hillosipuli.retiisi.org.uk (Postfix) with ESMTPS id 4498F634C7B; Wed, 19 Jun 2019 11:03:24 +0300 (EEST) Received: from sailus by valkosipuli.localdomain with local (Exim 4.89) (envelope-from ) id 1hdVYy-0000zL-A5; Wed, 19 Jun 2019 11:03:24 +0300 Date: Wed, 19 Jun 2019 11:03:24 +0300 From: Sakari Ailus To: Eugen.Hristev@microchip.com Cc: hverkuil@xs4all.nl, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: atmel: atmel-isc: fix i386 build error Message-ID: <20190619080324.nc33gtuxzwpailmy@valkosipuli.retiisi.org.uk> References: <1560928828-31471-1-git-send-email-eugen.hristev@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1560928828-31471-1-git-send-email-eugen.hristev@microchip.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Eugen, On Wed, Jun 19, 2019 at 07:24:41AM +0000, Eugen.Hristev@microchip.com wrote: > From: Eugen Hristev > > ld: drivers/media/platform/atmel/atmel-isc-base.o:(.bss+0x0): multiple definition of `debug'; arch/x86/entry/entry_32.o:(.entry.text+0x21ac): first defined here > > Changed module parameters to static. > > Reported-by: kbuild test robot > Signed-off-by: Eugen Hristev > --- > > Hello Hans, > > Sorry for this, it looks like i386 has a stray weird 'debug' symbol which > causes an error. > I changed the module parameters of the atmel-isc to 'static' but now they > cannot be accessed in the other module files. > Will have to create a get function to be used in the other files if needed > later. Any other way to make a symbol static to current module and not > current file ? It would be useful for other config variables as well. > I was not sure if you want to squash this over the faulty patch or add it > as a separate patch. Please consider using dev_dbg() instead of a driver specific parameter for debug. For the patch: Acked-by: Sakari Ailus -- Sakari Ailus