Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750981AbeAOSMq (ORCPT + 1 other); Mon, 15 Jan 2018 13:12:46 -0500 Received: from mout.web.de ([212.227.15.4]:63300 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750764AbeAOSMl (ORCPT ); Mon, 15 Jan 2018 13:12:41 -0500 Subject: Re: [1/3] mfd/omap-usb-tll: Delete two error messages for a failed memory allocation in usbtll_omap_probe() To: Ladislav Michl , linux-omap@vger.kernel.org Cc: Lee Jones , Tony Lindgren , 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> From: SF Markus Elfring Message-ID: Date: Mon, 15 Jan 2018 19:12:37 +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: <20180115174122.GA20745@lenoch> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Fi99W/K4vzfwwNvtjODivlXq9RVeud7W88ogZINcZB855/VSTjH InrthOVj14qj7d+uz2yS71dhiSUapLyrBwfPzmoM7xhpEnYrq4WHFfBvNFLeMRgeq2XoOzV f7hh+Frw/7NPf5EZAr5lO3ZhD2dm9+jyn2W3ihgPn4KvIs4sOebN17VyYawgOfNUy+IN5Np ix04biOxEe1m60dBgazaw== X-UI-Out-Filterresults: notjunk:1;V01:K0:HSpSG96nbmI=:Pg0p35SuLoX96Hr2jn8fGo Jf702xWrBpRTXTVKtSnQAS3wcphSmm2sZDU+kUUfAG+pq34oHg4/D4QM6mh+IYiM58RHFB65j 2z/FJaZisMeyn6dlcfeLF2Y8kWTeZ4vRQ+ju7mY0lVhh9rtUoUyV+EK218BB84cZ25hdl1eFc u5cqPECI+aP21BY0sraxQ79osfUtfTXwSXxPcQKFygy+fh9DYumQQ2sbeblkI8B4hFLIlEP8W youWhJnR+F8TICga+PUD25NTc4xs7LQo5skNjeY+ZjUtqn4Y5/inR5YN2nEEgGEkxIhrN2jH+ JSQVHsXIV230mkfKS1R/eecIMSaSSxpc0a9O7GF3wUy4ScsEIdkrtiLwdGgvddZeKz+dbaHba Jn8FA0m4bvnS/9J6wY32epYApR2mMTL6Iz2cLbQjTsOLl1uOQjgx97maEBvn1qscwsd/PfXdu fBxmJrvbbQUJhgg4Jz6tp0BmO3mCU3LytPymVHQ4+CuKidT5J3mjzhR1L4jRYHQfAzp9KDV2F x+iYZMXi6CvXES3q5MY71ViJqbux1r0pMmtFUm88osJY7hhUTxM9X4Fkg3DzJJdw1sONqCySO UNhP/zrnO7BcmY9OUtaOWxU8/cD+DsnpODBCpUDs3frHx3sKZ8PCFcmE5fMD9e3Gy9teYuiQS zN6+1dfWmSMDp+O7vIHqdbU40oHqnZkVn+7eOPPgFWYHV98m814bxEA+cyMKYQAs89rqrjwpS NQCy0lAni+jlosXAH4nCDr5RNAQOw2LVrd8dJM9Q8z+qOaAFjkvkW7VoOwVN+wE94uYex3WT1 y/EySjeR8hkHvlvIJUx/UkM2DMjl/CtuIwg6DqOhQKS9OlMe34= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: > That said, you might end having only fragment of log in only one of thousands > And saying technician he needs to use another kernel (upgrade all machines) > and wait another several weeks for bug to trigger is no way. This was not really my intention here. > So until evolution reaches ARM land, my point stands unchanged: > Make it single allocation Did I indicate a similar design direction (for the preferred stack trace convenience) after your constructive feedback? > or leave one of those two messages in place. Are there any more preferences involved? > In practice it probably does not matter if we know which allocation > failed. We simply run out of memmory. Would anybody insist to know for which driver instance an allocation attempt was performed? >> Does your update suggestion contain still any additional error messages for >> memory allocation failures? > > Of course not as there will be only one memory allocation in the probe function. Thanks for this clarification. - So I hope that your solution approach will be also fine. Will it supersede my proposal? Regards, Markus