Thread (19 messages) 19 messages, 4 authors, 2012-10-16

Re: [PATCH 1/2] Fix build error caused by broken PCH_PTP module dependency.

From: David Miller <davem@davemloft.net>
Date: 2012-09-28 06:46:24
Also in: netdev

From: Haicheng Li <redacted>
Date: Fri, 28 Sep 2012 14:41:43 +0800
On 09/28/2012 06:09 AM, David Miller wrote:
quoted
Look at how other people submit patches, do any other patch
submissions
look like your's having all of this metadata in the message body:
I'm sorry for it.
quoted
As for this specific patch:
quoted
-	depends on PTP_1588_CLOCK_PCH
+	depends on PTP_1588_CLOCK_PCH = PCH_GBE
This is not the correct way to ensure that the module'ness of one
config option meets the module'ness requirements of another.
The correct way is to say something like "&&  (PCH_GBE || PCH_GBE=n)"
This case is a little bit tricky than usual, with PCH_PTP selected,
the valid config would be either "PTP_1588_CLOCK_PCH=PCH_GBE=m" or
"PTP_1588_CLOCK_PCH=PCH_GBE=y", and PTP_1588_CLOCK_PCH depends on
PCH_GBE.
And a simple "&& PCH_GBE" should accomplish this, no?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help