From: Nicholas Krause <hidden> Date: 2014-07-03 02:36:46
This is the fixed file after moving sata support to new file in
spear1340_sata.c
Signed-off-by: Nicholas Krause <redacted>
---
arch/arm/mach-spear/spear1340.c | 111 ----------------------------------------
1 file changed, 111 deletions(-)
From: Paul Bolle <hidden> Date: 2014-07-03 18:04:55
On Wed, 2014-07-02 at 22:36 -0400, Nicholas Krause wrote:
This is the fixed file after moving sata support to new file in
spear1340_sata.c
Signed-off-by: Nicholas Krause <redacted>
---
arch/arm/mach-spear/spear1340.c | 111 ----------------------------------------
1 file changed, 111 deletions(-)
This patch, together with patch 1/2, basically moves a chunk of code
into a separate file, didn't it? If so, why did you split that move in
two patches?
And how does all this work without any changes to a Makefile?
@@ -21,117 +21,6 @@#include"generic.h"#include<mach/spear.h>-/* FIXME: Move SATA PHY code into a standalone driver */
(I have no idea what this FIXME is about, but I do wonder whether that
new file by itself is the standalone driver this FIXME is about. The
spear developers will surely know.)
Paul Bolle
From: Nick Krause <hidden> Date: 2014-07-03 18:08:15
Yes it is and I did it in two patches in order to be more readable.
Furthermore I don't known Kconfig well enough to do the Makefile
for the file I created.
Cheers Nick
On Thu, Jul 3, 2014 at 2:04 PM, Paul Bolle [off-list ref] wrote:
On Wed, 2014-07-02 at 22:36 -0400, Nicholas Krause wrote:
quoted
This is the fixed file after moving sata support to new file in
spear1340_sata.c
Signed-off-by: Nicholas Krause <redacted>
---
arch/arm/mach-spear/spear1340.c | 111 ----------------------------------------
1 file changed, 111 deletions(-)
This patch, together with patch 1/2, basically moves a chunk of code
into a separate file, didn't it? If so, why did you split that move in
two patches?
And how does all this work without any changes to a Makefile?
@@ -21,117 +21,6 @@#include"generic.h"#include<mach/spear.h>-/* FIXME: Move SATA PHY code into a standalone driver */
(I have no idea what this FIXME is about, but I do wonder whether that
new file by itself is the standalone driver this FIXME is about. The
spear developers will surely know.)
Paul Bolle
From: Paul Bolle <hidden> Date: 2014-07-03 18:36:39
[I fixed the top posting.]
On Thu, 2014-07-03 at 14:08 -0400, Nick Krause wrote:
On Thu, Jul 3, 2014 at 2:04 PM, Paul Bolle [off-list ref] wrote:
quoted
This patch, together with patch 1/2, basically moves a chunk of code
into a separate file, didn't it? If so, why did you split that move in
two patches?
Yes it is and I did it in two patches in order to be more readable.
It makes it harder to understand the change (I had to _guess_ it was a
move). Moreover, depending on the order that these two patches would be
merged, we could end up with a chunk of code being either included twice
or not included at all, in some range of commits. Neither would be good.
quoted
And how does all this work without any changes to a Makefile?
Furthermore I don't known Kconfig well enough to do the Makefile
for the file I created.
Then I think you should, well, study the kernel build system before
submitting a change like this. And you can also ask a question or two to
get things going. (Not sure what the relevant list would be.)
Paul Bolle
From: Nick Krause <hidden> Date: 2014-07-03 20:37:19
Very well then I will read the documentation on Kconfig in order to
understand that and fix up my patches for that.
On the other hand I will send a email before the patches to tell in
what order to apply them.
Cheers Nick
On Thu, Jul 3, 2014 at 2:36 PM, Paul Bolle [off-list ref] wrote:
[I fixed the top posting.]
On Thu, 2014-07-03 at 14:08 -0400, Nick Krause wrote:
quoted
On Thu, Jul 3, 2014 at 2:04 PM, Paul Bolle [off-list ref] wrote:
quoted
This patch, together with patch 1/2, basically moves a chunk of code
into a separate file, didn't it? If so, why did you split that move in
two patches?
Yes it is and I did it in two patches in order to be more readable.
It makes it harder to understand the change (I had to _guess_ it was a
move). Moreover, depending on the order that these two patches would be
merged, we could end up with a chunk of code being either included twice
or not included at all, in some range of commits. Neither would be good.
quoted
quoted
And how does all this work without any changes to a Makefile?
Furthermore I don't known Kconfig well enough to do the Makefile
for the file I created.
Then I think you should, well, study the kernel build system before
submitting a change like this. And you can also ask a question or two to
get things going. (Not sure what the relevant list would be.)
Paul Bolle
Hi Nick,
On Fri, Jul 4, 2014 at 2:07 AM, Nick Krause [off-list ref] wrote:
Very well then I will read the documentation on Kconfig in order to
understand that and fix up my patches for that.
On the other hand I will send a email before the patches to tell in
what order to apply them.
As already asked by Paul, please don't top-post:
http://en.wikipedia.org/wiki/Posting_style#Top-posting
Firstly, in case we are going to get these patches in these have to be
merged together, otherwise inbetween these two we will have duplicate
functions for the same thing..
Kernel should work/build properly between commits, so that git bisect
works..
Now about this:
-/* FIXME: Move SATA PHY code into a standalone driver */
I don't think it was just about creating another file for this. Otherwise
how hard is it for the author then?
It was probably more about updating the interface of the sata driver
to accept stub drivers, so that we don't have to keep stuff here.
So, this patch wouldn't fix the FIXME and so better drop this patchset
completely.
Thanks for trying though.
---
Viresh