Re: [PATCH] trivial: remove unneeded int

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 12, 2019 at 11:01 AM Jokke Hämäläinen
<jokke.hamalainen@xxxxxxxxxxxx> wrote:
>
>
> Hello,
>
> On Fri, 7 Jun 2019, Petr Lautrbach wrote:
>
> > The same comment applies also to your other unmerged patches
> >
> > * trivial: remove unneeded int
> > * remove redundant if
> > * More accurate error messages
> > * trivial fix incorrect indentation
> > * trivial typo fix
>
> The simple patches now have a "Signed-off-by:" line in
> the description.
>
> Pull requests have been done.
>

You have all your new patches as individual PR's with merge commits, very weird:
https://github.com/SELinuxProject/selinux/pull/154/commits

Rather then:
1. creating a PR per patch
2. merge workflow

Please:
1. Since all your patches are related in goal within the series, just
put them on 1 PR
2. rebase workflow, ie always git pull --rebase origin/master
    I don't know if this is the most efficient way with git, but you
can just cherry-pick all
    those commits on a branch that is up-to-date with master.
3. You still need to send them back out to the list
4. commit messages lacking

On top of that, Stephen has mentioned that we don't want to get in the
habit of taking style
fixes. The three actual changes you have are:

> > * trivial: remove unneeded int
> > * remove redundant if
> > * More accurate error messages

Additionally, lets work on those commit messages, typically when
someone starts with <label>: that label isn't
something like trivial, it's used for referencing the component touched.

libsepol: remove unneeded int

the routine context_is_valid() had an int that was used as a return
code that was set and never modified. Just return
the constant instead.

<signed-off...>

I'm OK with those three if you fix the 4 issues I pointed out. I'll
let Stephen decide the fate on the pure style patches.
> Best regards,
> Jokke Hämäläinen





[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux