linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [linux-next] compile fail with "soc/tegra: fuse: Unify Tegra20 and Tegra30 drivers"
@ 2015-06-03 16:08 Paul Gortmaker
  2015-06-04  8:49 ` Thierry Reding
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Gortmaker @ 2015-06-03 16:08 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Thierry,

This commit:

  commit 436b6428b9cc97f61721f335eb9d8010751a337e
  Author: Thierry Reding <treding@nvidia.com>
  Date:   Wed Apr 29 16:54:04 2015 +0200

    soc/tegra: fuse: Unify Tegra20 and Tegra30 drivers

in linux-next, in combination with my pending init cleanup

http://marc.info/?l=linux-kernel&m=143327626201054&w=2

will cause a compile fail because 43b642 is relying on an
implicit include of <linux/module.h> to provide the fcn for:

   +module_platform_driver(tegra_fuse_driver);

which in turn causes:

drivers/soc/tegra/fuse/fuse-tegra.c:171:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
drivers/soc/tegra/fuse/fuse-tegra.c:171:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]

Can you add the include to your tree please?  I think it makes
more sense to be there vs. me preemptively adding it to mine.

BTW, I think we can look at converting your driver to use the alternate
fcn builtin_platform_driver later, once that branch is merged.

https://lwn.net/Articles/643854/

Thanks,
Paul.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [linux-next] compile fail with "soc/tegra: fuse: Unify Tegra20 and Tegra30 drivers"
  2015-06-03 16:08 [linux-next] compile fail with "soc/tegra: fuse: Unify Tegra20 and Tegra30 drivers" Paul Gortmaker
@ 2015-06-04  8:49 ` Thierry Reding
  0 siblings, 0 replies; 2+ messages in thread
From: Thierry Reding @ 2015-06-04  8:49 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jun 03, 2015 at 12:08:08PM -0400, Paul Gortmaker wrote:
> Hi Thierry,
> 
> This commit:
> 
>   commit 436b6428b9cc97f61721f335eb9d8010751a337e
>   Author: Thierry Reding <treding@nvidia.com>
>   Date:   Wed Apr 29 16:54:04 2015 +0200
> 
>     soc/tegra: fuse: Unify Tegra20 and Tegra30 drivers
> 
> in linux-next, in combination with my pending init cleanup
> 
> http://marc.info/?l=linux-kernel&m=143327626201054&w=2
> 
> will cause a compile fail because 43b642 is relying on an
> implicit include of <linux/module.h> to provide the fcn for:
> 
>    +module_platform_driver(tegra_fuse_driver);
> 
> which in turn causes:
> 
> drivers/soc/tegra/fuse/fuse-tegra.c:171:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
> drivers/soc/tegra/fuse/fuse-tegra.c:171:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
> 
> Can you add the include to your tree please?  I think it makes
> more sense to be there vs. me preemptively adding it to mine.

I've squashed a patch from Paul Walmsley into the offending commit and
pushed a new for-next branch of the Tegra tree, so this should be fixed
in the next iteration.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150604/8f9f61e4/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-04  8:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-03 16:08 [linux-next] compile fail with "soc/tegra: fuse: Unify Tegra20 and Tegra30 drivers" Paul Gortmaker
2015-06-04  8:49 ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).