Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751480AbdH3U5H (ORCPT ); Wed, 30 Aug 2017 16:57:07 -0400 Received: from mout.web.de ([212.227.17.12]:52166 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750814AbdH3U5F (ORCPT ); Wed, 30 Aug 2017 16:57:05 -0400 Subject: Re: [PATCH 13/14] vme: tsi148: Improve 17 size determinations To: Martyn Welch , devel Cc: Aaron Sierra , Alessio Igor Bogani , Arnd Bergmann , Augusto Mecking Caringi , Baoyou Xie , Greg Kroah-Hartman , Manohar Vanga , LKML , kernel-janitors@vger.kernel.org References: <7ab4be89-4aa6-5537-9839-da090635f249@users.sourceforge.net> <1cb8956d-2862-9f64-d19c-32b4a797a3b1@users.sourceforge.net> <20170825205721.GA11181@hades.home> <934e298f-596d-dc13-f3e3-797a49c74e84@users.sourceforge.net> From: SF Markus Elfring Message-ID: <4cd218be-0b0e-bf9c-e65a-1ba3dd57fc26@users.sourceforge.net> Date: Wed, 30 Aug 2017 22:56:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:PN0FHDx9P1fxSu9Cab7ggROTmFwdMbc1Makffn4qFt45JTnmIzA vpygRaOvdLvk4HNNhfgi4+lSkXn3rx6I2SmbWThfm8tI0V5reJoZNTv0AK2EmOUQboxSPL8 Igno9bfeNsa+P7kslYvAho9lgUXnnZq6/aG9qO74irAuxfiZxCDeaoR/BVO7t3whnRhpWmL /bIkXjXZmQZyOwN/Mc62Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:NZCh+l0kp/U=:67okuQDyN7xPcyPT6rNCEO cTMk14mCcn2rCRy1ssASg55VRQS+vcQqp0omNRcM5ZS8p8GyC1swTas/D/FGnjQVkbVLcbQJi OV6Df2FD5vLaVaujoOUIxNr/HIR1ggTsJ6Kk8NPZtcOPhI943r6WTebANDYicMILALMNbiIow QAa4cwzVAHib2/W82GJSViLayurfaZKUclD3mssHExAi0UCQAz/ErhnjsDwJofpTkxSaIrnFb wr4FOcFGAgSdsTGByWVbtFrH26t8cijIjTgActDthGBZ3swzSBJOE3sEfZuT38jMWg0YQaNEJ ewg+8YjKRo6tZA2K9Mh7/+vG7xvnHX5kHrUGqAIRVkQ+nDfRRvtVkg+gXvTifqaUXKx6n16su gN9DFV8wI8QVG7JMjG/WqXutc7PfCjOnS5uRiYr1LP9h18sxhOyT9sBZF7o4oAsRy/1/zVwRu +lUL7Y8GM+1zu+u0To7Fq5dYAsYaJ6qJISgoC2f+9e6Wm7R63glWWII5US0YJxkGWStVawWJF XZTDNvvaEtH17rTSihRCARzPtOvAIgJFCEcXydVX5ijeozQQeHJAIRdTSTlbtFNNVjPuE1DW/ lFFGDCKcvjsOR0cAGTpR+NXW1jmqvtsdG/vENOfxZQ9qS88vjl5x5MvVP9cBfTK+Uie7yWT/B ABXnJyCiqt1LD80ZXedG2H2Ncsrs9Orel/qN6M/RHdO6qXGCVSoiYDkv+yoZtn8IlEKaKEHNa iXBP2YwLiKlzeWiTxCwrwpRnKGeK27qtkxmOd2HmjRYkF3f7Lj1A3tfrzS6tbvz0Mei8DVuj4 qpFievuGKz+ikY1eeAtKnLSnxqWkOgJCaNR7DZls7EshHLd3ig= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1658 Lines: 54 >>>> @@ -2363,5 +2364,5 @@ static int tsi148_probe(struct pci_dev *pdev, const struct pci_device_id *id) >>>> master_num--; >>>> >>>> tsi148_device->flush_image = >>>> - kmalloc(sizeof(struct vme_master_resource), GFP_KERNEL); >>>> + kmalloc(sizeof(*tsi148_device->flush_image), GFP_KERNEL); >>> >>> This line is now a tiny bit too long >> >> Can you eventually tolerate a line length of 81 characters at such a source code place? >> > > I think there's some irony here. On the one hand you are submitting > patches that correct coding style issues, on the other you are asking > whether we can ignore the coding style... I test somehow how strict you would like to handle the length limit there. I imagine that the affected source code formatting could also become different if the involved variable name would be shorter. >> * It seems that you would not like to perform such a tweak yourself. > > To be honest, it is quicker and easier in this instance to do just that. Interesting … > So that's now done. Thanks that you picked some of my ideas up. > Patches now in my testing branch: > > https://gitlab.collabora.com/martyn/linux/commits/vme-testing I am curious on how the shown change possibilities will evolve from this repository. >> * Do you expect a resend for the complete patch series? >> > > Unless the maintainer has commented that they have accepted patches x, > y and z, then sending the entire series again is generally the right > thing to do. Would you like to respond further to Greg's comments (from 2017-08-26) for this patch series? Regards, Markus