public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fixing check patch styling issues
@ 2023-04-28  1:22 Raghu H
  2023-04-28  1:22 ` [PATCH v2 1/2] cxl/mbox: Remove redundant dev_err() after failed mem alloc Raghu H
  2023-04-28  1:22 ` [PATCH v2 2/2] cxl/region: Remove else after return statement Raghu H
  0 siblings, 2 replies; 14+ messages in thread
From: Raghu H @ 2023-04-28  1:22 UTC (permalink / raw)
  To: linux-cxl, Alison Schofield, raghuhack78, ira.weiny, bwidawsk,
	dan.j.williams, vishal.l.verma
  Cc: linux-kernel

v2 changes:
Thanks Alison, Ira for your comments, modified the v1 patches as suggested.
Dropped the patch containing tab changes in port.c

v1 cover letter:
The following patches are cleanup or fixing the styling issues found
using checkpatch

In cxl/core/mbox.c, in case of null check failure, returning errno or
-ENOMEM in this case is good enough, removing the redundant dev_err
message.

In cxl/core/region.c, the else is not required after the return
statement, cleaned it up.

Verified the build and sanity by booting the guest VM using the freshly
built components.

Raghu H (2):
  cxl/mbox: Remove redundant dev_err() after failed mem alloc
  cxl/region: Remove else after return statement

 drivers/cxl/core/mbox.c   | 4 +---
 drivers/cxl/core/region.c | 8 ++++----
 2 files changed, 5 insertions(+), 7 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2023-05-08  4:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-28  1:22 [PATCH v2 0/2] Fixing check patch styling issues Raghu H
2023-04-28  1:22 ` [PATCH v2 1/2] cxl/mbox: Remove redundant dev_err() after failed mem alloc Raghu H
2023-05-01 14:52   ` Dave Jiang
2023-05-03 17:57   ` Verma, Vishal L
2023-05-03 18:32   ` Fabio M. De Francesco
2023-05-03 22:03     ` Alison Schofield
2023-05-04 10:46       ` Fabio M. De Francesco
2023-05-04 15:23         ` Alison Schofield
2023-05-08  4:12           ` RAGHU H
2023-05-03 22:36   ` Davidlohr Bueso
2023-05-04  2:26     ` Alison Schofield
2023-04-28  1:22 ` [PATCH v2 2/2] cxl/region: Remove else after return statement Raghu H
2023-05-01 14:53   ` Dave Jiang
2023-05-03 17:58     ` Verma, Vishal L

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox