Hi Taniya, Thank you for the patch! Yet something to improve: [auto build test ERROR on clk/clk-next] [also build test ERROR on next-20180613] [cannot apply to v4.17] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Taniya-Das/Add-display-clock-controller-driver-for-SDM845/20180613-183754 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next config: sh-allmodconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree GCC_VERSION=7.2.0 make.cross ARCH=sh All error/warnings (new ones prefixed by >>): >> drivers/clk/qcom/dispcc-sdm845.c:130:2: error: implicit declaration of function 'F' [-Werror=implicit-function-declaration] F(19200000, P_BI_TCXO, 1, 0, 0), ^ >> drivers/clk/qcom/dispcc-sdm845.c:130:2: error: initializer element is not constant drivers/clk/qcom/dispcc-sdm845.c:130:2: note: (near initialization for 'ftbl_disp_cc_mdss_esc0_clk_src[0].freq') >> drivers/clk/qcom/dispcc-sdm845.c:131:2: warning: braces around scalar initializer { } ^ drivers/clk/qcom/dispcc-sdm845.c:131:2: note: (near initialization for 'ftbl_disp_cc_mdss_esc0_clk_src[0].src') drivers/clk/qcom/dispcc-sdm845.c:163:2: error: initializer element is not constant F(19200000, P_BI_TCXO, 1, 0, 0), ^ drivers/clk/qcom/dispcc-sdm845.c:163:2: note: (near initialization for 'ftbl_disp_cc_mdss_mdp_clk_src[0].freq') drivers/clk/qcom/dispcc-sdm845.c:164:2: error: initializer element is not constant F(85714286, P_GPLL0_OUT_MAIN, 7, 0, 0), ^ drivers/clk/qcom/dispcc-sdm845.c:164:2: note: (near initialization for 'ftbl_disp_cc_mdss_mdp_clk_src[0].src') drivers/clk/qcom/dispcc-sdm845.c:165:2: error: initializer element is not constant F(100000000, P_GPLL0_OUT_MAIN, 6, 0, 0), ^ drivers/clk/qcom/dispcc-sdm845.c:165:2: note: (near initialization for 'ftbl_disp_cc_mdss_mdp_clk_src[0].pre_div') drivers/clk/qcom/dispcc-sdm845.c:166:2: error: initializer element is not constant F(150000000, P_GPLL0_OUT_MAIN, 4, 0, 0), ^ drivers/clk/qcom/dispcc-sdm845.c:166:2: note: (near initialization for 'ftbl_disp_cc_mdss_mdp_clk_src[0].m') drivers/clk/qcom/dispcc-sdm845.c:167:2: error: initializer element is not constant F(171428571, P_GPLL0_OUT_MAIN, 3.5, 0, 0), ^ drivers/clk/qcom/dispcc-sdm845.c:167:2: note: (near initialization for 'ftbl_disp_cc_mdss_mdp_clk_src[0].n') drivers/clk/qcom/dispcc-sdm845.c:168:2: error: initializer element is not constant F(200000000, P_GPLL0_OUT_MAIN, 3, 0, 0), ^ drivers/clk/qcom/dispcc-sdm845.c:168:2: note: (near initialization for 'ftbl_disp_cc_mdss_mdp_clk_src[1].freq') drivers/clk/qcom/dispcc-sdm845.c:169:2: error: initializer element is not constant F(300000000, P_GPLL0_OUT_MAIN, 2, 0, 0), ^ drivers/clk/qcom/dispcc-sdm845.c:169:2: note: (near initialization for 'ftbl_disp_cc_mdss_mdp_clk_src[1].src') drivers/clk/qcom/dispcc-sdm845.c:170:2: error: initializer element is not constant F(344000000, P_DISP_CC_PLL0_OUT_MAIN, 2.5, 0, 0), ^ drivers/clk/qcom/dispcc-sdm845.c:170:2: note: (near initialization for 'ftbl_disp_cc_mdss_mdp_clk_src[1].pre_div') drivers/clk/qcom/dispcc-sdm845.c:171:2: error: initializer element is not constant F(430000000, P_DISP_CC_PLL0_OUT_MAIN, 2, 0, 0), ^ drivers/clk/qcom/dispcc-sdm845.c:171:2: note: (near initialization for 'ftbl_disp_cc_mdss_mdp_clk_src[1].m') drivers/clk/qcom/dispcc-sdm845.c:172:2: warning: braces around scalar initializer { } ^ drivers/clk/qcom/dispcc-sdm845.c:172:2: note: (near initialization for 'ftbl_disp_cc_mdss_mdp_clk_src[1].n') drivers/clk/qcom/dispcc-sdm845.c:218:2: error: initializer element is not constant F(19200000, P_BI_TCXO, 1, 0, 0), ^ drivers/clk/qcom/dispcc-sdm845.c:218:2: note: (near initialization for 'ftbl_disp_cc_mdss_rot_clk_src[0].freq') drivers/clk/qcom/dispcc-sdm845.c:219:2: error: initializer element is not constant F(171428571, P_GPLL0_OUT_MAIN, 3.5, 0, 0), ^ drivers/clk/qcom/dispcc-sdm845.c:219:2: note: (near initialization for 'ftbl_disp_cc_mdss_rot_clk_src[0].src') drivers/clk/qcom/dispcc-sdm845.c:220:2: error: initializer element is not constant F(300000000, P_GPLL0_OUT_MAIN, 2, 0, 0), ^ drivers/clk/qcom/dispcc-sdm845.c:220:2: note: (near initialization for 'ftbl_disp_cc_mdss_rot_clk_src[0].pre_div') drivers/clk/qcom/dispcc-sdm845.c:221:2: error: initializer element is not constant F(344000000, P_DISP_CC_PLL0_OUT_MAIN, 2.5, 0, 0), ^ drivers/clk/qcom/dispcc-sdm845.c:221:2: note: (near initialization for 'ftbl_disp_cc_mdss_rot_clk_src[0].m') drivers/clk/qcom/dispcc-sdm845.c:222:2: error: initializer element is not constant F(430000000, P_DISP_CC_PLL0_OUT_MAIN, 2, 0, 0), ^ drivers/clk/qcom/dispcc-sdm845.c:222:2: note: (near initialization for 'ftbl_disp_cc_mdss_rot_clk_src[0].n') cc1: some warnings being treated as errors vim +/F +130 drivers/clk/qcom/dispcc-sdm845.c 128 129 static const struct freq_tbl ftbl_disp_cc_mdss_esc0_clk_src[] = { > 130 F(19200000, P_BI_TCXO, 1, 0, 0), > 131 { } 132 }; 133 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip