From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755461AbdEDQO4 (ORCPT ); Thu, 4 May 2017 12:14:56 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:33336 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754063AbdEDQN7 (ORCPT ); Thu, 4 May 2017 12:13:59 -0400 From: Mathias Rav To: Greg Kroah-Hartman , devel@driverdev.osuosl.org, Oleg Drokin , Andreas Dilger , James Simmons Cc: Linux Kernel Mailing List , Lustre Development List Subject: [PATCH 0/2] staging: lustre: lprocfs: Fix coding style issues Date: Thu, 4 May 2017 12:13:37 -0400 Message-Id: <20170504161339.15901-1-mathiasrav@gmail.com> X-Mailer: git-send-email 2.12.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset fixes two style issues in lprocfs_status.c related to simple_strtoul and seq_printf (reported by checkpatch). There's a slight change in lustre debugfs write semantics: Using kstrtox causes EINVAL when the written number is followed by other (garbage) characters, whereas previously the garbage would be ignored and such a write would succeed. Mathias Rav (2): staging: lustre: lprocfs: Use kstrtouint_from_user staging: lustre: lprocfs: Use seq_puts .../lustre/lustre/obdclass/lprocfs_status.c | 42 ++++++--------------- 1 file changed, 11 insertions(+), 31 deletions(-)