[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <26ce1ec2-effc-435f-8349-a12667973d92@app.fastmail.com>
Date: Fri, 04 Nov 2022 09:14:29 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "kernel test robot" <lkp@...el.com>,
"Sven Peter" <sven@...npeter.dev>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, "Hector Martin" <marcan@...can.st>
Subject: Re: drivers/soc/apple/sart.c:190:38: warning: cast from 'void (*)(struct
device *)' to 'void (*)(void *)' converts to incompatible function type
On Fri, Nov 4, 2022, at 09:01, kernel test robot wrote:
>
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@...el.com>
Thanks for the report!
>>> drivers/soc/apple/sart.c:190:38: warning: cast from 'void (*)(struct device *)' to 'void (*)(void *)' converts to incompatible function type [-Wcast-function-type-strict]
>
> ret = devm_add_action_or_reset(dev, (void (*)(void *))put_device,
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sven, can you send a patch to add the missing helper function that calls
put_device?
Arnd
Powered by blists - more mailing lists