From patchwork Fri Nov 27 13:22:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vasant Hegde X-Patchwork-Id: 1407204 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CjFfy6VN5z9sVd for ; Sat, 28 Nov 2020 00:22:50 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linux.vnet.ibm.com 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=tOQS2tZD; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CjFfw3Q27zDrfS for ; Sat, 28 Nov 2020 00:22:48 +1100 (AEDT) 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.156.1; helo=mx0a-001b2d01.pphosted.com; envelope-from=hegdevasant@linux.vnet.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.vnet.ibm.com 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=tOQS2tZD; dkim-atps=neutral Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 4CjFfM73rBzDrfR for ; Sat, 28 Nov 2020 00:22:19 +1100 (AEDT) Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0ARCtvGO176127 for ; Fri, 27 Nov 2020 08:22:16 -0500 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=yIAKf4cGlwGlgtIuoqqQaThED6RiSwQurxuYmH2FW44=; b=tOQS2tZDjNh3mgt82xxS0yKHMoZq7gAXUy1SXfbuBENAsoTJjDfUsYWrzk4MaF+tMM+7 vCnwCvdh1k9SwGv8Jpk1H50IycgXhCf9bXnezPPsXUrgmVljKi/UA1Fm1fv+14rUOqub nxmIFeVRNwKbyhEs2njuh9d0OcGDromybKcavZNsr4ppnkmKQW4lySUimiAS8s1ZqyEb AOLppRegi/y+Vd6UgtanxOsa30nhL+WW+CF1gMclo1tZ/KU8hoBUzeDrgTaR4TNFoP9O WvaMEohZm5wdoDSfBH41NHhvwByJjtXxvj1qp9FLgYFnpnXe1TGmawGCbiTj1pdwKqA0 Gw== Received: from ppma05fra.de.ibm.com (6c.4a.5195.ip4.static.sl-reverse.com [149.81.74.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 3531w68q53-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 27 Nov 2020 08:22:15 -0500 Received: from pps.filterd (ppma05fra.de.ibm.com [127.0.0.1]) by ppma05fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 0ARCRrtA029176 for ; Fri, 27 Nov 2020 13:22:13 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma05fra.de.ibm.com with ESMTP id 352ww603ta-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 27 Nov 2020 13:22:13 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 0ARDMBVX61014280 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 27 Nov 2020 13:22:11 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 080AA4C04E; Fri, 27 Nov 2020 13:22:11 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4E7F84C050; Fri, 27 Nov 2020 13:22:10 +0000 (GMT) Received: from hegdevasant.in.ibm.com (unknown [9.85.87.233]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 27 Nov 2020 13:22:10 +0000 (GMT) From: Vasant Hegde To: skiboot@lists.ozlabs.org Date: Fri, 27 Nov 2020 18:52:08 +0530 Message-Id: <20201127132208.744847-1-hegdevasant@linux.vnet.ibm.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-27_06:2020-11-26, 2020-11-27 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=874 lowpriorityscore=0 bulkscore=0 adultscore=0 spamscore=0 phishscore=0 impostorscore=0 suspectscore=1 clxscore=1015 malwarescore=0 mlxscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011270076 Subject: [Skiboot] [PATCH trivial] hdata: Replace hardcoded string with macro 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" Signed-off-by: Vasant Hegde Reviewed-by: Dan HorĂ¡k --- hdata/tpmrel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hdata/tpmrel.c b/hdata/tpmrel.c index 8e36d3da3..4be3f81c4 100644 --- a/hdata/tpmrel.c +++ b/hdata/tpmrel.c @@ -209,7 +209,7 @@ void node_stb_parse(void) { struct HDIF_common_hdr *hdif_hdr; - hdif_hdr = get_hdif(&spira.ntuples.node_stb_data, "TPMREL"); + hdif_hdr = get_hdif(&spira.ntuples.node_stb_data, STB_HDIF_SIG); if (!hdif_hdr) { prlog(PR_DEBUG, "TPMREL data not found\n"); return;