Skip to contentSkip to conversation

Introduce devm_kmemdup_array() helper

PATCH In review Raag Jadav 6 participants 25 messages Nov 26, 2024 – Jan 21, 2025

Subsystems (11)
Sound ASoC HID GPIO +7 more subsystems
lore
Share & tools
lore

Raag Jadav

author
#0 lore raw

v2 cover Introduce devm_kmemdup_array() helper

This series introduces a more robust and cleaner devm_kmemdup_array() helper and uses it across drivers.

v2: Use size_mul() for multiplication (Dmitry)
Update commit message (Dmitry)

Raag Jadav (6):
devres: Introduce devm_kmemdup_array()
pinctrl: intel: copy communities using devm_kmemdup_array()
pinctrl: tangier: use devm_kmemdup_array()
pinctrl: pxa2xx: use devm_kmemdup_array()
input: sparse-keymap: use devm_kmemdup_array()
ASoC: Intel: avs: use devm_kmemdup_array()

 drivers/input/sparse-keymap.c           | 3 +--
 drivers/pinctrl/intel/pinctrl-intel.c   | 6 ++----
 drivers/pinctrl/intel/pinctrl-tangier.c | 5 ++---
 drivers/pinctrl/pxa/pinctrl-pxa2xx.c    | 8 ++++----
 include/linux/device.h                  | 5 +++++
 sound/soc/intel/avs/boards/da7219.c     | 3 ++-
 sound/soc/intel/avs/boards/es8336.c     | 3 ++-
 sound/soc/intel/avs/boards/nau8825.c    | 3 ++-
 sound/soc/intel/avs/boards/rt274.c      | 3 ++-
 sound/soc/intel/avs/boards/rt286.c      | 3 ++-
 sound/soc/intel/avs/boards/rt298.c      | 3 ++-
 sound/soc/intel/avs/boards/rt5663.c     | 3 ++-
 sound/soc/intel/avs/boards/rt5682.c     | 2 +-
 13 files changed, 29 insertions(+), 21 deletions(-)
Signature · 1 line
2.35.3
author
#1 lore raw

PATCH v2 1/6 devres: Introduce devm_kmemdup_array()

Introduce '_array' variant of devm_kmemdup() which is more robust and consistent with alloc family of helpers.

---
 include/linux/device.h | 5 +++++
 1 file changed, 5 insertions(+)
include/linux/device.h +5 -0
index b4bde8d22697..c2032aab1586 100644
@@ -358,6 +358,11 @@ char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) __malloc;
 const char *devm_kstrdup_const(struct device *dev, const char *s, gfp_t gfp);
 void *devm_kmemdup(struct device *dev, const void *src, size_t len, gfp_t gfp)
 	__realloc_size(3);
+static inline void *devm_kmemdup_array(struct device *dev, const void *src,
+				       size_t n, size_t size, gfp_t flags)
+{
+	return devm_kmemdup(dev, src, size_mul(size, n), flags);
+}
 
 unsigned long devm_get_free_pages(struct device *dev,
 				  gfp_t gfp_mask, unsigned int order);
Signature · 1 line
2.35.3
maintainer Reviewed-by on v2 1/6
#2 lore raw

Re: [PATCH v2 1/6] devres: Introduce devm_kmemdup_array()

Quoted 5 lines · Raag Jadav

Introduce '_array' variant of devm_kmemdup() which is more robust and consistent with alloc family of helpers.

Thank you for making the changes.

Quoted 23 lines
---
 include/linux/device.h | 5 +++++
 1 file changed, 5 insertions(+)
include/linux/device.h +5 -0
index b4bde8d22697..c2032aab1586 100644
@@ -358,6 +358,11 @@ char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) __malloc;
 const char *devm_kstrdup_const(struct device *dev, const char *s, gfp_t gfp);
 void *devm_kmemdup(struct device *dev, const void *src, size_t len, gfp_t gfp)
 	__realloc_size(3);
+static inline void *devm_kmemdup_array(struct device *dev, const void *src,
+				       size_t n, size_t size, gfp_t flags)
+{
+	return devm_kmemdup(dev, src, size_mul(size, n), flags);
+}
 
 unsigned long devm_get_free_pages(struct device *dev,
 				  gfp_t gfp_mask, unsigned int order);
