Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932644AbeAHN0M (ORCPT + 1 other); Mon, 8 Jan 2018 08:26:12 -0500 Received: from mout.web.de ([212.227.15.4]:63604 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756401AbeAHN0K (ORCPT ); Mon, 8 Jan 2018 08:26:10 -0500 Subject: Re: [PATCH 1/3] GenWQE: Delete an error message for a failed memory allocation in genwqe_user_vmap() To: Frank Haverkamp Cc: kernel-janitors@vger.kernel.org, Arnd Bergmann , Greg Kroah-Hartman , "Guilherme G. Piccoli" , LKML , =?UTF-8?Q?J=c3=b6rg-Stephan_Vogt?= , Michael Jung , =?UTF-8?Q?Michael_R=c3=bcttger?= References: <127e28a8a4d9081eb323e3c7ab93dad0@linux.vnet.ibm.com> From: SF Markus Elfring Message-ID: Date: Mon, 8 Jan 2018 14:24:41 +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: <127e28a8a4d9081eb323e3c7ab93dad0@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:Dkagy1562zn4AekhkAi7zBZRdo680vqG8Cj1vvK+mZuwPbzR2PY ad6uA1WWJe3RVzwX2jB7lAu+4YWQrW9sdUeZb9x60fiRXpa+lSEHz123b4n3xksz9YCvhK8 9p1slc+p5Rwb8i1iRkGHthCEN5ehLxYSfwvmm5CaKYowaT1Rpk6XEuv0dl72iWdOTV/m9jZ A3amf/jQZsEqe93xrMIVA== X-UI-Out-Filterresults: notjunk:1;V01:K0:VkZ6//Z9yw4=:5doPEjmA3K1p82m68iiH1x LsqsaerX6itfBkMUx9Emk8DdNyiYMqIVKEPTEz4p21oBNlUQr0GFmU93jhwbX+a6/9rdK20Jc zwMJzJmlGaiEWaoeXpZJQDyFAGYIzn+ggli2knDFx/Q3D0loMKFXSinFLSGriWsVngoXi+hby aih3ajU4DAunhWBH3S1CQ93h3YvfoQutw6+/6xnoJJuDxomAwd0mccBq/liDC+oVcl2ZvsmDk GN6CSUIEttqdRrx+TK7Y/3UpqyNdgrzSSOm8ogdR7/s6wcG1gM7RVsyBAsf8XzFCHhZdipBrQ m5Ld2hAOVVPTEnMsnRoF6hZ1e5ZZTBl9WpNV49feF5TMGtbLo5xmsFmqPSfmt6SPylviNnitb r+//bEd7hkTOqfM7ffAhX97D9gy9Fwvgu0Yxdb4mGayh2PxM2k5DNx41dTt8AdzV0yKWXb4hG KFVV07c8zue6Z7DS3KLanX/L0IIA96ZKHrARs6TRPaXbghtEfpdcU9Exysl8lZpKlhJaRAysO wXgM57xgew3oqzvkx64FyxHtC2xakjZc9yygVgnPiR/B6GI0LskYYmCsGd33h0B6SQFtlIRWx 3STTtk6nY7XvRfTb6Xf3VW6pih1+Ku6skJBovtw2smcvB88psQmD3fHLTan6OOlJI3eWCfLke oCgzhsJhEj/XwO+amtcNXaCADylHwICb1Qw3ejfrw9tZ0PgvqQ6m/y50Rir3CycM54d71pbPD a1JeGwxdpBONXLQaE8viR/HusDStIBZ5rOVp7/ocheunctVtV4Y2NZzIfljA5fba8hlUu0kou czGjNXAmqYtOOO8hp7joe5C2QszPkoTOP5IcrKu8TsNETansXE= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: >> @@ -593,7 +593,6 @@ int genwqe_user_vmap(struct genwqe_dev *cd, struct >> dma_mapping *m, void *uaddr, >>                     sizeof(struct page *) + sizeof(dma_addr_t), >>                     GFP_KERNEL); >>      if (!m->page_list) { >> -        dev_err(&pci_dev->dev, "err: alloc page_list failed\n"); > > Are there different printouts which cover this? Is this error message redundant? > I mean the debug printout is not appearing all the time, > it must be enabled, if I remember correctly. Would you like to clarify corresponding configuration possibilities any more? > So why do you suggest to remove it? Can the Linux allocation failure report be sufficient for this use case already? Regards, Markus