Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1596307

Re: [PATCH] staging: speakup: Simplify NULL comparisons

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] staging: speakup: Simplify NULL comparisons
Date 2017-03-09 19:40 +0100
Message-ID <tjb8K-yF-23@gated-at.bofh.it> (permalink)
References <tjamm-8rP-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 09, 2017 at 11:19:49PM +0530, Arushi Singhal wrote:
> Fixed coding style for null comparisons in speakup driver to be more
> consistant with the rest of the kernel coding style.
> Replaced 'x != NULL' with 'x' and 'x = NULL' with '!x'.
> 
> Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
> ---
>  drivers/staging/speakup/fakekey.c  |  2 +-
>  drivers/staging/speakup/kobjects.c |  2 +-
>  drivers/staging/speakup/main.c     | 38 +++++++++++++++++++-------------------
>  3 files changed, 21 insertions(+), 21 deletions(-)

Also does not apply :(

greg k-h

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] staging: speakup: Simplify NULL comparisons Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-09 18:50 +0100
  Re: [PATCH] staging: speakup: Simplify NULL comparisons Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-03-09 19:40 +0100

csiph-web