public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the hte tree
@ 2022-05-04  6:59 Stephen Rothwell
  2022-05-04  7:04 ` Thierry Reding
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2022-05-04  6:59 UTC (permalink / raw)
  To: Thierry Reding, Dipen Patel
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 2259 bytes --]

Hi all,

After merging the hte tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/gpio/gpiolib-cdev.c:572:8: error: unknown type name 'hte_return_t'
  572 | static hte_return_t process_hw_ts_thread(void *p)
      |        ^~~~~~~~~~~~
drivers/gpio/gpiolib-cdev.c:623:8: error: unknown type name 'hte_return_t'
  623 | static hte_return_t process_hw_ts(struct hte_ts_data *ts, void *p)
      |        ^~~~~~~~~~~~
drivers/gpio/gpiolib-cdev.c: In function 'hte_edge_setup':
drivers/gpio/gpiolib-cdev.c:851:41: error: passing argument 2 of 'hte_request_ts_ns' from incompatible pointer type [-Werror=incompatible-pointer-types]
  851 |         return hte_request_ts_ns(hdesc, process_hw_ts,
      |                                         ^~~~~~~~~~~~~
      |                                         |
      |                                         int (*)(struct hte_ts_data *, void *)
In file included from drivers/gpio/gpiolib-cdev.c:27:
include/linux/hte.h:234:75: note: expected 'hte_ts_cb_t' {aka 'enum hte_return (*)(struct hte_ts_data *, void *)'} but argument is of type 'int (*)(struct hte_ts_data *, void *)'
  234 | static inline int hte_request_ts_ns(struct hte_ts_desc *desc, hte_ts_cb_t cb,
      |                                                               ~~~~~~~~~~~~^~
drivers/gpio/gpiolib-cdev.c:852:34: error: passing argument 3 of 'hte_request_ts_ns' from incompatible pointer type [-Werror=incompatible-pointer-types]
  852 |                                  process_hw_ts_thread, line);
      |                                  ^~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  int (*)(void *)
In file included from drivers/gpio/gpiolib-cdev.c:27:
include/linux/hte.h:235:53: note: expected 'hte_ts_sec_cb_t' {aka 'enum hte_return (*)(void *)'} but argument is of type 'int (*)(void *)'
  235 |                                     hte_ts_sec_cb_t tcb, void *data)
      |                                     ~~~~~~~~~~~~~~~~^~~
cc1: some warnings being treated as errors

Something has been missed in the contruction of the git tree :-(

I have dropped the hte tree for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2022-05-05 18:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-04  6:59 linux-next: build failure after merge of the hte tree Stephen Rothwell
2022-05-04  7:04 ` Thierry Reding
2022-05-05  3:17   ` Dipen Patel
2022-05-05 14:04     ` Thierry Reding
2022-05-05 18:11       ` Dipen Patel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox