All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [vsyrjala:crtc_clock_compute_3 5/7] drivers/gpu/drm/i915/display/intel_dpll_mgr.c:3651 icl_compute_tc_phy_dplls() warn: signedness bug returning '(-22)'
Date: Sat, 03 Oct 2020 23:29:04 +0800	[thread overview]
Message-ID: <202010032359.QuCorbZx-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3498 bytes --]

CC: kbuild-all(a)lists.01.org
TO: "Ville Syrjälä" <ville.syrjala@linux.intel.com>

tree:   https://github.com/vsyrjala/linux.git crtc_clock_compute_3
head:   97c4a030c083dd28779000e380017473c63f7104
commit: e841fdbda72be2d2156b6e85b46595724f53eb7f [5/7] drm/i915: Split shared dpll .get_dplls into compute and get phases
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: i386-randconfig-m021-20201002 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
drivers/gpu/drm/i915/display/intel_dpll_mgr.c:3651 icl_compute_tc_phy_dplls() warn: signedness bug returning '(-22)'

vim +3651 drivers/gpu/drm/i915/display/intel_dpll_mgr.c

726ca99666dba06 drivers/gpu/drm/i915/display/intel_dpll_mgr.c Imre Deak             2019-06-28  3639  
e841fdbda72be2d drivers/gpu/drm/i915/display/intel_dpll_mgr.c Ville Syrjälä         2020-10-01  3640  static bool icl_compute_tc_phy_dplls(struct intel_atomic_state *state,
e841fdbda72be2d drivers/gpu/drm/i915/display/intel_dpll_mgr.c Ville Syrjälä         2020-10-01  3641  				     struct intel_crtc *crtc)
c27e917e2bda748 drivers/gpu/drm/i915/intel_dpll_mgr.c         Paulo Zanoni          2018-04-27  3642  {
866955fa452e1f3 drivers/gpu/drm/i915/display/intel_dpll_mgr.c Imre Deak             2019-06-28  3643  	struct drm_i915_private *dev_priv = to_i915(state->base.dev);
866955fa452e1f3 drivers/gpu/drm/i915/display/intel_dpll_mgr.c Imre Deak             2019-06-28  3644  	struct intel_crtc_state *crtc_state =
866955fa452e1f3 drivers/gpu/drm/i915/display/intel_dpll_mgr.c Imre Deak             2019-06-28  3645  		intel_atomic_get_new_crtc_state(state, crtc);
e841fdbda72be2d drivers/gpu/drm/i915/display/intel_dpll_mgr.c Ville Syrjälä         2020-10-01  3646  	struct icl_port_dpll *port_dpll =
e841fdbda72be2d drivers/gpu/drm/i915/display/intel_dpll_mgr.c Ville Syrjälä         2020-10-01  3647  		&crtc_state->icl_port_dplls[ICL_PORT_DPLL_DEFAULT];
fc6200948275383 drivers/gpu/drm/i915/display/intel_dpll_mgr.c Imre Deak             2020-06-29  3648  	struct skl_wrpll_params pll_params = {};
17a3b15ac6afc7e drivers/gpu/drm/i915/intel_dpll_mgr.c         José Roberto de Souza 2018-10-30  3649  
e841fdbda72be2d drivers/gpu/drm/i915/display/intel_dpll_mgr.c Ville Syrjälä         2020-10-01  3650  	if (!icl_calc_tbt_pll(crtc_state, &pll_params))
e841fdbda72be2d drivers/gpu/drm/i915/display/intel_dpll_mgr.c Ville Syrjälä         2020-10-01 @3651  		return -EINVAL;
c27e917e2bda748 drivers/gpu/drm/i915/intel_dpll_mgr.c         Paulo Zanoni          2018-04-27  3652  
fc6200948275383 drivers/gpu/drm/i915/display/intel_dpll_mgr.c Imre Deak             2020-06-29  3653  	icl_calc_dpll_state(dev_priv, &pll_params, &port_dpll->hw_state);
fc6200948275383 drivers/gpu/drm/i915/display/intel_dpll_mgr.c Imre Deak             2020-06-29  3654  
e841fdbda72be2d drivers/gpu/drm/i915/display/intel_dpll_mgr.c Ville Syrjälä         2020-10-01  3655  	return 0;
e841fdbda72be2d drivers/gpu/drm/i915/display/intel_dpll_mgr.c Ville Syrjälä         2020-10-01  3656  }
e841fdbda72be2d drivers/gpu/drm/i915/display/intel_dpll_mgr.c Ville Syrjälä         2020-10-01  3657  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32883 bytes --]

             reply	other threads:[~2020-10-03 15:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-03 15:29 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-10-07  7:39 [vsyrjala:crtc_clock_compute_3 5/7] drivers/gpu/drm/i915/display/intel_dpll_mgr.c:3651 icl_compute_tc_phy_dplls() warn: signedness bug returning '(-22)' Dan Carpenter
2020-10-07  7:39 ` Dan Carpenter

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=202010032359.QuCorbZx-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.org \
    /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.