Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934060Ab1ESTSb (ORCPT ); Thu, 19 May 2011 15:18:31 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:59955 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753728Ab1ESTS3 convert rfc822-to-8bit (ORCPT ); Thu, 19 May 2011 15:18:29 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=XaJP05R7oBQ8nst2yW6sdISJvzotBjBMT0GWBVJCKPpma12FywcGLHiJtaR57D3WQA +9gsRbOxnys8Ld9zTyOD840pNurUt54X+abAoS/p5ljX2sUBxE2df2/OtAr0pWXmsgov n8sW4Doc20OAQvjQEML4cJ9s21V15KGyHlNLc= MIME-Version: 1.0 In-Reply-To: <1305824936.1465.4.camel@gandalf.stny.rr.com> References: <1305824936.1465.4.camel@gandalf.stny.rr.com> From: Mike Frysinger Date: Thu, 19 May 2011 15:18:08 -0400 X-Google-Sender-Auth: CzHjaI9vq1IMUdKqbWHtIYWWt2Q Message-ID: Subject: Re: [RFC][PATCH] maccess,probe_kernel: Make write/read src const void * To: Steven Rostedt Cc: LKML , Ingo Molnar , Martin Schwidefsky , Heiko Carstens , linux-s390 , uclinux-dist-devel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 632 Lines: 16 On Thu, May 19, 2011 at 13:08, Steven Rostedt wrote: > maccess,probe_kernel: Make src const void * > > The functions probe_kernel_write() and probe_kernel_read() do not modify > the src pointer. Allow const pointers to be passed in without the need > of a typecast. > >  arch/blackfin/mm/maccess.c |    4 ++-- Acked-by: Mike Frysinger -mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/