Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755352AbeAHSTh (ORCPT + 1 other); Mon, 8 Jan 2018 13:19:37 -0500 Received: from mout.web.de ([212.227.15.14]:54211 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752690AbeAHSTf (ORCPT ); Mon, 8 Jan 2018 13:19:35 -0500 Subject: Re: hyperv/netvsc: Delete two error messages for a failed memory allocation in netvsc_init_buf() To: Haiyang Zhang , "devel@linuxdriverproject.org" , netdev@vger.kernel.org Cc: KY Srinivasan , Stephen Hemminger , LKML , kernel-janitors@vger.kernel.org References: From: SF Markus Elfring Message-ID: <31b03449-4ef8-538d-a021-cb3e5bbc2a21@users.sourceforge.net> Date: Mon, 8 Jan 2018 19:19:23 +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: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:UaNG8q0xjaYy8Kyfwnb0B40+UJsW2aBvXtlOf0rwPFOOe0TJwsY 63+9d9us9f0g/SGyn7jjnnbDET1q7a6gBLxvfLhh3zp5GqiedgmBIUIgW24sQqtLVYVK31k bQZ9FKANb4sKRiIeQreVssnmO2oobnefo+mD9NOdh/aDX/vss4o3STfa+SfMXgMxeCltDjE QUvWl76+6yUkBr1Zq4amQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:h5JDAJf1zdY=:2JGj+a+x8crI4lWkuoD6RW SGV7TLGsJxznqGY5risaF4jI4gdJ7qmrsXABI92Z3QzzflAu1aHrhS6h5IQ5NniuMNzXHAQ/a iFKor6fvXaJxRBcXjmvDDqRbqH1o21Wd5VYBq2Z3TKkemdRcZ5quM6y+wQsCDjqtOk88GTRev 2rvT9E75PtZvWgIxQ9+9Ea0ARIWHRopIA+eZlQCxR4Jar6HQSs79szgpLgsGWvWsCFfJVDXs+ z22Y4DhXihbipG91f1yivApLmB9b5GKA3hwIyL3AMFUQzxksOkIQjarWQiOip7BsoafeqcZ0C 3kaxsXh7oICL7oMP6OtzKAIbmU6Y852iZGeP1oGOwkqoSwhDZ5CbrXk+3s7VW6zLMjPqRNbE1 CZlilPvmQLezN2fNYa3ERIcOlE9HBkc8EKvyVrPeiGsc0S7ipHWSS501vzW1ioN4z7btaawZ1 qzR5jiOh36KkyocbWnk0kXTBywZafz6Jm1Z/ZwAvpjoBSjhxpgC3nUzYIK9DMCTC0JPT/kcDn nt7JBHiQQQyaCHLsXLyVSMKHWWzEUz49VGB8jpfmMsTlsJWCqxGL2xvyP4wYy8wxj3vKfPD3N lEA/imiUsX7GQ2f+7zg+6vMsUDXSzDW5cu065p1G8HfUkRimI7FBcGB1ViBtrLc3FBV8S7uM2 Yu/ekh3t2YpQ990AwpAs9viVOfuWqUnH9VldBCoaWPZmBN9SNevDmsyQp3xKbWoiVFudqEIVr MBLBBlQmXuLVjWStwAF6Qz0wE61f6Cw3Jrm2lTqnRivLo9phyTFGlfEic/KecO2xTmV+aUoGL 687ZwgmxeumwdqZpv3rpQfy2IIPcNZicdXZwkHK6zgvqIZiIRQ= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: > These messages are not displayed anywhere else: > "unable to allocate receive buffer of size %u\n" > "unable to allocate send buffer of size %u\n", > > After set ret = -ENOMEM; and cleanup, we won't know which buffer allocation failed without the error message. Do you notice a Linux allocation failure report before them in your system? > So please do not remove these messages. How much does the distinction matter for these buffers? Regards, Markus