public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: David Miller <davem@davemloft.net>
Cc: dhowells@redhat.com, linux-arch@vger.kernel.org,
	torvalds@linux-foundation.org
Subject: Re: [PATCH 3/3] lib: Sparc's strncpy_from_user is generic enough, move under lib/
Date: Thu, 24 May 2012 18:17:52 +0100	[thread overview]
Message-ID: <14863.1337879872@redhat.com> (raw)
In-Reply-To: <20120523.233440.1152363385537335796.davem@davemloft.net>

David Miller <davem@davemloft.net> wrote:

> To use this, an architecture simply needs to:
> 
> 1) Provide a user_addr_max() implementation via asm/uaccess.h
> 
> 2) Add "select GENERIC_STRNCPY_FROM_USER" to their arch Kcnfig
> 
> 3) Remove the existing strncpy_from_user() implementation and symbol
>    exports their architecture had.
> 
> Signed-off-by: David S. Miller <davem@davemloft.net>

Contingent on removing the extraneous semicolon:

Acked-by: David Howells <dhowells@redhat.com>

      parent reply	other threads:[~2012-05-24 17:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-24  3:34 [PATCH 3/3] lib: Sparc's strncpy_from_user is generic enough, move under lib/ David Miller
2012-05-24 16:10 ` David Howells
2012-05-24 19:53   ` David Miller
2012-05-24 17:17 ` David Howells [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=14863.1337879872@redhat.com \
    --to=dhowells@redhat.com \
    --cc=davem@davemloft.net \
    --cc=linux-arch@vger.kernel.org \
    --cc=torvalds@linux-foundation.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