Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755629Ab1FTTq1 (ORCPT ); Mon, 20 Jun 2011 15:46:27 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:34790 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751736Ab1FTTqY (ORCPT ); Mon, 20 Jun 2011 15:46:24 -0400 X-Authenticated: #12255092 X-Provags-ID: V01U2FsdGVkX1811Sd4RRM1ZbB6gfFyoZ1BbBoNvuZ5g3x/PoTHK4 77IupTW24SEkY/ From: Peter =?iso-8859-1?q?H=FCwe?= To: Alexey Dobriyan Subject: Re: [PATCH 2/2] mfd/ab8500: Use kstrtoul_from_user Date: Mon, 20 Jun 2011 21:46:15 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.38.8; KDE/4.4.5; x86_64; ; ) Cc: Samuel Ortiz , Srinidhi Kasagar , Linus Walleij , Mark Brown , Ian Lartey , Dimitris Papastamos , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org References: <1307393012-32582-1-git-send-email-peterhuewe@gmx.de> <1307393012-32582-2-git-send-email-peterhuewe@gmx.de> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106202146.16585.PeterHuewe@gmx.de> X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 559 Lines: 17 Am Montag 20 Juni 2011, 15:45:46 schrieb Alexey Dobriyan: > NAK > You should use kstrtou8_from_user() and drop 0xff check as well. > > Do NOT blindly replace strict_strtoul with kstrtoul. Thanks for spotting this - I'll review my other patches as well and redo them. Sorry for any inconvenience. Thanks, Peter -- 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/