From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B632CE79A9 for ; Tue, 19 Sep 2023 15:51:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232139AbjISPvg (ORCPT ); Tue, 19 Sep 2023 11:51:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230010AbjISPve (ORCPT ); Tue, 19 Sep 2023 11:51:34 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC6CB93 for ; Tue, 19 Sep 2023 08:51:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695138688; x=1726674688; h=date:from:to:cc:subject:message-id:mime-version; bh=0K9EHyvRjvCf+K2LA48v9sIcYCTbDCh/cmOauiIFX8w=; b=d+xXMDWesBMTLBWzxiRtNBf/sQHG9XJrtiUM5qvcCm2cqvqukPzMq8YQ f8UNxs9l0eTsMGhUytV58RnD2YK9eS+MCCdRB8YTCgX+Nu12/YuDLW/nR 29CsvbhANMs72Q+M+S+wccmbNwCRKTRA95sX5qupHSsS5sfziBQcIzFwS 5lKg6LuCaJr2gmmsgW7rjolmkHOA+RFj7V4clXcdcsUHs+asZpAuPQ3R/ WZAftbqIz4xSHMNGAHZ/uJst4/n1oho5V3vlDjI1oK8VTXPvhFatOY7ny 6JJ0gc8Yu0BTGrJH8UV6eCKIT1xXm20YhknkIbh6OML4PbP7aeLClXLLs w==; X-IronPort-AV: E=McAfee;i="6600,9927,10838"; a="377291642" X-IronPort-AV: E=Sophos;i="6.02,159,1688454000"; d="scan'208";a="377291642" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2023 08:51:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10838"; a="836481884" X-IronPort-AV: E=Sophos;i="6.02,159,1688454000"; d="scan'208";a="836481884" Received: from lkp-server02.sh.intel.com (HELO 9ef86b2655e5) ([10.239.97.151]) by FMSMGA003.fm.intel.com with ESMTP; 19 Sep 2023 08:51:27 -0700 Received: from kbuild by 9ef86b2655e5 with local (Exim 4.96) (envelope-from ) id 1qid0W-0007a6-2z; Tue, 19 Sep 2023 15:51:24 +0000 Date: Tue, 19 Sep 2023 23:50:27 +0800 From: kernel test robot To: Dmitry Baryshkov Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Jeykumar Sankaran Subject: include/drm/drm_print.h:524:49: warning: '%4.4s' directive argument is null Message-ID: <202309192301.fMQKWYsm-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2cf0f715623872823a72e451243bbf555d10d032 commit: 48b3207e4ed9e5140c69e229b697373f233419c8 drm/msm/dpu: simplify CDP programming date: 4 months ago config: sparc-randconfig-r014-20230610 (https://download.01.org/0day-ci/archive/20230919/202309192301.fMQKWYsm-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230919/202309192301.fMQKWYsm-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202309192301.fMQKWYsm-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from include/drm/drm_mm.h:51, from include/drm/drm_vma_manager.h:26, from include/drm/drm_gem.h:40, from drivers/gpu/drm/msm/msm_drv.h:34, from drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c:20: In function '_dpu_plane_set_qos_lut', inlined from 'dpu_plane_sspp_update_pipe' at drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c:1126:2: >> include/drm/drm_print.h:524:49: warning: '%4.4s' directive argument is null [-Wformat-overflow=] 524 | #define __drm_dbg(cat, fmt, ...) ___drm_dbg(NULL, cat, fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/drm/drm_print.h:582:9: note: in expansion of macro '__drm_dbg' 582 | __drm_dbg(DRM_UT_ATOMIC, fmt, ##__VA_ARGS__) | ^~~~~~~~~ drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c:29:39: note: in expansion of macro 'DRM_DEBUG_ATOMIC' 29 | #define DPU_DEBUG_PLANE(pl, fmt, ...) DRM_DEBUG_ATOMIC("plane%d " fmt,\ | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c:291:9: note: in expansion of macro 'DPU_DEBUG_PLANE' 291 | DPU_DEBUG_PLANE(pdpu, "pnum:%d fmt: %4.4s rt:%d fl:%u lut:0x%llx\n", | ^~~~~~~~~~~~~~~ vim +524 include/drm/drm_print.h 3bf149bd3fe12a Jani Nikula 2019-10-28 522 84ec67288c10fb Jim Cromie 2022-09-11 523 #if !defined(CONFIG_DRM_USE_DYNAMIC_DEBUG) d987150b539271 Wayne Lin 2022-12-23 @524 #define __drm_dbg(cat, fmt, ...) ___drm_dbg(NULL, cat, fmt, ##__VA_ARGS__) 84ec67288c10fb Jim Cromie 2022-09-11 525 #else 84ec67288c10fb Jim Cromie 2022-09-11 526 #define __drm_dbg(cat, fmt, ...) \ 16deeb8e18cafd Jim Cromie 2022-09-11 527 _dynamic_func_call_cls(cat, fmt, ___drm_dbg, \ 84ec67288c10fb Jim Cromie 2022-09-11 528 cat, fmt, ##__VA_ARGS__) 84ec67288c10fb Jim Cromie 2022-09-11 529 #endif e820f52577b14c Jim Cromie 2022-09-11 530 :::::: The code at line 524 was first introduced by commit :::::: d987150b539271b0394f24c1c648d2846662adb4 drm/drm_print: correct format problem :::::: TO: Wayne Lin :::::: CC: Alex Deucher -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki