From: Sam Ravnborg <sam@ravnborg.org>
To: Andries.Brouwer@cwi.nl
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fix affs/super.c
Date: Mon, 17 Mar 2003 19:45:57 +0100 [thread overview]
Message-ID: <20030317184557.GC4281@mars.ravnborg.org> (raw)
In-Reply-To: <UTC200303171509.h2HF95N15581.aeb@smtp.cwi.nl>
On Mon, Mar 17, 2003 at 04:09:05PM +0100, Andries.Brouwer@cwi.nl wrote:
> - memset(sbi, 0, sizeof(*AFFS_SB));
> + memset(sbi, 0, sizeof(struct affs_sb_info));
Or:
> + memset(sbi, 0, sizeof(*sbi));
In this way you do not need to update the memset when you
rename/change the type.
Sam
prev parent reply other threads:[~2003-03-17 18:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-17 15:09 Andries.Brouwer
2003-03-17 15:48 ` Roman Zippel
2003-03-17 18:45 ` Sam Ravnborg [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=20030317184557.GC4281@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=Andries.Brouwer@cwi.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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
all inboxes | Powered by JetHome®