Received: by 2002:a05:7208:3228:b0:82:47:81bb with SMTP id cb40csp545842rbb; Fri, 12 Apr 2024 09:01:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXL6odDCcz+bWQBAkfc5Jjyhht+F8nUvrimu2xGAEAE7X9R2OW0GqEyL8RJl69L96G+zC6XAg+0aPiwltv46E46mtzCUYdTaKSL5bc3QA== X-Google-Smtp-Source: AGHT+IF9csZn3cp8ewqsNu4eaKu0M4os58whP2POd8Ku2xTIRcOnLFcXMJ6zoX68Z2GJthMPT5u5 X-Received: by 2002:a05:6a20:6a20:b0:1a7:47ff:5f37 with SMTP id p32-20020a056a206a2000b001a747ff5f37mr4916780pzk.0.1712937661371; Fri, 12 Apr 2024 09:01:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712937661; cv=pass; d=google.com; s=arc-20160816; b=EtEAQeMBLJUT9yGySuxaPUu86avF/7S4oAp0tWBPoN6OjzoAZfRLkusd8mBep9GbVg 1nUbZsKRh9RaLBjnydc7MIHcV3812PaYA88qhGL1xF4dni/w7rR4Man0ebbHlhkwOPnt ahxF8imlMlAmN7NAcEaIVT7ItdihzZSbUiHuRAIBDy8Px0tviOxGYAv64lI+fxVf6Fem AcvZsakSqjqE0VWX9PUF3OSPZbc26eFpvEyZtLvadEqiUhMD+XKI+fRlopVfWXlv2XAH tEMn2fU3Ary6XIKLux8aFJvlI4umZrjfKaqvuv1IEKUcDC+KcYxeslj0vL389Aec3utI copQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=d1fpmCXwLq2bRVjY0U0+oCyAU038R/D9yejbAKhF/pA=; fh=fK2+4/+rRtVgRem4O+sqsXf/yqCIPBXSiPfcBc06BAI=; b=UgR73YZ+STk3exPmn8SH52H4CxDNHpioVXbNnUj+J4xhPtkdcx7b/CbYcrscFE60Uo cYxi8zwapwxo+fqqQjz66hapnXTYqdsZ7cWIZneaYKsb411XgG5x3bD6GLwib7NgT8IB FxgmoM49tp+ITKR/HacxIT5qFsdVhm+zEynvOMmrl5SsVOq6toQn/5UOLMYqg/YCrzP1 0SUxbcKDfyT9NCVvmnNh9qCp215B8kIg9jbeJOosPK74Fnvcyg0amvYbRZQF+2u7BatN YTNSnKCR7BPShLG/lUB7blgineqyURYkKWSBXQ2SmV/RVY3xOMg/KD5eTGbS0cr7N2b3 QBmQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LvQV5Pev; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-142979-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142979-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id y41-20020a056a0003a900b006ecfdcc20d3si3493471pfs.153.2024.04.12.09.01.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 09:01:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142979-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LvQV5Pev; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-142979-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142979-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id F2E01B21E10 for ; Fri, 12 Apr 2024 15:52:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DCD5148FF2; Fri, 12 Apr 2024 15:52:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="LvQV5Pev" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FC89148842; Fri, 12 Apr 2024 15:52:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712937134; cv=none; b=EEEQTYpejBX2CnnfrB8kZZCZc8/MK3jtMgbNwUP+tCHOUvBPyQSfXa/cqnPl1AVQKcQtvvssIuwAfgt5kybLf2q4otNAV24+REErm09fUXEaAu+zH2ONBZCb0MV6H8b973vaT3eLs+bTWH4DtHvbcKVQxYKTsCDO5nhICNuGRKk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712937134; c=relaxed/simple; bh=SZ5A86Q+9hpxFN2aey14jYeOw4FwO5dY2Jfg/P7yfI8=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=lUgLNQb3OoO361cY9OqSju01azbF9X0RhKQnXayVGDUqGnpF3KPqEgnsGBpf+1C1d9XRBFE2yquVefNEBlfDc4j1Pu8EwNOhHH2ow0VthygyJH0SO8/eyqz2CHG3aFUBO1SFrC70EFcWGaZGWZTCb3zWIzuZGEdXqAN9xodsuX0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=LvQV5Pev; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43CCJlBR025087; Fri, 12 Apr 2024 15:52:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=d1fpmCXwLq2bRVjY0U0+oCyAU038R/D9yejbAKhF/pA=; b=Lv QV5PevzcinGxqFO8j2HMLTzhbCMHG3PW/BWoOKBzuwAZwADEb3TrdzSFfL/FtOx2 dOoPPf3L0qD+Uf7M2OITTIlv5DKq/ESyV8IBECMSXnaGMa2Iz6ejf05KoOs2VhcM EoqEq758QabH7Sov2ZkWzSbWzSHxNWNJE2K8R98ItZZE3jyAXbeds3JUTJ99OD7w JzI4vc3QTVs48vm0oTGmUrqI9j4ULfr8PXKDJJ1xpYq0jUgs/RXQfiWsK6LFLB5u VxT85YGU3C7jJ6DdSFKeb43tWQP8ZeoaYnQIGPg+Mzv+dXaScWpxpXUC4wzvyPN5 aIqu4v8vDO4HpqxyTNPw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xeskt1sxm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Apr 2024 15:52:05 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43CFq35T018481 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Apr 2024 15:52:03 GMT Received: from [10.226.59.182] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Fri, 12 Apr 2024 08:52:02 -0700 Message-ID: Date: Fri, 12 Apr 2024 09:52:02 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH] accel/qaic: mark debugfs stub functions as static inline Content-Language: en-US To: Arnd Bergmann , Oded Gabbay , "Jacek Lawrynowicz" , "Pranjal Ramajor Asha Kanojiya" , Carl Vanderlip CC: Arnd Bergmann , , , References: <20240409133945.2976190-1-arnd@kernel.org> From: Jeffrey Hugo In-Reply-To: <20240409133945.2976190-1-arnd@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: pQvByzwBaKuXN2Mlpmr2UkLCOsZcVLj8 X-Proofpoint-ORIG-GUID: pQvByzwBaKuXN2Mlpmr2UkLCOsZcVLj8 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-12_12,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 mlxscore=0 phishscore=0 clxscore=1011 spamscore=0 malwarescore=0 adultscore=0 mlxlogscore=999 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404120113 On 4/9/2024 7:39 AM, Arnd Bergmann wrote: > From: Arnd Bergmann > > The alternative stub functions are listed as global, which produces > a build failure in some configs: > > In file included from drivers/accel/qaic/qaic_drv.c:31: > drivers/accel/qaic/qaic_debugfs.h:16:5: error: no previous prototype for 'qaic_bootlog_register' [-Werror=missing-prototypes] > 16 | int qaic_bootlog_register(void) { return 0; } > | ^~~~~~~~~~~~~~~~~~~~~ > drivers/accel/qaic/qaic_debugfs.h:17:6: error: no previous prototype for 'qaic_bootlog_unregister' [-Werror=missing-prototypes] > 17 | void qaic_bootlog_unregister(void) {} > | ^~~~~~~~~~~~~~~~~~~~~~~ > drivers/accel/qaic/qaic_debugfs.h:18:6: error: no previous prototype for 'qaic_debugfs_init' [-Werror=missing-prototypes] > 18 | void qaic_debugfs_init(struct qaic_drm_device *qddev) {} > | ^~~~~~~~~~~~~~~~~ > > Make them static inline as intended. > > Fixes: 5f8df5c6def6 ("accel/qaic: Add bootlog debugfs") > Signed-off-by: Arnd Bergmann Doh. Thank you for addressing this so quickly. Reviewed-by: Jeffrey Hugo