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 26948C64ED8 for ; Mon, 27 Feb 2023 18:32:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229903AbjB0ScA (ORCPT ); Mon, 27 Feb 2023 13:32:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229668AbjB0Sb6 (ORCPT ); Mon, 27 Feb 2023 13:31:58 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF0351E2A0 for ; Mon, 27 Feb 2023 10:31:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677522716; x=1709058716; h=date:from:to:cc:subject:message-id:mime-version; bh=kpZSX7WkPjEJqi2glUW8/7+AKoqRKziAJ5rqZIaoPCI=; b=XPpjxVOeoVSzmFL0b9YUqIdjPnGX4wMOlc2ZNMQSNeBtHUK7hsrDk1hG xFV8CKSZ/3q8DoUv8q5XoJHQcpdfM/plGdU6Fi6R50VxQngbn+3uWVkBu Yd5jpl82+furRPEeiRwgxnk93dmhIZM+TX+dsHz9ABrOXiJn2uxp4vX3R 1HgfBGUoik9BfejYerwrU/ixf4YHJlRz/zowjXtamBk77coWxFXACeBZP zKDESWAhzwOBttMkjGgKaJvNaLZppHVyd38nzG55ZCFptd0YRi6R7kXyq Ol128lSq2370aupjw82AIQRtbVnFNJhx1d/CImVPUp8vZlafyQ9Sg8xGJ A==; X-IronPort-AV: E=McAfee;i="6500,9779,10634"; a="398710450" X-IronPort-AV: E=Sophos;i="5.98,219,1673942400"; d="scan'208";a="398710450" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2023 10:31:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10634"; a="742673243" X-IronPort-AV: E=Sophos;i="5.98,219,1673942400"; d="scan'208";a="742673243" Received: from lkp-server01.sh.intel.com (HELO 3895f5c55ead) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 27 Feb 2023 10:31:54 -0800 Received: from kbuild by 3895f5c55ead with local (Exim 4.96) (envelope-from ) id 1pWiHx-0004fm-1Y; Mon, 27 Feb 2023 18:31:53 +0000 Date: Tue, 28 Feb 2023 02:31:37 +0800 From: kernel test robot To: Yogesh Lal Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Bjorn Andersson , Sibi Sankar Subject: drivers/remoteproc/qcom_q6v5_pas.c:108:6: warning: no previous prototype for 'adsp_segment_dump' Message-ID: <202302280207.ZJXOPdxl-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 Hi Yogesh, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f3a2439f20d918930cc4ae8f76fe1c1afd26958f commit: a376c10d45a8e6ee5ea55791193f90625b35e156 remoteproc: qcom: pas: Adjust the phys addr wrt the mem region date: 13 days ago config: arm64-randconfig-r004-20230226 (https://download.01.org/0day-ci/archive/20230228/202302280207.ZJXOPdxl-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a376c10d45a8e6ee5ea55791193f90625b35e156 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout a376c10d45a8e6ee5ea55791193f90625b35e156 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/remoteproc/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202302280207.ZJXOPdxl-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/remoteproc/qcom_q6v5_pas.c:108:6: warning: no previous prototype for 'adsp_segment_dump' [-Wmissing-prototypes] 108 | void adsp_segment_dump(struct rproc *rproc, struct rproc_dump_segment *segment, | ^~~~~~~~~~~~~~~~~ vim +/adsp_segment_dump +108 drivers/remoteproc/qcom_q6v5_pas.c 107 > 108 void adsp_segment_dump(struct rproc *rproc, struct rproc_dump_segment *segment, 109 void *dest, size_t offset, size_t size) 110 { 111 struct qcom_adsp *adsp = rproc->priv; 112 int total_offset; 113 114 total_offset = segment->da + segment->offset + offset - adsp->mem_phys; 115 if (total_offset < 0 || total_offset + size > adsp->mem_size) { 116 dev_err(adsp->dev, 117 "invalid copy request for segment %pad with offset %zu and size %zu)\n", 118 &segment->da, offset, size); 119 memset(dest, 0xff, size); 120 return; 121 } 122 123 memcpy_fromio(dest, adsp->mem_region + total_offset, size); 124 } 125 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests