Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1739496 > unrolled thread

linux-next: build failure after merge of the staging tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-09-26 06:00 +0200
Last post2017-09-26 08:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build failure after merge of the staging tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-09-26 06:00 +0200
    Re: linux-next: build failure after merge of the staging tree Jonathan Cameron <jic23@jic23.retrosnub.co.uk> - 2017-09-26 08:20 +0200

#1739496 — linux-next: build failure after merge of the staging tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-09-26 06:00 +0200
Subjectlinux-next: build failure after merge of the staging tree
Message-ID<utPcl-7D3-9@gated-at.bofh.it>
Hi Greg,

After merging the staging tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/iio/counter/stm32-lptimer-cnt.c:181:2: error: unknown field 'driver_module' specified in initializer
  .driver_module = THIS_MODULE,
  ^
In file included from include/linux/linkage.h:6:0,
                 from include/linux/kernel.h:6,
                 from include/asm-generic/bug.h:15,
                 from arch/x86/include/asm/bug.h:81,
                 from include/linux/bug.h:4,
                 from include/linux/bitfield.h:18,
                 from drivers/iio/counter/stm32-lptimer-cnt.c:13:
include/linux/export.h:35:21: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
 #define THIS_MODULE (&__this_module)
                     ^
drivers/iio/counter/stm32-lptimer-cnt.c:181:19: note: in expansion of macro 'THIS_MODULE'
  .driver_module = THIS_MODULE,
                   ^
include/linux/export.h:35:21: note: (near initialization for 'stm32_lptim_cnt_iio_info.write_raw_get_fmt')
 #define THIS_MODULE (&__this_module)
                     ^
drivers/iio/counter/stm32-lptimer-cnt.c:181:19: note: in expansion of macro 'THIS_MODULE'
  .driver_module = THIS_MODULE,
                   ^

Caused by commit

  97623c0a80a6 ("iio: drop iio_info.driver_module and iio_trigger_ops.owner.")

I have used the staging tree from next-20170922 for today.

-- 
Cheers,
Stephen Rothwell

[toc] | [next] | [standalone]


#1739530

FromJonathan Cameron <jic23@jic23.retrosnub.co.uk>
Date2017-09-26 08:20 +0200
Message-ID<utRnQ-Tp-11@gated-at.bofh.it>
In reply to#1739496

On 26 September 2017 04:54:41 BST, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>Hi Greg,
>
>After merging the staging tree, today's linux-next build (x86_64
>allmodconfig) failed like this:
>
>drivers/iio/counter/stm32-lptimer-cnt.c:181:2: error: unknown field
>'driver_module' specified in initializer
>  .driver_module = THIS_MODULE,
>  ^
>In file included from include/linux/linkage.h:6:0,
>                 from include/linux/kernel.h:6,
>                 from include/asm-generic/bug.h:15,
>                 from arch/x86/include/asm/bug.h:81,
>                 from include/linux/bug.h:4,
>                 from include/linux/bitfield.h:18,
>                 from drivers/iio/counter/stm32-lptimer-cnt.c:13:
>include/linux/export.h:35:21: error: initialization from incompatible
>pointer type [-Werror=incompatible-pointer-types]
> #define THIS_MODULE (&__this_module)
>                     ^
>drivers/iio/counter/stm32-lptimer-cnt.c:181:19: note: in expansion of
>macro 'THIS_MODULE'
>  .driver_module = THIS_MODULE,
>                   ^
>include/linux/export.h:35:21: note: (near initialization for
>'stm32_lptim_cnt_iio_info.write_raw_get_fmt')
> #define THIS_MODULE (&__this_module)
>                     ^
>drivers/iio/counter/stm32-lptimer-cnt.c:181:19: note: in expansion of
>macro 'THIS_MODULE'
>  .driver_module = THIS_MODULE,
>                   ^
>
>Caused by commit
>
>97623c0a80a6 ("iio: drop iio_info.driver_module and
>iio_trigger_ops.owner.")
>
>I have used the staging tree from next-20170922 for today.

Sorry, my mess up. Will send a patch dropping that line shortly..

Jonathan

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web