public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Thierry Reding <thierry.reding@gmail•com>,
	Dipen Patel <dipenp@nvidia•com>
Cc: Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
	Linux Next Mailing List <linux-next@vger•kernel.org>
Subject: linux-next: build failure after merge of the hte tree
Date: Wed, 4 May 2022 16:59:56 +1000	[thread overview]
Message-ID: <20220504165956.531c4b53@canb.auug.org.au> (raw)

[-- 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 --]

             reply	other threads:[~2022-05-04  7:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04  6:59 Stephen Rothwell [this message]
2022-05-04  7:04 ` linux-next: build failure after merge of the hte tree Thierry Reding
2022-05-05  3:17   ` Dipen Patel
2022-05-05 14:04     ` Thierry Reding
2022-05-05 18:11       ` Dipen Patel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220504165956.531c4b53@canb.auug.org.au \
    --to=sfr@canb$(echo .)auug.org.au \
    --cc=dipenp@nvidia$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=thierry.reding@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox