All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: linux-kernel@vger.kernel.org, horst.hummel@de.ibm.com
Subject: Re: [patch] s390: dasd calls kzalloc while holding a spinlock.
Date: Wed, 16 Aug 2006 14:09:45 +0100	[thread overview]
Message-ID: <20060816130945.GA13251@infradead.org> (raw)
In-Reply-To: <20060816120449.GA24551@skybase>

> +	srv = (struct dasd_servermap *)
> +		kzalloc(sizeof(struct dasd_servermap), GFP_KERNEL);

No need to cast the kzalloc return value to a pointer type.

      reply	other threads:[~2006-08-16 13:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-16 12:04 [patch] s390: dasd calls kzalloc while holding a spinlock Martin Schwidefsky
2006-08-16 13:09 ` Christoph Hellwig [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=20060816130945.GA13251@infradead.org \
    --to=hch@infradead.org \
    --cc=horst.hummel@de.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=schwidefsky@de.ibm.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 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.