* [git pull] check headers fix.
@ 2016-05-24 6:29 ` Dave Airlie
0 siblings, 0 replies; 8+ messages in thread
From: Dave Airlie @ 2016-05-24 6:29 UTC (permalink / raw)
To: torvalds; +Cc: DRI mailing list, linux-kernel
Hi Linus,
here is the C++ guards warning fix from Arnd.
I've tried using a tag for this.
Dave.
The following changes since commit 84787c572d402644dca4874aba73324d9f8e3948:
Merge branch 'akpm' (patches from Andrew) (2016-05-23 19:42:28 -0700)
are available in the git repository at:
git://people.freedesktop.org/~airlied/linux tags/drm-4.7-rc1-headers-fix
for you to fetch changes up to 92181d47ee74749bdf902f080dab9fa9ef44b37f:
headers_check: don't warn about c++ guards (2016-05-24 14:12:48 +1000)
----------------------------------------------------------------
Arnd Bergmann (1):
headers_check: don't warn about c++ guards
scripts/headers_check.pl | 4 ++++
1 file changed, 4 insertions(+)
^ permalink raw reply [flat|nested] 8+ messages in thread
* [git pull] check headers fix.
@ 2016-05-24 6:29 ` Dave Airlie
0 siblings, 0 replies; 8+ messages in thread
From: Dave Airlie @ 2016-05-24 6:29 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, DRI mailing list
Hi Linus,
here is the C++ guards warning fix from Arnd.
I've tried using a tag for this.
Dave.
The following changes since commit 84787c572d402644dca4874aba73324d9f8e3948:
Merge branch 'akpm' (patches from Andrew) (2016-05-23 19:42:28 -0700)
are available in the git repository at:
git://people.freedesktop.org/~airlied/linux tags/drm-4.7-rc1-headers-fix
for you to fetch changes up to 92181d47ee74749bdf902f080dab9fa9ef44b37f:
headers_check: don't warn about c++ guards (2016-05-24 14:12:48 +1000)
----------------------------------------------------------------
Arnd Bergmann (1):
headers_check: don't warn about c++ guards
scripts/headers_check.pl | 4 ++++
1 file changed, 4 insertions(+)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [git pull] check headers fix.
2016-05-24 6:29 ` Dave Airlie
@ 2016-05-24 9:10 ` Christoph Hellwig
-1 siblings, 0 replies; 8+ messages in thread
From: Christoph Hellwig @ 2016-05-24 9:10 UTC (permalink / raw)
To: Dave Airlie; +Cc: torvalds, DRI mailing list, linux-kernel
On Tue, May 24, 2016 at 07:29:25AM +0100, Dave Airlie wrote:
>
> Hi Linus,
>
> here is the C++ guards warning fix from Arnd.
So why the hell do we have C++ guards in kernel headers?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [git pull] check headers fix.
@ 2016-05-24 9:10 ` Christoph Hellwig
0 siblings, 0 replies; 8+ messages in thread
From: Christoph Hellwig @ 2016-05-24 9:10 UTC (permalink / raw)
To: Dave Airlie; +Cc: torvalds, linux-kernel, DRI mailing list
On Tue, May 24, 2016 at 07:29:25AM +0100, Dave Airlie wrote:
>
> Hi Linus,
>
> here is the C++ guards warning fix from Arnd.
So why the hell do we have C++ guards in kernel headers?
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [git pull] check headers fix.
2016-05-24 9:10 ` Christoph Hellwig
@ 2016-05-24 9:52 ` Jani Nikula
-1 siblings, 0 replies; 8+ messages in thread
From: Jani Nikula @ 2016-05-24 9:52 UTC (permalink / raw)
To: Christoph Hellwig, Dave Airlie; +Cc: torvalds, linux-kernel, DRI mailing list
On Tue, 24 May 2016, Christoph Hellwig <hch@infradead.org> wrote:
> On Tue, May 24, 2016 at 07:29:25AM +0100, Dave Airlie wrote:
>>
>> Hi Linus,
>>
>> here is the C++ guards warning fix from Arnd.
>
> So why the hell do we have C++ guards in kernel headers?
uapi headers. See [1] for the cover letter to the patches with
rationale.
BR,
Jani.
[1] http://mid.gmane.org/1461269857-12813-1-git-send-email-emil.l.velikov@gmail.com
--
Jani Nikula, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [git pull] check headers fix.
@ 2016-05-24 9:52 ` Jani Nikula
0 siblings, 0 replies; 8+ messages in thread
From: Jani Nikula @ 2016-05-24 9:52 UTC (permalink / raw)
To: Christoph Hellwig, Dave Airlie; +Cc: torvalds, linux-kernel, DRI mailing list
On Tue, 24 May 2016, Christoph Hellwig <hch@infradead.org> wrote:
> On Tue, May 24, 2016 at 07:29:25AM +0100, Dave Airlie wrote:
>>
>> Hi Linus,
>>
>> here is the C++ guards warning fix from Arnd.
>
> So why the hell do we have C++ guards in kernel headers?
uapi headers. See [1] for the cover letter to the patches with
rationale.
BR,
Jani.
[1] http://mid.gmane.org/1461269857-12813-1-git-send-email-emil.l.velikov@gmail.com
--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [git pull] check headers fix.
2016-05-24 9:52 ` Jani Nikula
@ 2016-05-24 10:12 ` Daniel Vetter
-1 siblings, 0 replies; 8+ messages in thread
From: Daniel Vetter @ 2016-05-24 10:12 UTC (permalink / raw)
To: Jani Nikula
Cc: Christoph Hellwig, Dave Airlie, Linus Torvalds,
Linux Kernel Mailing List, DRI mailing list
On Tue, May 24, 2016 at 11:52 AM, Jani Nikula
<jani.nikula@linux.intel.com> wrote:
> On Tue, 24 May 2016, Christoph Hellwig <hch@infradead.org> wrote:
>> On Tue, May 24, 2016 at 07:29:25AM +0100, Dave Airlie wrote:
>>>
>>> Hi Linus,
>>>
>>> here is the C++ guards warning fix from Arnd.
>>
>> So why the hell do we have C++ guards in kernel headers?
>
> uapi headers. See [1] for the cover letter to the patches with
> rationale.
Short summary: We want to directly reuse the headers generated by make
headers_install for the userspace side of gpu drivers, and at least
some driver teams use C++ for the compilers in there.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [git pull] check headers fix.
@ 2016-05-24 10:12 ` Daniel Vetter
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Vetter @ 2016-05-24 10:12 UTC (permalink / raw)
To: Jani Nikula
Cc: Christoph Hellwig, Linus Torvalds, Linux Kernel Mailing List,
DRI mailing list
On Tue, May 24, 2016 at 11:52 AM, Jani Nikula
<jani.nikula@linux.intel.com> wrote:
> On Tue, 24 May 2016, Christoph Hellwig <hch@infradead.org> wrote:
>> On Tue, May 24, 2016 at 07:29:25AM +0100, Dave Airlie wrote:
>>>
>>> Hi Linus,
>>>
>>> here is the C++ guards warning fix from Arnd.
>>
>> So why the hell do we have C++ guards in kernel headers?
>
> uapi headers. See [1] for the cover letter to the patches with
> rationale.
Short summary: We want to directly reuse the headers generated by make
headers_install for the userspace side of gpu drivers, and at least
some driver teams use C++ for the compilers in there.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-05-24 10:12 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-24 6:29 [git pull] check headers fix Dave Airlie
2016-05-24 6:29 ` Dave Airlie
2016-05-24 9:10 ` Christoph Hellwig
2016-05-24 9:10 ` Christoph Hellwig
2016-05-24 9:52 ` Jani Nikula
2016-05-24 9:52 ` Jani Nikula
2016-05-24 10:12 ` Daniel Vetter
2016-05-24 10:12 ` Daniel Vetter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.