From: Chen Gang <gang.chen@asianux.com>
To: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Cc: "Håvard Skinnemoen" <hskinnemoen@gmail.com>,
"Al Viro" <viro@zeniv.linux.org.uk>,
"David Miller" <davem@davemloft.net>,
eliezer.tamir@linux.intel.com, bernat@luffy.cx,
therbert@google.com, jacob.e.keller@intel.com,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"dhowells@redhat.com" <dhowells@redhat.com>
Subject: Re: [PATCH] arch: avr32: uapi: be sure of "_UAPI" prefix for all guard macros
Date: Thu, 14 Nov 2013 09:16:49 +0800 [thread overview]
Message-ID: <52842481.1000802@asianux.com> (raw)
In-Reply-To: <20131113112126.GA854@samfundet.no>
On 11/13/2013 07:21 PM, Hans-Christian Egtvedt wrote:
> Around Tue 12 Nov 2013 16:38:47 +0800 or thereabout, Chen Gang wrote:
>> For all uapi headers, need use "_UAPI" prefix for its guard macro
>> (which will be stripped by "scripts/headers_installer.sh").
>>
>> Also remove redundant files (bitsperlong.h, errno.h, fcntl.h, ioctl.h,
>> ioctls.h, ipcbuf.h, kvm_para.h, mman.h, poll.h, resource.h, siginfo.h,
>> statfs.h, and unistd.h) which are already in Kbuild.
>>
>> Also be sure that all "#endif" only have one empty line above, and each
>> file has guard macro.
>
> Thank you for fixing and cleaning, but this current patch does not build after
> applying. The deleted files needs to be added in Kbuild to pick the generic
> header files instead.
>
Oh, it is my fault, thanks. :-)
> Something ala
> diff --git a/arch/avr32/include/uapi/asm/Kbuild b/arch/avr32/include/uapi/asm/Kbuild
> index 3b85ead..08d8a3d 100644
> --- a/arch/avr32/include/uapi/asm/Kbuild
> +++ b/arch/avr32/include/uapi/asm/Kbuild
> @@ -2,35 +2,35 @@
> include include/uapi/asm-generic/Kbuild.asm
>
> header-y += auxvec.h
> -header-y += bitsperlong.h
> header-y += byteorder.h
> header-y += cachectl.h
> -header-y += errno.h
> -header-y += fcntl.h
> -header-y += ioctl.h
> -header-y += ioctls.h
> -header-y += ipcbuf.h
> -header-y += kvm_para.h
> -header-y += mman.h
> header-y += msgbuf.h
> header-y += param.h
> -header-y += poll.h
> header-y += posix_types.h
> header-y += ptrace.h
> -header-y += resource.h
> header-y += sembuf.h
> header-y += setup.h
> header-y += shmbuf.h
> header-y += sigcontext.h
> -header-y += siginfo.h
> header-y += signal.h
> header-y += socket.h
> header-y += sockios.h
> header-y += stat.h
> -header-y += statfs.h
> header-y += swab.h
> header-y += termbits.h
> header-y += termios.h
> header-y += types.h
> header-y += unistd.h
> +generic-y += bitsperlong.h
> +generic-y += errno.h
> +generic-y += fcntl.h
> +generic-y += ioctl.h
> +generic-y += ioctls.h
> +generic-y += ipcbuf.h
> +generic-y += kvm_para.h
> +generic-y += mman.h
> generic-y += param.h
> +generic-y += poll.h
> +generic-y += resource.h
> +generic-y += siginfo.h
> +generic-y += statfs.h
>
And I should check my original another architectures' 'same' patches for
'header-y' and 'generic-y'.
> I can amend this change, and add the patch to my for-linus branch.
>
>> Signed-off-by: Chen Gang <gang.chen@asianux.com>
>
> Signed-off-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
>
Thank you very much.
>
> <snipp diff>
>
Thanks.
--
Chen Gang
prev parent reply other threads:[~2013-11-14 1:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-12 8:38 [PATCH] arch: avr32: uapi: be sure of "_UAPI" prefix for all guard macros Chen Gang
2013-11-13 11:21 ` Hans-Christian Egtvedt
2013-11-14 1:16 ` Chen Gang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52842481.1000802@asianux.com \
--to=gang.chen@asianux.com \
--cc=bernat@luffy.cx \
--cc=davem@davemloft.net \
--cc=dhowells@redhat.com \
--cc=egtvedt@samfundet.no \
--cc=eliezer.tamir@linux.intel.com \
--cc=hskinnemoen@gmail.com \
--cc=jacob.e.keller@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=therbert@google.com \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox