On Tue, 23 Apr 2024 16:59:31 +0200 Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> wrote: Hi, > On 23/04/2024 14:51, Andre Przywara wrote: > > On Tue, 23 Apr 2024 14:18:23 +0200 > > Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> wrote: > > > > Hi, > > > >> On 23/04/2024 12:15, Andre Przywara wrote: > >>> On Mon, 22 Apr 2024 17:45:10 +0100 > >>> Andre Przywara <andre.przywara@xxxxxxx> wrote: > >>> > >>> Hi, > >>> > >>>> From: James McGregor <jamcgregor@xxxxxxxxxxxxxx> > >>>> > >>>> The Allwinner H616 SoC has an LRADC which is compatible with the > >>>> versions in existing SoCs. > >>>> Add a compatible string for H616, with the R329 fallback. This is the > >>>> same as the D1, so put them into an enum. > >>>> > >>>> Signed-off-by: James McGregor <jamcgregor@xxxxxxxxxxxxxx> > >>>> Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx> > >>> > >>> Compared the descriptions in the manual between the R392 and the H616, they > >>> look the same: > >>> > >>> Reviewed-by: Andre Przywara <andre.przywara@xxxxxxx> > >> > >> Why do you review your own patches? Does it mean that you contribute > >> code which you did not review before? > > > > I just merely sent the code on behalf of James, because he had trouble > > with the email setup (Protonmail has no SMTP), but didn't want to delay > > the post any longer. > > OK, thanks, I suggest using b4 relay in the future. Sure, will relay that - though this is not trivial to setup either. > >> This is odd process. > > > > I agree, I would have liked it more if James would have sent it himself, > > and then my review would look more natural, but with my review I > > wanted to explicitly point out the technical correctness. Besides: I found > > this ordering issue in the other patch only after sending, so needed to > > somehow respond anyway. > > Also I wanted to make the process transparent: someone posts a patch (in > > this case via a proxy), then it gets reviewed. > > > >> Your Review is implied by sending the patch. > > > > Is that really true? I was under the impression that sending is > > For authorship, both tested and review are implied. You cannot send code > which you do not think is correct, therefore your authorship fulfills > entire Reviewer's statement of oversight. There is nothing new said in > statement of oversight comparing to what authorship says. Fair enough, and James did, but I am not the author, as shown by the explicit From: line, having a different name. I *did* have a look over the patch before sending it, running checkpatch etc. But I cannot find anything in submitting-patches.rst that would constitute that Signed-off-by: includes any kind of technical review, it just seems to cover the legal aspects of patch deliverance? And personally for me a *review* means a thorough look at the code, understanding what it does and how it does it, and checking various details, for instance by looking into a datasheet. This is what I did only later, hence the separate review mail. > Now for testing, I think it is also kind of obvious that whenever we can > test our own code, we test it. Granted. I do not have hardware to test, but I ran DT schema checks before sending, I guess this qualifies as "testing" to some degree. > For sending other people patches, we could disagree. I stand that I > would not ever send incorrect patch intentionally. Sure, and the patch was not incorrect, I trust James that far, because I know him and talked to him about this patch and the process before. > Therefore reviewer's statement of oversight is entirely redundant as well. Maybe I missed that, but I don't see anything in the documentation that would support this statement. The "reviewer's statement of oversight" is only expressed by an explicit Reviewed-by: tag, it seems, and none of the other tags seem to include that. I would agree that authorship does, somewhat naturally, but I don't see that sending or SoB does. > I just cannot send > someone's patch without reviewing, thus without adhering to points > expressed by statement of oversight. As you mention elsewhere, this seems to be individual. I personally feel that this assumed "implicit review", given through the SoB tag or through sending, is weaker than an explicit Rb tag. I agree that by sending a patch from someone else I take some kind of responsibility for the patch, but in this case I wanted to express that I did a proper review of the patch, going beyond the usual process checks. Hence the reply with the R-b tag. > > independent from review. I mean I doubt that every maintainer sending > > patches up the chain (when they add their SoB) implies a *review*? Surely > > Yes, every. This applies to mass-maintainers, like netdev, Greg, Andrew etc. > > Every patch I apply to my subsystems is reviewed by me. I cannot do > else, because that is the requirement of maintainership. I don't see it that way, I guess many maintainers rely on (thorough) reviews from third parties, and just glance over each patch before sending? Doesn't mean that they can and do reviews, but I feel it's not a requirement to do so *yourself* for *every* patch? > There are however maintainers (see i2c patches or Intel DRM) who accept > patches and do not review them. When they review, they provide > additional Rb tag + Sob. This is weird because it means when they accept > patch, they take it unreviewed! Their SoB does not imply reviewing patch > and this is in contrast to kernel process. > > BTW, Stephen Rothwell mentions this to every maintainer on adding their > tree to linux-next ("You will need to ensure that ... reviewed by you > (or another maintainer of your subsystem tree)"). But this hints that there must be *some* review taking place, and it's the maintainer's responsibility to ensure this. But that doesn't mean that the maintainer cannot delegate? And then they would just forward patches reviewed by trusted people. > > they do agree on the patch (also typically expressed by an Ack), otherwise > > they wouldn't send it, but a "review" is still a different thing. > > IMO, this would mean such maintainers accept code which they do not > understand/review/care. They are just patch juggling monkeys who take > something and push it further without doing actual work. > > That's not how maintainership should look like. Maintainer must take > reviewed code and, if other maintainers do not review, then they must > perform it. Of course, but I feel this discussion goes into a different direction. I am not a maintainer for the sunxi tree, I am a mere messenger here, forwarding a patch. And I didn't think this implies an implicit review. A did an explicit one, to stress that I did look into the patch more thoroughly, and also because we are not exactly drowning in reviewers ;-) > > The Linux history has both Rb + SoB from the same person and just SoB > > signatures, so I assume that it's not implied. > > It depends on people. As I said, I2C and DRM provide Review tag. For me > this is silly and suggest that all my work, that 1000 patches I took, > was not reviewed. If you forward a thousand patches, I wouldn't expect you did review all of them *yourself*. This would be an almost impossible task, unless "review" just means something like: "uses tabs for indentation". > >> And you have there SoB which indicates you sent it... > > > > Yes, but SoB just means I sign off on the legal aspects: that I got the > > patches legally, compliant with the GPL, and that I am fine with and > > allowed to release them under GPL conditions. > > That does not include any code review aspect, AFAICT. > > So you want to say, that you are fine in sending intentionally buggy > code, knowingly incorrect, because your SoB and your "git send-email" > does not mean you reviewed it? Where did I claim that? Of course I would not send intentionally buggy code, and of course I did some high level checking of the patch before I attached my name to it. But to me this is still different from a proper "review", hence my reply. Cheers, Andre > Best regards, > Krzysztof > >