All of lore.kernel.org
 help / color / mirror / Atom feed
* [Q] warning BUG() related fixing and janitors question
@ 2012-04-16 19:03 Ezequiel García
  2012-04-16 20:57 ` Dan Carpenter
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ezequiel García @ 2012-04-16 19:03 UTC (permalink / raw)
  To: kernel-janitors

Hi Dan,

I would like to know better about the janitors list, and what kind of
patches are handled here.
I've found a number of warnings in my building and I'm not sure where to
send patches and
what git tree should I take, since the warnings appear in a wide number of
subsystems.

1.
For instance, in kernel/sched/core.c

static inline struct task_struct *
pick_next_task(struct rq *rq)
{
    /* snip */
    BUG(); /* the idle class will always have a runnable task */
}

You can see that after BUG there is no return statement, which will produce
a compilation
warning you disable BUG() and it gets defined to nothing.

There are several of these warnings here and there, I guess as a consequence
of BUG() macro.

---
2.
Another one is flat_set_persistent() which is only IMO properly defined in
arch/sh/. The current
definition produces a warning in other architectures if binary flat format
is used.

So, I guess I should send a patch to each arch-specific list, right? using
arch-specific git trees?
I would like to have just one git tree, and not ten :)

Thanks for your time,
Ezequiel.
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-04-16 23:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-16 19:03 [Q] warning BUG() related fixing and janitors question Ezequiel García
2012-04-16 20:57 ` Dan Carpenter
2012-04-16 21:12 ` Ezequiel García
2012-04-16 22:16 ` Marcin Ślusarz
2012-04-16 22:31 ` Dan Carpenter
2012-04-16 22:35 ` Ezequiel García
2012-04-16 23:13 ` Marcin Ślusarz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.