2020-11-26 00:59:07

by Bard Liao

[permalink] [raw]
Subject: [PATCH] regmap: sdw: add required header files

From: Pierre-Louis Bossart <[email protected]>

Explicitly add header files used by regmap SoundWire support.

Suggested-by: Guennadi Liakhovetski <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Guennadi Liakhovetski <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
---
drivers/base/regmap/regmap-sdw.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/base/regmap/regmap-sdw.c b/drivers/base/regmap/regmap-sdw.c
index c92d614b4943..c83be26434e7 100644
--- a/drivers/base/regmap/regmap-sdw.c
+++ b/drivers/base/regmap/regmap-sdw.c
@@ -2,7 +2,9 @@
// Copyright(c) 2015-17 Intel Corporation.

#include <linux/device.h>
+#include <linux/errno.h>
#include <linux/module.h>
+#include <linux/regmap.h>
#include <linux/soundwire/sdw.h>
#include "internal.h"

--
2.17.1


2020-11-26 09:44:47

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] regmap: sdw: add required header files

On Wed, Nov 25, 2020 at 09:01:28PM +0800, Bard Liao wrote:
> From: Pierre-Louis Bossart <[email protected]>
>
> Explicitly add header files used by regmap SoundWire support.

What is failing to build without this?

thanks,

greg k-h

2020-11-26 12:16:43

by Liao, Bard

[permalink] [raw]
Subject: RE: [PATCH] regmap: sdw: add required header files



> -----Original Message-----
> From: Greg KH <[email protected]>
> Sent: Thursday, November 26, 2020 1:35 PM
> To: Bard Liao <[email protected]>
> Cc: [email protected]; [email protected]; [email protected];
> [email protected]; [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected]; Kale, Sanyog
> R <[email protected]>; Liao, Bard <[email protected]>
> Subject: Re: [PATCH] regmap: sdw: add required header files
>
> On Wed, Nov 25, 2020 at 09:01:28PM +0800, Bard Liao wrote:
> > From: Pierre-Louis Bossart <[email protected]>
> >
> > Explicitly add header files used by regmap SoundWire support.
>
> What is failing to build without this?

I didn't see build errors. But, Documentation/process/submit-checklist.rst
says.
1) If you use a facility then #include the file that defines/declares
that facility. Don't depend on other header files pulling in ones
that you use.

>
> thanks,
>
> greg k-h

2020-11-27 08:42:31

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH] regmap: sdw: add required header files

On Wed, 25 Nov 2020 21:01:28 +0800, Bard Liao wrote:
> Explicitly add header files used by regmap SoundWire support.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next

Thanks!

[1/1] regmap: sdw: add required header files
commit: d9a500b2985b139d7019231ec16e379d2031cb40

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark