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


Groups > linux.kernel > #1742993

[PATCH 0/3] evaluate: Follow linux-kernel coding style

From Harsha Sharma <harshasharmaiitr@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 0/3] evaluate: Follow linux-kernel coding style
Date 2017-10-02 09:40 +0200
Message-ID <uw3ux-4tG-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Issues found using checkpatch.pl 
As per linux-kernel coding style, code indent should use tabs wherever
possible and avoid unnecessary spaces.
Comparisons shoukd place the constant on the right side of the test.
static const char * array should be static const * char const array 

Harsha Sharma (3):
  evaluate: Remove unnecessary spaces
  evaluate: Place constant on right side in comparison
  evaluate: fix checkpatch issue for static const char * array

 src/evaluate.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

-- 
1.9.1

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


Thread

[PATCH 0/3] evaluate: Follow linux-kernel coding style Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-10-02 09:40 +0200
  [PATCH 3/3] evaluate: make pointers in string arrays constant  Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-10-02 09:40 +0200
  [PATCH 2/3] evaluate: Place constant on right side in comparison Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-10-02 09:40 +0200
  [PATCH 1/3] evaluate: Remove unnecessary spaces Harsha Sharma <harshasharmaiitr@gmail.com> - 2017-10-02 09:40 +0200

csiph-web