[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220504165956.531c4b53@canb.auug.org.au>
Date: Wed, 4 May 2022 16:59:56 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Thierry Reding <thierry.reding@...il.com>,
Dipen Patel <dipenp@...dia.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: build failure after merge of the hte tree
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
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists