All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yoann Padioleau <padator@wanadoo.fr>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] question on double cast
Date: Tue, 22 May 2007 08:24:30 +0000	[thread overview]
Message-ID: <87y7jh4669.fsf@wanadoo.fr> (raw)


Hi, 

In drivers/infiniband/hw/amso1100/c2_cm.c", line 321
there is

 	wr->ep_handle = (u32) (unsigned long) cm_id->provider_data;

What is the goal of this double cast ? There are plenty of
such double cast in the kernel.

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

             reply	other threads:[~2007-05-22  8:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-22  8:24 Yoann Padioleau [this message]
2007-05-22 11:44 ` [KJ] question on double cast John Anthony Kazos Jr.
2007-05-22 12:15 ` Yoann Padioleau
2007-05-22 12:52 ` John Anthony Kazos Jr.
2007-05-22 12:54 ` Matthew Wilcox
2007-05-22 13:44 ` Matthew Wilcox

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=87y7jh4669.fsf@wanadoo.fr \
    --to=padator@wanadoo.fr \
    --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.