From: Nathan Chancellor <nathan@kernel.org>
To: kernel test robot <lkp@intel.com>
Cc: Qunqin Zhao <zhaoqunqin@loongson.cn>,
llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Lee Jones <lee@kernel.org>, Yinggang Gu <guyinggang@loongson.cn>,
Huacai Chen <chenhuacai@loongson.cn>,
Jarkko Sakkinen <jarkko@kernel.org>
Subject: Re: [linux-next:master 4719/11136] drivers/char/tpm/tpm_loongson.c:48:10: error: incompatible function pointer types initializing 'int (*)(struct tpm_chip *, u8 *, size_t, size_t)' (aka 'int (*)(struct tpm_chip *, unsigned char *, unsigned long, unsigned long)') with an expression of type ...
Date: Mon, 22 Sep 2025 10:02:50 -0700 [thread overview]
Message-ID: <20250922170250.GA243363@ax162> (raw)
In-Reply-To: <202509211250.mD8JS2nu-lkp@intel.com>
On Sun, Sep 21, 2025 at 12:32:27PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 846bd2225ec3cfa8be046655e02b9457ed41973e
> commit: 5c83b07df9c5a6e063328c5b885de79f8e8f0263 [4719/11136] tpm: Add a driver for Loongson TPM device
> config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20250921/202509211250.mD8JS2nu-lkp@intel.com/config)
> compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250921/202509211250.mD8JS2nu-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202509211250.mD8JS2nu-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
...
> >> drivers/char/tpm/tpm_loongson.c:48:10: error: incompatible function pointer types initializing 'int (*)(struct tpm_chip *, u8 *, size_t, size_t)' (aka 'int (*)(struct tpm_chip *, unsigned char *, unsigned long, unsigned long)') with an expression of type 'int (struct tpm_chip *, u8 *, size_t)' (aka 'int (struct tpm_chip *, unsigned char *, unsigned long)') [-Wincompatible-function-pointer-types]
> 48 | .send = tpm_loongson_send,
> | ^~~~~~~~~~~~~~~~~
> 1 warning and 1 error generated.
Should be resolved with
https://lore.kernel.org/all/20250917-tpm-loongson-add-bufsiz-v1-1-972a75c0aab2@kernel.org/
Cheers,
Nathan
prev parent reply other threads:[~2025-09-22 17:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-21 4:32 [linux-next:master 4719/11136] drivers/char/tpm/tpm_loongson.c:48:10: error: incompatible function pointer types initializing 'int (*)(struct tpm_chip *, u8 *, size_t, size_t)' (aka 'int (*)(struct tpm_chip *, unsigned char *, unsigned long, unsigned long)') with an expression of type kernel test robot
2025-09-22 17:02 ` Nathan Chancellor [this message]
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=20250922170250.GA243363@ax162 \
--to=nathan@kernel.org \
--cc=chenhuacai@loongson.cn \
--cc=guyinggang@loongson.cn \
--cc=jarkko@kernel.org \
--cc=lee@kernel.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=zhaoqunqin@loongson.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.