Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3852634yba; Tue, 9 Apr 2019 06:14:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6h3KNN3RP8YsUavvU3+/TGbU0yoyXRE5ehrs202qrBaqckCUlOTyNiuqMpRJxrVHIZJUX X-Received: by 2002:a65:524a:: with SMTP id q10mr33346019pgp.224.1554815696730; Tue, 09 Apr 2019 06:14:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554815696; cv=none; d=google.com; s=arc-20160816; b=i8BzbYhKXOWdlYrJybiywFZgJP/iFWBsARpMsMXcZdKGo7VBRq4vRNFEzzi/734/mk 29Jwq9YT4FbflOrX2utER274QOikmF8MbatMs1I2dnWrM7iKuLNYqE6YN0q/0c6SoDjT /Y8uOrtzHd27Oj44hp+UxEWKOr+Jwqj0t1kJ+0+TXndnTy5h1Qe9j/1ygp97BG0IY6e+ +XqsLFkJxCRUZCEFiHF6EHuXPVU6347qWMmijAVfjX7mmk7hWljNJEFxCz2zKacyzCFn wfswJNjBPdn3qosIW8Xx7FGbUSO7qqURQt3KWjJb3ieHpv/5ZnY7uSapBltLbgvKeaKH gzLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:mime-version:organization :user-agent:references:in-reply-to:subject:cc:to:from:date; bh=D66D4cP3m2GcFT57zF5xdqhuADW41LuyRWK5nv3ZDOw=; b=YWHnNaVKZ8BhPjuJ5yJ6HEBfOYl5gDhuUd6BYIZFoqOZistyzNp09UqXulXo6yzSM7 TBOMSc13EN6OrnfqIfHwGr88BY8dMAhyAYhggzUBVJF9uQMa2/sGmgrZZkaLJn0LExVQ 0QVjZd+XbDhtB8GPCLhxL1hKmdlken8qJH9Yu8T/xQrJ4aJI0R+ATdi4XfsTfgly6QIO 30by8K8cg0cwfHuFG4oy8AVM6/qaAA7vVRAwpE7lDGCK/lfqg9TDF5gulDF/xtIw9kPb UINgVv8K8k6ZjrQtJp1Ft3T441avSBPSX2YuFBOWWe+hu8fHSJzDRPI6I96t3AVS/DBy uGcw== 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 az5si28089632plb.111.2019.04.09.06.14.40; Tue, 09 Apr 2019 06:14:56 -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 S1727490AbfDINNt (ORCPT + 99 others); Tue, 9 Apr 2019 09:13:49 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:39714 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727136AbfDINNt (ORCPT ); Tue, 9 Apr 2019 09:13:49 -0400 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x39DAb3F048541 for ; Tue, 9 Apr 2019 09:13:48 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2rrupc9hvk-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 09 Apr 2019 09:13:47 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 9 Apr 2019 14:13:44 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 9 Apr 2019 14:13:40 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x39DDdD855312418 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 9 Apr 2019 13:13:39 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BA783A4051; Tue, 9 Apr 2019 13:13:39 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5A1F8A4040; Tue, 9 Apr 2019 13:13:39 +0000 (GMT) Received: from dyn-9-152-212-151.boeblingen.de.ibm.com (unknown [9.152.212.151]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 9 Apr 2019 13:13:39 +0000 (GMT) Date: Tue, 9 Apr 2019 15:13:38 +0200 (CEST) From: Sebastian Ott X-X-Sender: sebott@schleppi To: Arnd Bergmann cc: Martin Schwidefsky , Heiko Carstens , Peter Oberparleiter , clang-built-linux@googlegroups.com, Nick Desaulniers , Nathan Chancellor , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 07/12] s390: cio: fix cio_irb declaration In-Reply-To: <20190408212648.2407234-7-arnd@arndb.de> References: <20190408212648.2407234-1-arnd@arndb.de> <20190408212648.2407234-7-arnd@arndb.de> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) Organization: =?ISO-8859-15?Q?=22IBM_Deutschland_Research_&_Development_GmbH?= =?ISO-8859-15?Q?_=2F_Vorsitzende_des_Aufsichtsrats=3A_Matthias?= =?ISO-8859-15?Q?_Hartmann_Gesch=E4ftsf=FChrung=3A_Dirk_Wittkopp?= =?ISO-8859-15?Q?_Sitz_der_Gesellschaft=3A_B=F6blingen_=2F_Reg?= =?ISO-8859-15?Q?istergericht=3A_Amtsgericht_Stuttgart=2C_HRB_2432?= =?ISO-8859-15?Q?94=22?= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-TM-AS-GCONF: 00 x-cbid: 19040913-0016-0000-0000-0000026CEF52 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19040913-0017-0000-0000-000032C918AC Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-09_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=970 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904090084 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 8 Apr 2019, Arnd Bergmann wrote: > clang points out that the declaration of cio_irb does not match the > definition exactly, it is missing the alignment attribute: > > ../drivers/s390/cio/cio.c:50:1: warning: section does not match previous declaration [-Wsection] > DEFINE_PER_CPU_ALIGNED(struct irb, cio_irb); > ^ > ../include/linux/percpu-defs.h:150:2: note: expanded from macro 'DEFINE_PER_CPU_ALIGNED' > DEFINE_PER_CPU_SECTION(type, name, PER_CPU_ALIGNED_SECTION) \ > ^ > ../include/linux/percpu-defs.h:93:9: note: expanded from macro 'DEFINE_PER_CPU_SECTION' > extern __PCPU_ATTRS(sec) __typeof__(type) name; \ > ^ > ../include/linux/percpu-defs.h:49:26: note: expanded from macro '__PCPU_ATTRS' > __percpu __attribute__((section(PER_CPU_BASE_SECTION sec))) \ > ^ > ../drivers/s390/cio/cio.h:118:1: note: previous attribute is here > DECLARE_PER_CPU(struct irb, cio_irb); > ^ > ../include/linux/percpu-defs.h:111:2: note: expanded from macro 'DECLARE_PER_CPU' > DECLARE_PER_CPU_SECTION(type, name, "") > ^ > ../include/linux/percpu-defs.h:87:9: note: expanded from macro 'DECLARE_PER_CPU_SECTION' > extern __PCPU_ATTRS(sec) __typeof__(type) name > ^ > ../include/linux/percpu-defs.h:49:26: note: expanded from macro '__PCPU_ATTRS' > __percpu __attribute__((section(PER_CPU_BASE_SECTION sec))) \ > ^ > Use DECLARE_PER_CPU_ALIGNED() here, to make the two match. > > Signed-off-by: Arnd Bergmann Thanks for the patch! Applied. Sebastian