Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp652745yba; Fri, 3 May 2019 08:19:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKSKWmhHKB4HeWM1ru9re60DZX55GK/aZr+B/eOqulMgoloN8UXKAZ3UuVdir7llltnSF4 X-Received: by 2002:a63:bf0d:: with SMTP id v13mr10999519pgf.186.1556896763331; Fri, 03 May 2019 08:19:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556896763; cv=none; d=google.com; s=arc-20160816; b=bDkVzl+EtexbHliPSIvMS1TIFj6j86XHf7+m9JlNrXFVpxrCskdD+QSdAoY48G1Iam JjWVwIiv7iTqwmH9tTuE8cMy4BUHA+xODE+Aqqc0ZiRnIuVrNxFjSglV8nBQDSdueglm fYaSrsHnyUilWORLd6ft3M7O2KMB3XN2eAyGBbhaRy3AhF2UVjYprGNgspm9C16rxHSG 3KTNt8PDwZYih4sVO7yKkrTjp3aJaEjGnXuFADdoOUrdbawJmw8kYMNyxhBqTP4jFD21 DbQ3o1z6H8xYAMHV8d5Uyk+J/c08ZgJTdLlE2rxCf9qz/ZRQUSxkqblFoL5QbT4YawYq umZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date; bh=18ouw7PTiHXpG8jDuMG8pY4ul6Wwbg/rnmHhUFehlwM=; b=pp+TxGrO0YHZY+Q+NtLo1T6jCcTHjlmzCd1IEmt3d3g0Y56U52h/MONnEIOW47vfpm YAv4rib9aaQZ0Iz2B7+3edDeOk2hxd2LdZNyaCSwWojh1Pgfxo2pV874QRGRJGqoeQRs YcEAkp7edSGqJLtEtM+bIqpBMx3MMoSdCgYSg2YA1UKed95SUR8xS52qJJy/ML5lfxp6 7pdbCHRF6LqUWpxiwgta99SJSb8voYaBpqp/UwO1t5rX8PoJ1EU2f0xl+ANAIhc3pAOn NVd+NSuYy/S3hmc+9WwzM0E4T210EqyMO+Id1GbRYPO9hpakeE1g+iTD47cW/9wFh5VH SsuA== 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 q5si2742051pls.163.2019.05.03.08.19.07; Fri, 03 May 2019 08:19:23 -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 S1728153AbfECPR5 (ORCPT + 99 others); Fri, 3 May 2019 11:17:57 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:60870 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726267AbfECPR5 (ORCPT ); Fri, 3 May 2019 11:17:57 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x43EN4Y7173472 for ; Fri, 3 May 2019 10:27:27 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0b-001b2d01.pphosted.com with ESMTP id 2s8q3wrv89-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 03 May 2019 10:27:27 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 3 May 2019 15:27:25 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) 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) Fri, 3 May 2019 15:27:22 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x43ERK9o54132968 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 3 May 2019 14:27:20 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 656335205A; Fri, 3 May 2019 14:27:20 +0000 (GMT) Received: from osiris (unknown [9.152.212.21]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id ECB785204E; Fri, 3 May 2019 14:27:19 +0000 (GMT) Date: Fri, 3 May 2019 16:27:18 +0200 From: Heiko Carstens To: Arnd Bergmann Cc: Martin Schwidefsky , clang-built-linux@googlegroups.com, Nick Desaulniers , Nathan Chancellor , linux-s390@vger.kernel.org, Vasily Gorbik , Christian Borntraeger , Janosch Frank , Collin Walling , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/4] s390: fix clang -Wpointer-sign warnigns in boot code References: <20190415083605.2560074-1-arnd@arndb.de> <20190415083605.2560074-4-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190415083605.2560074-4-arnd@arndb.de> X-TM-AS-GCONF: 00 x-cbid: 19050314-0020-0000-0000-00000338F189 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19050314-0021-0000-0000-0000218B7EBB Message-Id: <20190503142718.GF5602@osiris> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-05-03_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=722 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905030091 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 15, 2019 at 10:35:54AM +0200, Arnd Bergmann wrote: > The arch/s390/boot directory is built with its own set of compiler > options that does not include -Wno-pointer-sign like the rest of > the kernel does, this causes a lot of harmess but correct warnings > when building with clang. > > For the atomics, we can add type casts to avoid the warnings, for > everything else the easiest way is to slightly adapt the types > to be more consistent. > > Signed-off-by: Arnd Bergmann > --- > arch/s390/boot/ipl_parm.c | 2 +- > arch/s390/include/asm/bitops.h | 12 ++++++------ > arch/s390/include/asm/ebcdic.h | 2 +- > arch/s390/include/asm/lowcore.h | 2 +- > drivers/s390/char/sclp.h | 4 ++-- > 5 files changed, 11 insertions(+), 11 deletions(-) Applied, with typo fix and a simple coding style issue. Thanks!