Signature · 1 line
2.35.3
Signature · 1 line
Dmitry
author
#3 lore raw

PATCH v2 2/6 pinctrl: intel: copy communities using devm_kmemdup_array()

In reply to Raag Jadav

Copy communities using devm_kmemdup_array() instead of doing it manually.

---
 drivers/pinctrl/intel/pinctrl-intel.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/pinctrl/intel/pinctrl-intel.c +2 -4
index 04b438f63ccb..e165bd5b5811 100644
@@ -1577,8 +1577,8 @@ int intel_pinctrl_probe(struct platform_device *pdev,
 	 * to the registers.
 	 */
 	pctrl->ncommunities = pctrl->soc->ncommunities;
-	pctrl->communities = devm_kcalloc(dev, pctrl->ncommunities,
-					  sizeof(*pctrl->communities), GFP_KERNEL);
+	pctrl->communities = devm_kmemdup_array(dev, pctrl->soc->communities, pctrl->ncommunities,
+						sizeof(*pctrl->communities), GFP_KERNEL);
 	if (!pctrl->communities)
 		return -ENOMEM;
 
@@ -1588,8 +1588,6 @@ int intel_pinctrl_probe(struct platform_device *pdev,
 		u32 offset;
 		u32 value;
 
-		*community = pctrl->soc->communities[i];
-
 		regs = devm_platform_ioremap_resource(pdev, community->barno);
 		if (IS_ERR(regs))
 			return PTR_ERR(regs);
Signature · 1 line
2.35.3
Reviewed-by on v2 2/6
#4 lore raw

Re: [PATCH v2 2/6] pinctrl: intel: copy communities using devm_kmemdup_array()

Quoted 1 line · Raag Jadav

Copy communities using devm_kmemdup_array() instead of doing it manually.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
author
#5 lore raw

PATCH v2 3/6 pinctrl: tangier: use devm_kmemdup_array()

In reply to Raag Jadav

Convert to use devm_kmemdup_array() which is more robust.

---
 drivers/pinctrl/intel/pinctrl-tangier.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/pinctrl/intel/pinctrl-tangier.c +2 -3
index 2cb0b4758269..305547100baa 100644
@@ -524,7 +524,6 @@ static int tng_pinctrl_probe(struct platform_device *pdev,
 	struct device *dev = &pdev->dev;
 	struct tng_family *families;
 	struct tng_pinctrl *tp;
-	size_t families_len;
 	void __iomem *regs;
 	unsigned int i;
 
@@ -543,8 +542,8 @@ static int tng_pinctrl_probe(struct platform_device *pdev,
 	 * Make a copy of the families which we can use to hold pointers
 	 * to the registers.
 	 */
-	families_len = size_mul(sizeof(*families), tp->nfamilies);
-	families = devm_kmemdup(dev, tp->families, families_len, GFP_KERNEL);
+	families = devm_kmemdup_array(dev, tp->families, tp->nfamilies,
+				      sizeof(*families), GFP_KERNEL);
 	if (!families)
 		return -ENOMEM;
 
Signature · 1 line
2.35.3
Reviewed-by on v2 3/6
#6 lore raw

Re: [PATCH v2 3/6] pinctrl: tangier: use devm_kmemdup_array()

Quoted 1 line · Raag Jadav

Convert to use devm_kmemdup_array() which is more robust.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
author
#7 lore raw

PATCH v2 4/6 pinctrl: pxa2xx: use devm_kmemdup_array()

In reply to Raag Jadav

Convert to use devm_kmemdup_array() which is more robust.

---
 drivers/pinctrl/pxa/pinctrl-pxa2xx.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/pinctrl/pxa/pinctrl-pxa2xx.c +4 -4
index 9e34b92ff5f2..9fd7a8fb2bc4 100644
@@ -281,9 +281,8 @@ static int pxa2xx_build_functions(struct pxa_pinctrl *pctl)
 		for (df = pctl->ppins[i].functions; df->name; df++)
 			if (!pxa2xx_find_function(pctl, df->name, functions))
 				(functions + pctl->nfuncs++)->name = df->name;
-	pctl->functions = devm_kmemdup(pctl->dev, functions,
-				       pctl->nfuncs * sizeof(*functions),
-				       GFP_KERNEL);
+	pctl->functions = devm_kmemdup_array(pctl->dev, functions, pctl->nfuncs,
+					     sizeof(*functions), GFP_KERNEL);
 	if (!pctl->functions)
 		return -ENOMEM;
 
@@ -314,7 +313,8 @@ static int pxa2xx_build_groups(struct pxa_pinctrl *pctl)
 						pctl->ppins[j].pin.name;
 		func = pctl->functions + i;
 		func->ngroups = ngroups;
-		func->groups = devm_kmemdup(pctl->dev, gtmp, ngroups * sizeof(*gtmp), GFP_KERNEL);
+		func->groups = devm_kmemdup_array(pctl->dev, gtmp, ngroups,
+						  sizeof(*gtmp), GFP_KERNEL);
 		if (!func->groups)
 			return -ENOMEM;
 	}
Signature · 1 line
2.35.3
author
#8 lore raw

PATCH v2 5/6 input: sparse-keymap: use devm_kmemdup_array()

In reply to Raag Jadav

Convert to use devm_kmemdup_array() which is more robust.

---
 drivers/input/sparse-keymap.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/input/sparse-keymap.c +1 -2
index 25bf8be6e711..5ec3b9ebcac5 100644
@@ -176,8 +176,7 @@ int sparse_keymap_setup(struct input_dev *dev,
 	for (e = keymap; e->type != KE_END; e++)
 		map_size++;
 
-	map = devm_kmemdup(&dev->dev, keymap, map_size * sizeof(*map),
-			   GFP_KERNEL);
+	map = devm_kmemdup_array(&dev->dev, keymap, map_size, sizeof(*map), GFP_KERNEL);
 	if (!map)
 		return -ENOMEM;
 
Signature · 1 line
2.35.3
maintainer Acked-by on v2 5/6
#9 lore raw

Re: [PATCH v2 5/6] input: sparse-keymap: use devm_kmemdup_array()

Quoted 3 lines · Raag Jadav

Convert to use devm_kmemdup_array() which is more robust.

Quoted 21 lines
---
 drivers/input/sparse-keymap.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/input/sparse-keymap.c +1 -2
index 25bf8be6e711..5ec3b9ebcac5 100644
@@ -176,8 +176,7 @@ int sparse_keymap_setup(struct input_dev *dev,
 	for (e = keymap; e->type != KE_END; e++)
 		map_size++;
 
-	map = devm_kmemdup(&dev->dev, keymap, map_size * sizeof(*map),
-			   GFP_KERNEL);
+	map = devm_kmemdup_array(&dev->dev, keymap, map_size, sizeof(*map), GFP_KERNEL);
 	if (!map)
 		return -ENOMEM;
 
Signature · 1 line
2.35.3
Signature · 1 line
Dmitry
author
#10 lore raw

PATCH v2 6/6 ASoC: Intel: avs: use devm_kmemdup_array()

In reply to Raag Jadav

Convert to use devm_kmemdup_array() which is more robust.

---
 sound/soc/intel/avs/boards/da7219.c  | 3 ++-
 sound/soc/intel/avs/boards/es8336.c  | 3 ++-
 sound/soc/intel/avs/boards/nau8825.c | 3 ++-
 sound/soc/intel/avs/boards/rt274.c   | 3 ++-
 sound/soc/intel/avs/boards/rt286.c   | 3 ++-
 sound/soc/intel/avs/boards/rt298.c   | 3 ++-
 sound/soc/intel/avs/boards/rt5663.c  | 3 ++-
 sound/soc/intel/avs/boards/rt5682.c  | 2 +-
 8 files changed, 15 insertions(+), 8 deletions(-)
sound/soc/intel/avs/boards/da7219.c +2 -1
index 80c0a1a95654..1b8f58b611a4 100644
@@ -113,7 +113,8 @@ static int avs_da7219_codec_init(struct snd_soc_pcm_runtime *runtime)
 	}
 
 	num_pins = ARRAY_SIZE(card_headset_pins);
-	pins = devm_kmemdup(card->dev, card_headset_pins, sizeof(*pins) * num_pins, GFP_KERNEL);
+	pins = devm_kmemdup_array(card->dev, card_headset_pins, num_pins,
+				  sizeof(*pins), GFP_KERNEL);
 	if (!pins)
 		return -ENOMEM;
 
sound/soc/intel/avs/boards/es8336.c +2 -1
index c8522e2430f8..8103e539e08a 100644
@@ -109,7 +109,8 @@ static int avs_es8336_codec_init(struct snd_soc_pcm_runtime *runtime)
 	data = snd_soc_card_get_drvdata(card);
 	num_pins = ARRAY_SIZE(card_headset_pins);
 
-	pins = devm_kmemdup(card->dev, card_headset_pins, sizeof(*pins) * num_pins, GFP_KERNEL);
+	pins = devm_kmemdup_array(card->dev, card_headset_pins, num_pins,
+				  sizeof(*pins), GFP_KERNEL);
 	if (!pins)
 		return -ENOMEM;
 
sound/soc/intel/avs/boards/nau8825.c +2 -1
index 6ea9058fdb2a..0945a539b364 100644
@@ -88,7 +88,8 @@ static int avs_nau8825_codec_init(struct snd_soc_pcm_runtime *runtime)
 	jack = snd_soc_card_get_drvdata(card);
 	num_pins = ARRAY_SIZE(card_headset_pins);
 
-	pins = devm_kmemdup(card->dev, card_headset_pins, sizeof(*pins) * num_pins, GFP_KERNEL);
+	pins = devm_kmemdup_array(card->dev, card_headset_pins, num_pins,
+				  sizeof(*pins), GFP_KERNEL);
 	if (!pins)
 		return -ENOMEM;
 
sound/soc/intel/avs/boards/rt274.c +2 -1
index 9fcce86c6eb4..bdf36c7c744a 100644
@@ -98,7 +98,8 @@ static int avs_rt274_codec_init(struct snd_soc_pcm_runtime *runtime)
 	jack = snd_soc_card_get_drvdata(card);
 	num_pins = ARRAY_SIZE(card_headset_pins);
 
-	pins = devm_kmemdup(card->dev, card_headset_pins, sizeof(*pins) * num_pins, GFP_KERNEL);
+	pins = devm_kmemdup_array(card->dev, card_headset_pins, num_pins,
+				  sizeof(*pins), GFP_KERNEL);
 	if (!pins)
 		return -ENOMEM;
 
sound/soc/intel/avs/boards/rt286.c +2 -1
index f157f2d19efb..f94382389430 100644
@@ -59,7 +59,8 @@ static int avs_rt286_codec_init(struct snd_soc_pcm_runtime *runtime)
 	jack = snd_soc_card_get_drvdata(card);
 	num_pins = ARRAY_SIZE(card_headset_pins);
 
-	pins = devm_kmemdup(card->dev, card_headset_pins, sizeof(*pins) * num_pins, GFP_KERNEL);
+	pins = devm_kmemdup_array(card->dev, card_headset_pins, num_pins,
+				  sizeof(*pins), GFP_KERNEL);
 	if (!pins)
 		return -ENOMEM;
 
sound/soc/intel/avs/boards/rt298.c +2 -1
index 1e85242c8dd2..985bfa977edb 100644
@@ -70,7 +70,8 @@ static int avs_rt298_codec_init(struct snd_soc_pcm_runtime *runtime)
 	jack = snd_soc_card_get_drvdata(card);
 	num_pins = ARRAY_SIZE(card_headset_pins);
 
-	pins = devm_kmemdup(card->dev, card_headset_pins, sizeof(*pins) * num_pins, GFP_KERNEL);
+	pins = devm_kmemdup_array(card->dev, card_headset_pins, num_pins,
+				  sizeof(*pins), GFP_KERNEL);
 	if (!pins)
 		return -ENOMEM;
 
sound/soc/intel/avs/boards/rt5663.c +2 -1
index 44f857e90969..fd8b0c915efa 100644
@@ -65,7 +65,8 @@ static int avs_rt5663_codec_init(struct snd_soc_pcm_runtime *runtime)
 	jack = &priv->jack;
 	num_pins = ARRAY_SIZE(card_headset_pins);
 
-	pins = devm_kmemdup(card->dev, card_headset_pins, sizeof(*pins) * num_pins, GFP_KERNEL);
+	pins = devm_kmemdup_array(card->dev, card_headset_pins, num_pins,
+				  sizeof(*pins), GFP_KERNEL);
 	if (!pins)
 		return -ENOMEM;
 
sound/soc/intel/avs/boards/rt5682.c +1 -1
index 0dcc6392a0cc..6d7022707ca7 100644
@@ -102,7 +102,7 @@ static int avs_rt5682_codec_init(struct snd_soc_pcm_runtime *runtime)
 	jack = snd_soc_card_get_drvdata(card);
 	num_pins = ARRAY_SIZE(card_jack_pins);
 
-	pins = devm_kmemdup(card->dev, card_jack_pins, sizeof(*pins) * num_pins, GFP_KERNEL);
+	pins = devm_kmemdup_array(card->dev, card_jack_pins, num_pins, sizeof(*pins), GFP_KERNEL);
 	if (!pins)
 		return -ENOMEM;
 
Signature · 1 line
2.35.3
#12 lore raw
In reply to Raag Jadav
Quoted 2 lines · Raag Jadav

This series introduces a more robust and cleaner devm_kmemdup_array() helper and uses it across drivers.

I believe the best is to route this via Intel pin control tree, but we need an Ack from Greg and Dmitry. Or share your vision on this.

Quoted 22 lines

Raag Jadav (6):
devres: Introduce devm_kmemdup_array()
pinctrl: intel: copy communities using devm_kmemdup_array()
pinctrl: tangier: use devm_kmemdup_array()
pinctrl: pxa2xx: use devm_kmemdup_array()
input: sparse-keymap: use devm_kmemdup_array()
ASoC: Intel: avs: use devm_kmemdup_array()

 drivers/input/sparse-keymap.c           | 3 +--
 drivers/pinctrl/intel/pinctrl-intel.c   | 6 ++----
 drivers/pinctrl/intel/pinctrl-tangier.c | 5 ++---
 drivers/pinctrl/pxa/pinctrl-pxa2xx.c    | 8 ++++----
 include/linux/device.h                  | 5 +++++
 sound/soc/intel/avs/boards/da7219.c     | 3 ++-
 sound/soc/intel/avs/boards/es8336.c     | 3 ++-
 sound/soc/intel/avs/boards/nau8825.c    | 3 ++-
 sound/soc/intel/avs/boards/rt274.c      | 3 ++-
 sound/soc/intel/avs/boards/rt286.c      | 3 ++-
 sound/soc/intel/avs/boards/rt298.c      | 3 ++-
 sound/soc/intel/avs/boards/rt5663.c     | 3 ++-
 sound/soc/intel/avs/boards/rt5682.c     | 2 +-
 13 files changed, 29 insertions(+), 21 deletions(-)
Signature · 2 lines
With Best Regards,
Andy Shevchenko
maintainer
#13 lore raw
Quoted 7 lines · Andy Shevchenko
Quoted 2 lines · Raag Jadav

This series introduces a more robust and cleaner devm_kmemdup_array() helper and uses it across drivers.

I believe the best is to route this via Intel pin control tree, but we need an Ack from Greg and Dmitry. Or share your vision on this.

Sounds good to me.

Thanks.

Signature · 1 line
Dmitry
#15 lore raw
Quoted 9 lines · Linus Walleij
Quoted 2 lines · Raag Jadav

This series introduces a more robust and cleaner devm_kmemdup_array() helper and uses it across drivers.

For the series:

It seems like Andy will push it to me which is excellent.

Yep, that's the plan after we get all necessary ACKs.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
author
#16 lore raw
Quoted 6 lines · Andy Shevchenko
Quoted 5 lines · Linus Walleij
Quoted 2 lines · Raag Jadav

This series introduces a more robust and cleaner devm_kmemdup_array() helper and uses it across drivers.

Quoted 6 lines
Quoted 4 lines

For the series:

It seems like Andy will push it to me which is excellent.

Yep, that's the plan after we get all necessary ACKs.

Greg, anything I can do to move this forward?

Raag

#17 lore raw
Quoted 7 lines · Raag Jadav
Quoted 6 lines · Andy Shevchenko
Quoted 5 lines · Linus Walleij
Quoted 2 lines · Raag Jadav

This series introduces a more robust and cleaner devm_kmemdup_array() helper and uses it across drivers.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

For the series:

It seems like Andy will push it to me which is excellent.

Yep, that's the plan after we get all necessary ACKs.

Greg, anything I can do to move this forward?

Greg, is it possible to give your Ack or comment or guidance of the preferences with the first patch?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
maintainer
#18 lore raw
Quoted 11 lines · Andy Shevchenko
Quoted 10 lines · Raag Jadav
Quoted 9 lines · Andy Shevchenko
Quoted 8 lines · Linus Walleij
Quoted 2 lines · Raag Jadav

This series introduces a more robust and cleaner devm_kmemdup_array() helper and uses it across drivers.

For the series:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

It seems like Andy will push it to me which is excellent.

Yep, that's the plan after we get all necessary ACKs.

Greg, anything I can do to move this forward?

Greg, is it possible to give your Ack or comment or guidance of the preferences with the first patch?

$ mdfrm -c ~/mail/todo/
2293 messages in /home/gregkh/mail/todo/

Please be patient.

#19 lore raw
Quoted 16 lines · Greg KH
Quoted 15 lines · Andy Shevchenko
Quoted 14 lines · Raag Jadav
Quoted 12 lines · Andy Shevchenko
Quoted 9 lines · Linus Walleij
Quoted 2 lines · Raag Jadav

This series introduces a more robust and cleaner devm_kmemdup_array() helper and uses it across drivers.

For the series:

It seems like Andy will push it to me which is excellent.

Yep, that's the plan after we get all necessary ACKs.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Greg, anything I can do to move this forward?

Greg, is it possible to give your Ack or comment or guidance of the preferences with the first patch?

$ mdfrm -c ~/mail/todo/
2293 messages in /home/gregkh/mail/todo/

Oh my...

Quoted 1 line

Please be patient.

Sure!

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#20 lore raw
Quoted 22 lines · Andy Shevchenko
Quoted 21 lines · Greg KH
Quoted 19 lines · Andy Shevchenko
Quoted 7 lines · Raag Jadav
Quoted 6 lines · Andy Shevchenko
Quoted 5 lines · Linus Walleij
Quoted 2 lines · Raag Jadav

This series introduces a more robust and cleaner devm_kmemdup_array() helper and uses it across drivers.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

For the series:

It seems like Andy will push it to me which is excellent.

Yep, that's the plan after we get all necessary ACKs.

Greg, anything I can do to move this forward?

Greg, is it possible to give your Ack or comment or guidance of the preferences with the first patch?

Quoted 8 lines
Quoted 2 lines
$ mdfrm -c ~/mail/todo/
2293 messages in /home/gregkh/mail/todo/

Oh my...

Quoted 1 line

Please be patient.

Sure!

Raaj, care to send a v3 after merge window closes?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
author
#21 lore raw
Quoted 26 lines · Andy Shevchenko
Quoted 25 lines · Andy Shevchenko
Quoted 23 lines · Greg KH
Quoted 11 lines · Andy Shevchenko
Quoted 10 lines · Raag Jadav
Quoted 9 lines · Andy Shevchenko
Quoted 8 lines · Linus Walleij
Quoted 2 lines · Raag Jadav

This series introduces a more robust and cleaner devm_kmemdup_array() helper and uses it across drivers.

For the series:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

It seems like Andy will push it to me which is excellent.

Yep, that's the plan after we get all necessary ACKs.

Greg, anything I can do to move this forward?

Greg, is it possible to give your Ack or comment or guidance of the preferences with the first patch?

$ mdfrm -c ~/mail/todo/
2293 messages in /home/gregkh/mail/todo/
Quoted 7 lines
Quoted 5 lines

Oh my...

Quoted 1 line

Please be patient.

Sure!

Raaj, care to send a v3 after merge window closes?

Sure, and perhaps add a few more users which I found with my improved grepping skills.

Raag

#22 lore raw
Quoted 29 lines · Raag Jadav
Quoted 28 lines · Andy Shevchenko
Quoted 27 lines · Andy Shevchenko
Quoted 16 lines · Greg KH
Quoted 15 lines · Andy Shevchenko
Quoted 14 lines · Raag Jadav
Quoted 12 lines · Andy Shevchenko
Quoted 9 lines · Linus Walleij
Quoted 2 lines · Raag Jadav

This series introduces a more robust and cleaner devm_kmemdup_array() helper and uses it across drivers.

For the series:

It seems like Andy will push it to me which is excellent.

Yep, that's the plan after we get all necessary ACKs.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Greg, anything I can do to move this forward?

Greg, is it possible to give your Ack or comment or guidance of the preferences with the first patch?

$ mdfrm -c ~/mail/todo/
2293 messages in /home/gregkh/mail/todo/

Oh my...

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Please be patient.

Sure!

Raaj, care to send a v3 after merge window closes?

Sure, and perhaps add a few more users which I found with my improved grepping skills.

Okay, thanks! I will drop myself from this thread then. Waiting for v3...

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#23 lore raw
Quoted 32 lines · Andy Shevchenko
Quoted 31 lines · Raag Jadav
Quoted 30 lines · Andy Shevchenko
Quoted 29 lines · Andy Shevchenko
Quoted 16 lines · Greg KH
Quoted 15 lines · Andy Shevchenko
Quoted 14 lines · Raag Jadav
Quoted 12 lines · Andy Shevchenko
Quoted 9 lines · Linus Walleij
Quoted 2 lines · Raag Jadav

This series introduces a more robust and cleaner devm_kmemdup_array() helper and uses it across drivers.

For the series:

It seems like Andy will push it to me which is excellent.

Yep, that's the plan after we get all necessary ACKs.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Greg, anything I can do to move this forward?

Greg, is it possible to give your Ack or comment or guidance of the preferences with the first patch?

$ mdfrm -c ~/mail/todo/
2293 messages in /home/gregkh/mail/todo/

Oh my...

Quoted 1 line

Please be patient.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Sure!

Raaj, care to send a v3 after merge window closes?

Sure, and perhaps add a few more users which I found with my improved grepping skills.

Okay, thanks! I will drop myself from this thread then. Waiting for v3...

One more thing, can you embed the following into your series?

[email protected]

It would be easier to handle and avoid conflicts.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
author
#24 lore raw
Quoted 40 lines · Andy Shevchenko
Quoted 39 lines · Andy Shevchenko
Quoted 37 lines · Raag Jadav
Quoted 26 lines · Andy Shevchenko
Quoted 25 lines · Andy Shevchenko
Quoted 23 lines · Greg KH
Quoted 11 lines · Andy Shevchenko
Quoted 10 lines · Raag Jadav
Quoted 9 lines · Andy Shevchenko
Quoted 8 lines · Linus Walleij
Quoted 2 lines · Raag Jadav

This series introduces a more robust and cleaner devm_kmemdup_array() helper and uses it across drivers.

For the series:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

It seems like Andy will push it to me which is excellent.

Yep, that's the plan after we get all necessary ACKs.

Greg, anything I can do to move this forward?

Greg, is it possible to give your Ack or comment or guidance of the preferences with the first patch?

$ mdfrm -c ~/mail/todo/
2293 messages in /home/gregkh/mail/todo/
Quoted 7 lines
Quoted 5 lines

Oh my...

Quoted 1 line

Please be patient.

Sure!

Raaj, care to send a v3 after merge window closes?

Sure, and perhaps add a few more users which I found with my improved grepping skills.

Quoted 7 lines
Quoted 1 line

Okay, thanks! I will drop myself from this thread then. Waiting for v3...

One more thing, can you embed the following into your series?

[email protected]

It would be easier to handle and avoid conflicts.

Sure.

Raag