All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Cleanup for staging lustre obdclass
@ 2018-03-04  9:09 Dafna Hirschfeld
  2018-03-04  9:09 ` [PATCH v2 1/3] staging: lustre: obdclass: Fix comparison to NULL Dafna Hirschfeld
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Dafna Hirschfeld @ 2018-03-04  9:09 UTC (permalink / raw)
  To: oleg.drokin, andreas.dilger, jsimmons, gregkh
  Cc: Dafna Hirschfeld, outreachy-kernel

Fixes of issues found with checkpatch.pl for the lustre obdclass driver.

Changes in v2:
patch 1:
1. Revert moving the constant to the right side of comparisons
in order to keep the condition in the form of
'lower bound <= val && val <= upper bound'

2. Revert returning '!!ptr' instead of 'ptr != NULL' since this is
not part of an 'if' statement.

patches 2+3:
No Change.

Dafna Hirschfeld (3):
  staging: lustre: obdclass: Fix comparison to NULL
  staging: lustre: obdclass: Add 'const' to char* array
  staging: lustre: obdclass: Replace 'unsigned' with 'unsigned int'

 drivers/staging/lustre/lustre/obdclass/cl_lock.c        | 2 +-
 drivers/staging/lustre/lustre/obdclass/cl_object.c      | 2 +-
 drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 4 ++--
 drivers/staging/lustre/lustre/obdclass/lu_object.c      | 8 ++++----
 4 files changed, 8 insertions(+), 8 deletions(-)

-- 
2.7.4



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-03-04 19:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-04  9:09 [PATCH v2 0/3] Cleanup for staging lustre obdclass Dafna Hirschfeld
2018-03-04  9:09 ` [PATCH v2 1/3] staging: lustre: obdclass: Fix comparison to NULL Dafna Hirschfeld
2018-03-04 19:04   ` [Outreachy kernel] " Julia Lawall
2018-03-04  9:09 ` [PATCH v2 2/3] staging: lustre: obdclass: Add 'const' to char* array Dafna Hirschfeld
2018-03-04  9:09 ` [PATCH v2 3/3] staging: lustre: obdclass: Replace 'unsigned' with 'unsigned int' Dafna Hirschfeld
2018-03-04 19:05 ` [Outreachy kernel] [PATCH v2 0/3] Cleanup for staging lustre obdclass Julia Lawall
2018-03-04 19:37   ` Dafna Hirschfeld
2018-03-04 19:38     ` Julia Lawall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.