From: Bill Pringlemeir <bpringle@sympatico.ca>
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: David Flynn <Dave@keston.u-net.com>,
Daniel Phillips <phillips@bonn-fries.net>,
rjd@xyzzy.clara.co.uk, linux-kernel@vger.kernel.org
Subject: Re: Newbie idiotic questions.
Date: 17 Jun 2001 17:17:30 -0400 [thread overview]
Message-ID: <m2g0cy24d1.fsf@sympatico.ca> (raw)
In-Reply-To: <200106171227.f5HCRZu10829@xyzzy.clara.co.uk> <0106171701100P.00879@starship> <3B2CC7DC.EEAF3253@mandrakesoft.com> <00c301c0f743$9da4d9f0$1901a8c0@node0.idium.eu.org> <3B2CD29E.948D6BF2@mandrakesoft.com>
In-Reply-To: Jeff Garzik's message of "Sun, 17 Jun 2001 11:54:06 -0400"
>>>>> "Jeff" == Jeff Garzik <jgarzik@mandrakesoft.com> writes:
[snip]
Jeff> It's the preference of the maintainer. It's a tossup: using
Jeff> the type in the kmalloc makes the type being allocated obvious.
Jeff> But using sizeof(*var) is a tiny bit more resistant to change.
Ok, thanks. I was looking at fixing an `actual bug' in this driver
and I was wonder what else I could/should do while there. I didn't
necessarily want to change `sizeof(struct Type)' to `sizeof(*value)'.
I considered that change to be somewhat dubious, even though I like
`sizeof(*value)'. Of course, I unwittingly demonstrated what dangers
lie in making cosmetic changes [I was on my way to a party at the time
and my girlfriend was calling, excuses, excuses...].
So, It looks like I might fix the actual race condition, post that
diff, fix any other small oddities, post that diff. If no one
complains, etc I can ask the maintainer. Of course I will test it
myself as well.
regards,
Bill Pringlemeir.
next prev parent reply other threads:[~2001-06-17 21:20 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-17 1:19 Newbie idiotic questions Bill Pringlemeir
2001-06-17 1:32 ` Jeff Garzik
2001-06-17 10:48 ` Daniel Phillips
2001-06-17 12:27 ` rjd
2001-06-17 15:01 ` Daniel Phillips
2001-06-17 15:08 ` Jeff Garzik
2001-06-17 15:38 ` David Flynn
2001-06-17 15:54 ` Jeff Garzik
2001-06-17 19:18 ` Geert Uytterhoeven
2001-06-17 20:08 ` Daniel Phillips
2001-06-17 20:37 ` Alexander Viro
2001-06-17 21:28 ` Daniel Phillips
2001-06-17 22:33 ` Alexander Viro
2001-06-18 9:14 ` Roman Zippel
2001-06-18 9:30 ` Alexander Viro
2001-06-17 21:17 ` Bill Pringlemeir [this message]
2001-06-17 1:35 ` Richard B. Johnson
2001-06-17 3:01 ` Arnaldo Carvalho de Melo
2001-06-17 8:06 ` rjd
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=m2g0cy24d1.fsf@sympatico.ca \
--to=bpringle@sympatico.ca \
--cc=Dave@keston.u-net.com \
--cc=jgarzik@mandrakesoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=phillips@bonn-fries.net \
--cc=rjd@xyzzy.clara.co.uk \
/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