Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751865AbdF3PIX (ORCPT ); Fri, 30 Jun 2017 11:08:23 -0400 Received: from mail-by2nam03on0061.outbound.protection.outlook.com ([104.47.42.61]:9824 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751605AbdF3PIU (ORCPT ); Fri, 30 Jun 2017 11:08:20 -0400 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=amd.com; Subject: Re: [PATCH] crypto: ccp-platform: print error message on platform_get_irq failure To: "Gustavo A. R. Silva" , "Lendacky, Thomas" , Herbert Xu , "David S. Miller" References: <20170630055952.GA6953@embeddedgus> Cc: "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" From: Gary R Hook Message-ID: Date: Fri, 30 Jun 2017 10:08:00 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170630055952.GA6953@embeddedgus> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.78.1] X-ClientProxiedBy: BN6PR1701CA0013.namprd17.prod.outlook.com (10.172.26.151) To BN6PR12MB1316.namprd12.prod.outlook.com (10.168.228.10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c26759df-3759-4928-f6e3-08d4bfc9d66d X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BN6PR12MB1316; X-Microsoft-Exchange-Diagnostics: 1;BN6PR12MB1316;3:aUkFGfk0D9OWYYp0+xcb8nXSV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P/OvcdSzheiZiUKpwSmvYV7SmlIf/nh6/CMZXagcLhbuvrI+aV5wB9Vlxg0nfnWUgKKdYC4wdiIrAJ8KMCOb0pJMrEUzSEyQnYBZ6ii3i2mrj+R9sUbUwRfMg36cSsXnlnUoDO0R0qPTH8v8H11zLSYUYk6GmQ2mDfGAlSTpxB3LEEnGKkTQurW0O96rGq2vp0/CWjXv5qlC8ZZVBHwujX0TieABgpo4MDmtzmh+0lQarYyJkMrYN5WY+W+6W28x3kwzjP98vjC+BpFpm7w6CK6sTuLHgsZbagjOKZIqOAJFmAa4amhanPUXJZjWbzMYjOZr8FirRz6JI= X-Microsoft-Exchange-Diagnostics: 1;BN6PR12MB1316;20:4vbmm+tZHd/RwWhf9nei2eT8RrIL/C3Tpii1y+IDFa4PivGu6jqQdjuhJJLBJodRm3JrA5jZZXZvtnZMBTAjGJzpjRKSKFmTXeT5Ij92CZMvFJvwmWgjQ+nuNT0fQKKOSmygiZhgW3WOvNs0bFqExAtO7RaENKssAKe/vHXYoXVZNOLdnrGkl1F+PjEpymWZ6Q8ZdXdGIjyGwycwoEgilKHgXvaDir0b4cbJkryAIXfzX3IoCRE9VVFMrazcx5owqS31GHhqPBhMfzt4YLhAwpuh2NZhdR6iqy0c8eqTPr/iuE91HZrBhHskvHiiFffzHErzPzdhqQbh6r0H3ik2bm0KGBDPpAj4jhZ/DaGBXuyIZSEOqTzrVx/a/bIu+2sWT+hkiDgEjDgsdpyVQuaA1jBDl8CYmJlIiuYUCW0828ElHcAfY/zm1Rcwkj2Xx6A/dS0g8C3pVtE0J1WWUD44Qa3TZFQFb35kc2hAQ76/aVmxDmnkHIVdVjAfZIHcmJmw X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123560025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN6PR12MB1316;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN6PR12MB1316; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;BN6PR12MB1316;4:TNG2Y4gDjDTwBoCf+bzfHjSZGX5e87m63MUM13?= =?Windows-1252?Q?CKp5SbsYWGrbL446E+vmT5LO0shXyNWnMklFuV+xo0EZ8e+YdLSawt8S?= =?Windows-1252?Q?unBPfhQsez9SAdI12180tLC1mgSzLRc+r8uZ/sHC2AYS2H8CPKZ9T6GX?= =?Windows-1252?Q?X0vyjkGaWi3nyfeHdamQmXdOOSCxYD3u636JjI8SLv/i2WJnSxDcZ470?= =?Windows-1252?Q?oJnFKhlt/JKNIhCk/ecK/ZpRmBFLUqIMiqynf9nNE02aZV35ewSq+dhO?= =?Windows-1252?Q?HvVoIyyCsJHFcSs+LbY5zgTPwkkzQI6wSVVCOUMqSwWMJfHiS87ar5UV?= =?Windows-1252?Q?SdtH1LvuPE5HZU1obAhKfiJHgNqkhg1PIjf4apOSsbWzOAkEgxcf48VF?= =?Windows-1252?Q?6UXiekH+XSaHS9GOIUSJ3j2ErCJqG3Zxky0jKdWO+fv+HFAZtl0JkhT0?= =?Windows-1252?Q?doXPavbWbPniBd3JQVk5ITCU0FFJ6a43Of0vBRAiR+NsOZ3R0UbX6U/G?= =?Windows-1252?Q?QiRz4AaROVQdbweFbCWlkqhnkahuPLZ87KKQmQSWosWc+GXNlEb2Y5Cb?= =?Windows-1252?Q?Vj2uYQKKmYgSa/AdxCvSmojtLN+JjVbi8yC/0otGdy9hSNLbFrdHGual?= =?Windows-1252?Q?jf5yEeoFIScLKF4db0QU5kwAEcTfPLMzsBON0mkGpCsnLqiyb9JdGTTn?= =?Windows-1252?Q?HXOWzekwPeB0+RND6RrW2G6vcC217x69s1B4bk17FCIfj4GI0PaAQvsi?= =?Windows-1252?Q?YMxTHvOnTGWMat4KJez2VX1zprbmcGM5c3DSIXQanQHe56inVitcLeuW?= =?Windows-1252?Q?hr7xouGjpfTxEfQr6pwne8ee8xo9LxhQMwm621SAbdQoOCghLGlNwiuA?= =?Windows-1252?Q?9A7JIhq/2NU4dLNGiYV/fLxj1n02DaSywRY7KxJQfHZN3CE5Df37Jka/?= =?Windows-1252?Q?U5ze8Fmgo+3n7olntzTlLK4amJULwMWWYn534hB3t+XkituCwHVc7hj1?= =?Windows-1252?Q?XnI3o+XkQMq1RWgdTFuJ1RD9gmh9IIRXnZxZl0tICKcPndmxahalcLy6?= =?Windows-1252?Q?24Ci5E9on3XNPkvQZDpTcqR33yHEqNhAoH7lKVTZHwnbvu+R/hWDhJzE?= =?Windows-1252?Q?0CV/L30cb3Jc/H+vRRHWuoUF5a8rgdSnKKi2Os+f36N1PoYxI2k+iAYV?= =?Windows-1252?Q?Len9U10Fe8rWduDuRp5aM2M5U16kfuaVGMLzjK3/2xSQdL4LGLJJEDj0?= =?Windows-1252?Q?epMlW6VXoGFqVZ8vDGCMFymnN1YerVUwXlEoJeO/JkOB57JKhw57fmqD?= =?Windows-1252?Q?AZ?= X-Forefront-PRVS: 0354B4BED2 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6049001)(39840400002)(39850400002)(39410400002)(39400400002)(39450400003)(39860400002)(377454003)(24454002)(305945005)(25786009)(230700001)(53546010)(31686004)(42186005)(47776003)(72206003)(23746002)(36756003)(15650500001)(478600001)(2906002)(4001350100001)(6116002)(54906002)(3846002)(229853002)(5660300001)(90366009)(66066001)(6486002)(77096006)(31696002)(86362001)(65826007)(65956001)(33646002)(83506001)(76176999)(7736002)(38730400002)(50466002)(4326008)(50986999)(54356999)(6666003)(53936002)(189998001)(2950100002)(81166006)(8676002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR12MB1316;H:[10.236.19.127];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;BN6PR12MB1316;23:ad6ahPKqbcH3/abnHNLq0l1h+esYtg3wAs+Qx?= =?Windows-1252?Q?SDYk3MnDNKJkD90VzKOFJ+YQ65HFpaKLsK3DzJ+SQ0l1P2l2cWD1fbzf?= =?Windows-1252?Q?SLnL6RZnBBN68YJy3kEQbvCEP/EBWUp9IxhaW47lUy4pX3+XV5CutaL9?= =?Windows-1252?Q?PQuJ9v5yJKiYomAy1GfvdOuJEr7AfqpGAQKrBxNMq1qjaLvDlm+y6paz?= =?Windows-1252?Q?XXemN4M/BDZz5h/klRVa9RTF9J2Z1D1vn5MFF81ePqu8/lZiPclNw3P/?= =?Windows-1252?Q?f/PsJibSwKzni6zhICTnfKVVHLfItQvkes9XpYS4+1j8obCfUpSSlKL1?= =?Windows-1252?Q?vHuXwzfFiQulA9krTrbO+vvp6LQyijg2hvKyBKpP0LEDW0p9nBMG9NuN?= =?Windows-1252?Q?zqX8TZBTsNRYveVxI+NtNs5u7Bji5VVZcriRV7CUzz0XhZsVqiqFIOUw?= =?Windows-1252?Q?NBaYILnSdG1t71NMrawNUR7UyNvBqu7915qHQeXmz/OreRJBPPMemcmo?= =?Windows-1252?Q?yy8X8qiZ3kcmbClPVMnqmlCGkmRgrfv38UgEYSpU83g7O9qA7LugWMug?= =?Windows-1252?Q?C9kmp73sEDU4Rl2M1MuWu7N5AlkHvwwx8XJmW51RtaZtnmb6hoW4CZzI?= =?Windows-1252?Q?tzGSSMSRvY61i2emmhD7uRbUyyv3MFG3Be87J/Yi3d2b6TGYzTt7rCFW?= =?Windows-1252?Q?Y4IGoXGWzD/mh8WH8uozfouhICXIjttncsqRUqkZJVSwdyhWe49uk7/L?= =?Windows-1252?Q?m/QpoLYj4Ctan7xknrkCZ5vfpkihksqgcjjHHdH1RSAJjOH/UIffQzXb?= =?Windows-1252?Q?2Te8ozfKz8tv9hPwibuhuQJupPquYVY9t2lrgIn55Qi4+cEsO6jHeCXw?= =?Windows-1252?Q?G0VR2zqvKgzNQDpLFFf55fgmHRjnbPj/n6joaV5eHF3iT1gYYYnRa6dO?= =?Windows-1252?Q?F914EuvA0gYpaTIc0pM3D9d/H7VGDYyGcXv5rTeNhPXvH2TQC9FwHIRG?= =?Windows-1252?Q?4+gDbsCtLH8ZhToTjGbMalYaaBWFBPLxn0MvF/HaUHdaaVRqzQ1mbVmp?= =?Windows-1252?Q?y/hXTRcsrg0Yl7liom4Jg7/41p1/ZCoXCJzy2tvgvx3gmmu9LJVTm0Qo?= =?Windows-1252?Q?CxeZ2f1R/lQOdU3Qs1Jz5J4OIZTlfp/ZTiUjf+oI7IF0aqZ3UvQKrwuE?= =?Windows-1252?Q?iJXFfjeow52rVXDlbpMyjGskcbAZv7ARLG1CNBA7astOehiC70vWaDmQ?= =?Windows-1252?Q?PqJU+aft2ZThTTYQMyWX0k6YMk9E3Ml/PXCYTxUPsScZ2N67ADHtulWf?= =?Windows-1252?Q?m8e/FvQ+frlgJpG4o8C4Y60A1m9l1AWgz4GJjlevaTo/x5XtQFdYI7rM?= =?Windows-1252?Q?/0VB7ceIqJ5K64OHZd+c9AzJ3ciA2joEo+iyKYPkqRgTZgi+y+hGtVIb?= =?Windows-1252?Q?hA9cgl9xQOQICaiaAmP?= X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;BN6PR12MB1316;6:azJ3j7R5i2fsf1szx215de0KTq2M0k0v83b0gU?= =?Windows-1252?Q?bMJavR0kp9ySNmA5zaXbRB6F9OIyidFAyLvwfz995SrtQ6g9t5It6HvG?= =?Windows-1252?Q?yXAIX0bMahgpZBgPGOoloW3cUiZ5r2/9ZL42xsqLWb9HXN3MlMn4fRcn?= =?Windows-1252?Q?oFblOyq+aAIlpqhNEk7srvQXeRew81GOpF0C4Iedp82Y7ewvw4EJUYzm?= =?Windows-1252?Q?KeWbS8RY4OcqvK9t18Gv1D+8BAnybqFP5J6I3D/XxJdomQ4sGKWC7uBm?= =?Windows-1252?Q?U0rLLgqffjVDg5lP9SjQA9Njd9I6EeLhSywWeGuUEgJCXNibP4+A8QT1?= =?Windows-1252?Q?/sFovpOI4udkKZmFJfkBuUiXYeT5q3lw7SU5WJzYp5/HCYHBoHAtcFyl?= =?Windows-1252?Q?g5qguz93rYSYgM3fSsIXuohGr6FvbbV5L0ePWvn+HrxhZ/6dYzxLlKdc?= =?Windows-1252?Q?A7uwwcl+XfFgvneVs5NXHhjI2GeaaA0JhKaC7A9ZTQ+bNvMhfHp46uMI?= =?Windows-1252?Q?fPRWm2saQJopXoFnZ16RigtBD80MKeJq2vQtEh3+tUlLNe+7kX1bvhGF?= =?Windows-1252?Q?InZRzfQhjn2wfl/K4tEz96cOjwSs48MI+mYYyPO+PrSD2lWJqC6a49a4?= =?Windows-1252?Q?7NpWHCR5nYFKcZJk/qlpDoop9bi4j+Ouw4Om5bUCI4EA0A/awKPJ32ND?= =?Windows-1252?Q?xZamf7gaKyyC0GRDUtN5i9FYoEntQhixU0YHmb1m9YwOy8DU9UBq6eXw?= =?Windows-1252?Q?YAnujOHT0FFBaEwQbK1IGU2U1+Wv5vkplLce9BtmJVMJnOJhJeKkw4gu?= =?Windows-1252?Q?AKWXS85L+PXi6BhW9jA7yxhzjV4k/zSzC5QnqTeMq1yhIO4GwlXdNgzm?= =?Windows-1252?Q?MD5c8Wxnhql7WI7dIOw3KtIxoRP5+4DvOrF5mFxtj+y16VpKW9FEaxqp?= =?Windows-1252?Q?zhP4ba9SpTEnTfYjYiuNBEtjrUpsXBrQ581B7s5w1r46Ur/49L326G4B?= =?Windows-1252?Q?aw8nhrXhMrXBrp1lEeA9rGuAbYXza0/149ITEOmzpbyfBRTcJLGLOmp7?= =?Windows-1252?Q?DrSrHeIJo6y1I1kBVp4Glw82ckkl5+mXEo?= X-Microsoft-Exchange-Diagn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eeYYdGl7WnJ69oAvKOkYTal+d9aKKOOQBHCvSP2Q6eIvph4wRCjknpkerd9z4ALigTuG8liCf/HxTh2PSaaQ2FpKGX1m8h62SCfmbObDHVQhDvuGpDAdud1zimplRGXXB2Qa7qCkkHgA6yUCjR19Cg2hL23K9ASaQ/zD/B31f3bxDjqKbBL4ddBkn5plh6ij2u3EeYiubJOI50LbWFMbQDz3fvQIcBk9TnjSDu8U+ASaSUaQ2WzrF1nGYH9OkJW9+k7H2XWzpf/fPWiwm0QJrt0ItDZh4dQQLIrm47KyVlsCLeMn5pnHZ/k1Mfw/g6qQbdZVOGGyYKFqRgCYzwK4AxUQmKk7oiX/8cKwlrfgdgFC77aRZhDegBhBxy36QgQxiiJ/0r84WRmYtdHaF7SoPBaZFMawd+dEKpNQKx/uecRiJVE/zm1jTdMFj6yyj9o4= X-Microsoft-Exchange-Diagnostics: 1;BN6PR12MB1316;20:qLCu6Fn0zV6Ep41rqAJl3TeY1G0OkwmNm4yAMgd6+rgz81pN1W/Xklh5xRflfrJ98nOdsrpFDXfdHBCe21IBbr0TkAhjgZ/qcgKjOlGqy3YegDmomEYtIRl8FJee35sDSBCmyWrZo8/TrmsSTAvSAOyz4rf/QnDHV/01+Ex4qvKJH68Nkf+Oa1NNn+khHZBDPsF5SAdswQVtr3brhQ5sY8bRFX4aNnfAJogcbKCeu1JSJPsQZeYxD20XT9fZIwnO X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2017 15:08:16.9422 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1316 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1083 Lines: 36 On 06/30/2017 12:59 AM, Gustavo A. R. Silva wrote: > Print error message on platform_get_irq failure before return. > > Signed-off-by: Gustavo A. R. Silva > --- > drivers/crypto/ccp/ccp-platform.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/crypto/ccp/ccp-platform.c > b/drivers/crypto/ccp/ccp-platform.c > index e26969e..6020c4a 100644 > --- a/drivers/crypto/ccp/ccp-platform.c > +++ b/drivers/crypto/ccp/ccp-platform.c > @@ -66,8 +66,10 @@ static int ccp_get_irq(struct ccp_device *ccp) > int ret; > > ret = platform_get_irq(pdev, 0); > - if (ret < 0) > + if (ret < 0) { > + dev_notice(dev, "unable to get IRQ (%d)\n", ret); > return ret; > + } Good find. I'm all for better and more messages, but I'd like to see more detail here, and in the later dev_notice(). Can we have the messages better reflect the failure points? > > ccp->irq = ret; > ret = request_irq(ccp->irq, ccp->vdata->perform->irqhandler, 0, > -- > 2.5.0 >