* [PATCH 00/35] Reorganize kerneldoc parameter names
@ 2024-09-30 11:20 Julia Lawall
2024-09-30 11:20 ` [PATCH 01/35] ARM: OMAP2/3: PRM: " Julia Lawall
` (37 more replies)
0 siblings, 38 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:20 UTC (permalink / raw)
To: linux-gpio
Cc: kernel-janitors, audit, linux-mtd, Zhihao Cheng,
Rafael J. Wysocki, linux-arm-msm, linux-pci, dri-devel, linux-usb,
linux-mm, maple-tree, alsa-devel, Sanyog Kale,
Pierre-Louis Bossart, dccp, linux-fsdevel, Jan Kara, drbd-dev,
linux-sound, linux-kernel, linux-omap, linux-arm-kernel, netdev,
nvdimm, linux-leds, Nicholas Piggin, Christophe Leroy,
Naveen N Rao, Madhavan Srinivasan, linuxppc-dev, tipc-discussion,
Robin Murphy, iommu, Mathieu Desnoyers, linux-trace-kernel,
Neil Brown, Olga Kornievskaia, Dai Ngo, Tom Talpey, linux-nfs,
amd-gfx, linux-wireless, intel-wired-lan
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
The misordered cases were identified using the following
Coccinelle semantic patch:
// <smpl>
@initialize:ocaml@
@@
let parse_doc l =
let pieces = List.map String.trim (String.split_on_char '*' l) in
let l = String.concat " " pieces in
match String.split_on_char ':' l with
x::xs -> x
| _ -> ""
let params ps =
List.rev
(List.fold_left
(fun prev (pm,_) ->
let ty =
String.trim(Pretty_print_c.string_of_fullType pm.Ast_c.p_type) in
if ty = "void" && pm.Ast_c.p_namei = None
then prev
else
let name =
match pm.Ast_c.p_namei with
Some name -> name
| None -> failwith "function parameter has no name" in
(String.trim (Pretty_print_c.string_of_name name),ty)::prev)
[] ps)
@r@
comments c;
identifier fn;
position p;
parameter list ps;
type T;
@@
T@c fn@p(ps) { ... }
@script:ocaml@
p << r.p;
c << r.c;
(_,ps) << r.ps;
@@
let isdoc c ps =
List.length ps > 1 &&
(let c = String.trim c in
String.length c > 3 && String.sub c 0 3 = "/**" && String.get c 3 != '*') in
let subset l1 l2 =
List.for_all (fun x -> List.mem x l2) l1 in
let (cb,cm,ca) = List.hd c in
match List.rev cb with
c::_ when isdoc c ps ->
let pieces = String.split_on_char '@' c in
(match pieces with
_::tl ->
let d_names = List.map parse_doc tl in
(* check parameters *)
let p_names = List.map fst (params ps) in
if d_names <> [] && not(d_names = p_names)
then
begin
if List.sort compare d_names = List.sort compare p_names
then Coccilib.print_main "out of order" p
else if subset d_names p_names
then Coccilib.print_main "doc is missing a parameter" p
else if subset d_names p_names
then Coccilib.print_main "doc has an extra parameter" p
end
| _ -> ())
| _ -> ()
// </smpl>
---
arch/arm/mach-omap2/prm2xxx_3xxx.c | 1 -
arch/powerpc/platforms/ps3/interrupt.c | 2 +-
arch/powerpc/platforms/ps3/repository.c | 2 +-
drivers/base/firmware_loader/main.c | 2 +-
drivers/comedi/drivers/comedi_8254.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +-
drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +-
drivers/gpu/drm/drm_gem_framebuffer_helper.c | 3 +--
drivers/gpu/drm/drm_gpuvm.c | 2 +-
drivers/gpu/drm/radeon/radeon_ib.c | 2 +-
drivers/iommu/iommu.c | 2 +-
drivers/leds/leds-gpio-register.c | 2 +-
drivers/mfd/atmel-smc.c | 4 ++--
drivers/misc/mei/bus.c | 2 +-
drivers/mtd/ubi/eba.c | 2 +-
drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c | 2 +-
drivers/net/ethernet/intel/e1000/e1000_hw.c | 2 +-
drivers/net/ethernet/intel/i40e/i40e_common.c | 7 +++----
drivers/net/ethernet/intel/ice/ice_common.c | 2 +-
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 2 +-
drivers/nvdimm/dimm_devs.c | 2 +-
drivers/pci/hotplug/pci_hotplug_core.c | 2 +-
drivers/pinctrl/pinmux.c | 2 +-
drivers/slimbus/messaging.c | 2 +-
drivers/soc/qcom/qmi_interface.c | 2 +-
drivers/soundwire/stream.c | 2 +-
drivers/usb/gadget/config.c | 4 ++--
fs/char_dev.c | 2 +-
fs/dcache.c | 4 ++--
fs/seq_file.c | 2 +-
kernel/audit.c | 2 +-
kernel/resource.c | 2 +-
kernel/sysctl.c | 1 -
kernel/trace/ring_buffer.c | 2 +-
lib/lru_cache.c | 2 +-
lib/maple_tree.c | 2 +-
mm/mmu_notifier.c | 2 +-
net/dccp/feat.c | 2 +-
net/mac80211/mesh_hwmp.c | 6 +++---
net/mac80211/mesh_pathtbl.c | 10 +++++-----
net/socket.c | 2 +-
net/sunrpc/xprt.c | 2 +-
net/tipc/link.c | 14 +++++++-------
net/tipc/msg.c | 2 +-
sound/pci/hda/hda_codec.c | 2 +-
45 files changed, 60 insertions(+), 64 deletions(-)
^ permalink raw reply [flat|nested] 67+ messages in thread
* [PATCH 01/35] ARM: OMAP2/3: PRM: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
@ 2024-09-30 11:20 ` Julia Lawall
2024-09-30 14:07 ` Roger Quadros
2024-10-04 21:02 ` Kevin Hilman
2024-09-30 11:20 ` [PATCH 02/35] resource: " Julia Lawall
` (36 subsequent siblings)
37 siblings, 2 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:20 UTC (permalink / raw)
To: Paul Walmsley
Cc: kernel-janitors, Aaro Koskinen, Andreas Kemnade, Kevin Hilman,
Roger Quadros, Tony Lindgren, Russell King, linux-omap,
linux-arm-kernel, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
arch/arm/mach-omap2/prm2xxx_3xxx.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-omap2/prm2xxx_3xxx.c b/arch/arm/mach-omap2/prm2xxx_3xxx.c
index d983efac6f4f..d3a912886709 100644
--- a/arch/arm/mach-omap2/prm2xxx_3xxx.c
+++ b/arch/arm/mach-omap2/prm2xxx_3xxx.c
@@ -62,7 +62,6 @@ int omap2_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod, u16 offset)
/**
* omap2_prm_deassert_hardreset - deassert a submodule hardreset line and wait
- * @prm_mod: PRM submodule base (e.g. CORE_MOD)
* @rst_shift: register bit shift corresponding to the reset line to deassert
* @st_shift: register bit shift for the status of the deasserted submodule
* @part: PRM partition, not used for OMAP2
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 02/35] resource: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
2024-09-30 11:20 ` [PATCH 01/35] ARM: OMAP2/3: PRM: " Julia Lawall
@ 2024-09-30 11:20 ` Julia Lawall
2024-09-30 11:20 ` [PATCH 03/35] bnxt_en: " Julia Lawall
` (35 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:20 UTC (permalink / raw)
To: linux-kernel; +Cc: kernel-janitors
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
kernel/resource.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/resource.c b/kernel/resource.c
index 2d266b5ff881..7242909795be 100644
--- a/kernel/resource.c
+++ b/kernel/resource.c
@@ -1993,8 +1993,8 @@ get_free_mem_region(struct device *dev, struct resource *base,
* devm_request_free_mem_region - find free region for device private memory
*
* @dev: device struct to bind the resource to
- * @size: size in bytes of the device memory to add
* @base: resource tree to look in
+ * @size: size in bytes of the device memory to add
*
* This function tries to find an empty range of physical address big enough to
* contain the new resource, so that it can later be hotplugged as ZONE_DEVICE
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 03/35] bnxt_en: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
2024-09-30 11:20 ` [PATCH 01/35] ARM: OMAP2/3: PRM: " Julia Lawall
2024-09-30 11:20 ` [PATCH 02/35] resource: " Julia Lawall
@ 2024-09-30 11:20 ` Julia Lawall
2024-10-01 9:30 ` Paolo Abeni
2024-09-30 11:20 ` [PATCH 04/35] ALSA: " Julia Lawall
` (34 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:20 UTC (permalink / raw)
To: Michael Chan
Cc: kernel-janitors, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c b/drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c
index d2fd2d04ed47..3ba7a51a8afa 100644
--- a/drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c
+++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c
@@ -171,8 +171,8 @@ void hwrm_req_alloc_flags(struct bnxt *bp, void *req, gfp_t gfp)
* such as hwrm_req_send(), should thus use req and not new_req (in fact,
* calls to HWRM API functions will fail if non-managed request objects
* are passed).
- * @len: The length of new_req.
* @new_req: The pre-built request to copy or reference.
+ * @len: The length of new_req.
*
* Replaces the request data in req with that of new_req. This is useful in
* scenarios where a request object has already been constructed by a third
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 04/35] ALSA: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (2 preceding siblings ...)
2024-09-30 11:20 ` [PATCH 03/35] bnxt_en: " Julia Lawall
@ 2024-09-30 11:20 ` Julia Lawall
2024-09-30 14:02 ` Takashi Iwai
2024-09-30 11:20 ` [PATCH 05/35] libnvdimm: " Julia Lawall
` (33 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:20 UTC (permalink / raw)
To: Jaroslav Kysela; +Cc: kernel-janitors, Takashi Iwai, linux-sound, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
sound/pci/hda/hda_codec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 3dd1bda0c5c6..14763c0f31ad 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -1734,9 +1734,9 @@ EXPORT_SYMBOL_GPL(snd_hda_ctl_add);
/**
* snd_hda_add_nid - Assign a NID to a control element
* @codec: HD-audio codec
- * @nid: corresponding NID (optional)
* @kctl: the control element to assign
* @index: index to kctl
+ * @nid: corresponding NID (optional)
*
* Add the given control element to an array inside the codec instance.
* This function is used when #snd_hda_ctl_add cannot be used for 1:1
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 05/35] libnvdimm: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (3 preceding siblings ...)
2024-09-30 11:20 ` [PATCH 04/35] ALSA: " Julia Lawall
@ 2024-09-30 11:20 ` Julia Lawall
2024-09-30 22:26 ` Ira Weiny
2024-09-30 11:20 ` [PATCH 06/35] lru_cache: " Julia Lawall
` (32 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:20 UTC (permalink / raw)
To: Dan Williams
Cc: kernel-janitors, Vishal Verma, Dave Jiang, Ira Weiny, nvdimm,
linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/nvdimm/dimm_devs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/nvdimm/dimm_devs.c b/drivers/nvdimm/dimm_devs.c
index 21498d461fde..8c35502638e2 100644
--- a/drivers/nvdimm/dimm_devs.c
+++ b/drivers/nvdimm/dimm_devs.c
@@ -767,8 +767,8 @@ resource_size_t nd_pmem_max_contiguous_dpa(struct nd_region *nd_region,
/**
* nd_pmem_available_dpa - for the given dimm+region account unallocated dpa
- * @nd_mapping: container of dpa-resource-root + labels
* @nd_region: constrain available space check to this reference region
+ * @nd_mapping: container of dpa-resource-root + labels
*
* Validate that a PMEM label, if present, aligns with the start of an
* interleave set.
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 06/35] lru_cache: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (4 preceding siblings ...)
2024-09-30 11:20 ` [PATCH 05/35] libnvdimm: " Julia Lawall
@ 2024-09-30 11:20 ` Julia Lawall
2024-09-30 11:20 ` [PATCH 07/35] leds: leds-gpio-register: " Julia Lawall
` (31 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:20 UTC (permalink / raw)
To: Andrew Morton
Cc: kernel-janitors, Philipp Reisner, Lars Ellenberg,
Christoph Böhmwalder, linux-kernel, drbd-dev
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
lib/lru_cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/lru_cache.c b/lib/lru_cache.c
index 9e0d469c7658..40f22213c3b3 100644
--- a/lib/lru_cache.c
+++ b/lib/lru_cache.c
@@ -576,8 +576,8 @@ struct lc_element *lc_element_by_index(struct lru_cache *lc, unsigned i)
/**
* lc_seq_dump_details - Dump a complete LRU cache to seq in textual form.
- * @lc: the lru cache to operate on
* @seq: the &struct seq_file pointer to seq_printf into
+ * @lc: the lru cache to operate on
* @utext: user supplied additional "heading" or other info
* @detail: function pointer the user may provide to dump further details
* of the object the lc_element is embedded in. May be NULL.
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 07/35] leds: leds-gpio-register: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (5 preceding siblings ...)
2024-09-30 11:20 ` [PATCH 06/35] lru_cache: " Julia Lawall
@ 2024-09-30 11:20 ` Julia Lawall
2024-10-10 13:42 ` (subset) " Lee Jones
2024-09-30 11:20 ` [PATCH 08/35] fs: " Julia Lawall
` (30 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:20 UTC (permalink / raw)
To: Pavel Machek; +Cc: kernel-janitors, Lee Jones, linux-leds, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/leds/leds-gpio-register.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/leds/leds-gpio-register.c b/drivers/leds/leds-gpio-register.c
index de3f12c2b80d..ccc01fa72e6f 100644
--- a/drivers/leds/leds-gpio-register.c
+++ b/drivers/leds/leds-gpio-register.c
@@ -10,8 +10,8 @@
/**
* gpio_led_register_device - register a gpio-led device
- * @pdata: the platform data used for the new device
* @id: platform ID
+ * @pdata: the platform data used for the new device
*
* Makes a copy of pdata and pdata->leds and registers a new leds-gpio device
* with the result. This allows to have pdata and pdata-leds in .init.rodata
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 08/35] fs: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (6 preceding siblings ...)
2024-09-30 11:20 ` [PATCH 07/35] leds: leds-gpio-register: " Julia Lawall
@ 2024-09-30 11:20 ` Julia Lawall
2024-09-30 12:09 ` (subset) " Christian Brauner
2024-09-30 12:25 ` Jan Kara
2024-09-30 11:20 ` [PATCH 09/35] sysctl: " Julia Lawall
` (29 subsequent siblings)
37 siblings, 2 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:20 UTC (permalink / raw)
To: Alexander Viro
Cc: kernel-janitors, Christian Brauner, Jan Kara, linux-fsdevel,
linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
fs/char_dev.c | 2 +-
fs/dcache.c | 4 ++--
fs/seq_file.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/char_dev.c b/fs/char_dev.c
index 57cc096c498a..c2ddb998f3c9 100644
--- a/fs/char_dev.c
+++ b/fs/char_dev.c
@@ -562,8 +562,8 @@ int cdev_device_add(struct cdev *cdev, struct device *dev)
/**
* cdev_device_del() - inverse of cdev_device_add
- * @dev: the device structure
* @cdev: the cdev structure
+ * @dev: the device structure
*
* cdev_device_del() is a helper function to call cdev_del and device_del.
* It should be used whenever cdev_device_add is used.
diff --git a/fs/dcache.c b/fs/dcache.c
index d7f6866f5f52..2894b30d8e40 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -2039,8 +2039,8 @@ EXPORT_SYMBOL(d_obtain_root);
/**
* d_add_ci - lookup or allocate new dentry with case-exact name
- * @inode: the inode case-insensitive lookup has found
* @dentry: the negative dentry that was passed to the parent's lookup func
+ * @inode: the inode case-insensitive lookup has found
* @name: the case-exact name to be associated with the returned dentry
*
* This is to avoid filling the dcache with case-insensitive names to the
@@ -2093,8 +2093,8 @@ EXPORT_SYMBOL(d_add_ci);
/**
* d_same_name - compare dentry name with case-exact name
- * @parent: parent dentry
* @dentry: the negative dentry that was passed to the parent's lookup func
+ * @parent: parent dentry
* @name: the case-exact name to be associated with the returned dentry
*
* Return: true if names are same, or false
diff --git a/fs/seq_file.c b/fs/seq_file.c
index e676c8b0cf5d..8bbb1ad46335 100644
--- a/fs/seq_file.c
+++ b/fs/seq_file.c
@@ -343,8 +343,8 @@ EXPORT_SYMBOL(seq_lseek);
/**
* seq_release - free the structures associated with sequential file.
- * @file: file in question
* @inode: its inode
+ * @file: file in question
*
* Frees the structures associated with sequential file; can be used
* as ->f_op->release() if you don't have private data to destroy.
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 09/35] sysctl: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (7 preceding siblings ...)
2024-09-30 11:20 ` [PATCH 08/35] fs: " Julia Lawall
@ 2024-09-30 11:20 ` Julia Lawall
2024-10-22 19:31 ` Joel Granados
2024-09-30 11:20 ` [PATCH 10/35] dccp: " Julia Lawall
` (28 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:20 UTC (permalink / raw)
To: Luis Chamberlain
Cc: kernel-janitors, Kees Cook, Joel Granados, linux-kernel,
linux-fsdevel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
kernel/sysctl.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 79e6cb1d5c48..5c9202cb8f59 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -1305,7 +1305,6 @@ int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int write,
* @write: %TRUE if this is a write to the sysctl file
* @buffer: the user buffer
* @lenp: the size of the user buffer
- * @ppos: file position
* @ppos: the current position in the file
*
* Reads/writes up to table->maxlen/sizeof(unsigned int) integer
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 10/35] dccp: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (8 preceding siblings ...)
2024-09-30 11:20 ` [PATCH 09/35] sysctl: " Julia Lawall
@ 2024-09-30 11:20 ` Julia Lawall
2024-09-30 11:20 ` [PATCH 11/35] powerpc/ps3: " Julia Lawall
` (27 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:20 UTC (permalink / raw)
To: David S. Miller
Cc: kernel-janitors, Eric Dumazet, Jakub Kicinski, Paolo Abeni, dccp,
netdev, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
net/dccp/feat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/dccp/feat.c b/net/dccp/feat.c
index 54086bb05c42..90ac50556ee0 100644
--- a/net/dccp/feat.c
+++ b/net/dccp/feat.c
@@ -626,9 +626,9 @@ static u8 dccp_feat_sp_list_ok(u8 feat_num, u8 const *sp_list, u8 sp_len)
/**
* dccp_feat_insert_opts - Generate FN options from current list state
- * @skb: next sk_buff to be sent to the peer
* @dp: for client during handshake and general negotiation
* @dreq: used by the server only (all Changes/Confirms in LISTEN/RESPOND)
+ * @skb: next sk_buff to be sent to the peer
*/
int dccp_feat_insert_opts(struct dccp_sock *dp, struct dccp_request_sock *dreq,
struct sk_buff *skb)
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 11/35] powerpc/ps3: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (9 preceding siblings ...)
2024-09-30 11:20 ` [PATCH 10/35] dccp: " Julia Lawall
@ 2024-09-30 11:20 ` Julia Lawall
2024-09-30 11:58 ` Geert Uytterhoeven
2024-10-02 8:43 ` Geoff Levand
2024-09-30 11:20 ` [PATCH 12/35] soundwire: stream: " Julia Lawall
` (26 subsequent siblings)
37 siblings, 2 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:20 UTC (permalink / raw)
To: Geoff Levand
Cc: kernel-janitors, Michael Ellerman, Nicholas Piggin,
Christophe Leroy, Naveen N Rao, Madhavan Srinivasan, linuxppc-dev,
linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
arch/powerpc/platforms/ps3/interrupt.c | 2 +-
arch/powerpc/platforms/ps3/repository.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/ps3/interrupt.c b/arch/powerpc/platforms/ps3/interrupt.c
index 49871427f599..af3fe9f04f24 100644
--- a/arch/powerpc/platforms/ps3/interrupt.c
+++ b/arch/powerpc/platforms/ps3/interrupt.c
@@ -378,9 +378,9 @@ int ps3_send_event_locally(unsigned int virq)
/**
* ps3_sb_event_receive_port_setup - Setup a system bus event receive port.
+ * @dev: The system bus device instance.
* @cpu: enum ps3_cpu_binding indicating the cpu the interrupt should be
* serviced on.
- * @dev: The system bus device instance.
* @virq: The assigned Linux virq.
*
* An event irq represents a virtual device interrupt. The interrupt_id
diff --git a/arch/powerpc/platforms/ps3/repository.c b/arch/powerpc/platforms/ps3/repository.c
index 1abe33fbe529..b8c030eab138 100644
--- a/arch/powerpc/platforms/ps3/repository.c
+++ b/arch/powerpc/platforms/ps3/repository.c
@@ -940,7 +940,7 @@ int __init ps3_repository_read_vuart_sysmgr_port(unsigned int *port)
/**
* ps3_repository_read_boot_dat_info - Get address and size of cell_ext_os_area.
- * address: lpar address of cell_ext_os_area
+ * @lpar_addr: lpar address of cell_ext_os_area
* @size: size of cell_ext_os_area
*/
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 12/35] soundwire: stream: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (10 preceding siblings ...)
2024-09-30 11:20 ` [PATCH 11/35] powerpc/ps3: " Julia Lawall
@ 2024-09-30 11:20 ` Julia Lawall
2024-09-30 11:20 ` [PATCH 13/35] mei: bus: " Julia Lawall
` (25 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:20 UTC (permalink / raw)
To: Vinod Koul
Cc: kernel-janitors, Bard Liao, Pierre-Louis Bossart, Sanyog Kale,
alsa-devel, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/soundwire/stream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soundwire/stream.c b/drivers/soundwire/stream.c
index 7aa4900dcf31..0e1875c31a3d 100644
--- a/drivers/soundwire/stream.c
+++ b/drivers/soundwire/stream.c
@@ -1977,9 +1977,9 @@ EXPORT_SYMBOL(sdw_stream_remove_master);
*
* @slave: SDW Slave instance
* @stream_config: Stream configuration for audio stream
- * @stream: SoundWire stream
* @port_config: Port configuration for audio stream
* @num_ports: Number of ports
+ * @stream: SoundWire stream
*
* It is expected that Slave is added before adding Master
* to the Stream.
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 13/35] mei: bus: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (11 preceding siblings ...)
2024-09-30 11:20 ` [PATCH 12/35] soundwire: stream: " Julia Lawall
@ 2024-09-30 11:20 ` Julia Lawall
2024-09-30 11:21 ` [PATCH 14/35] maple_tree: " Julia Lawall
` (24 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:20 UTC (permalink / raw)
To: Tomas Winkler
Cc: kernel-janitors, Arnd Bergmann, Greg Kroah-Hartman, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/misc/mei/bus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/mei/bus.c b/drivers/misc/mei/bus.c
index 5576146ab13b..718ec5d81d94 100644
--- a/drivers/misc/mei/bus.c
+++ b/drivers/misc/mei/bus.c
@@ -145,8 +145,8 @@ ssize_t __mei_cl_send_timeout(struct mei_cl *cl, const u8 *buf, size_t length, u
* @cl: host client
* @buf: buffer to receive
* @length: buffer length
- * @mode: io mode
* @vtag: virtual tag
+ * @mode: io mode
* @timeout: recv timeout, 0 for infinite timeout
*
* Return: read size in bytes of < 0 on error
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 14/35] maple_tree: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (12 preceding siblings ...)
2024-09-30 11:20 ` [PATCH 13/35] mei: bus: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-10-09 0:27 ` Liam R. Howlett
2024-09-30 11:21 ` [PATCH 15/35] tipc: " Julia Lawall
` (23 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Liam R. Howlett
Cc: kernel-janitors, Andrew Morton, maple-tree, linux-mm,
linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
lib/maple_tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/maple_tree.c b/lib/maple_tree.c
index 37abf0fe380b..b7f59c40530e 100644
--- a/lib/maple_tree.c
+++ b/lib/maple_tree.c
@@ -4327,9 +4327,9 @@ static inline void *mas_insert(struct ma_state *mas, void *entry)
* mas_alloc_cyclic() - Internal call to find somewhere to store an entry
* @mas: The maple state.
* @startp: Pointer to ID.
+ * @entry: The entry to store.
* @range_lo: Lower bound of range to search.
* @range_hi: Upper bound of range to search.
- * @entry: The entry to store.
* @next: Pointer to next ID to allocate.
* @gfp: The GFP_FLAGS to use for allocations.
*
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 15/35] tipc: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (13 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 14/35] maple_tree: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 11:21 ` [PATCH 16/35] net: " Julia Lawall
` (22 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Jon Maloy
Cc: kernel-janitors, Ying Xue, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, netdev, tipc-discussion,
linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
net/tipc/link.c | 14 +++++++-------
net/tipc/msg.c | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/net/tipc/link.c b/net/tipc/link.c
index 5c2088a469ce..55c2ad1d88a2 100644
--- a/net/tipc/link.c
+++ b/net/tipc/link.c
@@ -461,15 +461,15 @@ u32 tipc_link_state(struct tipc_link *l)
* @min_win: minimal send window to be used by link
* @max_win: maximal send window to be used by link
* @session: session to be used by link
+ * @self: local unicast link id
* @peer: node id of peer node
+ * @peer_id: 128-bit ID of peer
* @peer_caps: bitmap describing peer node capabilities
* @bc_sndlink: the namespace global link used for broadcast sending
* @bc_rcvlink: the peer specific link used for broadcast reception
* @inputq: queue to put messages ready for delivery
* @namedq: queue to put binding table update messages ready for delivery
* @link: return value, pointer to put the created link
- * @self: local unicast link id
- * @peer_id: 128-bit ID of peer
*
* Return: true if link was created, otherwise false
*/
@@ -538,17 +538,17 @@ bool tipc_link_create(struct net *net, char *if_name, int bearer_id,
/**
* tipc_link_bc_create - create new link to be used for broadcast
* @net: pointer to associated network namespace
+ * @ownnode: identity of own node
+ * @peer: node id of peer node
+ * @peer_id: 128-bit ID of peer
* @mtu: mtu to be used initially if no peers
* @min_win: minimal send window to be used by link
* @max_win: maximal send window to be used by link
+ * @peer_caps: bitmap describing peer node capabilities
* @inputq: queue to put messages ready for delivery
* @namedq: queue to put binding table update messages ready for delivery
- * @link: return value, pointer to put the created link
- * @ownnode: identity of own node
- * @peer: node id of peer node
- * @peer_id: 128-bit ID of peer
- * @peer_caps: bitmap describing peer node capabilities
* @bc_sndlink: the namespace global link used for broadcast sending
+ * @link: return value, pointer to put the created link
*
* Return: true if link was created, otherwise false
*/
diff --git a/net/tipc/msg.c b/net/tipc/msg.c
index 76284fc538eb..dc3000c28d43 100644
--- a/net/tipc/msg.c
+++ b/net/tipc/msg.c
@@ -196,8 +196,8 @@ int tipc_buf_append(struct sk_buff **headbuf, struct sk_buff **buf)
* tipc_msg_append(): Append data to tail of an existing buffer queue
* @_hdr: header to be used
* @m: the data to be appended
- * @mss: max allowable size of buffer
* @dlen: size of data to be appended
+ * @mss: max allowable size of buffer
* @txq: queue to append to
*
* Return: the number of 1k blocks appended or errno value
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 16/35] net: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (14 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 15/35] tipc: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 11:21 ` [PATCH 17/35] mfd: atmel-smc: " Julia Lawall
` (21 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: David S. Miller
Cc: kernel-janitors, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
netdev, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
net/socket.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/socket.c b/net/socket.c
index 601ad74930ef..f4ac3939fbb0 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -235,8 +235,8 @@ static const struct net_proto_family __rcu *net_families[NPROTO] __read_mostly;
/**
* move_addr_to_kernel - copy a socket address into kernel space
* @uaddr: Address in user space
- * @kaddr: Address in kernel space
* @ulen: Length in user space
+ * @kaddr: Address in kernel space
*
* The address is copied into kernel space. If the provided address is
* too long an error code of -EINVAL is returned. If the copy gives
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 17/35] mfd: atmel-smc: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (15 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 16/35] net: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-10-10 13:43 ` (subset) " Lee Jones
2024-09-30 11:21 ` [PATCH 18/35] usb: " Julia Lawall
` (20 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Lee Jones
Cc: kernel-janitors, Nicolas Ferre, Alexandre Belloni, Claudiu Beznea,
linux-arm-kernel, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/mfd/atmel-smc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd/atmel-smc.c b/drivers/mfd/atmel-smc.c
index e560066e5885..4628ca14e766 100644
--- a/drivers/mfd/atmel-smc.c
+++ b/drivers/mfd/atmel-smc.c
@@ -255,8 +255,8 @@ EXPORT_SYMBOL_GPL(atmel_smc_cs_conf_apply);
/**
* atmel_hsmc_cs_conf_apply - apply an SMC CS conf
* @regmap: the HSMC regmap
- * @cs: the CS id
* @layout: the layout of registers
+ * @cs: the CS id
* @conf: the SMC CS conf to apply
*
* Applies an SMC CS configuration.
@@ -296,8 +296,8 @@ EXPORT_SYMBOL_GPL(atmel_smc_cs_conf_get);
/**
* atmel_hsmc_cs_conf_get - retrieve the current SMC CS conf
* @regmap: the HSMC regmap
- * @cs: the CS id
* @layout: the layout of registers
+ * @cs: the CS id
* @conf: the SMC CS conf object to store the current conf
*
* Retrieve the SMC CS configuration.
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 18/35] usb: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (16 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 17/35] mfd: atmel-smc: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 11:21 ` [PATCH 19/35] iommu: " Julia Lawall
` (19 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: kernel-janitors, linux-usb, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/usb/gadget/config.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c
index b1f625245713..95f144a54ed9 100644
--- a/drivers/usb/gadget/config.c
+++ b/drivers/usb/gadget/config.c
@@ -57,11 +57,11 @@ EXPORT_SYMBOL_GPL(usb_descriptor_fillbuf);
* usb_gadget_config_buf - builts a complete configuration descriptor
* @config: Header for the descriptor, including characteristics such
* as power requirements and number of interfaces.
- * @desc: Null-terminated vector of pointers to the descriptors (interface,
- * endpoint, etc) defining all functions in this device configuration.
* @buf: Buffer for the resulting configuration descriptor.
* @length: Length of buffer. If this is not big enough to hold the
* entire configuration descriptor, an error code will be returned.
+ * @desc: Null-terminated vector of pointers to the descriptors (interface,
+ * endpoint, etc) defining all functions in this device configuration.
*
* This copies descriptors into the response buffer, building a descriptor
* for that configuration. It returns the buffer length or a negative
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 19/35] iommu: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (17 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 18/35] usb: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-10-15 8:21 ` Joerg Roedel
2024-09-30 11:21 ` [PATCH 20/35] drivers/gpu/drm: " Julia Lawall
` (18 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Joerg Roedel
Cc: kernel-janitors, Will Deacon, Robin Murphy, iommu, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/iommu/iommu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
index 83c8e617a2c5..ce72edd34f07 100644
--- a/drivers/iommu/iommu.c
+++ b/drivers/iommu/iommu.c
@@ -2216,8 +2216,8 @@ EXPORT_SYMBOL_GPL(iommu_attach_group);
/**
* iommu_group_replace_domain - replace the domain that a group is attached to
- * @new_domain: new IOMMU domain to replace with
* @group: IOMMU group that will be attached to the new domain
+ * @new_domain: new IOMMU domain to replace with
*
* This API allows the group to switch domains without being forced to go to
* the blocking domain in-between.
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 20/35] drivers/gpu/drm: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (18 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 19/35] iommu: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 11:21 ` [PATCH 21/35] ring-buffer: " Julia Lawall
` (17 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Maarten Lankhorst
Cc: kernel-janitors, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, dri-devel, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/gpu/drm/drm_gem_framebuffer_helper.c | 3 +--
drivers/gpu/drm/drm_gpuvm.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/drm_gem_framebuffer_helper.c b/drivers/gpu/drm/drm_gem_framebuffer_helper.c
index 3bdb6ba37ff4..43a2440a0b05 100644
--- a/drivers/gpu/drm/drm_gem_framebuffer_helper.c
+++ b/drivers/gpu/drm/drm_gem_framebuffer_helper.c
@@ -581,9 +581,8 @@ static int drm_gem_afbc_min_size(struct drm_device *dev,
* struct drm_afbc_framebuffer members
*
* @dev: DRM device
- * @afbc_fb: afbc-specific framebuffer
* @mode_cmd: Metadata from the userspace framebuffer creation request
- * @afbc_fb: afbc framebuffer
+ * @afbc_fb: afbc-specific framebuffer
*
* This function can be used by drivers which support afbc to complete
* the preparation of struct drm_afbc_framebuffer. It must be called after
diff --git a/drivers/gpu/drm/drm_gpuvm.c b/drivers/gpu/drm/drm_gpuvm.c
index f9eb56f24bef..1e4eb6f44c92 100644
--- a/drivers/gpu/drm/drm_gpuvm.c
+++ b/drivers/gpu/drm/drm_gpuvm.c
@@ -2301,11 +2301,11 @@ __drm_gpuvm_sm_unmap(struct drm_gpuvm *gpuvm,
/**
* drm_gpuvm_sm_map() - creates the &drm_gpuva_op split/merge steps
* @gpuvm: the &drm_gpuvm representing the GPU VA space
+ * @priv: pointer to a driver private data structure
* @req_addr: the start address of the new mapping
* @req_range: the range of the new mapping
* @req_obj: the &drm_gem_object to map
* @req_offset: the offset within the &drm_gem_object
- * @priv: pointer to a driver private data structure
*
* This function iterates the given range of the GPU VA space. It utilizes the
* &drm_gpuvm_ops to call back into the driver providing the split and merge
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 21/35] ring-buffer: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (19 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 20/35] drivers/gpu/drm: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 15:14 ` Steven Rostedt
2024-09-30 11:21 ` [PATCH 22/35] PCI: hotplug: " Julia Lawall
` (16 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Steven Rostedt
Cc: kernel-janitors, Masami Hiramatsu, Mathieu Desnoyers,
linux-kernel, linux-trace-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
kernel/trace/ring_buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index 77dc0b25140e..313dffbdeef1 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -2384,9 +2384,9 @@ EXPORT_SYMBOL_GPL(__ring_buffer_alloc);
* __ring_buffer_alloc_range - allocate a new ring_buffer from existing memory
* @size: the size in bytes per cpu that is needed.
* @flags: attributes to set for the ring buffer.
+ * @order: sub-buffer order
* @start: start of allocated range
* @range_size: size of allocated range
- * @order: sub-buffer order
* @key: ring buffer reader_lock_key.
*
* Currently the only flag that is available is the RB_FL_OVERWRITE
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 22/35] PCI: hotplug: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (20 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 21/35] ring-buffer: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 16:42 ` Bjorn Helgaas
2024-09-30 11:21 ` [PATCH 23/35] SUNRPC: " Julia Lawall
` (15 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Bjorn Helgaas; +Cc: kernel-janitors, linux-pci, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/pci/hotplug/pci_hotplug_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/hotplug/pci_hotplug_core.c b/drivers/pci/hotplug/pci_hotplug_core.c
index 058d5937d8a9..db09d4992e6e 100644
--- a/drivers/pci/hotplug/pci_hotplug_core.c
+++ b/drivers/pci/hotplug/pci_hotplug_core.c
@@ -388,8 +388,8 @@ static struct hotplug_slot *get_slot_from_name(const char *name)
/**
* __pci_hp_register - register a hotplug_slot with the PCI hotplug subsystem
- * @bus: bus this slot is on
* @slot: pointer to the &struct hotplug_slot to register
+ * @bus: bus this slot is on
* @devnr: device number
* @name: name registered with kobject core
* @owner: caller module owner
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 23/35] SUNRPC: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (21 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 22/35] PCI: hotplug: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 11:21 ` [PATCH 24/35] soc: qcom: qmi: " Julia Lawall
` (14 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Trond Myklebust
Cc: kernel-janitors, Anna Schumaker, Chuck Lever, Jeff Layton,
Neil Brown, Olga Kornievskaia, Dai Ngo, Tom Talpey,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
linux-nfs, netdev, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
net/sunrpc/xprt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index 09f245cda526..59ac26423f2e 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -255,8 +255,8 @@ static void xprt_clear_locked(struct rpc_xprt *xprt)
/**
* xprt_reserve_xprt - serialize write access to transports
- * @task: task that is requesting access to the transport
* @xprt: pointer to the target transport
+ * @task: task that is requesting access to the transport
*
* This prevents mixing the payload of separate requests, and prevents
* transport connects from colliding with writes. No congestion control
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 24/35] soc: qcom: qmi: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (22 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 23/35] SUNRPC: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 11:21 ` [PATCH 25/35] drm/amd/display: " Julia Lawall
` (13 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Bjorn Andersson
Cc: kernel-janitors, Konrad Dybcio, linux-arm-msm, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/soc/qcom/qmi_interface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/qcom/qmi_interface.c b/drivers/soc/qcom/qmi_interface.c
index bb98b06e87f8..bc6d6379d8b1 100644
--- a/drivers/soc/qcom/qmi_interface.c
+++ b/drivers/soc/qcom/qmi_interface.c
@@ -195,8 +195,8 @@ static void qmi_send_new_lookup(struct qmi_handle *qmi, struct qmi_service *svc)
* qmi_add_lookup() - register a new lookup with the name service
* @qmi: qmi handle
* @service: service id of the request
- * @instance: instance id of the request
* @version: version number of the request
+ * @instance: instance id of the request
*
* Registering a lookup query with the name server will cause the name server
* to send NEW_SERVER and DEL_SERVER control messages to this socket as
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 25/35] drm/amd/display: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (23 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 24/35] soc: qcom: qmi: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 14:48 ` Harry Wentland
2024-09-30 11:21 ` [PATCH 26/35] firmware_loader: " Julia Lawall
` (12 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Harry Wentland
Cc: kernel-janitors, Leo Li, Rodrigo Siqueira, Alex Deucher,
Christian König, Xinhui Pan, David Airlie, Simona Vetter,
amd-gfx, dri-devel, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
index 5c39390ecbd5..417fe508c57f 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -621,8 +621,8 @@ dc_stream_forward_crc_window(struct dc_stream_state *stream,
* dc_stream_configure_crc() - Configure CRC capture for the given stream.
* @dc: DC Object
* @stream: The stream to configure CRC on.
- * @enable: Enable CRC if true, disable otherwise.
* @crc_window: CRC window (x/y start/end) information
+ * @enable: Enable CRC if true, disable otherwise.
* @continuous: Capture CRC on every frame if true. Otherwise, only capture
* once.
*
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 26/35] firmware_loader: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (24 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 25/35] drm/amd/display: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 11:21 ` [PATCH 27/35] mac80211: " Julia Lawall
` (11 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Luis Chamberlain
Cc: kernel-janitors, Russ Weight, Danilo Krummrich,
Greg Kroah-Hartman, Rafael J. Wysocki, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/base/firmware_loader/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/firmware_loader/main.c b/drivers/base/firmware_loader/main.c
index 324a9a3c087a..bb368193d969 100644
--- a/drivers/base/firmware_loader/main.c
+++ b/drivers/base/firmware_loader/main.c
@@ -1075,8 +1075,8 @@ EXPORT_SYMBOL_GPL(firmware_request_platform);
/**
* firmware_request_cache() - cache firmware for suspend so resume can use it
- * @name: name of firmware file
* @device: device for which firmware should be cached for
+ * @name: name of firmware file
*
* There are some devices with an optimization that enables the device to not
* require loading firmware on system reboot. This optimization may still
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 27/35] mac80211: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (25 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 26/35] firmware_loader: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 14:29 ` Jeff Johnson
2024-09-30 11:21 ` [PATCH 28/35] UBI: " Julia Lawall
` (10 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Johannes Berg
Cc: kernel-janitors, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, linux-wireless, netdev, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
net/mac80211/mesh_hwmp.c | 6 +++---
net/mac80211/mesh_pathtbl.c | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c
index 024f48db6b05..0b13a6648e08 100644
--- a/net/mac80211/mesh_hwmp.c
+++ b/net/mac80211/mesh_hwmp.c
@@ -220,12 +220,12 @@ static void prepare_frame_for_deferred_tx(struct ieee80211_sub_if_data *sdata,
/**
* mesh_path_error_tx - Sends a PERR mesh management frame
*
+ * @sdata: local mesh subif
* @ttl: allowed remaining hops
* @target: broken destination
* @target_sn: SN of the broken destination
* @target_rcode: reason code for this PERR
* @ra: node this frame is addressed to
- * @sdata: local mesh subif
*
* Note: This function may be called with driver locks taken that the driver
* also acquires in the TX path. To avoid a deadlock we don't transmit the
@@ -1137,8 +1137,8 @@ void mesh_path_start_discovery(struct ieee80211_sub_if_data *sdata)
/**
* mesh_nexthop_resolve - lookup next hop; conditionally start path discovery
*
- * @skb: 802.11 frame to be sent
* @sdata: network subif the frame will be sent through
+ * @skb: 802.11 frame to be sent
*
* Lookup next hop for given skb and start path discovery if no
* forwarding information is found.
@@ -1245,8 +1245,8 @@ void mesh_path_refresh(struct ieee80211_sub_if_data *sdata,
* this function is considered "using" the associated mpath, so preempt a path
* refresh if this mpath expires soon.
*
- * @skb: 802.11 frame to be sent
* @sdata: network subif the frame will be sent through
+ * @skb: 802.11 frame to be sent
*
* Returns: 0 if the next hop was found. Nonzero otherwise.
*/
diff --git a/net/mac80211/mesh_pathtbl.c b/net/mac80211/mesh_pathtbl.c
index 30c0d89203af..9f9cb5af0a97 100644
--- a/net/mac80211/mesh_pathtbl.c
+++ b/net/mac80211/mesh_pathtbl.c
@@ -300,8 +300,8 @@ __mesh_path_lookup_by_idx(struct mesh_table *tbl, int idx)
/**
* mesh_path_lookup_by_idx - look up a path in the mesh path table by its index
- * @idx: index
* @sdata: local subif, or NULL for all entries
+ * @idx: index
*
* Returns: pointer to the mesh path structure, or NULL if not found.
*
@@ -315,8 +315,8 @@ mesh_path_lookup_by_idx(struct ieee80211_sub_if_data *sdata, int idx)
/**
* mpp_path_lookup_by_idx - look up a path in the proxy path table by its index
- * @idx: index
* @sdata: local subif, or NULL for all entries
+ * @idx: index
*
* Returns: pointer to the proxy path structure, or NULL if not found.
*
@@ -670,8 +670,8 @@ void mesh_fast_tx_flush_addr(struct ieee80211_sub_if_data *sdata,
/**
* mesh_path_add - allocate and add a new path to the mesh path table
- * @dst: destination address of the path (ETH_ALEN length)
* @sdata: local subif
+ * @dst: destination address of the path (ETH_ALEN length)
*
* Returns: 0 on success
*
@@ -916,8 +916,8 @@ static int table_path_del(struct mesh_table *tbl,
/**
* mesh_path_del - delete a mesh path from the table
*
- * @addr: dst address (ETH_ALEN length)
* @sdata: local subif
+ * @addr: dst address (ETH_ALEN length)
*
* Returns: 0 if successful
*/
@@ -996,8 +996,8 @@ int mesh_path_send_to_gates(struct mesh_path *mpath)
/**
* mesh_path_discard_frame - discard a frame whose path could not be resolved
*
- * @skb: frame to discard
* @sdata: network subif the frame was to be sent through
+ * @skb: frame to discard
*
* Locking: the function must me called within a rcu_read_lock region
*/
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 28/35] UBI: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (26 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 27/35] mac80211: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-10-08 8:18 ` Zhihao Cheng
2024-09-30 11:21 ` [PATCH 29/35] drivers/gpu/drm: " Julia Lawall
` (9 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Richard Weinberger
Cc: kernel-janitors, Zhihao Cheng, Miquel Raynal, Vignesh Raghavendra,
linux-mtd, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/mtd/ubi/eba.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c
index c7ba7a15c9f7..efce5bf41ef6 100644
--- a/drivers/mtd/ubi/eba.c
+++ b/drivers/mtd/ubi/eba.c
@@ -731,8 +731,8 @@ int ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum,
* ubi_eba_read_leb_sg - read data into a scatter gather list.
* @ubi: UBI device description object
* @vol: volume description object
- * @lnum: logical eraseblock number
* @sgl: UBI scatter gather list to store the read data
+ * @lnum: logical eraseblock number
* @offset: offset from where to read
* @len: how many bytes to read
* @check: data CRC check flag
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 29/35] drivers/gpu/drm: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (27 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 28/35] UBI: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 11:22 ` Christian König
2024-09-30 11:21 ` [PATCH 30/35] audit: " Julia Lawall
` (8 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Alex Deucher
Cc: kernel-janitors, Christian König, Xinhui Pan, David Airlie,
Simona Vetter, amd-gfx, dri-devel, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +-
drivers/gpu/drm/radeon/radeon_ib.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
index 6005280f5f38..ad4fdd4d4d82 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
@@ -2773,11 +2773,11 @@ int amdgpu_vm_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
* amdgpu_vm_handle_fault - graceful handling of VM faults.
* @adev: amdgpu device pointer
* @pasid: PASID of the VM
- * @ts: Timestamp of the fault
* @vmid: VMID, only used for GFX 9.4.3.
* @node_id: Node_id received in IH cookie. Only applicable for
* GFX 9.4.3.
* @addr: Address of the fault
+ * @ts: Timestamp of the fault
* @write_fault: true is write fault, false is read fault
*
* Try to gracefully handle a VM fault. Return true if the fault was handled and
diff --git a/drivers/gpu/drm/radeon/radeon_ib.c b/drivers/gpu/drm/radeon/radeon_ib.c
index 1aa41cc3f991..8611a27dfb3d 100644
--- a/drivers/gpu/drm/radeon/radeon_ib.c
+++ b/drivers/gpu/drm/radeon/radeon_ib.c
@@ -49,8 +49,8 @@ static void radeon_debugfs_sa_init(struct radeon_device *rdev);
*
* @rdev: radeon_device pointer
* @ring: ring index the IB is associated with
- * @vm: requested vm
* @ib: IB object returned
+ * @vm: requested vm
* @size: requested IB size
*
* Request an IB (all asics). IBs are allocated using the
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 30/35] audit: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (28 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 29/35] drivers/gpu/drm: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-10-03 19:03 ` Paul Moore
2024-09-30 11:21 ` [PATCH 31/35] slimbus: messaging: " Julia Lawall
` (7 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Paul Moore; +Cc: kernel-janitors, Eric Paris, audit, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
kernel/audit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/audit.c b/kernel/audit.c
index 1edaa4846a47..53e3bddcc327 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -2102,8 +2102,8 @@ bool audit_string_contains_control(const char *string, size_t len)
/**
* audit_log_n_untrustedstring - log a string that may contain random characters
* @ab: audit_buffer
- * @len: length of string (not including trailing null)
* @string: string to be logged
+ * @len: length of string (not including trailing null)
*
* This code will escape a string that is passed to it if the string
* contains a control character, unprintable character, double quote mark,
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 31/35] slimbus: messaging: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (29 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 30/35] audit: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 11:21 ` [PATCH 32/35] mm/mmu_notifiers: " Julia Lawall
` (6 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Srinivas Kandagatla; +Cc: kernel-janitors, alsa-devel, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/slimbus/messaging.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/slimbus/messaging.c b/drivers/slimbus/messaging.c
index 242570a5e565..e7aa9bd4b44b 100644
--- a/drivers/slimbus/messaging.c
+++ b/drivers/slimbus/messaging.c
@@ -13,8 +13,8 @@
*
* @ctrl: Controller handle
* @reply: Reply received from the device
- * @len: Length of the reply
* @tid: Transaction ID received with which framework can associate reply.
+ * @len: Length of the reply
*
* Called by controller to inform framework about the response received.
* This helps in making the API asynchronous, and controller-driver doesn't need
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 32/35] mm/mmu_notifiers: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (30 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 31/35] slimbus: messaging: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 11:21 ` [PATCH 33/35] drivers/net/ethernet/intel: " Julia Lawall
` (5 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Andrew Morton; +Cc: kernel-janitors, linux-mm, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
mm/mmu_notifier.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/mmu_notifier.c b/mm/mmu_notifier.c
index fc18fe274505..dd29b96f924a 100644
--- a/mm/mmu_notifier.c
+++ b/mm/mmu_notifier.c
@@ -956,9 +956,9 @@ static int __mmu_interval_notifier_insert(
/**
* mmu_interval_notifier_insert - Insert an interval notifier
* @interval_sub: Interval subscription to register
+ * @mm: mm_struct to attach to
* @start: Starting virtual address to monitor
* @length: Length of the range to monitor
- * @mm: mm_struct to attach to
* @ops: Interval notifier operations to be called on matching events
*
* This function subscribes the interval notifier for notifications from the
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 33/35] drivers/net/ethernet/intel: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (31 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 32/35] mm/mmu_notifiers: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 21:14 ` Tony Nguyen
2024-09-30 11:21 ` [PATCH 34/35] pinctrl: " Julia Lawall
` (4 subsequent siblings)
37 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Tony Nguyen
Cc: kernel-janitors, Przemek Kitszel, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, intel-wired-lan, netdev,
linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/net/ethernet/intel/e1000/e1000_hw.c | 2 +-
drivers/net/ethernet/intel/i40e/i40e_common.c | 7 +++----
drivers/net/ethernet/intel/ice/ice_common.c | 2 +-
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 2 +-
4 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/net/ethernet/intel/e1000/e1000_hw.c b/drivers/net/ethernet/intel/e1000/e1000_hw.c
index f9328f2e669f..1b7e78018b8f 100644
--- a/drivers/net/ethernet/intel/e1000/e1000_hw.c
+++ b/drivers/net/ethernet/intel/e1000/e1000_hw.c
@@ -3839,8 +3839,8 @@ static s32 e1000_spi_eeprom_ready(struct e1000_hw *hw)
* e1000_read_eeprom - Reads a 16 bit word from the EEPROM.
* @hw: Struct containing variables accessed by shared code
* @offset: offset of word in the EEPROM to read
- * @data: word read from the EEPROM
* @words: number of words to read
+ * @data: word read from the EEPROM
*/
s32 e1000_read_eeprom(struct e1000_hw *hw, u16 offset, u16 words, u16 *data)
{
diff --git a/drivers/net/ethernet/intel/i40e/i40e_common.c b/drivers/net/ethernet/intel/i40e/i40e_common.c
index e8031f1a9b4f..f2d342ffc6d6 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_common.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_common.c
@@ -1045,9 +1045,9 @@ void i40e_led_set(struct i40e_hw *hw, u32 mode, bool blink)
/**
* i40e_aq_get_phy_capabilities
* @hw: pointer to the hw struct
- * @abilities: structure for PHY capabilities to be filled
* @qualified_modules: report Qualified Modules
* @report_init: report init capabilities (active are default)
+ * @abilities: structure for PHY capabilities to be filled
* @cmd_details: pointer to command details structure or NULL
*
* Returns the various PHY abilities supported on the Port.
@@ -1948,7 +1948,6 @@ int i40e_aq_get_switch_config(struct i40e_hw *hw,
* i40e_aq_set_switch_config
* @hw: pointer to the hardware structure
* @flags: bit flag values to set
- * @mode: cloud filter mode
* @valid_flags: which bit flags to set
* @mode: cloud filter mode
* @cmd_details: pointer to command details structure or NULL
@@ -2534,9 +2533,9 @@ int i40e_aq_add_mirrorrule(struct i40e_hw *hw, u16 sw_seid,
* @hw: pointer to the hw struct
* @sw_seid: Switch SEID (to which rule refers)
* @rule_type: Rule Type (ingress/egress/VLAN)
- * @count: length of the list
* @rule_id: Rule ID that is returned in the receive desc as part of
* add_mirrorrule.
+ * @count: length of the list
* @mr_list: list of mirrored VLAN IDs to be removed
* @cmd_details: pointer to command details structure or NULL
* @rules_used: Number of rules used in internal switch
@@ -3444,8 +3443,8 @@ int i40e_aq_start_lldp(struct i40e_hw *hw, bool persist,
/**
* i40e_aq_set_dcb_parameters
* @hw: pointer to the hw struct
- * @cmd_details: pointer to command details structure or NULL
* @dcb_enable: True if DCB configuration needs to be applied
+ * @cmd_details: pointer to command details structure or NULL
*
**/
int
diff --git a/drivers/net/ethernet/intel/ice/ice_common.c b/drivers/net/ethernet/intel/ice/ice_common.c
index 009716a12a26..8a61e13eca1d 100644
--- a/drivers/net/ethernet/intel/ice/ice_common.c
+++ b/drivers/net/ethernet/intel/ice/ice_common.c
@@ -5301,8 +5301,8 @@ ice_aq_get_output_pin_cfg(struct ice_hw *hw, u8 output_idx, u8 *flags,
* @hw: pointer to the HW struct
* @dpll_num: DPLL index
* @ref_state: Reference clock state
- * @config: current DPLL config
* @dpll_state: current DPLL state
+ * @config: current DPLL config
* @phase_offset: Phase offset in ns
* @eec_mode: EEC_mode
*
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
index 3be1bfb16498..f6559b1d1433 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
@@ -2635,9 +2635,9 @@ void ixgbe_release_swfw_sync(struct ixgbe_hw *hw, u32 mask)
/**
* prot_autoc_read_generic - Hides MAC differences needed for AUTOC read
* @hw: pointer to hardware structure
- * @reg_val: Value we read from AUTOC
* @locked: bool to indicate whether the SW/FW lock should be taken. Never
* true in this the generic case.
+ * @reg_val: Value we read from AUTOC
*
* The default case requires no protection so just to the register read.
**/
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 34/35] pinctrl: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (32 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 33/35] drivers/net/ethernet/intel: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 11:21 ` [PATCH 35/35] comedi: comedi_8254: " Julia Lawall
` (3 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Linus Walleij; +Cc: kernel-janitors, linux-gpio, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/pinctrl/pinmux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinmux.c b/drivers/pinctrl/pinmux.c
index 02033ea1c643..f033a41f8729 100644
--- a/drivers/pinctrl/pinmux.c
+++ b/drivers/pinctrl/pinmux.c
@@ -256,8 +256,8 @@ static const char *pin_free(struct pinctrl_dev *pctldev, int pin,
/**
* pinmux_request_gpio() - request pinmuxing for a GPIO pin
* @pctldev: pin controller device affected
- * @pin: the pin to mux in for GPIO
* @range: the applicable GPIO range
+ * @pin: the pin to mux in for GPIO
* @gpio: number of requested GPIO
*/
int pinmux_request_gpio(struct pinctrl_dev *pctldev,
^ permalink raw reply related [flat|nested] 67+ messages in thread
* [PATCH 35/35] comedi: comedi_8254: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (33 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 34/35] pinctrl: " Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-10-06 1:55 ` (subset) [PATCH 00/35] " Bjorn Andersson
` (2 subsequent siblings)
37 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Ian Abbott; +Cc: kernel-janitors, H Hartley Sweeten, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/comedi/drivers/comedi_8254.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/comedi/drivers/comedi_8254.c b/drivers/comedi/drivers/comedi_8254.c
index 6beca2a6d66e..c62122b536bb 100644
--- a/drivers/comedi/drivers/comedi_8254.c
+++ b/drivers/comedi/drivers/comedi_8254.c
@@ -317,8 +317,8 @@ EXPORT_SYMBOL_GPL(comedi_8254_set_mode);
* comedi_8254_load - program the mode and initial count of a counter
* @i8254: comedi_8254 struct for the timer
* @counter: the counter number
- * @mode: the I8254_MODEx and I8254_BCD|I8254_BINARY
* @val: the initial value
+ * @mode: the I8254_MODEx and I8254_BCD|I8254_BINARY
*/
int comedi_8254_load(struct comedi_8254 *i8254, unsigned int counter,
unsigned int val, unsigned int mode)
^ permalink raw reply related [flat|nested] 67+ messages in thread
* Re: [PATCH 29/35] drivers/gpu/drm: Reorganize kerneldoc parameter names
2024-09-30 11:21 ` [PATCH 29/35] drivers/gpu/drm: " Julia Lawall
@ 2024-09-30 11:22 ` Christian König
2024-09-30 11:38 ` Julia Lawall
0 siblings, 1 reply; 67+ messages in thread
From: Christian König @ 2024-09-30 11:22 UTC (permalink / raw)
To: Julia Lawall, Alex Deucher
Cc: kernel-janitors, Xinhui Pan, David Airlie, Simona Vetter, amd-gfx,
dri-devel, linux-kernel
Am 30.09.24 um 13:21 schrieb Julia Lawall:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
Please split that up by driver, apart from that looks good to me.
Christian.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +-
> drivers/gpu/drm/radeon/radeon_ib.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> index 6005280f5f38..ad4fdd4d4d82 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> @@ -2773,11 +2773,11 @@ int amdgpu_vm_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
> * amdgpu_vm_handle_fault - graceful handling of VM faults.
> * @adev: amdgpu device pointer
> * @pasid: PASID of the VM
> - * @ts: Timestamp of the fault
> * @vmid: VMID, only used for GFX 9.4.3.
> * @node_id: Node_id received in IH cookie. Only applicable for
> * GFX 9.4.3.
> * @addr: Address of the fault
> + * @ts: Timestamp of the fault
> * @write_fault: true is write fault, false is read fault
> *
> * Try to gracefully handle a VM fault. Return true if the fault was handled and
> diff --git a/drivers/gpu/drm/radeon/radeon_ib.c b/drivers/gpu/drm/radeon/radeon_ib.c
> index 1aa41cc3f991..8611a27dfb3d 100644
> --- a/drivers/gpu/drm/radeon/radeon_ib.c
> +++ b/drivers/gpu/drm/radeon/radeon_ib.c
> @@ -49,8 +49,8 @@ static void radeon_debugfs_sa_init(struct radeon_device *rdev);
> *
> * @rdev: radeon_device pointer
> * @ring: ring index the IB is associated with
> - * @vm: requested vm
> * @ib: IB object returned
> + * @vm: requested vm
> * @size: requested IB size
> *
> * Request an IB (all asics). IBs are allocated using the
>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 29/35] drivers/gpu/drm: Reorganize kerneldoc parameter names
2024-09-30 11:22 ` Christian König
@ 2024-09-30 11:38 ` Julia Lawall
0 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-09-30 11:38 UTC (permalink / raw)
To: Christian König
Cc: Alex Deucher, kernel-janitors, Xinhui Pan, David Airlie,
Simona Vetter, amd-gfx, dri-devel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2185 bytes --]
On Mon, 30 Sep 2024, Christian König wrote:
> Am 30.09.24 um 13:21 schrieb Julia Lawall:
> > Reorganize kerneldoc parameter names to match the parameter
> > order in the function header.
>
> Please split that up by driver, apart from that looks good to me.
Thanks for the feedback. I will wait a bit for any other feedback and the
resend.
julia
>
> Christian.
>
> >
> > Problems identified using Coccinelle.
> >
> > Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
> >
> > ---
> > drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +-
> > drivers/gpu/drm/radeon/radeon_ib.c | 2 +-
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> > b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> > index 6005280f5f38..ad4fdd4d4d82 100644
> > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> > @@ -2773,11 +2773,11 @@ int amdgpu_vm_ioctl(struct drm_device *dev, void
> > *data, struct drm_file *filp)
> > * amdgpu_vm_handle_fault - graceful handling of VM faults.
> > * @adev: amdgpu device pointer
> > * @pasid: PASID of the VM
> > - * @ts: Timestamp of the fault
> > * @vmid: VMID, only used for GFX 9.4.3.
> > * @node_id: Node_id received in IH cookie. Only applicable for
> > * GFX 9.4.3.
> > * @addr: Address of the fault
> > + * @ts: Timestamp of the fault
> > * @write_fault: true is write fault, false is read fault
> > *
> > * Try to gracefully handle a VM fault. Return true if the fault was
> > handled and
> > diff --git a/drivers/gpu/drm/radeon/radeon_ib.c
> > b/drivers/gpu/drm/radeon/radeon_ib.c
> > index 1aa41cc3f991..8611a27dfb3d 100644
> > --- a/drivers/gpu/drm/radeon/radeon_ib.c
> > +++ b/drivers/gpu/drm/radeon/radeon_ib.c
> > @@ -49,8 +49,8 @@ static void radeon_debugfs_sa_init(struct radeon_device
> > *rdev);
> > *
> > * @rdev: radeon_device pointer
> > * @ring: ring index the IB is associated with
> > - * @vm: requested vm
> > * @ib: IB object returned
> > + * @vm: requested vm
> > * @size: requested IB size
> > *
> > * Request an IB (all asics). IBs are allocated using the
> >
>
>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 11/35] powerpc/ps3: Reorganize kerneldoc parameter names
2024-09-30 11:20 ` [PATCH 11/35] powerpc/ps3: " Julia Lawall
@ 2024-09-30 11:58 ` Geert Uytterhoeven
2024-10-02 8:43 ` Geoff Levand
1 sibling, 0 replies; 67+ messages in thread
From: Geert Uytterhoeven @ 2024-09-30 11:58 UTC (permalink / raw)
To: Julia Lawall
Cc: Geoff Levand, kernel-janitors, Michael Ellerman, Nicholas Piggin,
Christophe Leroy, Naveen N Rao, Madhavan Srinivasan, linuxppc-dev,
linux-kernel
On Mon, Sep 30, 2024 at 1:24 PM Julia Lawall <Julia.Lawall@inria.fr> wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
> --- a/arch/powerpc/platforms/ps3/repository.c
> +++ b/arch/powerpc/platforms/ps3/repository.c
> @@ -940,7 +940,7 @@ int __init ps3_repository_read_vuart_sysmgr_port(unsigned int *port)
>
> /**
> * ps3_repository_read_boot_dat_info - Get address and size of cell_ext_os_area.
> - * address: lpar address of cell_ext_os_area
> + * @lpar_addr: lpar address of cell_ext_os_area
> * @size: size of cell_ext_os_area
> */
Not really a reordering, but good to have it ;-)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: (subset) [PATCH 08/35] fs: Reorganize kerneldoc parameter names
2024-09-30 11:20 ` [PATCH 08/35] fs: " Julia Lawall
@ 2024-09-30 12:09 ` Christian Brauner
2024-09-30 12:25 ` Jan Kara
1 sibling, 0 replies; 67+ messages in thread
From: Christian Brauner @ 2024-09-30 12:09 UTC (permalink / raw)
To: Julia Lawall
Cc: Christian Brauner, kernel-janitors, Jan Kara, linux-fsdevel,
linux-kernel, Alexander Viro
On Mon, 30 Sep 2024 13:20:54 +0200, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
>
Applied to the vfs.misc branch of the vfs/vfs.git tree.
Patches in the vfs.misc branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.misc
[08/35] fs: Reorganize kerneldoc parameter names
https://git.kernel.org/vfs/vfs/c/513f3387a9f3
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 08/35] fs: Reorganize kerneldoc parameter names
2024-09-30 11:20 ` [PATCH 08/35] fs: " Julia Lawall
2024-09-30 12:09 ` (subset) " Christian Brauner
@ 2024-09-30 12:25 ` Jan Kara
1 sibling, 0 replies; 67+ messages in thread
From: Jan Kara @ 2024-09-30 12:25 UTC (permalink / raw)
To: Julia Lawall
Cc: Alexander Viro, kernel-janitors, Christian Brauner, Jan Kara,
linux-fsdevel, linux-kernel
On Mon 30-09-24 13:20:54, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Looks good. Feel free to add:
Reviewed-by: Jan Kara <jack@suse.cz>
Honza
>
> ---
> fs/char_dev.c | 2 +-
> fs/dcache.c | 4 ++--
> fs/seq_file.c | 2 +-
> 3 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/fs/char_dev.c b/fs/char_dev.c
> index 57cc096c498a..c2ddb998f3c9 100644
> --- a/fs/char_dev.c
> +++ b/fs/char_dev.c
> @@ -562,8 +562,8 @@ int cdev_device_add(struct cdev *cdev, struct device *dev)
>
> /**
> * cdev_device_del() - inverse of cdev_device_add
> - * @dev: the device structure
> * @cdev: the cdev structure
> + * @dev: the device structure
> *
> * cdev_device_del() is a helper function to call cdev_del and device_del.
> * It should be used whenever cdev_device_add is used.
> diff --git a/fs/dcache.c b/fs/dcache.c
> index d7f6866f5f52..2894b30d8e40 100644
> --- a/fs/dcache.c
> +++ b/fs/dcache.c
> @@ -2039,8 +2039,8 @@ EXPORT_SYMBOL(d_obtain_root);
>
> /**
> * d_add_ci - lookup or allocate new dentry with case-exact name
> - * @inode: the inode case-insensitive lookup has found
> * @dentry: the negative dentry that was passed to the parent's lookup func
> + * @inode: the inode case-insensitive lookup has found
> * @name: the case-exact name to be associated with the returned dentry
> *
> * This is to avoid filling the dcache with case-insensitive names to the
> @@ -2093,8 +2093,8 @@ EXPORT_SYMBOL(d_add_ci);
>
> /**
> * d_same_name - compare dentry name with case-exact name
> - * @parent: parent dentry
> * @dentry: the negative dentry that was passed to the parent's lookup func
> + * @parent: parent dentry
> * @name: the case-exact name to be associated with the returned dentry
> *
> * Return: true if names are same, or false
> diff --git a/fs/seq_file.c b/fs/seq_file.c
> index e676c8b0cf5d..8bbb1ad46335 100644
> --- a/fs/seq_file.c
> +++ b/fs/seq_file.c
> @@ -343,8 +343,8 @@ EXPORT_SYMBOL(seq_lseek);
>
> /**
> * seq_release - free the structures associated with sequential file.
> - * @file: file in question
> * @inode: its inode
> + * @file: file in question
> *
> * Frees the structures associated with sequential file; can be used
> * as ->f_op->release() if you don't have private data to destroy.
>
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 04/35] ALSA: Reorganize kerneldoc parameter names
2024-09-30 11:20 ` [PATCH 04/35] ALSA: " Julia Lawall
@ 2024-09-30 14:02 ` Takashi Iwai
0 siblings, 0 replies; 67+ messages in thread
From: Takashi Iwai @ 2024-09-30 14:02 UTC (permalink / raw)
To: Julia Lawall
Cc: Jaroslav Kysela, kernel-janitors, Takashi Iwai, linux-sound,
linux-kernel
On Mon, 30 Sep 2024 13:20:50 +0200,
Julia Lawall wrote:
>
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Applied now. Thanks.
Takashi
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 01/35] ARM: OMAP2/3: PRM: Reorganize kerneldoc parameter names
2024-09-30 11:20 ` [PATCH 01/35] ARM: OMAP2/3: PRM: " Julia Lawall
@ 2024-09-30 14:07 ` Roger Quadros
2024-10-04 21:02 ` Kevin Hilman
1 sibling, 0 replies; 67+ messages in thread
From: Roger Quadros @ 2024-09-30 14:07 UTC (permalink / raw)
To: Julia Lawall, Paul Walmsley
Cc: kernel-janitors, Aaro Koskinen, Andreas Kemnade, Kevin Hilman,
Tony Lindgren, Russell King, linux-omap, linux-arm-kernel,
linux-kernel
On 30/09/2024 14:20, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 27/35] mac80211: Reorganize kerneldoc parameter names
2024-09-30 11:21 ` [PATCH 27/35] mac80211: " Julia Lawall
@ 2024-09-30 14:29 ` Jeff Johnson
0 siblings, 0 replies; 67+ messages in thread
From: Jeff Johnson @ 2024-09-30 14:29 UTC (permalink / raw)
To: Julia Lawall, Johannes Berg
Cc: kernel-janitors, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, linux-wireless, netdev, linux-kernel
On 9/30/2024 4:21 AM, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Jeff Johnson <quic_jjohnson@quicinc.com>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 25/35] drm/amd/display: Reorganize kerneldoc parameter names
2024-09-30 11:21 ` [PATCH 25/35] drm/amd/display: " Julia Lawall
@ 2024-09-30 14:48 ` Harry Wentland
2024-09-30 15:51 ` Alex Deucher
0 siblings, 1 reply; 67+ messages in thread
From: Harry Wentland @ 2024-09-30 14:48 UTC (permalink / raw)
To: Julia Lawall
Cc: kernel-janitors, Leo Li, Rodrigo Siqueira, Alex Deucher,
Christian König, Xinhui Pan, David Airlie, Simona Vetter,
amd-gfx, dri-devel, linux-kernel
On 2024-09-30 07:21, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
>
> ---
> drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Harry
>
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
> index 5c39390ecbd5..417fe508c57f 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
> @@ -621,8 +621,8 @@ dc_stream_forward_crc_window(struct dc_stream_state *stream,
> * dc_stream_configure_crc() - Configure CRC capture for the given stream.
> * @dc: DC Object
> * @stream: The stream to configure CRC on.
> - * @enable: Enable CRC if true, disable otherwise.
> * @crc_window: CRC window (x/y start/end) information
> + * @enable: Enable CRC if true, disable otherwise.
> * @continuous: Capture CRC on every frame if true. Otherwise, only capture
> * once.
> *
>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 21/35] ring-buffer: Reorganize kerneldoc parameter names
2024-09-30 11:21 ` [PATCH 21/35] ring-buffer: " Julia Lawall
@ 2024-09-30 15:14 ` Steven Rostedt
2024-10-10 19:36 ` Steven Rostedt
0 siblings, 1 reply; 67+ messages in thread
From: Steven Rostedt @ 2024-09-30 15:14 UTC (permalink / raw)
To: Julia Lawall
Cc: kernel-janitors, Masami Hiramatsu, Mathieu Desnoyers,
linux-kernel, linux-trace-kernel
On Mon, 30 Sep 2024 13:21:07 +0200
Julia Lawall <Julia.Lawall@inria.fr> wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-- Steve
>
> ---
> kernel/trace/ring_buffer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
> index 77dc0b25140e..313dffbdeef1 100644
> --- a/kernel/trace/ring_buffer.c
> +++ b/kernel/trace/ring_buffer.c
> @@ -2384,9 +2384,9 @@ EXPORT_SYMBOL_GPL(__ring_buffer_alloc);
> * __ring_buffer_alloc_range - allocate a new ring_buffer from existing memory
> * @size: the size in bytes per cpu that is needed.
> * @flags: attributes to set for the ring buffer.
> + * @order: sub-buffer order
> * @start: start of allocated range
> * @range_size: size of allocated range
> - * @order: sub-buffer order
> * @key: ring buffer reader_lock_key.
> *
> * Currently the only flag that is available is the RB_FL_OVERWRITE
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 25/35] drm/amd/display: Reorganize kerneldoc parameter names
2024-09-30 14:48 ` Harry Wentland
@ 2024-09-30 15:51 ` Alex Deucher
0 siblings, 0 replies; 67+ messages in thread
From: Alex Deucher @ 2024-09-30 15:51 UTC (permalink / raw)
To: Harry Wentland
Cc: Julia Lawall, kernel-janitors, Leo Li, Rodrigo Siqueira,
Alex Deucher, Christian König, Xinhui Pan, David Airlie,
Simona Vetter, amd-gfx, dri-devel, linux-kernel
Applied. Thanks!
On Mon, Sep 30, 2024 at 10:49 AM Harry Wentland <harry.wentland@amd.com> wrote:
>
>
>
> On 2024-09-30 07:21, Julia Lawall wrote:
> > Reorganize kerneldoc parameter names to match the parameter
> > order in the function header.
> >
> > Problems identified using Coccinelle.
> >
> > Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
> >
> > ---
> > drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Reviewed-by: Harry Wentland <harry.wentland@amd.com>
>
> Harry
>
> >
> > diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
> > index 5c39390ecbd5..417fe508c57f 100644
> > --- a/drivers/gpu/drm/amd/display/dc/core/dc.c
> > +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
> > @@ -621,8 +621,8 @@ dc_stream_forward_crc_window(struct dc_stream_state *stream,
> > * dc_stream_configure_crc() - Configure CRC capture for the given stream.
> > * @dc: DC Object
> > * @stream: The stream to configure CRC on.
> > - * @enable: Enable CRC if true, disable otherwise.
> > * @crc_window: CRC window (x/y start/end) information
> > + * @enable: Enable CRC if true, disable otherwise.
> > * @continuous: Capture CRC on every frame if true. Otherwise, only capture
> > * once.
> > *
> >
>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 22/35] PCI: hotplug: Reorganize kerneldoc parameter names
2024-09-30 11:21 ` [PATCH 22/35] PCI: hotplug: " Julia Lawall
@ 2024-09-30 16:42 ` Bjorn Helgaas
0 siblings, 0 replies; 67+ messages in thread
From: Bjorn Helgaas @ 2024-09-30 16:42 UTC (permalink / raw)
To: Julia Lawall; +Cc: Bjorn Helgaas, kernel-janitors, linux-pci, linux-kernel
On Mon, Sep 30, 2024 at 01:21:08PM +0200, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Applied to pci/misc for v6.13, thank you!
> ---
> drivers/pci/hotplug/pci_hotplug_core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pci/hotplug/pci_hotplug_core.c b/drivers/pci/hotplug/pci_hotplug_core.c
> index 058d5937d8a9..db09d4992e6e 100644
> --- a/drivers/pci/hotplug/pci_hotplug_core.c
> +++ b/drivers/pci/hotplug/pci_hotplug_core.c
> @@ -388,8 +388,8 @@ static struct hotplug_slot *get_slot_from_name(const char *name)
>
> /**
> * __pci_hp_register - register a hotplug_slot with the PCI hotplug subsystem
> - * @bus: bus this slot is on
> * @slot: pointer to the &struct hotplug_slot to register
> + * @bus: bus this slot is on
> * @devnr: device number
> * @name: name registered with kobject core
> * @owner: caller module owner
>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 33/35] drivers/net/ethernet/intel: Reorganize kerneldoc parameter names
2024-09-30 11:21 ` [PATCH 33/35] drivers/net/ethernet/intel: " Julia Lawall
@ 2024-09-30 21:14 ` Tony Nguyen
0 siblings, 0 replies; 67+ messages in thread
From: Tony Nguyen @ 2024-09-30 21:14 UTC (permalink / raw)
To: Julia Lawall
Cc: kernel-janitors, Przemek Kitszel, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, intel-wired-lan, netdev,
linux-kernel
On 9/30/2024 4:21 AM, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Tony Nguyen <anthony.l.nguyen@intel.com>
>
> ---
> drivers/net/ethernet/intel/e1000/e1000_hw.c | 2 +-
> drivers/net/ethernet/intel/i40e/i40e_common.c | 7 +++----
> drivers/net/ethernet/intel/ice/ice_common.c | 2 +-
> drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 2 +-
> 4 files changed, 6 insertions(+), 7 deletions(-)
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 05/35] libnvdimm: Reorganize kerneldoc parameter names
2024-09-30 11:20 ` [PATCH 05/35] libnvdimm: " Julia Lawall
@ 2024-09-30 22:26 ` Ira Weiny
0 siblings, 0 replies; 67+ messages in thread
From: Ira Weiny @ 2024-09-30 22:26 UTC (permalink / raw)
To: Julia Lawall, Dan Williams
Cc: kernel-janitors, Vishal Verma, Dave Jiang, Ira Weiny, nvdimm,
linux-kernel
Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Acked-by: Ira Weiny <ira.weiny@intel.com>
>
> ---
> drivers/nvdimm/dimm_devs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/nvdimm/dimm_devs.c b/drivers/nvdimm/dimm_devs.c
> index 21498d461fde..8c35502638e2 100644
> --- a/drivers/nvdimm/dimm_devs.c
> +++ b/drivers/nvdimm/dimm_devs.c
> @@ -767,8 +767,8 @@ resource_size_t nd_pmem_max_contiguous_dpa(struct nd_region *nd_region,
>
> /**
> * nd_pmem_available_dpa - for the given dimm+region account unallocated dpa
> - * @nd_mapping: container of dpa-resource-root + labels
> * @nd_region: constrain available space check to this reference region
> + * @nd_mapping: container of dpa-resource-root + labels
> *
> * Validate that a PMEM label, if present, aligns with the start of an
> * interleave set.
>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 03/35] bnxt_en: Reorganize kerneldoc parameter names
2024-09-30 11:20 ` [PATCH 03/35] bnxt_en: " Julia Lawall
@ 2024-10-01 9:30 ` Paolo Abeni
0 siblings, 0 replies; 67+ messages in thread
From: Paolo Abeni @ 2024-10-01 9:30 UTC (permalink / raw)
To: Julia Lawall, Michael Chan
Cc: kernel-janitors, David S. Miller, Eric Dumazet, Jakub Kicinski,
netdev, linux-kernel
On 9/30/24 13:20, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
As mentioned elsewhere, please split-up the series by sub-system and
driver, it will make maintainers life easier,
Thanks!
Paolo
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 11/35] powerpc/ps3: Reorganize kerneldoc parameter names
2024-09-30 11:20 ` [PATCH 11/35] powerpc/ps3: " Julia Lawall
2024-09-30 11:58 ` Geert Uytterhoeven
@ 2024-10-02 8:43 ` Geoff Levand
1 sibling, 0 replies; 67+ messages in thread
From: Geoff Levand @ 2024-10-02 8:43 UTC (permalink / raw)
To: Julia Lawall
Cc: kernel-janitors, Michael Ellerman, Nicholas Piggin,
Christophe Leroy, Naveen N Rao, Madhavan Srinivasan, linuxppc-dev,
linux-kernel
On 9/30/24 20:20, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
>
> ---
> arch/powerpc/platforms/ps3/interrupt.c | 2 +-
> arch/powerpc/platforms/ps3/repository.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Looks good. Thanks for your fixes.
Acked-by: Geoff Levand <geoff@infradead.org>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 30/35] audit: Reorganize kerneldoc parameter names
2024-09-30 11:21 ` [PATCH 30/35] audit: " Julia Lawall
@ 2024-10-03 19:03 ` Paul Moore
0 siblings, 0 replies; 67+ messages in thread
From: Paul Moore @ 2024-10-03 19:03 UTC (permalink / raw)
To: Julia Lawall; +Cc: kernel-janitors, Eric Paris, audit, linux-kernel
On Sep 30, 2024 Julia Lawall <Julia.Lawall@inria.fr> wrote:
>
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
> ---
> kernel/audit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Merged into audit/dev, thanks.
--
paul-moore.com
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 01/35] ARM: OMAP2/3: PRM: Reorganize kerneldoc parameter names
2024-09-30 11:20 ` [PATCH 01/35] ARM: OMAP2/3: PRM: " Julia Lawall
2024-09-30 14:07 ` Roger Quadros
@ 2024-10-04 21:02 ` Kevin Hilman
1 sibling, 0 replies; 67+ messages in thread
From: Kevin Hilman @ 2024-10-04 21:02 UTC (permalink / raw)
To: Julia Lawall, Paul Walmsley
Cc: kernel-janitors, Aaro Koskinen, Andreas Kemnade, Roger Quadros,
Tony Lindgren, Russell King, linux-omap, linux-arm-kernel,
linux-kernel
Julia Lawall <Julia.Lawall@inria.fr> writes:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: (subset) [PATCH 00/35] Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (34 preceding siblings ...)
2024-09-30 11:21 ` [PATCH 35/35] comedi: comedi_8254: " Julia Lawall
@ 2024-10-06 1:55 ` Bjorn Andersson
2024-11-17 12:09 ` Michael Ellerman
2024-12-20 17:27 ` Srinivas Kandagatla
37 siblings, 0 replies; 67+ messages in thread
From: Bjorn Andersson @ 2024-10-06 1:55 UTC (permalink / raw)
To: linux-gpio, Julia Lawall
Cc: kernel-janitors, audit, linux-mtd, Zhihao Cheng,
Rafael J. Wysocki, linux-arm-msm, linux-pci, dri-devel, linux-usb,
linux-mm, maple-tree, alsa-devel, Sanyog Kale,
Pierre-Louis Bossart, dccp, linux-fsdevel, Jan Kara, drbd-dev,
linux-sound, linux-kernel, linux-omap, linux-arm-kernel, netdev,
nvdimm, linux-leds, Nicholas Piggin, Christophe Leroy,
Naveen N Rao, Madhavan Srinivasan, linuxppc-dev, tipc-discussion,
Robin Murphy, iommu, Mathieu Desnoyers, linux-trace-kernel,
Neil Brown, Olga Kornievskaia, Dai Ngo, Tom Talpey, linux-nfs,
amd-gfx, linux-wireless, intel-wired-lan
On Mon, 30 Sep 2024 13:20:46 +0200, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> The misordered cases were identified using the following
> Coccinelle semantic patch:
>
> // <smpl>
> @initialize:ocaml@
> @@
>
> [...]
Applied, thanks!
[24/35] soc: qcom: qmi: Reorganize kerneldoc parameter names
commit: eea73fa08e69fec9cdc915592022bec6a9ac8ad7
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 28/35] UBI: Reorganize kerneldoc parameter names
2024-09-30 11:21 ` [PATCH 28/35] UBI: " Julia Lawall
@ 2024-10-08 8:18 ` Zhihao Cheng
0 siblings, 0 replies; 67+ messages in thread
From: Zhihao Cheng @ 2024-10-08 8:18 UTC (permalink / raw)
To: Julia Lawall, Richard Weinberger
Cc: kernel-janitors, Miquel Raynal, Vignesh Raghavendra, linux-mtd,
linux-kernel
在 2024/9/30 19:21, Julia Lawall 写道:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
>
> ---
> drivers/mtd/ubi/eba.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
>
> diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c
> index c7ba7a15c9f7..efce5bf41ef6 100644
> --- a/drivers/mtd/ubi/eba.c
> +++ b/drivers/mtd/ubi/eba.c
> @@ -731,8 +731,8 @@ int ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum,
> * ubi_eba_read_leb_sg - read data into a scatter gather list.
> * @ubi: UBI device description object
> * @vol: volume description object
> - * @lnum: logical eraseblock number
> * @sgl: UBI scatter gather list to store the read data
> + * @lnum: logical eraseblock number
> * @offset: offset from where to read
> * @len: how many bytes to read
> * @check: data CRC check flag
>
> .
>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 14/35] maple_tree: Reorganize kerneldoc parameter names
2024-09-30 11:21 ` [PATCH 14/35] maple_tree: " Julia Lawall
@ 2024-10-09 0:27 ` Liam R. Howlett
0 siblings, 0 replies; 67+ messages in thread
From: Liam R. Howlett @ 2024-10-09 0:27 UTC (permalink / raw)
To: Julia Lawall
Cc: kernel-janitors, Andrew Morton, maple-tree, linux-mm,
linux-kernel
* Julia Lawall <Julia.Lawall@inria.fr> [240930 07:21]:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
>
> ---
> lib/maple_tree.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/maple_tree.c b/lib/maple_tree.c
> index 37abf0fe380b..b7f59c40530e 100644
> --- a/lib/maple_tree.c
> +++ b/lib/maple_tree.c
> @@ -4327,9 +4327,9 @@ static inline void *mas_insert(struct ma_state *mas, void *entry)
> * mas_alloc_cyclic() - Internal call to find somewhere to store an entry
> * @mas: The maple state.
> * @startp: Pointer to ID.
> + * @entry: The entry to store.
> * @range_lo: Lower bound of range to search.
> * @range_hi: Upper bound of range to search.
> - * @entry: The entry to store.
> * @next: Pointer to next ID to allocate.
> * @gfp: The GFP_FLAGS to use for allocations.
> *
>
>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: (subset) [PATCH 07/35] leds: leds-gpio-register: Reorganize kerneldoc parameter names
2024-09-30 11:20 ` [PATCH 07/35] leds: leds-gpio-register: " Julia Lawall
@ 2024-10-10 13:42 ` Lee Jones
0 siblings, 0 replies; 67+ messages in thread
From: Lee Jones @ 2024-10-10 13:42 UTC (permalink / raw)
To: Pavel Machek, Julia Lawall
Cc: kernel-janitors, Lee Jones, linux-leds, linux-kernel
On Mon, 30 Sep 2024 13:20:53 +0200, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
>
Applied, thanks!
[07/35] leds: leds-gpio-register: Reorganize kerneldoc parameter names
commit: 42507413bb32666dcbb19a876e4b73419b05a0d1
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: (subset) [PATCH 17/35] mfd: atmel-smc: Reorganize kerneldoc parameter names
2024-09-30 11:21 ` [PATCH 17/35] mfd: atmel-smc: " Julia Lawall
@ 2024-10-10 13:43 ` Lee Jones
0 siblings, 0 replies; 67+ messages in thread
From: Lee Jones @ 2024-10-10 13:43 UTC (permalink / raw)
To: Lee Jones, Julia Lawall
Cc: kernel-janitors, Nicolas Ferre, Alexandre Belloni, Claudiu Beznea,
linux-arm-kernel, linux-kernel
On Mon, 30 Sep 2024 13:21:03 +0200, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
>
Applied, thanks!
[17/35] mfd: atmel-smc: Reorganize kerneldoc parameter names
commit: dfa6ab41d9d939135e96c4496d044ca4052cc813
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 21/35] ring-buffer: Reorganize kerneldoc parameter names
2024-09-30 15:14 ` Steven Rostedt
@ 2024-10-10 19:36 ` Steven Rostedt
2024-10-10 19:54 ` Julia Lawall
0 siblings, 1 reply; 67+ messages in thread
From: Steven Rostedt @ 2024-10-10 19:36 UTC (permalink / raw)
To: Julia Lawall
Cc: kernel-janitors, Masami Hiramatsu, Mathieu Desnoyers,
linux-kernel, linux-trace-kernel
On Mon, 30 Sep 2024 11:14:31 -0400
Steven Rostedt <rostedt@goodmis.org> wrote:
> On Mon, 30 Sep 2024 13:21:07 +0200
> Julia Lawall <Julia.Lawall@inria.fr> wrote:
>
> > Reorganize kerneldoc parameter names to match the parameter
> > order in the function header.
> >
> > Problems identified using Coccinelle.
> >
> > Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
>
> Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
This is part of a series, but do you want me to take it through my tree, or
is this going though another tree?
-- Steve
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 21/35] ring-buffer: Reorganize kerneldoc parameter names
2024-10-10 19:36 ` Steven Rostedt
@ 2024-10-10 19:54 ` Julia Lawall
0 siblings, 0 replies; 67+ messages in thread
From: Julia Lawall @ 2024-10-10 19:54 UTC (permalink / raw)
To: Steven Rostedt
Cc: kernel-janitors, Masami Hiramatsu, Mathieu Desnoyers,
linux-kernel, linux-trace-kernel
On Thu, 10 Oct 2024, Steven Rostedt wrote:
> On Mon, 30 Sep 2024 11:14:31 -0400
> Steven Rostedt <rostedt@goodmis.org> wrote:
>
> > On Mon, 30 Sep 2024 13:21:07 +0200
> > Julia Lawall <Julia.Lawall@inria.fr> wrote:
> >
> > > Reorganize kerneldoc parameter names to match the parameter
> > > order in the function header.
> > >
> > > Problems identified using Coccinelle.
> > >
> > > Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
> >
> > Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
>
> This is part of a series, but do you want me to take it through my tree, or
> is this going though another tree?
Please take it. Thanks.
julia
>
> -- Steve
>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 19/35] iommu: Reorganize kerneldoc parameter names
2024-09-30 11:21 ` [PATCH 19/35] iommu: " Julia Lawall
@ 2024-10-15 8:21 ` Joerg Roedel
0 siblings, 0 replies; 67+ messages in thread
From: Joerg Roedel @ 2024-10-15 8:21 UTC (permalink / raw)
To: Julia Lawall
Cc: kernel-janitors, Will Deacon, Robin Murphy, iommu, linux-kernel
On Mon, Sep 30, 2024 at 01:21:05PM +0200, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
>
> ---
> drivers/iommu/iommu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 09/35] sysctl: Reorganize kerneldoc parameter names
2024-09-30 11:20 ` [PATCH 09/35] sysctl: " Julia Lawall
@ 2024-10-22 19:31 ` Joel Granados
2024-10-22 20:13 ` Julia Lawall
0 siblings, 1 reply; 67+ messages in thread
From: Joel Granados @ 2024-10-22 19:31 UTC (permalink / raw)
To: Julia Lawall
Cc: Luis Chamberlain, kernel-janitors, Kees Cook, linux-kernel,
linux-fsdevel
On Mon, Sep 30, 2024 at 01:20:55PM +0200, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
>
> ---
> kernel/sysctl.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> index 79e6cb1d5c48..5c9202cb8f59 100644
> --- a/kernel/sysctl.c
> +++ b/kernel/sysctl.c
> @@ -1305,7 +1305,6 @@ int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int write,
> * @write: %TRUE if this is a write to the sysctl file
> * @buffer: the user buffer
> * @lenp: the size of the user buffer
> - * @ppos: file position
> * @ppos: the current position in the file
> *
> * Reads/writes up to table->maxlen/sizeof(unsigned int) integer
>
This looks good to me. Is it going to go into main line together with
the other 35 or should I take this one through sysctl subsystem?
Best
Signed-off-by: Joel Granados <joel.granados@kernel.com>
--
Joel Granados
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: [PATCH 09/35] sysctl: Reorganize kerneldoc parameter names
2024-10-22 19:31 ` Joel Granados
@ 2024-10-22 20:13 ` Julia Lawall
2024-10-23 13:38 ` Joel Granados
0 siblings, 1 reply; 67+ messages in thread
From: Julia Lawall @ 2024-10-22 20:13 UTC (permalink / raw)
To: Joel Granados
Cc: Luis Chamberlain, kernel-janitors, Kees Cook, linux-kernel,
linux-fsdevel
On Tue, 22 Oct 2024, Joel Granados wrote:
> On Mon, Sep 30, 2024 at 01:20:55PM +0200, Julia Lawall wrote:
> > Reorganize kerneldoc parameter names to match the parameter
> > order in the function header.
> >
> > Problems identified using Coccinelle.
> >
> > Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
> >
> > ---
> > kernel/sysctl.c | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> > index 79e6cb1d5c48..5c9202cb8f59 100644
> > --- a/kernel/sysctl.c
> > +++ b/kernel/sysctl.c
> > @@ -1305,7 +1305,6 @@ int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int write,
> > * @write: %TRUE if this is a write to the sysctl file
> > * @buffer: the user buffer
> > * @lenp: the size of the user buffer
> > - * @ppos: file position
> > * @ppos: the current position in the file
> > *
> > * Reads/writes up to table->maxlen/sizeof(unsigned int) integer
> >
> This looks good to me. Is it going to go into main line together with
> the other 35 or should I take this one through sysctl subsystem?
Please take it,
julia
>
> Best
>
> Signed-off-by: Joel Granados <joel.granados@kernel.com>
>
> --
>
> Joel Granados
>
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: Re: [PATCH 09/35] sysctl: Reorganize kerneldoc parameter names
2024-10-22 20:13 ` Julia Lawall
@ 2024-10-23 13:38 ` Joel Granados
0 siblings, 0 replies; 67+ messages in thread
From: Joel Granados @ 2024-10-23 13:38 UTC (permalink / raw)
To: Julia Lawall
Cc: Luis Chamberlain, kernel-janitors, Kees Cook, linux-kernel,
linux-fsdevel
On Tue, Oct 22, 2024 at 01:13:25PM -0700, Julia Lawall wrote:
>
>
> On Tue, 22 Oct 2024, Joel Granados wrote:
>
> > On Mon, Sep 30, 2024 at 01:20:55PM +0200, Julia Lawall wrote:
> > > Reorganize kerneldoc parameter names to match the parameter
> > > order in the function header.
> > >
> > > Problems identified using Coccinelle.
> > >
> > > Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
> > >
> > > ---
> > > kernel/sysctl.c | 1 -
> > > 1 file changed, 1 deletion(-)
> > >
> > > diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> > > index 79e6cb1d5c48..5c9202cb8f59 100644
> > > --- a/kernel/sysctl.c
> > > +++ b/kernel/sysctl.c
> > > @@ -1305,7 +1305,6 @@ int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int write,
> > > * @write: %TRUE if this is a write to the sysctl file
> > > * @buffer: the user buffer
> > > * @lenp: the size of the user buffer
> > > - * @ppos: file position
> > > * @ppos: the current position in the file
> > > *
> > > * Reads/writes up to table->maxlen/sizeof(unsigned int) integer
> > >
> > This looks good to me. Is it going to go into main line together with
> > the other 35 or should I take this one through sysctl subsystem?
>
> Please take it,
Ok. I added to the sysctl-next branch going into the next release.
thx.
Best
--
Joel Granados
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: (subset) [PATCH 00/35] Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (35 preceding siblings ...)
2024-10-06 1:55 ` (subset) [PATCH 00/35] " Bjorn Andersson
@ 2024-11-17 12:09 ` Michael Ellerman
2024-12-20 17:27 ` Srinivas Kandagatla
37 siblings, 0 replies; 67+ messages in thread
From: Michael Ellerman @ 2024-11-17 12:09 UTC (permalink / raw)
To: linux-gpio, Julia Lawall
Cc: kernel-janitors, audit, linux-mtd, Zhihao Cheng,
Rafael J. Wysocki, linux-arm-msm, linux-pci, dri-devel, linux-usb,
linux-mm, maple-tree, alsa-devel, Sanyog Kale,
Pierre-Louis Bossart, dccp, linux-fsdevel, Jan Kara, drbd-dev,
linux-sound, linux-kernel, linux-omap, linux-arm-kernel, netdev,
nvdimm, linux-leds, Nicholas Piggin, Christophe Leroy,
Naveen N Rao, Madhavan Srinivasan, linuxppc-dev, tipc-discussion,
Robin Murphy, iommu, Mathieu Desnoyers, linux-trace-kernel,
Neil Brown, Olga Kornievskaia, Dai Ngo, Tom Talpey, linux-nfs,
amd-gfx, linux-wireless, intel-wired-lan
On Mon, 30 Sep 2024 13:20:46 +0200, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> The misordered cases were identified using the following
> Coccinelle semantic patch:
>
> // <smpl>
> @initialize:ocaml@
> @@
>
> [...]
Applied to powerpc/next.
[11/35] powerpc/ps3: Reorganize kerneldoc parameter names
https://git.kernel.org/powerpc/c/276e036e5844116e563fa90f676c625bb742cc57
cheers
^ permalink raw reply [flat|nested] 67+ messages in thread
* Re: (subset) [PATCH 00/35] Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (36 preceding siblings ...)
2024-11-17 12:09 ` Michael Ellerman
@ 2024-12-20 17:27 ` Srinivas Kandagatla
37 siblings, 0 replies; 67+ messages in thread
From: Srinivas Kandagatla @ 2024-12-20 17:27 UTC (permalink / raw)
To: linux-gpio, Julia Lawall
Cc: kernel-janitors, audit, linux-mtd, Zhihao Cheng,
Rafael J. Wysocki, linux-arm-msm, linux-pci, dri-devel, linux-usb,
linux-mm, maple-tree, alsa-devel, Sanyog Kale,
Pierre-Louis Bossart, dccp, linux-fsdevel, Jan Kara, drbd-dev,
linux-sound, linux-kernel, linux-omap, linux-arm-kernel, netdev,
nvdimm, linux-leds, Nicholas Piggin, Christophe Leroy,
Naveen N Rao, Madhavan Srinivasan, linuxppc-dev, tipc-discussion,
Robin Murphy, iommu, Mathieu Desnoyers, linux-trace-kernel,
Neil Brown, Olga Kornievskaia, Dai Ngo, Tom Talpey, linux-nfs,
amd-gfx, linux-wireless, intel-wired-lan
On Mon, 30 Sep 2024 13:20:46 +0200, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> The misordered cases were identified using the following
> Coccinelle semantic patch:
>
> // <smpl>
> @initialize:ocaml@
> @@
>
> [...]
Applied, thanks!
[31/35] slimbus: messaging: Reorganize kerneldoc parameter names
commit: 52d3d7f7a77ee9afc6a846b415790e13e1434847
Best regards,
--
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
^ permalink raw reply [flat|nested] 67+ messages in thread
end of thread, other threads:[~2024-12-20 17:27 UTC | newest]
Thread overview: 67+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
2024-09-30 11:20 ` [PATCH 01/35] ARM: OMAP2/3: PRM: " Julia Lawall
2024-09-30 14:07 ` Roger Quadros
2024-10-04 21:02 ` Kevin Hilman
2024-09-30 11:20 ` [PATCH 02/35] resource: " Julia Lawall
2024-09-30 11:20 ` [PATCH 03/35] bnxt_en: " Julia Lawall
2024-10-01 9:30 ` Paolo Abeni
2024-09-30 11:20 ` [PATCH 04/35] ALSA: " Julia Lawall
2024-09-30 14:02 ` Takashi Iwai
2024-09-30 11:20 ` [PATCH 05/35] libnvdimm: " Julia Lawall
2024-09-30 22:26 ` Ira Weiny
2024-09-30 11:20 ` [PATCH 06/35] lru_cache: " Julia Lawall
2024-09-30 11:20 ` [PATCH 07/35] leds: leds-gpio-register: " Julia Lawall
2024-10-10 13:42 ` (subset) " Lee Jones
2024-09-30 11:20 ` [PATCH 08/35] fs: " Julia Lawall
2024-09-30 12:09 ` (subset) " Christian Brauner
2024-09-30 12:25 ` Jan Kara
2024-09-30 11:20 ` [PATCH 09/35] sysctl: " Julia Lawall
2024-10-22 19:31 ` Joel Granados
2024-10-22 20:13 ` Julia Lawall
2024-10-23 13:38 ` Joel Granados
2024-09-30 11:20 ` [PATCH 10/35] dccp: " Julia Lawall
2024-09-30 11:20 ` [PATCH 11/35] powerpc/ps3: " Julia Lawall
2024-09-30 11:58 ` Geert Uytterhoeven
2024-10-02 8:43 ` Geoff Levand
2024-09-30 11:20 ` [PATCH 12/35] soundwire: stream: " Julia Lawall
2024-09-30 11:20 ` [PATCH 13/35] mei: bus: " Julia Lawall
2024-09-30 11:21 ` [PATCH 14/35] maple_tree: " Julia Lawall
2024-10-09 0:27 ` Liam R. Howlett
2024-09-30 11:21 ` [PATCH 15/35] tipc: " Julia Lawall
2024-09-30 11:21 ` [PATCH 16/35] net: " Julia Lawall
2024-09-30 11:21 ` [PATCH 17/35] mfd: atmel-smc: " Julia Lawall
2024-10-10 13:43 ` (subset) " Lee Jones
2024-09-30 11:21 ` [PATCH 18/35] usb: " Julia Lawall
2024-09-30 11:21 ` [PATCH 19/35] iommu: " Julia Lawall
2024-10-15 8:21 ` Joerg Roedel
2024-09-30 11:21 ` [PATCH 20/35] drivers/gpu/drm: " Julia Lawall
2024-09-30 11:21 ` [PATCH 21/35] ring-buffer: " Julia Lawall
2024-09-30 15:14 ` Steven Rostedt
2024-10-10 19:36 ` Steven Rostedt
2024-10-10 19:54 ` Julia Lawall
2024-09-30 11:21 ` [PATCH 22/35] PCI: hotplug: " Julia Lawall
2024-09-30 16:42 ` Bjorn Helgaas
2024-09-30 11:21 ` [PATCH 23/35] SUNRPC: " Julia Lawall
2024-09-30 11:21 ` [PATCH 24/35] soc: qcom: qmi: " Julia Lawall
2024-09-30 11:21 ` [PATCH 25/35] drm/amd/display: " Julia Lawall
2024-09-30 14:48 ` Harry Wentland
2024-09-30 15:51 ` Alex Deucher
2024-09-30 11:21 ` [PATCH 26/35] firmware_loader: " Julia Lawall
2024-09-30 11:21 ` [PATCH 27/35] mac80211: " Julia Lawall
2024-09-30 14:29 ` Jeff Johnson
2024-09-30 11:21 ` [PATCH 28/35] UBI: " Julia Lawall
2024-10-08 8:18 ` Zhihao Cheng
2024-09-30 11:21 ` [PATCH 29/35] drivers/gpu/drm: " Julia Lawall
2024-09-30 11:22 ` Christian König
2024-09-30 11:38 ` Julia Lawall
2024-09-30 11:21 ` [PATCH 30/35] audit: " Julia Lawall
2024-10-03 19:03 ` Paul Moore
2024-09-30 11:21 ` [PATCH 31/35] slimbus: messaging: " Julia Lawall
2024-09-30 11:21 ` [PATCH 32/35] mm/mmu_notifiers: " Julia Lawall
2024-09-30 11:21 ` [PATCH 33/35] drivers/net/ethernet/intel: " Julia Lawall
2024-09-30 21:14 ` Tony Nguyen
2024-09-30 11:21 ` [PATCH 34/35] pinctrl: " Julia Lawall
2024-09-30 11:21 ` [PATCH 35/35] comedi: comedi_8254: " Julia Lawall
2024-10-06 1:55 ` (subset) [PATCH 00/35] " Bjorn Andersson
2024-11-17 12:09 ` Michael Ellerman
2024-12-20 17:27 ` Srinivas Kandagatla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).