Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754406AbbLKWWu (ORCPT ); Fri, 11 Dec 2015 17:22:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37887 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750724AbbLKWWt (ORCPT ); Fri, 11 Dec 2015 17:22:49 -0500 Subject: Re: [RFC][PATCH] module: Limit line length of module prints To: "Geyslan G. Bem" , Laura Abbott References: <1449798632-29248-1-git-send-email-labbott@fedoraproject.org> Cc: LKML , Rusty Russell From: Laura Abbott Message-ID: <566B4CB8.2060408@redhat.com> Date: Fri, 11 Dec 2015 14:22:48 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 648 Lines: 17 On 12/11/2015 01:36 AM, Geyslan G. Bem wrote: > Hello, > > What do you think of get the strlen of name and module_flags before printing > them? So the check against MAX CHARS would be more precise and uniform. Or > the limit is not strictly necessary? It's not really necessary. If it goes over a little bit that's okay. The goal here is to try and introduce some reasonable wrapping. Thanks, Laura -- 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/