Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753988AbdHXQ2l (ORCPT ); Thu, 24 Aug 2017 12:28:41 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35329 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752875AbdHXQ2j (ORCPT ); Thu, 24 Aug 2017 12:28:39 -0400 Subject: Re: [PATCH v2] scsi: lpfc: avoid false positive gcc-8 warning To: Arnd Bergmann Cc: linux-scsi , Linux Kernel Mailing List , Hannes Reinecke , "Martin K. Petersen" , "James E.J. Bottomley" , James Smart References: <20170824003440.4270-1-jsmart2021@gmail.com> From: James Smart Message-ID: <59c13631-2586-5aa8-4bc1-fdc416bc2dc5@gmail.com> Date: Thu, 24 Aug 2017 09:28:33 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 601 Lines: 18 On 8/24/2017 4:01 AM, Arnd Bergmann wrote: > > I have also come up with a different workaround of my own > (sorry for the broken formatting here) and tested it successfully > over night. I have definitely spent more time on it than it was > worth now. Let me know if you prefer that version over yours, > then I'll submit that as a proper patch with your Ack. > > Signed-off-by: Arnd Bergmann > > --- a/drivers/scsi/lpfc/lpfc_debugfs.h I'm ok with either solution. I prefer less change but this is a trivial thing. Signed-off-by: James Smart -- james