All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Muhammed <jane.pnx9@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	outreachy-kernel@googlegroups.com
Cc: Sam Muhammed <jane.pnx9@gmail.com>
Subject: [PATCH v2 0/7] Staging: kpc2000: kpc_dma: Clear Misc Checkpatch.pl WARNINGS.
Date: Wed, 25 Mar 2020 10:26:35 -0400	[thread overview]
Message-ID: <cover.1585143581.git.jane.pnx9@gmail.com> (raw)

This driver has multiple WARNINGS and CHECKS,
Changes been made to match coding style and standards.
Modifications:
	- Remove Comparison to NULL.
	- Proper usage of kzalloc().
	- Reformat single statement blocks.
	- Including preferred header.
	- Using the proper SPDK comment style.
	- Using kcalloc instead of kzalloc with multiply.
	- Putting spaces around operators.

Changes in v2:
	- Adding a new patch to the series:
	    Patch #6: Use kcalloc over kzalloc.
	- Recovering alignment of code that a patch
	  messed up in the previous revision:
	    Patch #7: Use spaces around operators.

Sam Muhammed (7):
  Staging: kpc2000: kpc_dma: Remove comparison to NULL.
  Staging: kpc2000: kpc_dma: Use sizeof(*var) in kzalloc().
  Staging: kpc2000: kpc_dma: Remove unnecessary braces.
  Staging: kpc2000: kpc_dma: Include the preferred header.
  Staging: kpc2000: kpc_dma: Use the SPDK comment style.
  Staging: kpc2000: kpc_dma: Use kcalloc over kzalloc.
  Staging: kpc2000: kpc_dma: Use spaces around operators.

 drivers/staging/kpc2000/kpc_dma/dma.c         |  9 ++--
 drivers/staging/kpc2000/kpc_dma/fileops.c     | 49 +++++++++----------
 .../staging/kpc2000/kpc_dma/kpc_dma_driver.c  |  9 ++--
 .../staging/kpc2000/kpc_dma/kpc_dma_driver.h  |  4 +-
 4 files changed, 34 insertions(+), 37 deletions(-)

---
2.20.1



             reply	other threads:[~2020-03-25 14:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25 14:26 Sam Muhammed [this message]
2020-03-25 14:26 ` [PATCH v2 1/7] Staging: kpc2000: kpc_dma: Remove comparison to NULL Sam Muhammed
2020-03-30  1:04   ` [Outreachy kernel] " Stefano Brivio
2020-03-30 10:48     ` Sam Muhammed
2020-03-30 10:58       ` Julia Lawall
2020-03-30 11:02         ` Sam Muhammed
2020-03-30 13:55       ` Stefano Brivio
2020-03-30 16:33         ` Sam Muhammed
2020-03-25 14:26 ` [PATCH v2 2/7] Staging: kpc2000: kpc_dma: Use sizeof(*var) in kzalloc() Sam Muhammed
2020-03-30  1:04   ` [Outreachy kernel] " Stefano Brivio
2020-03-30 10:45     ` Sam Muhammed
2020-03-30 12:56       ` Stefano Brivio
2020-03-30 13:10         ` Sam Muhammed
2020-03-30 13:51           ` Stefano Brivio
2020-03-25 14:26 ` [PATCH v2 3/7] Staging: kpc2000: kpc_dma: Remove unnecessary braces Sam Muhammed
2020-03-25 14:26 ` [PATCH v2 4/7] Staging: kpc2000: kpc_dma: Include the preferred header Sam Muhammed
2020-03-25 14:26 ` [PATCH v2 5/7] Staging: kpc2000: kpc_dma: Use the SPDK comment style Sam Muhammed
2020-03-25 14:26 ` [PATCH v2 6/7] Staging: kpc2000: kpc_dma: Use kcalloc over kzalloc Sam Muhammed
2020-03-25 14:26 ` [PATCH v2 7/7] Staging: kpc2000: kpc_dma: Use spaces around operators Sam Muhammed
2020-03-30  1:04 ` [Outreachy kernel] [PATCH v2 0/7] Staging: kpc2000: kpc_dma: Clear Misc Checkpatch.pl WARNINGS Stefano Brivio

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=cover.1585143581.git.jane.pnx9@gmail.com \
    --to=jane.pnx9@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=outreachy-kernel@googlegroups.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 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.