Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5522892ybi; Tue, 4 Jun 2019 07:56:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqyYzLdLbCzeZQ1fncU8NdkmH3wDbIomMMuK5HcRt3Q6ybRT7KraUm81kYVEC/kIDZl6bCwl X-Received: by 2002:a65:5206:: with SMTP id o6mr5590390pgp.248.1559660204509; Tue, 04 Jun 2019 07:56:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559660204; cv=none; d=google.com; s=arc-20160816; b=qGsgp6jz9QoeIjG2UZFGLGiLMvrqCm/nan/9Oi12UPLKc8E8Pe0wESywcjfuJr7VBq Cl6ImAHrb6Ovgrc5jWbPnJCDUwiMqMnApi5tHUWXbvqwjaCpfaX184qve4PIkoIfxtta F+WbsREE7kmphYL1eoHKEAe/jJfMps3uQrExNeLylpreXa8jD8r2fAnVl7ui8fv4RVFm YUXDhKFO57z6rX/bP4Cx1FvOxJMJQDpU9Th69lBWnqHkaTaHQ9EOLZHMO2xjwCXBIxBn lPuKdXkDGeX8diP/u34qbPJesmPwLD7zwok4EbFbI8cYElIWZVJXwL5Eu/HHgHIbw1Br Glxg== 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-transfer-encoding:content-disposition:mime-version :references:subject:cc:to:from:date; bh=27u/DalifX7YExfCNYNKVQ0keyN0gzsRVYuFzgPP7ZU=; b=UIodMm5tLueVXQPKA3mxp79F6ck+vITd8Vzr/QD1MVWXlel7+NifMRjUhtguAGLLwt 0mSmEGshhdesiqE1uU6ef/3kMD003guuM2yI7wy+pKXfkZsJqi+v1k8M+Pdz8BBywgdz 1uSjn6hRwDtIRo+yx91fve9H3kgEQBquBfFSLUJ7mROMP1QlGlxy01LEGRn8mG16uuTQ gIIkURYmQR3NJY+JOsgh5542mDj3ZlQC6WNCyzq+sgiVZkExG5GlELh+5CZpy2Gaip/9 CbbT0GpTbtteASnmTetnghsC07FCDkZbNB9MTOHDHMh3jMpM2TpqlP9050N3lDmY4QsQ KUBg== 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 m189si27993017pfb.74.2019.06.04.07.56.27; Tue, 04 Jun 2019 07:56:44 -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 S1727881AbfFDOym (ORCPT + 99 others); Tue, 4 Jun 2019 10:54:42 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:37676 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727848AbfFDOyj (ORCPT ); Tue, 4 Jun 2019 10:54:39 -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 x54EbCIA050947 for ; Tue, 4 Jun 2019 10:54:38 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2swt7gsw57-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 04 Jun 2019 10:54:38 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 4 Jun 2019 15:54:34 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) 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, 4 Jun 2019 15:54:33 +0100 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 x54EsVpR60358910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 4 Jun 2019 14:54:31 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9AFDAAE053; Tue, 4 Jun 2019 14:54:31 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5A506AE051; Tue, 4 Jun 2019 14:54:31 +0000 (GMT) Received: from osiris (unknown [9.152.212.21]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 4 Jun 2019 14:54:31 +0000 (GMT) Date: Tue, 4 Jun 2019 16:54:29 +0200 From: Heiko Carstens To: Masahiro Yamada Cc: Vasily Gorbik , Christian Borntraeger , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] s390: fix unrecognized __aligned() in uapi header References: <20190604082947.26328-1-yamada.masahiro@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190604082947.26328-1-yamada.masahiro@socionext.com> X-TM-AS-GCONF: 00 x-cbid: 19060414-0016-0000-0000-00000284111E X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19060414-0017-0000-0000-000032E121FA Message-Id: <20190604145429.GE5774@osiris> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-04_10:,, 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=936 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906040097 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 04, 2019 at 05:29:47PM +0900, Masahiro Yamada wrote: > __aligned() is a shorthand that is only available in the kernel space > because it is defined in include/linux/compiler_attributes.h, which is > not exported to the user space. > > Detected by compile-testing exported headers. > > ./usr/include/asm/runtime_instr.h:60:37: error: expected declaration specifiers or ‘...’ before numeric constant > } __attribute__((packed)) __aligned(8); > ^ > > Signed-off-by: Masahiro Yamada > --- > > arch/s390/include/uapi/asm/runtime_instr.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks.