Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752325AbcKGJuP (ORCPT ); Mon, 7 Nov 2016 04:50:15 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:47420 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752082AbcKGJuN (ORCPT ); Mon, 7 Nov 2016 04:50:13 -0500 Date: Mon, 7 Nov 2016 10:50:05 +0100 From: Martin Schwidefsky To: Heiko Carstens Cc: Masahiro Yamada , linux-s390@vger.kernel.org, Sascha Silbe , Christian Borntraeger , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] s390: squash facilities_src.h into gen_facilities.c In-Reply-To: <20161107070322.GA4075@osiris> References: <1478403928-20799-1-git-send-email-yamada.masahiro@socionext.com> <1478403928-20799-2-git-send-email-yamada.masahiro@socionext.com> <20161107070322.GA4075@osiris> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16110709-0020-0000-0000-000002247901 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16110709-0021-0000-0000-00001E300A19 Message-Id: <20161107105005.3477a324@mschwide> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-11-07_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1611070152 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1056 Lines: 33 On Mon, 7 Nov 2016 08:03:22 +0100 Heiko Carstens wrote: > On Sun, Nov 06, 2016 at 12:45:28PM +0900, Masahiro Yamada wrote: > > We generally expect headers in arch/$(ARCH)/include/asm directory > > are included from kernel sources, but facilities_src.h is not; > > it is included from the arch/s390/tools/gen_facilities.c tool. > > > > There is no reason to expose this header to the public include path. > > Furthermore, facilities_src.h makes sure to be included only from > > gen_facilities.c by the following: > > > > #ifndef S390_GEN_FACILITIES_C > > #error "This file can only be included by gen_facilities.c" > > #endif > > > > This check can be removed by merging the two files. > > > > Signed-off-by: Masahiro Yamada > > --- > > Both patches: > Acked-by: Heiko Carstens > > Martin, can you please pick them up? I will add these two patches to the merge branch for 4.10. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.