Re: [PATCH v2 1/4] interconnect: qcom: icc-rpmh: Add QoS configuration support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Odelu,

kernel test robot noticed the following build errors:

[auto build test ERROR on robh/for-next]
[also build test ERROR on linus/master v6.8-rc3 next-20240205]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Odelu-Kukatla/interconnect-qcom-icc-rpmh-Add-QoS-configuration-support/20240205-230208
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link:    https://lore.kernel.org/r/20240205145606.16936-2-quic_okukatla%40quicinc.com
patch subject: [PATCH v2 1/4] interconnect: qcom: icc-rpmh: Add QoS configuration support
config: arm-allmodconfig (https://download.01.org/0day-ci/archive/20240206/202402061541.oNi4V6C6-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240206/202402061541.oNi4V6C6-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402061541.oNi4V6C6-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   drivers/interconnect/qcom/icc-rpmh.c: In function 'qcom_icc_set_qos':
>> drivers/interconnect/qcom/icc-rpmh.c:46:36: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration]
      46 |                                    FIELD_PREP(QOS_DISABLE_MASK, qos->prio_fwd_disable));
         |                                    ^~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/FIELD_PREP +46 drivers/interconnect/qcom/icc-rpmh.c

    25	
    26	/**
    27	 * qcom_icc_set_qos - initialize static QoS configurations
    28	 * @qp: qcom icc provider to which @node belongs
    29	 * @node: qcom icc node to operate on
    30	 */
    31	static void qcom_icc_set_qos(struct qcom_icc_provider *qp,
    32					struct qcom_icc_node *node)
    33	{
    34		const struct qcom_icc_qosbox *qos = node->qosbox;
    35		int port;
    36	
    37		if (!qp->regmap)
    38			return;
    39	
    40		if (!qos)
    41			return;
    42	
    43		for (port = 0; port < qos->num_ports; port++) {
    44			regmap_update_bits(qp->regmap, QOSGEN_MAINCTL_LO(qos, port),
    45					   QOS_DISABLE_MASK,
  > 46					   FIELD_PREP(QOS_DISABLE_MASK, qos->prio_fwd_disable));
    47	
    48			regmap_update_bits(qp->regmap, QOSGEN_MAINCTL_LO(qos, port),
    49					   QOS_DFLT_PRIO_MASK,
    50					   FIELD_PREP(QOS_DFLT_PRIO_MASK, qos->prio));
    51	
    52			regmap_update_bits(qp->regmap, QOSGEN_MAINCTL_LO(qos, port),
    53					   QOS_SLV_URG_MSG_EN_MASK,
    54					   FIELD_PREP(QOS_SLV_URG_MSG_EN_MASK, qos->urg_fwd));
    55		}
    56	}
    57	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux