From: Alexey Dobriyan <adobriyan@gmail.com>
To: ericvh@gmail.com
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: v9fs-vfs-file-dentry-and-directory-operations.patch added to -mm tree
Date: Mon, 6 Jun 2005 13:28:01 +0400 [thread overview]
Message-ID: <200506061328.02594.adobriyan@gmail.com> (raw)
In-Reply-To: <200506060624.j566OQpF010552@shell0.pdx.osdl.net>
On Monday 06 June 2005 10:24, akpm@osdl.org wrote:
> v9fs: VFS file, dentry, and directory operations
> --- /dev/null
> +++ 25-akpm/fs/9p/vfs_file.c
> +static ssize_t
> +v9fs_file_read(struct file *filp, char __user * data, size_t count,
> + loff_t * offset)
> +{
> + char *buffer = NULL;
Unneeded assignment.
> + buffer = kmalloc(count, GFP_KERNEL);
> + if (buffer < 0)
> + return -ENOMEM;
buffer is a pointer.
parent reply other threads:[~2005-06-06 9:24 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <200506060624.j566OQpF010552@shell0.pdx.osdl.net>]
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=200506061328.02594.adobriyan@gmail.com \
--to=adobriyan@gmail.com \
--cc=akpm@osdl.org \
--cc=ericvh@gmail.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox