linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
To: Richard Weinberger <richard-/L3Ra7n9ekc@public.gmane.org>
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	David Gstir <david-S6VGOU4v5edDinCvNWH78Q@public.gmane.org>
Subject: Re: [PATCH] Implement leftpad syscall
Date: Thu, 31 Mar 2016 16:09:32 -0700	[thread overview]
Message-ID: <20160331230932.GA8353@kroah.com> (raw)
In-Reply-To: <1459463613-32473-2-git-send-email-richard-/L3Ra7n9ekc@public.gmane.org>

On Fri, Apr 01, 2016 at 12:33:32AM +0200, Richard Weinberger wrote:
> +	if (dst_len <= len || dst_len > 4096) {
> +		return -EINVAL;
> +	}

Please always use checkpatch.pl when submitting patches.

thanks,

greg k-h

  parent reply	other threads:[~2016-03-31 23:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-31 22:33 New syscall: leftpad() Richard Weinberger
2016-03-31 22:33 ` [PATCH] Implement leftpad syscall Richard Weinberger
2016-04-01  1:33   ` Frederic Weisbecker
     [not found]   ` <1459463613-32473-2-git-send-email-richard-/L3Ra7n9ekc@public.gmane.org>
2016-03-31 22:46     ` Michael Kerrisk (man-pages)
2016-03-31 23:09     ` Greg KH [this message]
2016-04-01  3:22     ` kbuild test robot
2016-04-01  6:56     ` Richard Cochran
2016-04-01  7:14   ` Scotty Bauer
2016-03-31 22:33 ` [PATCH] leftpad.2: Document new syscall Richard Weinberger
     [not found]   ` <1459463613-32473-3-git-send-email-richard-/L3Ra7n9ekc@public.gmane.org>
2016-04-08 18:10     ` Heinrich Schuchardt
2016-04-09 14:12       ` Richard Weinberger
     [not found] ` <1459463613-32473-1-git-send-email-richard-/L3Ra7n9ekc@public.gmane.org>
2016-03-31 23:36   ` New syscall: leftpad() Randy Dunlap
     [not found]     ` <56FDB478.4020609-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2016-04-01  8:06       ` Richard Weinberger

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=20160331230932.GA8353@kroah.com \
    --to=gregkh-hqyy1w1ycw8ekmwlsbkhg0b+6bgklq7r@public.gmane.org \
    --cc=david-S6VGOU4v5edDinCvNWH78Q@public.gmane.org \
    --cc=linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=richard-/L3Ra7n9ekc@public.gmane.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;
as well as URLs for NNTP newsgroup(s).