From patchwork Fri Jun 25 07:55:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasant Hegde X-Patchwork-Id: 1496996 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=ZUTPLBid; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GB8SR5d86z9sX5 for ; Fri, 25 Jun 2021 17:55:35 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4GB8SS0FwMz309g for ; Fri, 25 Jun 2021 17:55:36 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=ZUTPLBid; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=linux.vnet.ibm.com (client-ip=148.163.158.5; helo=mx0b-001b2d01.pphosted.com; envelope-from=hegdevasant@linux.vnet.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=ZUTPLBid; dkim-atps=neutral Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4GB8SM6hLCz2y8Q for ; Fri, 25 Jun 2021 17:55:31 +1000 (AEST) Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15P7XglY163153 for ; Fri, 25 Jun 2021 03:55:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=Xufbr08r5x3MZUS1DRhRGeHhMWVHbzW5ePx/TwxpIMQ=; b=ZUTPLBidfCUVEOG4V30TIQ1eWGXBiLEbmv4+UBS6NkNJ3q2PDlQ8/gLD2MSMahA21dyh rNePNtuB3oh35HUspZmjNn9+thHUUauP+zyH5n2gvtPAz8zX+lySWYszcTvox2kiW4rp Xf3JqsHCs4jnui08oHuyhWZn3C4rjaWaj/WqCcKWZEdQVg4l6E+/dYSE2lnUiU2x/5gc dYCvOaQ8I8J5miQHzjCLq7p/iJ1CIP+gH2SueNojqdeqi+Kn1sg9e1BQY+KAtbS5qIjy xX86cS71f/dVm5P3dyy847Rfg3pd6w32sqdqcCQ9+aIYl2F516n/qp83pQSUzU/D3FNt Qg== Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com with ESMTP id 39d9h6bepj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 25 Jun 2021 03:55:27 -0400 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15P7riP3026474 for ; Fri, 25 Jun 2021 07:55:25 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma06ams.nl.ibm.com with ESMTP id 3997uhawbn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 25 Jun 2021 07:55:25 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15P7tNDJ29622530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 25 Jun 2021 07:55:23 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7ADFFAE058; Fri, 25 Jun 2021 07:55:23 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D25E0AE053; Fri, 25 Jun 2021 07:55:21 +0000 (GMT) Received: from hegdevasant.in.ibm.com (unknown [9.199.46.25]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 25 Jun 2021 07:55:21 +0000 (GMT) From: Vasant Hegde To: skiboot@lists.ozlabs.org Date: Fri, 25 Jun 2021 13:25:18 +0530 Message-Id: <20210625075518.82776-1-hegdevasant@linux.vnet.ibm.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: EwyN44kuI9-YnQD6gV3BrS_kVtw55G2V X-Proofpoint-GUID: EwyN44kuI9-YnQD6gV3BrS_kVtw55G2V X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-06-25_02:2021-06-24, 2021-06-25 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 spamscore=0 clxscore=1015 malwarescore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 mlxlogscore=999 suspectscore=0 priorityscore=1501 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106250043 Subject: [Skiboot] [PATCH trivial] fsp: Fix sparse warning X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" platforms/ibm-fsp/common.c:252:17: error: symbol 'fsp_heartbeat_time' redeclared with different type (different modifiers): platforms/ibm-fsp/common.c:252:17: int extern [addressable] [pure] [signed] [toplevel] fsp_heartbeat_time( ... ) platforms/ibm-fsp/common.c: note: in included file: platforms/ibm-fsp/ibm-fsp.h:40:5: note: previously declared as: platforms/ibm-fsp/ibm-fsp.h:40:5: int extern [addressable] [signed] [toplevel] fsp_heartbeat_time( ... ) Signed-off-by: Vasant Hegde --- platforms/ibm-fsp/ibm-fsp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/ibm-fsp/ibm-fsp.h b/platforms/ibm-fsp/ibm-fsp.h index c21866912..bb191645c 100644 --- a/platforms/ibm-fsp/ibm-fsp.h +++ b/platforms/ibm-fsp/ibm-fsp.h @@ -37,7 +37,7 @@ void vpd_iohub_load(struct dt_node *hub_node); void vpd_preload(struct dt_node *hub_node); /* Platform heartbeat time */ -int fsp_heartbeat_time(void); +int __attrconst fsp_heartbeat_time(void); extern struct platform_psi fsp_platform_psi; extern struct platform_prd fsp_platform_prd;