linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: magicfox <magicfox@magic.fr>
To: linux-ppp@vger.kernel.org
Subject: Kernel 2.4.x  with CONFIG_PPP_FILTER (warning remove)
Date: Thu, 09 Jun 2005 08:23:58 +0000	[thread overview]
Message-ID: <42A7FC9E.3020907@magic.fr> (raw)

Dears,

uprog.len is defined in struct as unsigned short and can't be > 65535.
May be this legitime warning may be removed.

ppp_generic.c: In function `ppp_ioctl':
ppp_generic.c:662: warning: comparison is always true due to limited
range of data type

-               if (uprog.len > 0 && uprog.len < 65536) {
+               if (uprog.len > 0) {

Best regards.

                 reply	other threads:[~2005-06-09  8:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=42A7FC9E.3020907@magic.fr \
    --to=magicfox@magic.fr \
    --cc=linux-ppp@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).