* [intel-lts:4.19/android_s 3755/30000] drivers/gpu/drm/i915/intel_hdcp.c:772:5: warning: no previous declaration for 'intel_hdcp_enable'
@ 2023-09-06 20:53 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-06 20:53 UTC (permalink / raw)
To: Romli, Khairul Anuar; +Cc: oe-kbuild-all, Pan, Kris
tree: https://github.com/intel/linux-intel-lts.git 4.19/android_s
head: 6bfae51123c09ed71d82cfc739c5ccbeac60c4aa
commit: a82c652f55df396b641e6812b7078e328bbae280 [3755/30000] drm/i915: Commit CP without modeset
config: i386-randconfig-013-20230907 (https://download.01.org/0day-ci/archive/20230907/202309070437.AW3gmtpg-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230907/202309070437.AW3gmtpg-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/202309070437.AW3gmtpg-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/i915/intel_hdcp.c:772:5: warning: no previous declaration for 'intel_hdcp_enable' [-Wmissing-declarations]
int intel_hdcp_enable(struct intel_connector *connector)
^~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/i915/intel_hdcp.c:784:5: warning: no previous declaration for 'intel_hdcp_disable' [-Wmissing-declarations]
int intel_hdcp_disable(struct intel_connector *connector)
^~~~~~~~~~~~~~~~~~
vim +/intel_hdcp_enable +772 drivers/gpu/drm/i915/intel_hdcp.c
ee5e5e7a5e0fde Sean Paul 2018-01-08 771
ee5e5e7a5e0fde Sean Paul 2018-01-08 @772 int intel_hdcp_enable(struct intel_connector *connector)
ee5e5e7a5e0fde Sean Paul 2018-01-08 773 {
ee5e5e7a5e0fde Sean Paul 2018-01-08 774 if (!connector->hdcp_shim)
ee5e5e7a5e0fde Sean Paul 2018-01-08 775 return -ENOENT;
ee5e5e7a5e0fde Sean Paul 2018-01-08 776
ee5e5e7a5e0fde Sean Paul 2018-01-08 777 mutex_lock(&connector->hdcp_mutex);
c01ebc711af8f6 Romli, Khairul Anuar 2018-09-19 778 schedule_work(&connector->hdcp_enable_work);
ee5e5e7a5e0fde Sean Paul 2018-01-08 779 mutex_unlock(&connector->hdcp_mutex);
c01ebc711af8f6 Romli, Khairul Anuar 2018-09-19 780
c01ebc711af8f6 Romli, Khairul Anuar 2018-09-19 781 return 0;
ee5e5e7a5e0fde Sean Paul 2018-01-08 782 }
ee5e5e7a5e0fde Sean Paul 2018-01-08 783
ee5e5e7a5e0fde Sean Paul 2018-01-08 @784 int intel_hdcp_disable(struct intel_connector *connector)
ee5e5e7a5e0fde Sean Paul 2018-01-08 785 {
01468d6c711a31 Sean Paul 2018-01-09 786 int ret = 0;
ee5e5e7a5e0fde Sean Paul 2018-01-08 787
ee5e5e7a5e0fde Sean Paul 2018-01-08 788 if (!connector->hdcp_shim)
ee5e5e7a5e0fde Sean Paul 2018-01-08 789 return -ENOENT;
ee5e5e7a5e0fde Sean Paul 2018-01-08 790
ee5e5e7a5e0fde Sean Paul 2018-01-08 791 mutex_lock(&connector->hdcp_mutex);
ee5e5e7a5e0fde Sean Paul 2018-01-08 792
01468d6c711a31 Sean Paul 2018-01-09 793 if (connector->hdcp_value != DRM_MODE_CONTENT_PROTECTION_UNDESIRED) {
ee5e5e7a5e0fde Sean Paul 2018-01-08 794 connector->hdcp_value = DRM_MODE_CONTENT_PROTECTION_UNDESIRED;
ee5e5e7a5e0fde Sean Paul 2018-01-08 795 ret = _intel_hdcp_disable(connector);
01468d6c711a31 Sean Paul 2018-01-09 796 }
ee5e5e7a5e0fde Sean Paul 2018-01-08 797
ee5e5e7a5e0fde Sean Paul 2018-01-08 798 mutex_unlock(&connector->hdcp_mutex);
ee5e5e7a5e0fde Sean Paul 2018-01-08 799 cancel_delayed_work_sync(&connector->hdcp_check_work);
ee5e5e7a5e0fde Sean Paul 2018-01-08 800 return ret;
ee5e5e7a5e0fde Sean Paul 2018-01-08 801 }
ee5e5e7a5e0fde Sean Paul 2018-01-08 802
:::::: The code at line 772 was first introduced by commit
:::::: ee5e5e7a5e0fdeca5add8de6314b1f0a62604bdf drm/i915: Add HDCP framework + base implementation
:::::: TO: Sean Paul <seanpaul@chromium.org>
:::::: CC: Sean Paul <seanpaul@chromium.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-06 20:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-06 20:53 [intel-lts:4.19/android_s 3755/30000] drivers/gpu/drm/i915/intel_hdcp.c:772:5: warning: no previous declaration for 'intel_hdcp_enable' kernel test robot
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.