All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [KJ] stumped... implicitly truncated warning mystery
Date: Wed, 06 Jul 2005 18:24:36 +0000	[thread overview]
Message-ID: <200507062224.36796.adobriyan@gmail.com> (raw)
In-Reply-To: <42CC197E.2030207@cs.pdx.edu>

On Wednesday 06 July 2005 21:48, Jesse Millan wrote:
> GCC4.0.0 is giving me a warning that I cant seem to get rid of. In the
> file drivers/net/wireless/wavelan_cs.c on lines 3607 and 3608 is the
> following assignment:
> 
> cfblk.ifrm_spc = 0x20;
> cfblk.slottim_low = 0x20;
> 
> where ifrm_spc and slottim_low are both of type unsigned char.

They are bitfields.

drivers/net/wireless/i82593.h:

168	  u_char            : 4,
169	         ifrm_spc   : 4;
170	  u_char            : 5,
171	         slottim_low : 3;
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

      parent reply	other threads:[~2005-07-06 18:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-06 17:48 [KJ] stumped... implicitly truncated warning mystery Jesse Millan
2005-07-06 18:01 ` Dave Jones
2005-07-06 18:03 ` Jesse Millan
2005-07-06 18:24 ` Alexey Dobriyan [this message]

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=200507062224.36796.adobriyan@gmail.com \
    --to=adobriyan@gmail.com \
    --cc=kernel-janitors@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.