From: kernel test robot <lkp@intel.com>
To: Brian Masney <bmasney@redhat.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [masneyb:clk-remove-round-rate 174/204] drivers/net/ethernet/cadence/macb_main.c:4856:9: error: member reference type 'struct clk_rate_request' is not a pointer; did you mean to use '.'?
Date: Fri, 11 Jul 2025 11:10:31 +0800 [thread overview]
Message-ID: <202507111117.YXMNEEQe-lkp@intel.com> (raw)
tree: https://github.com/masneyb/linux clk-remove-round-rate
head: 8851da05a900556018f975b6ca1691e13d24fc50
commit: eea9100f42b58ca73af101e3b582f49be56eb679 [174/204] net: cadence: macb: convert from round_rate() to determine_rate()
config: x86_64-buildonly-randconfig-002-20250711 (https://download.01.org/0day-ci/archive/20250711/202507111117.YXMNEEQe-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250711/202507111117.YXMNEEQe-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/202507111117.YXMNEEQe-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/ethernet/cadence/macb_main.c:4856:9: error: member reference type 'struct clk_rate_request' is not a pointer; did you mean to use '.'?
4856 | if (req->rate != 125000000)
| ~~~^~
| .
1 error generated.
vim +4856 drivers/net/ethernet/cadence/macb_main.c
4844
4845 static int fu540_macb_tx_set_rate(struct clk_hw *hw, unsigned long rate,
4846 unsigned long parent_rate)
4847 {
4848 struct clk_rate_request req;
4849 int ret;
4850
4851 clk_hw_init_rate_request(hw, &req, rate);
4852 ret = fu540_macb_tx_determine_rate(hw, &req);
4853 if (ret != 0)
4854 return ret;
4855
> 4856 if (req->rate != 125000000)
4857 iowrite32(1, mgmt->reg);
4858 else
4859 iowrite32(0, mgmt->reg);
4860 mgmt->rate = rate;
4861
4862 return 0;
4863 }
4864
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-07-11 3:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202507111117.YXMNEEQe-lkp@intel.com \
--to=lkp@intel.com \
--cc=bmasney@redhat.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 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.