* [PATCH] treewide: Correct the typo 'retun'
@ 2024-09-06 5:40 WangYuli
2024-09-07 15:30 ` Markus Elfring
0 siblings, 1 reply; 2+ messages in thread
From: WangYuli @ 2024-09-06 5:40 UTC (permalink / raw)
To: aaro.koskinen, andreas, khilman, rogerq, tony, linux, jgg, leon,
wangyuli, gustavoars, mitr, dmitry.torokhov, miquel.raynal,
richard, vigneshr, anil.gurumurthy, sudarsana.kalluru,
James.Bottomley, martin.petersen, obdclark, quic_abhinavk,
dmitry.baryshkov, sean, marijn.suijten, airlied, daniel
Cc: linux-omap, linux-arm-kernel, linux-kernel, linux-rdma,
linux-input, linux-mtd, linux-scsi, linux-arm-msm, dri-devel,
freedreno, abhinavk, architt, chandanu, jsanka, jcrouse, ryadav,
skolluku, seanpaul, robdclark, anil_ravindranath, standby24x7,
jkosina, don.hiatt, ira.weiny, dasaratharaman.chandramouli,
dledford, eric.piel, akpm, dtor, vijaykumar, dwmw2, kgudipat,
James.Bottomley, guanwentao, zhanjun
There are some spelling mistakes of 'retun' in comments which
should be instead of 'return'.
Signed-off-by: WangYuli <wangyuli@uniontech.com>
---
arch/arm/mach-omap2/omap-mpuss-lowpower.c | 2 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 2 +-
drivers/infiniband/core/sa_query.c | 2 +-
drivers/input/misc/wistron_btns.c | 2 +-
drivers/mtd/nand/raw/nandsim.c | 2 +-
drivers/scsi/bfa/bfa_fcs.c | 2 +-
drivers/scsi/pmcraid.c | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/arm/mach-omap2/omap-mpuss-lowpower.c b/arch/arm/mach-omap2/omap-mpuss-lowpower.c
index 7ad74db951f6..f18ef45e2fe1 100644
--- a/arch/arm/mach-omap2/omap-mpuss-lowpower.c
+++ b/arch/arm/mach-omap2/omap-mpuss-lowpower.c
@@ -333,7 +333,7 @@ int omap4_hotplug_cpu(unsigned int cpu, unsigned int power_state)
omap_pm_ops.scu_prepare(cpu, power_state);
/*
- * CPU never retuns back if targeted power state is OFF mode.
+ * CPU never returns back if targeted power state is OFF mode.
* CPU ONLINE follows normal CPU ONLINE ptah via
* omap4_secondary_startup().
*/
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h
index b26d5fe40c72..febc3e764a63 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h
@@ -231,7 +231,7 @@ struct dpu_crtc_state {
container_of(x, struct dpu_crtc_state, base)
/**
- * dpu_crtc_frame_pending - retun the number of pending frames
+ * dpu_crtc_frame_pending - return the number of pending frames
* @crtc: Pointer to drm crtc object
*/
static inline int dpu_crtc_frame_pending(struct drm_crtc *crtc)
diff --git a/drivers/infiniband/core/sa_query.c b/drivers/infiniband/core/sa_query.c
index 8175dde60b0a..53571e6b3162 100644
--- a/drivers/infiniband/core/sa_query.c
+++ b/drivers/infiniband/core/sa_query.c
@@ -1420,7 +1420,7 @@ enum opa_pr_supported {
/*
* opa_pr_query_possible - Check if current PR query can be an OPA query.
*
- * Retuns PR_NOT_SUPPORTED if a path record query is not
+ * Returns PR_NOT_SUPPORTED if a path record query is not
* possible, PR_OPA_SUPPORTED if an OPA path record query
* is possible and PR_IB_SUPPORTED if an IB path record
* query is possible.
diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c
index 5c4956678cd0..39d6f642cd19 100644
--- a/drivers/input/misc/wistron_btns.c
+++ b/drivers/input/misc/wistron_btns.c
@@ -1075,7 +1075,7 @@ static void wistron_led_init(struct device *parent)
}
if (leds_present & FE_MAIL_LED) {
- /* bios_get_default_setting(MAIL) always retuns 0, so just turn the led off */
+ /* bios_get_default_setting(MAIL) always returns 0, so just turn the led off */
wistron_mail_led.brightness = LED_OFF;
if (led_classdev_register(parent, &wistron_mail_led))
leds_present &= ~FE_MAIL_LED;
diff --git a/drivers/mtd/nand/raw/nandsim.c b/drivers/mtd/nand/raw/nandsim.c
index 179b28459b4b..df48b7d01d16 100644
--- a/drivers/mtd/nand/raw/nandsim.c
+++ b/drivers/mtd/nand/raw/nandsim.c
@@ -1381,7 +1381,7 @@ static inline union ns_mem *NS_GET_PAGE(struct nandsim *ns)
}
/*
- * Retuns a pointer to the current byte, within the current page.
+ * Returns a pointer to the current byte, within the current page.
*/
static inline u_char *NS_PAGE_BYTE_OFF(struct nandsim *ns)
{
diff --git a/drivers/scsi/bfa/bfa_fcs.c b/drivers/scsi/bfa/bfa_fcs.c
index 5023c0ab4277..e52ce9b01f49 100644
--- a/drivers/scsi/bfa/bfa_fcs.c
+++ b/drivers/scsi/bfa/bfa_fcs.c
@@ -1431,7 +1431,7 @@ bfa_cb_lps_flogo_comp(void *bfad, void *uarg)
* param[in] vf_id - VF_ID
*
* return
- * If lookup succeeds, retuns fcs vf object, otherwise returns NULL
+ * If lookup succeeds, returns fcs vf object, otherwise returns NULL
*/
bfa_fcs_vf_t *
bfa_fcs_vf_lookup(struct bfa_fcs_s *fcs, u16 vf_id)
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c
index a2a084c8075e..72a4c6e3d0c8 100644
--- a/drivers/scsi/pmcraid.c
+++ b/drivers/scsi/pmcraid.c
@@ -4009,7 +4009,7 @@ static void pmcraid_tasklet_function(unsigned long instance)
* This routine un-registers registered interrupt handler and
* also frees irqs/vectors.
*
- * Retun Value
+ * Return Value
* None
*/
static
--
2.43.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] treewide: Correct the typo 'retun'
2024-09-06 5:40 [PATCH] treewide: Correct the typo 'retun' WangYuli
@ 2024-09-07 15:30 ` Markus Elfring
0 siblings, 0 replies; 2+ messages in thread
From: Markus Elfring @ 2024-09-07 15:30 UTC (permalink / raw)
To: WangYuli, linux-input, linux-omap, linux-rdma, linux-scsi,
linux-arm-msm, linux-arm-kernel, linux-mtd, dri-devel, freedreno,
Aaro Koskinen, Abhinav Kumar, Abhinav Kumar, Andreas Kemnade,
Andrew Morton, Anil Gurumurthy, Anil Ravindranath, Archit Taneja,
Chandan Uddaraju, Daniel Vetter, Dasaratharaman Chandramouli,
David Airlie, David Woodhouse, Dmitry Baryshkov, Dmitry Torokhov,
Dmitry Torokhov, Don Hiatt, Doug Ledford, Eric Piel,
Gustavo A. R. Silva, Ira Weiny, James Bottomley, James Bottomley,
Jason Gunthorpe, Jiri Kosina, Jeykumar Sankaran, Jordan Crouse,
Kevin Hilman, Krishna Gudipati, Leon Romanovsky, Marijn Suijten,
Martin K. Petersen, Masanari Iida, Miquel Raynal, Miloslav Trmac,
Richard Weinberger, Rob Clark, Roger Quadros, Russell King,
Rajesh Yadav, Sean Paul, Sean Paul, Sravanthi Kollukuduru,
Sudarsana Kalluru, Tony Lindgren, Vignesh Raghavendra,
Vijay Kumar B., Wentao Guan, zhanjun
Cc: LKML
…
> should be instead of 'return'.
“return” instead?
Can a corresponding imperative wording be preferred for a better change description?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.11-rc6#n94
Regards,
Markus
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-07 15:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-06 5:40 [PATCH] treewide: Correct the typo 'retun' WangYuli
2024-09-07 15:30 ` Markus Elfring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox