Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5110472yba; Wed, 10 Apr 2019 11:33:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqzN0vbkIkInGxv4R+q52gUSBhm0AHpN/MVUVB54skz55T0s5/aQFy6VRZT6sXlbajlPtX5T X-Received: by 2002:aa7:8b12:: with SMTP id f18mr45180912pfd.89.1554921195211; Wed, 10 Apr 2019 11:33:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554921195; cv=none; d=google.com; s=arc-20160816; b=P5+dRr1OhAC3gDtJSy4iHE2oW0WUtgBmS0Az4dDlz1ubqF7+uqt2l5jS08WB7qyfqC 6J6keuxkzKOb4Pbhnjv/hbUBwNTh4gW1lY81yNy3EZg5bNpcTbmqeXcP4WBYFBtJjCub DYWunhZhNd8ojXhOsWh4yzYNfKVlFa8m4n4CUDAXaexVc+5IFrUIxmiePECM2Sgv/rrH ICyKbzICIfNUApLrNIV4wrAJaKY0oqLausSM7qGq7uIaztCQ0a7sepYNASUDJtfFgjp/ o6wzhWgpr2r1juBW0MTMsg5EUllgFDgVyxZ/9tWO3P2uYNDX67ZWsSVZEpspqhxLVD7R vQPQ== 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 :mime-version:references:in-reply-to:subject:cc:to:from:date; bh=ZNgS4B0gt0UIG3mcxI+1/bYD0Y4Jp9XVezO4ccPzBjQ=; b=0Apkn1a707h0zWeEcz+ZpdBvm353vgjPfaUvDdNP5lxM27ZKg5TVxmMqttdrn2Vf12 doxzOScZdEEngV3DKYQR8PMMwPj9gx9CWHiHnI5J5kWP/E8iHY1Dhq1b9MGSbjpLik2U S3BAzADOtid0oxg5jhuVpjx1qYH1M4dD4FZctjsGrpTlWUV0H58odDKGnHAZmsn9hbla 05xS0a+MNlB8rhx5++InxRBZ07h24BSsHp/XLKHRlOEkZocvM/ps0CLd+YhnnTDM69Fl ZcZNY4dBEqCSOKZt1N9h8MZoFaGhXpktj5S042YHur05w6qpwHG97/q+PwTGcj/UAoRE +Kqg== 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 1si22366227plo.217.2019.04.10.11.32.58; Wed, 10 Apr 2019 11:33:15 -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 S1731573AbfDJP63 (ORCPT + 99 others); Wed, 10 Apr 2019 11:58:29 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:33062 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730931AbfDJP63 (ORCPT ); Wed, 10 Apr 2019 11:58:29 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3AFp0s4032789 for ; Wed, 10 Apr 2019 11:58:28 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 2rsjd3m9tf-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 10 Apr 2019 11:58:27 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 10 Apr 2019 16:58:25 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 10 Apr 2019 16:58:23 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x3AFwLw160948494 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 10 Apr 2019 15:58:21 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BAF2BA404D; Wed, 10 Apr 2019 15:58:21 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 52813A4053; Wed, 10 Apr 2019 15:58:21 +0000 (GMT) Received: from mschwideX1 (unknown [9.152.212.148]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 10 Apr 2019 15:58:21 +0000 (GMT) Date: Wed, 10 Apr 2019 17:58:19 +0200 From: Martin Schwidefsky To: Arnd Bergmann Cc: Heiko Carstens , Julian Wiedmann , Ursula Braun , clang-built-linux@googlegroups.com, Nick Desaulniers , Nathan Chancellor , linux-s390@vger.kernel.org, "David S. Miller" , Kittipon Meesompop , linux-kernel@vger.kernel.org Subject: Re: [PATCH 04/12] s390: qeth: address type mismatch warning In-Reply-To: <20190408212648.2407234-4-arnd@arndb.de> References: <20190408212648.2407234-1-arnd@arndb.de> <20190408212648.2407234-4-arnd@arndb.de> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19041015-0012-0000-0000-0000030D63FA X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19041015-0013-0000-0000-000021458913 Message-Id: <20190410175819.106f30b3@mschwideX1> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-10_07:,, 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=915 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904100110 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 8 Apr 2019 23:26:17 +0200 Arnd Bergmann wrote: > clang produces a harmless warning for each use for the qeth_adp_supported > macro: > > drivers/s390/net/qeth_l2_main.c:559:31: warning: implicit conversion from enumeration type 'enum qeth_ipa_setadp_cmd' to > different enumeration type 'enum qeth_ipa_funcs' [-Wenum-conversion] > if (qeth_adp_supported(card, IPA_SETADP_SET_PROMISC_MODE)) > ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > drivers/s390/net/qeth_core.h:179:41: note: expanded from macro 'qeth_adp_supported' > qeth_is_ipa_supported(&c->options.adp, f) > ~~~~~~~~~~~~~~~~~~~~~ ^ > > Add a version of this macro that uses the correct types, and > remove the unused qeth_adp_enabled() macro that has the same > problem. > > Signed-off-by: Arnd Bergmann I have added this to our internal tree for Julian to pick up. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.