From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751508AbbI3PsV (ORCPT ); Wed, 30 Sep 2015 11:48:21 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:34230 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753837AbbI3Pr7 (ORCPT ); Wed, 30 Sep 2015 11:47:59 -0400 Date: Wed, 30 Sep 2015 17:47:54 +0200 From: Maciek Borzecki To: Jacek Anaszewski Cc: linux-kernel@vger.kernel.org, Richard Purdie , linux-leds@vger.kernel.org, linux-doc@vger.kernel.org, Jonathan Corbet Subject: Re: [PATCH 2/3] leds: add debugfs to device trigger Message-ID: <20150930154754.GA31149@corsair.lan> References: <560BECCE.6080304@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <560BECCE.6080304@samsung.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/30 16:08, Jacek Anaszewski wrote: > Hi Maciek, > > Please test your solution thoroughly before submitting > the next version. Writing to debugfs register attribute > fails due to lack of proper copying from user memory, > which makes testing impossible. Hi, thanks for the comment. Indeed, I noticed the problem just after sending the patch. Surprisingly this didn't fail on iMX6 for some reason. Aside from the __user access problem, is the approach, in general, ok for you or would you suggest that I changed something? Regards, -- Maciek Borzecki