All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/10] Fix checkpatch issues
@ 2017-09-26 16:01 Georgiana Chelu
  2017-09-26 16:01 ` [PATCH v2 01/10] Staging: media: atomisp: Use kmalloc_array instead of kmalloc Georgiana Chelu
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: Georgiana Chelu @ 2017-09-26 16:01 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: Mauro Carvalho Chehab, Greg Kroah-Hartman

This patchset was created on Julia recommendation to
remove 'out of memory' messages and unlikely checks.

* [1/10] kmalloc generates a backtrace on failure and it will
show the same information as the removed messages.
* [2/10] unlikely checks are not necessary on NULL pointers
after a memory allocation.

Also, new changes were made to improve the code from hmm_bo.c file.
Some of the issues were already in the file, others were introduced
on previous patches of this set.
These new changes are available on [3/10-10/10] patches.

Changes in v2:
* Nothing changed in 1/10
* New added 2/10 - 10/10


Georgiana Chelu (10):
  Staging: media: atomisp: Use kmalloc_array instead of kmalloc
  Staging: media: atomisp: Remove useless 'out of memory' messages
  Staging: media: atomisp: Remove unlikely from NULL pointer check
  Staging: media: atomisp: Adjust checks for null pointers
  Staging: media: atomisp: Remove return statement from void function
  Staging: media: atomisp: Add spaces around bitwise OR
  Staging: media: atomisp: Remove braces {} for single statement blocks
  Staging: media: atomisp: Align code with open parenthesis
  Staging: media: atomisp: Merge quoted string split across lines
  Staging: media: atomisp: Split lines wiht over 80 characters

 .../media/atomisp/pci/atomisp2/hmm/hmm_bo.c        | 164 ++++++++++-----------
 1 file changed, 76 insertions(+), 88 deletions(-)

-- 
2.7.4



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

end of thread, other threads:[~2017-10-01 11:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-26 16:01 [PATCH v2 00/10] Fix checkpatch issues Georgiana Chelu
2017-09-26 16:01 ` [PATCH v2 01/10] Staging: media: atomisp: Use kmalloc_array instead of kmalloc Georgiana Chelu
2017-09-26 16:01 ` [PATCH v2 02/10] Staging: media: atomisp: Remove useless 'out of memory' messages Georgiana Chelu
2017-09-29 13:34   ` [Outreachy kernel] " Greg Kroah-Hartman
2017-10-01 11:37     ` Georgiana Chelu
2017-10-01 11:47       ` Julia Lawall
2017-10-01 11:56         ` Georgiana Chelu
2017-09-26 16:01 ` [PATCH v2 03/10] Staging: media: atomisp: Remove unlikely from NULL pointer check Georgiana Chelu
2017-09-29 13:35   ` Greg Kroah-Hartman
2017-09-26 16:01 ` [PATCH v2 04/10] Staging: media: atomisp: Adjust checks for null pointers Georgiana Chelu
2017-09-26 16:01 ` [PATCH v2 05/10] Staging: media: atomisp: Remove return statement from void function Georgiana Chelu
2017-09-26 16:01 ` [PATCH v2 06/10] Staging: media: atomisp: Add spaces around bitwise OR Georgiana Chelu
2017-09-26 16:01 ` [PATCH v2 07/10] Staging: media: atomisp: Remove braces {} for single statement blocks Georgiana Chelu
2017-09-26 16:01 ` [PATCH v2 08/10] Staging: media: atomisp: Align code with open parenthesis Georgiana Chelu
2017-09-26 16:01 ` [PATCH v2 09/10] Staging: media: atomisp: Merge quoted string split across lines Georgiana Chelu
2017-09-26 16:01 ` [PATCH v2 10/10] Staging: media: atomisp: Split lines wiht over 80 characters Georgiana Chelu

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.