On 2021/2/10 19:42, Daniel Thompson wrote:
> On Mon, Feb 08, 2021 at 09:09:20PM +0800, Yicong Yang wrote:
>> On 2021/2/8 18:47, Greg KH wrote:
>>> On Mon, Feb 08, 2021 at 06:44:52PM +0800, Yicong Yang wrote:
>>>> On 2021/2/5 17:53, Greg KH wrote:
>>>&g
On 2021/2/9 23:06, Guenter Roeck wrote:
> On Tue, Feb 09, 2021 at 07:08:17PM +0800, Yicong Yang wrote:
>> From: Junhao He
>>
>> We use ccflags-$(CONFIG_HWMON_DEBUG_CHIP) for the debug
>> message in drivers/hwmon, but the DEBUG flag will not pass to
>> th
He
Signed-off-by: Yicong Yang
---
drivers/staging/comedi/Makefile | 2 +-
drivers/staging/comedi/drivers/Makefile | 1 -
drivers/staging/comedi/drivers/tests/Makefile | 2 --
drivers/staging/comedi/kcomedilib/Makefile| 2 --
4 files changed, 1 insertion(+), 6 deletions
Few drivers use ccflags-* in their top directory to enable
-DDEBUG, but don't have config options to enable debug
in the sub-directories, or they use per subdirectory
ccflags-* to have DEBUG with the same kconfig option.
Considering they intends to enable debug for all the files
under the director
ccflags-* to inherit
the debug settings from Kconfig when traversing subdirectories,
and it will avoid omittance of DEBUG define when debug messages
added in the subdirectories.
Suggested-by: Bjorn Helgaas
Signed-off-by: Junhao He
Signed-off-by: Yicong Yang
---
drivers/hwmon/Makefile | 2 +-
1
ccflags-* to inherit
the debug settings from Kconfig when traversing subdirectories.
Suggested-by: Bjorn Helgaas
Signed-off-by: Junhao He
Signed-off-by: Yicong Yang
---
drivers/pps/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pps/Makefile b/drivers/pps
subdirectory.
Suggested-by: Bjorn Helgaas
Signed-off-by: Junhao He
Signed-off-by: Yicong Yang
---
drivers/base/Makefile | 2 +-
drivers/base/power/Makefile | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/base/Makefile b/drivers/base/Makefile
index 5e7bf96
On 2021/2/8 18:47, Greg KH wrote:
> On Mon, Feb 08, 2021 at 06:44:52PM +0800, Yicong Yang wrote:
>> Hi Greg,
>>
>> On 2021/2/5 17:53, Greg KH wrote:
>>> On Fri, Feb 05, 2021 at 05:44:12PM +0800, Yicong Yang wrote:
>>>> From: Junhao He
>>>>
>
On 2021/2/6 4:08, Bjorn Helgaas wrote:
> On Fri, Feb 05, 2021 at 10:28:32AM -0800, Guenter Roeck wrote:
>> On Fri, Feb 05, 2021 at 05:44:13PM +0800, Yicong Yang wrote:
>>> From: Junhao He
>>>
>>> Use subdir-ccflags-* instead of ccflags-* to inherit the
Hi Greg,
On 2021/2/5 17:53, Greg KH wrote:
> On Fri, Feb 05, 2021 at 05:44:12PM +0800, Yicong Yang wrote:
>> From: Junhao He
>>
>> Use subdir-ccflags-* instead of ccflags-* to inherit the debug
>> settings from Kconfig when traversing subdirectories.
>
> That sa
Few drivers use ccflags-* in their top directory to enable
-DDEBUG, but don't have config options to enable debug
in the sub-directories. They should want the subdirectories
inherit the debug flag from the top.
Use subdir-ccflags-* instead of ccflags-* to inherit the debug
settings from Kconfig wh
From: Junhao He
Use subdir-ccflags-* instead of ccflags-* to inherit the debug
settings from Kconfig when traversing subdirectories.
Suggested-by: Bjorn Helgaas
Signed-off-by: Junhao He
Signed-off-by: Yicong Yang
---
drivers/pps/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion
From: Junhao He
Use subdir-ccflags-* instead of ccflags-* to inherit the debug
settings from Kconfig when traversing subdirectories.
Suggested-by: Bjorn Helgaas
Signed-off-by: Junhao He
Signed-off-by: Yicong Yang
---
drivers/staging/comedi/Makefile | 2 +-
drivers/staging
From: Junhao He
Use subdir-ccflags-* instead of ccflags-* to inherit the debug
settings from Kconfig when traversing subdirectories.
Suggested-by: Bjorn Helgaas
Signed-off-by: Junhao He
Signed-off-by: Yicong Yang
---
drivers/hwmon/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion
From: Junhao He
Use subdir-ccflags-* instead of ccflags-* to inherit the debug
settings from Kconfig when traversing subdirectories.
Suggested-by: Bjorn Helgaas
Signed-off-by: Junhao He
Signed-off-by: Yicong Yang
---
drivers/base/Makefile | 2 +-
drivers/base/power/Makefile | 2 --
2
15 matches
Mail list logo