From: "Sahin, Okan" <Okan.Sahin@analog.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
kernel test robot <lkp@intel.com>
Cc: "llvm@lists.linux.dev" <llvm@lists.linux.dev>,
"oe-kbuild-all@lists.linux.dev" <oe-kbuild-all@lists.linux.dev>,
Linux Memory Management List <linux-mm@kvack.org>,
Lee Jones <lee@kernel.org>
Subject: RE: [linux-next:master 11546/12162] drivers/mfd/max77541.c:176:18: warning: cast to smaller integer type 'enum max7754x_ids' from 'const void *'
Date: Mon, 26 Jun 2023 09:54:52 +0000 [thread overview]
Message-ID: <MN2PR03MB51687DB73500E906779F7043E726A@MN2PR03MB5168.namprd03.prod.outlook.com> (raw)
In-Reply-To: <ZJlQ9w89k7x88ovM@smile.fi.intel.com>
>On Mon, Jun 26, 2023 at 04:53:43AM +0800, kernel test robot wrote:
>> tree:
>https://urldefense.com/v3/__https://git.kernel.org/pub/scm/linux/kernel/git/next/lin
>ux-
>next.git__;!!A3Ni8CS0y2Y!8_hG3CE9MEp7WGmtpHuJhRpyycfvZX2KSjXqlC8DQVkUWp
>cL2zcPVAFQpJ4KxsH35hJP2pmvm8bIz_FXyDwMkGeosibK3JnB$ master
>> head: 8d2be868b42c08290509c60515865f4de24ea704
>> commit: e0cbc202388af454eb771043b20db6dfe68199ec [11546/12162] mfd:
>max77541: Add ADI MAX77541/MAX77540 PMIC Support
>> config: x86_64-randconfig-r003-20230626
>(https://urldefense.com/v3/__https://download.01.org/0day-
>ci/archive/20230626/202306260401.qZlYQpV2-
>lkp@intel.com/config__;!!A3Ni8CS0y2Y!8_hG3CE9MEp7WGmtpHuJhRpyycfvZX2KSjXq
>lC8DQVkUWpcL2zcPVAFQpJ4KxsH35hJP2pmvm8bIz_FXyDwMkGeosrRvALWc$ )
>> compiler: clang version 15.0.7
>(https://urldefense.com/v3/__https://github.com/llvm/llvm-
>project.git__;!!A3Ni8CS0y2Y!8_hG3CE9MEp7WGmtpHuJhRpyycfvZX2KSjXqlC8DQVkU
>WpcL2zcPVAFQpJ4KxsH35hJP2pmvm8bIz_FXyDwMkGeosvqDz55X$
>8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
>> reproduce: (https://urldefense.com/v3/__https://download.01.org/0day-
>ci/archive/20230626/202306260401.qZlYQpV2-
>lkp@intel.com/reproduce__;!!A3Ni8CS0y2Y!8_hG3CE9MEp7WGmtpHuJhRpyycfvZX2K
>SjXqlC8DQVkUWpcL2zcPVAFQpJ4KxsH35hJP2pmvm8bIz_FXyDwMkGeosglKrEOj$ )
>>
>> 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://urldefense.com/v3/__https://lore.kernel.org/oe-kbuild-
>all/202306260401.qZlYQpV2-
>lkp@intel.com/__;!!A3Ni8CS0y2Y!8_hG3CE9MEp7WGmtpHuJhRpyycfvZX2KSjXqlC8DQ
>VkUWpcL2zcPVAFQpJ4KxsH35hJP2pmvm8bIz_FXyDwMkGeosnz2lU0N$
>>
>> All warnings (new ones prefixed by >>):
>>
>> >> drivers/mfd/max77541.c:176:18: warning: cast to smaller integer type 'enum
>max7754x_ids' from 'const void *' [-Wvoid-pointer-to-enum-cast]
>> max77541->id = (enum max7754x_ids)device_get_match_data(dev);
>
> max77541->id = (enum
>max7754x_ids)(uintptr_t)device_get_match_data(dev);
>
>should fix it.
>
>--
>With Best Regards,
>Andy Shevchenko
>
Hi Andy,
As far as I understand, I should update the code then resend it again, right?
Regards,
Okan Sahin
next prev parent reply other threads:[~2023-06-26 9:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-25 20:53 kernel test robot
2023-06-26 8:48 ` Andy Shevchenko
2023-06-26 9:54 ` Sahin, Okan [this message]
2023-06-26 11:25 ` Andy Shevchenko
2023-06-26 15:34 ` Lee Jones
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=MN2PR03MB51687DB73500E906779F7043E726A@MN2PR03MB5168.namprd03.prod.outlook.com \
--to=okan.sahin@analog.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=lee@kernel.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox