Hi Krishna, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on krzk/for-next linus/master v5.18-rc6 next-20220511] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Krishna-Kurapati/Add-QCOM-SNPS-PHY-overriding-params-support/20220511-232858 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: riscv-randconfig-r033-20220509 (https://download.01.org/0day-ci/archive/20220512/202205120931.JrA2orb3-lkp@xxxxxxxxx/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 18dd123c56754edf62c7042dcf23185c3727610f) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/48c46f24873c92d3e16904af9e654962d0b923f1 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Krishna-Kurapati/Add-QCOM-SNPS-PHY-overriding-params-support/20220511-232858 git checkout 48c46f24873c92d3e16904af9e654962d0b923f1 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c:541:29: error: initializing 'struct override_param_map *' with an expression of type 'const void *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] struct override_param_map *cfg = of_device_get_match_data(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. vim +541 drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c 534 535 static void qcom_snps_hsphy_read_override_param_seq(struct device *dev) 536 { 537 struct device_node *node = dev->of_node; 538 s32 val; 539 int ret, i; 540 struct qcom_snps_hsphy *hsphy; > 541 struct override_param_map *cfg = of_device_get_match_data(dev); 542 543 hsphy = dev_get_drvdata(dev); 544 545 for (i = 0; i < ARRAY_SIZE(phy_seq_props); i++) { 546 ret = of_property_read_s32(node, phy_seq_props[i], &val); 547 if (!ret) { 548 dev_dbg(&hsphy->phy->dev, "Read param: %s val: %d\n", 549 phy_seq_props[i], val); 550 qcom_snps_hsphy_override_param_update_val(cfg[i], val, 551 &hsphy->update_seq_cfg[i]); 552 } 553 } 554 } 555 -- 0-DAY CI Kernel Test Service https://01.org/lkp