All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J . A . Magallon" <jamagallon@able.es>
To: "Justin T . Gibbs" <gibbs@scsiguy.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: aic7xxx 6.1.10 and 2.4.4-pre1
Date: Sun, 8 Apr 2001 02:22:33 +0200	[thread overview]
Message-ID: <20010408022233.E1138@werewolf.able.es> (raw)
In-Reply-To: <20010407175505.A25801@sapience.com> <200104072324.f37NOCs90832@aslan.scsiguy.com>
In-Reply-To: <200104072324.f37NOCs90832@aslan.scsiguy.com>; from gibbs@scsiguy.com on Sun, Apr 08, 2001 at 01:24:12 +0200


On 04.08 Justin T. Gibbs wrote:
> >
> >   In file included from aic7xxx_linux.c:131:
> >   aic7xxx_osm.h: In function `ahc_pci_read_config':
> >   aic7xxx_osm.h:862: warning: control reaches end of non-void function
> 
> This is because panic() is not marked as a "no return" function.  So,

linux/include/linux/kernel.h +38:

# define NORET_TYPE    /**/
# define ATTRIB_NORET  __attribute__((noreturn))
# define NORET_AND     noreturn,
..
NORET_TYPE void panic(const char * fmt, ...)
    __attribute__ ((NORET_AND format (printf, 1, 2)));
                    ^^^^^^^^^

Similar cases, compare include/linux/raid/md_k.h:pers_to_level() in
2.4.3 and 2.4.3-ac3.

-- 
J.A. Magallon                                          #  Let the source
mailto:jamagallon@able.es                              #  be with you, Luke... 

Linux werewolf 2.4.3-ac3 #1 SMP Thu Apr 5 00:28:45 CEST 2001 i686


  reply	other threads:[~2001-04-08  0:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-07 21:55 aic7xxx 6.1.10 and 2.4.4-pre1 lists
2001-04-07 23:24 ` Justin T. Gibbs
2001-04-08  0:22   ` J . A . Magallon [this message]
2001-04-08  1:41     ` Justin T. Gibbs
     [not found] <20010407195031.B25801@sapience.com>
     [not found] ` <200104080139.f381dZs92143@aslan.scsiguy.com>
2001-04-08  4:11   ` lists
2001-04-08  4:42     ` lists
2001-04-09 21:19     ` Justin T. Gibbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010408022233.E1138@werewolf.able.es \
    --to=jamagallon@able.es \
    --cc=gibbs@scsiguy.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.