Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp462128ybi; Tue, 2 Jul 2019 23:30:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwaG4NHeUo/GLzWdCzP0XKT0knzwwHcyH+35FJfF+Pri8DNwc/TWewLJvfLd6Gjb8lcQEQ3 X-Received: by 2002:a17:902:aa03:: with SMTP id be3mr40198670plb.240.1562135418189; Tue, 02 Jul 2019 23:30:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562135418; cv=none; d=google.com; s=arc-20160816; b=K0CBcTIyiNObg4hSml3aLhzLLporpqpZQ2yrxja0J+Jy1m6MUhUv0kOyOUciBf9Phu pcIPSPRJVG2CT+xn7zdm4PuXVjkMYkKIuyI8zkIDarB8Ns73jYHQNeTr4GOEFRTYQ8Sr M7zXRlGLGfJpgZbtN1+pCRwn/rk+KA/JBpMU9UyrQYfRvFG/RwsOuqTgKiZ1OIFu/zYS ko1AxBY/rDuGBl3y4Eg904WAB0Md2km+W/mgk3HO3OBqOjS4hGYRS6vzx1x422p0xGkS EknISFu4+ZEhvS7viD9LlzyFcYa8O1ZIGu4RC1qqqo6+3gf2nJ4p9vDPaq0yirNQ7Y1v k35Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject; bh=SRrxOGS06ZXS8R3/dWcpkygyCGy5s+en5t8Sg7k2CuQ=; b=EL1GBIWM7E+XQjbtidc52eTF63aMfQpTjwnmffn16HgvR5S9gFdNSdTRzt2ZeOxHZX f+8lULYNAZoTfF0honB9UYeOzH32ucRIZUkLMdtt2xTOBd7QHwOng/tsnFm3TeHW662b aR//DQZSSX7ZFKrtuW6rsQCTWfJiJm7GYBtgQVw+N411iJQVrkdSeMH6DJoGmU53uv0E 0zCANSp/ANJ3/nnHdLUzCVnoEX8JI2rWbNzvWPPx+e3QJbVlNqkgCkHwfA3BvU0xuoMW LC8HdeealMRKoX9NXWG/4tadI9A4z3C4uQ0tQnKX+z6a4EEf+Cc0D8hs5OSOWr6jtzAT F/Bw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c19si107026pgi.416.2019.07.02.23.30.02; Tue, 02 Jul 2019 23:30:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727111AbfGCG3h (ORCPT + 99 others); Wed, 3 Jul 2019 02:29:37 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:39920 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726670AbfGCG3h (ORCPT ); Wed, 3 Jul 2019 02:29:37 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x636QNKK082508 for ; Wed, 3 Jul 2019 02:29:36 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0b-001b2d01.pphosted.com with ESMTP id 2tgm3edwph-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 03 Jul 2019 02:29:35 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 3 Jul 2019 07:29:34 +0100 Received: from b06avi18878370.portsmouth.uk.ibm.com (9.149.26.194) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 3 Jul 2019 07:29:30 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x636TUd717105342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 3 Jul 2019 06:29:30 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id ECD33AE04D; Wed, 3 Jul 2019 06:29:29 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 454B2AE045; Wed, 3 Jul 2019 06:29:26 +0000 (GMT) Received: from [9.85.75.18] (unknown [9.85.75.18]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 3 Jul 2019 06:29:26 +0000 (GMT) Subject: Re: [RFC PATCH v2 00/12] Reduce ifdef mess in ptrace To: Christophe Leroy Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , mikey@neuling.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Ravi Bangoria References: From: Ravi Bangoria Date: Wed, 3 Jul 2019 11:59:19 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19070306-0020-0000-0000-0000034FB5F4 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19070306-0021-0000-0000-000021A34AE1 Message-Id: <0b73b957-a782-5804-9794-a194deb3cc87@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-03_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=604 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907030079 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/28/19 9:17 PM, Christophe Leroy wrote: > The purpose of this series is to reduce the amount of #ifdefs > in ptrace.c > > This is a first try. Most of it is done, there are still some #ifdefs that > could go away. > > Please comment and tell whether it is worth continuing in that direction. Hi Christopher, I'm seeing this warning with all the patches. WARNING: Improper SPDX comment style for 'arch/powerpc/kernel/ptrace/ptrace-view.c', please use '//' instead #100: FILE: arch/powerpc/kernel/ptrace/ptrace-view.c:1: +/* SPDX-License-Identifier: GPL-2.0-or-later */