Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1044357ybm; Wed, 27 May 2020 14:44:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxauTgwCX0FWokGyGlV5wc9etKBNRjD4z4S8viSnXFdnNRKDr60ujvGLu4WCZpEcBGkpe96 X-Received: by 2002:a17:906:507:: with SMTP id j7mr335398eja.426.1590615885979; Wed, 27 May 2020 14:44:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590615885; cv=none; d=google.com; s=arc-20160816; b=bW9mxKbYRoSScjTgeBjkRBRNHc+hTfiRiinilwtfC0zwweZEghIGYgc100IOFORcsH 7W3Xr4LbYJiY/qwCEIbWjioWONmJGORBH2leKZm0Ml+VbUr1UxuhF/NAjpO6CEMonqWH 95zurqgCdhtPhaHry+pAA8OLxFCiE1/TNZfdjC3MCFqeyDIyam/UohWwwyN2AcFHzBYc /6YYqqvh6Vb3atiLufxNb9z/U6wYcyGXWN6WsovHAJUYFfzs6ztiHI0jxFkq5GRiQmne V+cIyKndEEUhK3Z/qq/pp0ikDe7FnRvv6jNnAlHDM5+xRc+/eXrm6PXeJ15erryr2rib +erw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=QcsehmUTswszS2C6wXzSJQ3zyE4B6tGLooj2htY2/tw=; b=rovAxPDDawOrFGxKUPIpHobDoipzM6r4zMkulNpA6HKo77I/ce13ARYKCtHFDy5x7F v5TTMf046CRHXbNXmy+tZgjloUTGbiPOOVljb9kLbVRmMONIESiJrS8pqeuv3ttMT31P iSzlnvSZ3kyi/a1UyuxcwbNbhTckY/ZNHBL46pGQR7LOK+CT72CbVbU1z9pZ0zNDMRAD tnlzxAvyH3yEN6iPE2rAwqEIRjcKWIfqeubWa9fFrCRSflvLwTRDZ9KOUdS8AQTHvrji BdKKqcWHxkU9YXQMp9CuH/PqRC0HzZCctrQReDBu9UmyeGIbWVpPN1/hG5F5hJEDr+M7 IC0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=nL7WdIeL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j6si2717589ejs.245.2020.05.27.14.44.19; Wed, 27 May 2020 14:44:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=nL7WdIeL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388816AbgE0Oot (ORCPT + 98 others); Wed, 27 May 2020 10:44:49 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:60764 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388356AbgE0Oot (ORCPT ); Wed, 27 May 2020 10:44:49 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 04REYBvK021658; Wed, 27 May 2020 10:44:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=QcsehmUTswszS2C6wXzSJQ3zyE4B6tGLooj2htY2/tw=; b=nL7WdIeL/Svz5IWVh8JOVmtR70/1ExLjt4teN4GK97jPBm57zaQ84D6TBW8K/fdLJKUz lopq4znCi1i3mhYAGvhLdp9GhDhbVQdJf+Vx1X/W4k+VTzJxXabcbb0acXMl3KVoV1f8 +v6xBTnHK/CxvfwDs+e9vDGtDeVnEosTihy+12NuXG8e9TkcUBUIM66B+thp+bq90jk8 se56LPzqHUXPKX+Ud3b8ToXe1KH0FBt9JFOY8TFunsd3y8Qe0KU2fkX51OfIU6JSBbMv yDsbGp4drAe26kIZX/+0Jw5khYL1p3QnPfIy/769MsIL83oXUAc5bD8eFrp40B7vE97v hg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 319qvwdj8e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 May 2020 10:44:28 -0400 Received: from m0098421.ppops.net (m0098421.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 04REYFOV021912; Wed, 27 May 2020 10:44:27 -0400 Received: from ppma01fra.de.ibm.com (46.49.7a9f.ip4.static.sl-reverse.com [159.122.73.70]) by mx0a-001b2d01.pphosted.com with ESMTP id 319qvwdj7g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 May 2020 10:44:27 -0400 Received: from pps.filterd (ppma01fra.de.ibm.com [127.0.0.1]) by ppma01fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 04REfYgc014368; Wed, 27 May 2020 14:44:26 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma01fra.de.ibm.com with ESMTP id 316uf8ka6p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 May 2020 14:44:25 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 04REiNnu62390434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 27 May 2020 14:44:23 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 95E1BAE055; Wed, 27 May 2020 14:44:23 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 06C57AE053; Wed, 27 May 2020 14:44:22 +0000 (GMT) Received: from JAVRIS.in.ibm.com (unknown [9.85.113.138]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 27 May 2020 14:44:21 +0000 (GMT) Subject: Re: [PATCH 1/3] objtool: Exit successfully when requesting help To: Matt Helsley , linux-kernel@vger.kernel.org Cc: Josh Poimboeuf , Peter Zijlstra , Julien Thierry , Miroslav Benes , Steven Rostedt References: <26346796590ccf07ffe7b9d2b230435c9e787357.1589913349.git.mhelsley@vmware.com> From: Kamalesh Babulal Message-ID: Date: Wed, 27 May 2020 20:14:19 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <26346796590ccf07ffe7b9d2b230435c9e787357.1589913349.git.mhelsley@vmware.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.687 definitions=2020-05-27_03:2020-05-27,2020-05-27 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 cotscore=-2147483648 clxscore=1015 spamscore=0 mlxlogscore=999 bulkscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 malwarescore=0 impostorscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005270107 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/20/20 2:25 AM, Matt Helsley wrote: > When the user requests help it's not an error so do not exit with > a non-zero exit code. This is not especially useful for a user but > any script that might wish to check that objtool --help is at least > available can't rely on the exit code to crudely check that, for > example, building an objtool executable succeeds. > > Signed-off-by: Matt Helsley Reviewed-by: Kamalesh Babulal -- Kamalesh