Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750837AbeAOTEM (ORCPT + 1 other); Mon, 15 Jan 2018 14:04:12 -0500 Received: from mout.web.de ([212.227.15.4]:51960 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750737AbeAOTEK (ORCPT ); Mon, 15 Jan 2018 14:04:10 -0500 Subject: Re: mfd/omap-usb-tll: Allocate driver data at once in usbtll_omap_probe() To: Ladislav Michl , linux-omap@vger.kernel.org Cc: Lee Jones , Tony Lindgren , Roger Quadros , LKML , kernel-janitors@vger.kernel.org References: <7719b4e7-1081-6fa4-6f14-f45cf062482d@users.sourceforge.net> <20180115134101.GA6711@lenoch> <1ebb5ac5-aa4d-7c19-94db-210b518d562f@users.sourceforge.net> <20180115160522.GA2672@lenoch> <11eaf92d-3928-531f-35e8-fb5a60ff03e3@users.sourceforge.net> <20180115163543.GA10657@lenoch> <20180115174122.GA20745@lenoch> <20180115183059.GA30039@lenoch> From: SF Markus Elfring Message-ID: <8144f711-b4fd-730c-4e9f-780c42d5e68f@users.sourceforge.net> Date: Mon, 15 Jan 2018 20:04:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180115183059.GA30039@lenoch> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:8dAgmiqKwcL8JgfpLq6jzfutS4UBf0sDAg8h93rOw2yv86Rm403 AWL7XZpRN2HOiBgx7TBRhrUkXsjCLaooQYwVEIn2/p+PcQENqnfQPx2QaZnL3UasCt4U7Z/ NS4kKZfOKNRmfexvaSWh+ABEOPxqOZeAkZLLolGs59iVp4xX03qDAcr9+2mvd09sc2I0ntZ DptuO+kodw8cOaLQl28kg== X-UI-Out-Filterresults: notjunk:1;V01:K0:eV6QvpuXfbk=:pwBoKaw1x83r5+Ud4lN6ig N1rPTqgrAlmmzNiLyd5OMHeZ+D5FpVcq0rTf3dvxpZGr7i1T1qs9kQf1+vmOvNtz88aQcf2TI +Ow6HwgdivuLLVqZ+85rgYvVrRXtn5PniE1C6XbF7rjecd94h6fl9NYa+IegJ3d8AsjmEcy6c Tnjun4Ux3zMQN5Y+2FQEtgU45UDekT8SJr5fx+Dsti79E0WDoYtXWA2d9lQJ5+avkOssDDLAF PpB1qtHTEd4eoF8NLh/cU40AoVbs3VvUrNffnSCJY9pAaW+EjArgg7rXFa+JgbSJEi2JdPgn+ BUea52V8MWkzkk/3HrNGGSNmrLsyzHp9yjc2SxstNo24q0DbyFmUyBV/T/TdE1o6+eO8mmy2c bwPeAaMV0PPAIfkMt6AP/+WyBS5NC1ZImsFWQlKT+A+IrHYMv5bc2u+6XfQqOPMTwlhwz9sOF n6TmvWXAAySLNTCXsEqFOvhrVzcCxDwuh/9zDwbeBVcrIWYH0gG6IPynxr5xVNCrn9lkVupSc 2+UNsYRjSgAH+AVB990rVuREGATSY+qYpMJp2HGnu4xB8LmeQs4qWOxe76SFEcF90v3jv0EUa 58izhcfFCrh/5grcY0axH9BvWHZhQsJT0XbxMNezAmCYIYUAz8nlqH89ke3EkRpnNEAxCu4hi PKBjpZ87j2RpyumzJqmeMvSugVN08kzp4UI8rhLnBLONU7SkhKhrchNHQD5nIz2NNIOr85xkt T8SssFiPJxDiW5pkePAsWf32ybYQd1DR5fpkYqErwaIe8bdi5CKK+hGwuI8r1aeJ03PzZ/wtP wZB9LEXZ233hMKNRMyzwEcpzjO3OoDe1LL8789e8qN5iFazFKM= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: >> So I hope that your solution approach will be also fine. >> Will it supersede my proposal? > > Who knows, perhaps it would be the best if you could judge yourself... I am also curious on how other contributors will respond to your following update suggestion. > 8<-------- > > Subject: [PATCH] mfd/omap-usb-tll: Allocate driver data at once Would it have been clearer to use this information as the subject for this reply already? Are you fine with that this change approach was recorded in a possibly questionable format? https://patchwork.kernel.org/patch/10165193/ > Allocating memory to store clk array together with driver > data simplifies error unwinding and allows deleting memory > allocation failure message as there is now only single point > where allocation could fail. * Will it matter to mention the previous software situation a bit in such a commit description? * Would you like to add a tag “link”? * Are you going to “supersede” any more source code adjustments around questionable error messages? Regards, Markus