mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: SeongJae Park <sj38.park@gmail.com>
Cc: devel@driverdev.osuosl.org, swetland@google.com,
	arve@android.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] staging: android: remove unused constant, BINDER_SET_IDLE_PRIORITY
Date: Tue, 11 Feb 2014 12:22:11 -0800	[thread overview]
Message-ID: <20140211202211.GA2306@kroah.com> (raw)
In-Reply-To: <1391828381-4303-2-git-send-email-sj38.park@gmail.com>

On Sat, Feb 08, 2014 at 11:59:41AM +0900, SeongJae Park wrote:
> Remove constant BINDER_SET_IDLE_PRIORITY because it is not used from
> anywhere.

> 
> Signed-off-by: SeongJae Park <sj38.park@gmail.com>
> ---
>  drivers/staging/android/binder.h | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/staging/android/binder.h b/drivers/staging/android/binder.h
> index c4c1ed6..6d08e61 100644
> --- a/drivers/staging/android/binder.h
> +++ b/drivers/staging/android/binder.h
> @@ -87,10 +87,9 @@ struct binder_version {
>  #define BINDER_WRITE_READ		_IOWR('b', 1, struct binder_write_read)
>  #define BINDER_SET_IDLE_TIMEOUT		_IOW('b', 3, __s64)
>  #define BINDER_SET_MAX_THREADS		_IOW('b', 5, __u32)
> -#define BINDER_SET_IDLE_PRIORITY	_IOW('b', 6, __s32)
> -#define BINDER_SET_CONTEXT_MGR		_IOW('b', 7, __s32)
> -#define BINDER_THREAD_EXIT		_IOW('b', 8, __s32)
> -#define BINDER_VERSION			_IOWR('b', 9, struct binder_version)
> +#define BINDER_SET_CONTEXT_MGR		_IOW('b', 6, __s32)
> +#define BINDER_THREAD_EXIT		_IOW('b', 7, __s32)
> +#define BINDER_VERSION			_IOWR('b', 8, struct binder_version)

And you just broke all userspace code that uses this interface :(

Please be more careful, and test your patches properly.

greg k-h

  reply	other threads:[~2014-02-11 20:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-08  2:59 [PATCH 1/2] staging: android: binder: use whitespace consistently SeongJae Park
2014-02-08  2:59 ` [PATCH 2/2] staging: android: remove unused constant, BINDER_SET_IDLE_PRIORITY SeongJae Park
2014-02-11 20:22   ` Greg KH [this message]
2014-02-12  3:16     ` SeongJae Park

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=20140211202211.GA2306@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=arve@android.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sj38.park@gmail.com \
    --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

all inboxes | Powered by JetHome®