netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] Documentation: timestamping: correct path to net_tstamp.h
@ 2019-01-12 20:51 Jakub Kicinski
  2019-01-18  5:41 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Kicinski @ 2019-01-12 20:51 UTC (permalink / raw)
  To: davem
  Cc: netdev, oss-drivers, Jakub Kicinski, Jonathan Corbet,
	Richard Cochran, Miroslav Lichvar

net_tstamp.h is an UAPI header, so it was moved under include/uapi.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
---
CC: Jonathan Corbet <corbet@lwn.net>
CC: Richard Cochran <richardcochran@gmail.com>
CC: Miroslav Lichvar <mlichvar@redhat.com>

Hi!

I'm not 100% sure about this one.  Is the path supposed to be as
installed in /usr/include/ for example, or within kernel sources?
It did confuse me into trying to open include/linux/net_tstamp.h.

 Documentation/networking/timestamping.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/networking/timestamping.txt b/Documentation/networking/timestamping.txt
index 1be0b6f9e0cb..9d1432e0aaa8 100644
--- a/Documentation/networking/timestamping.txt
+++ b/Documentation/networking/timestamping.txt
@@ -417,7 +417,7 @@ is again deprecated and ts[2] holds a hardware timestamp if set.
 
 Hardware time stamping must also be initialized for each device driver
 that is expected to do hardware time stamping. The parameter is defined in
-/include/linux/net_tstamp.h as:
+include/uapi/linux/net_tstamp.h as:
 
 struct hwtstamp_config {
 	int flags;	/* no flags defined right now, must be zero */
@@ -487,7 +487,7 @@ enum {
 	HWTSTAMP_FILTER_PTP_V1_L4_EVENT,
 
 	/* for the complete list of values, please check
-	 * the include file /include/linux/net_tstamp.h
+	 * the include file include/uapi/linux/net_tstamp.h
 	 */
 };
 
-- 
2.19.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net] Documentation: timestamping: correct path to net_tstamp.h
  2019-01-12 20:51 [PATCH net] Documentation: timestamping: correct path to net_tstamp.h Jakub Kicinski
@ 2019-01-18  5:41 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-01-18  5:41 UTC (permalink / raw)
  To: jakub.kicinski; +Cc: netdev, oss-drivers, corbet, richardcochran, mlichvar

From: Jakub Kicinski <jakub.kicinski@netronome.com>
Date: Sat, 12 Jan 2019 12:51:05 -0800

> net_tstamp.h is an UAPI header, so it was moved under include/uapi.
> 
> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>

Applied, looks right to me.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-18  5:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-12 20:51 [PATCH net] Documentation: timestamping: correct path to net_tstamp.h Jakub Kicinski
2019-01-18  5:41 ` David Miller

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).