Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1080233ybh; Sat, 7 Mar 2020 18:24:06 -0800 (PST) X-Google-Smtp-Source: ADFU+vur+AWbQEGsdmUrEpoU7iVK5K+ZzqdjrEtVC+unLxxhEMOJH4Pm5+9BD/R/VZrJ4UHXlggA X-Received: by 2002:a9d:6256:: with SMTP id i22mr8113923otk.106.1583634246850; Sat, 07 Mar 2020 18:24:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583634246; cv=none; d=google.com; s=arc-20160816; b=ORQjF+zMsbd1kIpXwEFxHKZuC4NB4bfB4jQ5olGkMefGdvxm3/ajjzRYkqzU4NTK1Z RYkz+D9hywnw5JPaE0P8vnMs5HPM3lsw7y0grw40anwlkBYfope3hcGgh1gUe4Yt4gOT 3DKDaJrNgmZnPXBp+kUG3/vgCvj3TA2CoekdoV8IPxAqyhuARrOcoV6yVbkXBjraWueS jlhNhfy11lfEH6Ks5lYrTLm7mwJ2pA9KMuIzhM6mmXukZbWBUh62m1UGyVaT7TDC8lVj 5ObqJYYkovZLX1HadmO9GRUOXlkG9f/kRnGJgin2/4IxguWS+V+i/Xl3RVJhckC/fPZZ w4fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject; bh=prRadkOgljmcVFZ0EQ43osDjYhqzZ8ylMyUcgnXfTLI=; b=t0tRQNZh/+tc35X8GyIwmq/uniaMfVZUAnUDNNBT2fV4m3IPBGlZ0ug4/zZS6UZLoA cHoJY+ZDRJHt9xZ797qbe3+bvM0xAxsYtVJDQSHyHWTwCswneLyKfquuFntO1pmZi2eK AonV9plkPfhGXrvUkuXSriEnJNbfdO8PE6x+x15V1srnxp7aWRnW9AsFZWIbdwCGsXGC B0vNcGPhc01PcBzagKtWkyDECfnvl6/w5nvZQtrUA9ejPq73CFBN/Kc66i7XSORGOa6P l6UiGuOr5J4IPfTIcuI7ZwIo8vAhIVMZ+yB6rqih0L/XNf0tuWN5y2peuU2jW17DqVeK BTTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d3si1932403oia.236.2020.03.07.18.23.55; Sat, 07 Mar 2020 18:24:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726269AbgCHCXk (ORCPT + 99 others); Sat, 7 Mar 2020 21:23:40 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:40876 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726138AbgCHCXk (ORCPT ); Sat, 7 Mar 2020 21:23:40 -0500 Received: by mail-pg1-f195.google.com with SMTP id t24so3042551pgj.7; Sat, 07 Mar 2020 18:23:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=prRadkOgljmcVFZ0EQ43osDjYhqzZ8ylMyUcgnXfTLI=; b=t+PyG7exAmaLMMrfercqQWvZ3tnDuEiKKh/KGEBxXuJOGbZGnWhE7PpOHipdbHHNxU fZ/CqgNTLSO2RAP5OfK2KXlLcK7xJ7TJ8ZmAmoHW+zkAemmUAHb+7iLh368g9gXc4CEQ bckl9jc2wXTP31Y1WnRiRUFvAebv41YxUoo4ra04eXuRxov4x9uRllu2184woQQseinr 27gYbI5Vo6N5me5EV8RIaNzv08YVyLHXVLieQARZ+kCmTIEQN4IuVZI378V47+BAsW8j jQqRVBF+dfan88uzvIdBIoyb/TwnuQW3yDE8ezIUueEYfD43OQSviRHaLYwrnFnLkQH6 oS8g== X-Gm-Message-State: ANhLgQ0eA16H5TI5QKNZK/TxABZ0EN3qIvZz3uMpOCy6Z+rhr6EYRiJM 3N1/6r9PRx9ZHpA3Mn9nKR0= X-Received: by 2002:a63:fc1c:: with SMTP id j28mr10281377pgi.289.1583634219265; Sat, 07 Mar 2020 18:23:39 -0800 (PST) Received: from ?IPv6:2601:647:4000:d7:b9ba:8890:46d5:d60d? ([2601:647:4000:d7:b9ba:8890:46d5:d60d]) by smtp.gmail.com with ESMTPSA id ay10sm13897002pjb.37.2020.03.07.18.23.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 07 Mar 2020 18:23:38 -0800 (PST) Subject: Re: [PATCH v2] scsi: aacraid: fix -Wcast-function-type To: Phong Tran , aacraid@microsemi.com, jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, keescook@chromium.org References: <20200307132103.4687-1-tranmanphong@gmail.com> <20200308020143.9351-1-tranmanphong@gmail.com> From: Bart Van Assche Autocrypt: addr=bvanassche@acm.org; prefer-encrypt=mutual; keydata= mQENBFSOu4oBCADcRWxVUvkkvRmmwTwIjIJvZOu6wNm+dz5AF4z0FHW2KNZL3oheO3P8UZWr LQOrCfRcK8e/sIs2Y2D3Lg/SL7qqbMehGEYcJptu6mKkywBfoYbtBkVoJ/jQsi2H0vBiiCOy fmxMHIPcYxaJdXxrOG2UO4B60Y/BzE6OrPDT44w4cZA9DH5xialliWU447Bts8TJNa3lZKS1 AvW1ZklbvJfAJJAwzDih35LxU2fcWbmhPa7EO2DCv/L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/zjVrhhfUAx12CzL4oQ9Ro2k45daYaonKTANYG22y //x8dLe2Fv1By4SKGhmzwH87uXxbTJAUxiWIi1np0z3/RDnoVyfmfbbL1DY7zf2hYXLLzsJR mSsED/1nlJ9Oq5fALdNEPgDyPUerqHxcmIub+pF0AzJoYHK5punqpqfGmqPbjxrJLPJfHVKy goMj5DlBMoYqEgpbwdUYkH6QdizJJCur4icy8GUNbisFYABeoJ91pnD4IGei3MTdvINSZI5e Message-ID: Date: Sat, 7 Mar 2020 18:23:37 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200308020143.9351-1-tranmanphong@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-03-07 18:01, Phong Tran wrote: > correct usage prototype of callback scsi_cmnd.scsi_done() > Report by: https://github.com/KSPP/linux/issues/20 This description is confusing. I think a better description would have been "Make the aacraid driver -Wcast-function-type clean." Anyway: Reviewed-by: Bart van Assche