[PATCH v1 1/1] efi_loader: Mark a function static

Tom Rini trini at konsulko.com
Thu Oct 24 16:18:40 CEST 2024


On Thu, Oct 24, 2024 at 09:26:14AM +0300, Andy Shevchenko wrote:
> On Thu, Oct 24, 2024 at 07:03:24AM +0200, Heinrich Schuchardt wrote:
> > Am 22. Oktober 2024 15:18:45 MESZ schrieb Andy Shevchenko <andriy.shevchenko at linux.intel.com>:
> > >On Tue, Oct 22, 2024 at 08:02:46AM +0200, Heinrich Schuchardt wrote:
> > >> On 10/21/24 16:40, Ilias Apalodimas wrote:
> > >> > On Mon, 21 Oct 2024 at 17:06, Andy Shevchenko
> > >> > <andriy.shevchenko at linux.intel.com> wrote:
> > >> > > 
> > >> > > efi_bootmgr_release_uridp_resource() is not used anywhere except
> > >> > > the same file where it is defined. Mark it static.
> > >> > > This helps avoiding the compiler warning:
> > >> > > 
> > >> > >    lib/efi_loader/efi_bootmgr.c:388:14: warning: no previous prototype for ‘efi_bootmgr_release_uridp_resource’ [-Wmissing-prototypes]
> > >
> > >> The function is called efi_bootmgr_release_uridp() since 292a4a4c7b77
> > >> ("efi_loader: shorten efi_bootmgr_release_uridp_resource()").
> > >
> > >Thanks! The problem is that U-Boot doesn't have the latest tag (yet)
> > >that includes this change. You can help with managing the conflict.
> > 
> > Patches should be based on origin/master (or origin/next once that branch is
> > opened typically after -rc2) and not on tags.
> 
> I disagree. The problem with moving target that it's been moving...
> 
> The tags are very good to follow and easy to maintain and test and report
> regressions against. What you are suggesting it's like virtually assigning
> tag to very each commit and tell maintainer to cope with this chaos when
> one does something in one "tag" out of 100500 ones and another person in
> another "tag". So, consider tags as stabilisation points, or points of
> stability. Then it's much easier to stick with a few tags that with 100500
> commits.

This isn't the linux kernel where there's constant churn. Most of the
time, it doesn't matter at all. Sometimes it does. Then it's a question
of if the custodian wants to do the rebase work themselves, or ask the
submitter to. And since again unlike the kernel almost no one has the
primary job of "work on U-Boot", the threshold for fixup or ask for a
rebase is much lower.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241024/0fb84571/attachment.sig>


More information about the U-Boot mailing list