From: earl <waydi1@gmail.com>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: greg@kroah.com, devel@driverdev.osuosl.org, swetland@google.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging : android : uapi : fix coding style
Date: Thu, 17 Apr 2014 00:27:40 +0900 [thread overview]
Message-ID: <534EA16C.6000405@gmail.com> (raw)
In-Reply-To: <20140416144404.GR26890@mwanda>
On 04/16/2014 11:44 PM, Dan Carpenter wrote:
> Subject is not correct format. Should be:
>
> [PATCH] staging: android: uapi: fix coding style
>
> On Wed, Apr 16, 2014 at 11:27:39PM +0900, Seunghun Lee wrote:
>> This patch fix checkpatch.pl warnings and errors.
>>
> Patch does too many things at once. Split it up.
>
>> Signed-off-by: Seunghun Lee <waydi1@gmail.com>
>> ---
>> drivers/staging/android/uapi/binder.h | 2 +-
>> drivers/staging/android/uapi/ion.h | 20 +++++++++-----------
>> 2 files changed, 10 insertions(+), 12 deletions(-)
>>
>> diff --git a/drivers/staging/android/uapi/binder.h b/drivers/staging/android/uapi/binder.h
>> index 904adb7..dba4cef 100644
>> --- a/drivers/staging/android/uapi/binder.h
>> +++ b/drivers/staging/android/uapi/binder.h
>> @@ -169,7 +169,7 @@ struct binder_ptr_cookie {
>> struct binder_handle_cookie {
>> __u32 handle;
>> binder_uintptr_t cookie;
>> -} __attribute__((packed));
>> +} __packed;
>>
>> struct binder_pri_desc {
>> __s32 priority;
>> diff --git a/drivers/staging/android/uapi/ion.h b/drivers/staging/android/uapi/ion.h
>> index f09e7c1..36332dc 100644
>> --- a/drivers/staging/android/uapi/ion.h
>> +++ b/drivers/staging/android/uapi/ion.h
>> @@ -20,19 +20,17 @@
>> #include <linux/ioctl.h>
>> #include <linux/types.h>
>>
>> -typedef int ion_user_handle_t;
> This typedef is probably a valid use. Plus it looks to be part of the
> user space API. Just leave it alone.
>
> regards,
> dan carpenter
>
Thanks for review.
You're right, I sent the wrong patch.
I'll resend it.
Thanks.
next prev parent reply other threads:[~2014-04-16 15:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-16 14:27 [PATCH] staging : android : uapi : fix coding style Seunghun Lee
2014-04-16 14:39 ` Joe Perches
2014-04-16 16:36 ` John Stultz
2014-04-16 16:54 ` Colin Cross
2014-04-16 14:44 ` Dan Carpenter
2014-04-16 15:27 ` earl [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-04-16 15:39 [PATCH] staging: android: uapi: " Seunghun Lee
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=534EA16C.6000405@gmail.com \
--to=waydi1@gmail.com \
--cc=dan.carpenter@oracle.com \
--cc=devel@driverdev.osuosl.org \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=swetland@google.com \
/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