Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9790491rwd; Wed, 21 Jun 2023 11:55:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7RGxNqBLW8mglyfNKBr2YhIVQQwrJcFHsuQxf4bCSUn8h32HcXBkWpThmwiFLJNa7N7hJm X-Received: by 2002:a9d:6e05:0:b0:6b1:69a2:8a48 with SMTP id e5-20020a9d6e05000000b006b169a28a48mr16056760otr.26.1687373727356; Wed, 21 Jun 2023 11:55:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687373727; cv=none; d=google.com; s=arc-20160816; b=oo/qCj1Zha/S6cA6Ts3bdiv13f1vtUYtNnaPcFrAyGutnYjBxMJM05uwArnt+iIY62 CxyKqhJgMJLcRIqZsC9h434Ap0hwUOS18wp8Dl5ttgSLxgK77v92CXQfI5B2MvhiqygJ 3bSsbzclYt0UFySu9Afr0SdiOwZNRkaPmZwITXJACqLnxAoND8I8A8ueWfwd0HugfXRx bomhGkwQUUaNI+rAGoKEDpZ6w0T6IpDqZ/X0HsCbM/fI02w/faNyvlyfIA3LYPUKoJXG B5R6lR2yAASv49VjDPukkQP7wBFlUZHVllZgbGybISYE28hqmgclshLHUPr4YD/ZRMdk Hxiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=x/qYbwCgeTODxK3PDO1cDsIUXATfTIrzjbo84n1In5g=; b=By7BndtmqvlgUGqqRGTkNC6HiGKpIEudju0NbEzvg3U3wqcSdP7p7LmZoCUP0ohphI c4J+ugQRIPSYo60CnFhGUy967kX0+Pag4Vg6AL7j4j0IIIiZzqbvZAULWNIz5purnFzV ECVArZBDB3GHyYQHNAdh+hAyT7UfUw53SyaPIFhyQs0XcwIbnnYiBD0wk3KAKBnizXHv 2kWV8FwO4wV88IlVHReN1oPIoJ+1zqbvTy6sPBrXXP4ZJbOR3iCmrUhCWNuQBlaNhrE0 9Jv3i19ZMXJQPmTfh9zAyD0gYpL94/+QOUr6IWezHc8l1YgAfSgFbQL4OSXUCcPndo/a HZPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=k3bxJ4Bk; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=oGU8w+WK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k130-20020a633d88000000b0051b9ce24708si476649pga.103.2023.06.21.11.55.14; Wed, 21 Jun 2023 11:55:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=k3bxJ4Bk; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=oGU8w+WK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231271AbjFUSmj (ORCPT + 99 others); Wed, 21 Jun 2023 14:42:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229692AbjFUSmh (ORCPT ); Wed, 21 Jun 2023 14:42:37 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91BC91A4; Wed, 21 Jun 2023 11:42:36 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 8A3613200929; Wed, 21 Jun 2023 14:42:32 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Wed, 21 Jun 2023 14:42:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1687372952; x=1687459352; bh=x/ qYbwCgeTODxK3PDO1cDsIUXATfTIrzjbo84n1In5g=; b=k3bxJ4Bk+KdKGDC6iP NAMvzQN4/RjQw/6gXQhMqzp3gaCrd+g5mkQeJ0gDVZZTifuV0Hdf52eRgZC4qXuE hrYOGRC8P643mobNjDowCTIkml2swgMRd0NrThRxyYR5/GtSJwe497vrGbSTr05y hs6wqsACFyJunGhPtW9Af0TfzXQu+owv65gXQGkNqG9WK4jEuvd5wsq2OPlJnFTb LJ4KkEZA6xMJIE0Qgxtfq+BsTF+0ZqdAff6kBwJ8RZsv+w+wFHMG/QGvMjb2Cs21 OFQ8CSqR+vZzvNHOoWPROoxrWnLo0oSab2S45UMQjM/3STigTVpGEXYDovBLq6pR s/Dw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1687372952; x=1687459352; bh=x/qYbwCgeTODx K3PDO1cDsIUXATfTIrzjbo84n1In5g=; b=oGU8w+WKcCwQz6HGxT7sMFhklHoJj IP6vYl1XK8kgKRzVyD9RlpGvgtw0tH844DbE6G4B4Wi9NvbrBDEV+a6JxPYveQLr S3iiWW2Mxku5kpz5tPKOHtrFXYrSt3LGQrOYB8u3E6fNo4Ow0e6AFcxXmTm/TGcj bejiTaVT3/UbyK2RAD2hwRMDeZbwqTuwfTrAauWumm59vI3Mw/5+9j1N0bR18WKc oYXSS6M701zIAM94UK6TJj2ybF9LkljwOxI3KyoHmEvWq3sp/iMUwNOxgkVd/yb/ O3up9hgspAT0D5/p6OmVKe/pAqrnETWAMLyr9Cgp8PkIoJ1l0CcUUJmfA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeefledgfedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 95EF5B60086; Wed, 21 Jun 2023 14:42:31 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-499-gf27bbf33e2-fm-20230619.001-gf27bbf33 Mime-Version: 1.0 Message-Id: <336f2156-220f-47ff-be97-5a2a9c475372@app.fastmail.com> In-Reply-To: <202306211131.18885FF471@keescook> References: <20230616092233.3229414-1-arnd@kernel.org> <20230616092233.3229414-2-arnd@kernel.org> <202306211131.18885FF471@keescook> Date: Wed, 21 Jun 2023 20:42:10 +0200 From: "Arnd Bergmann" To: "Kees Cook" , "Arnd Bergmann" Cc: "Anil Gurumurthy" , "Sudarsana Kalluru" , "James E.J. Bottomley" , "Martin K. Petersen" , "Azeem Shaikh" , "Bjorn Helgaas" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] scsi: bfa: fix function pointer type mismatch for state machines Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 21, 2023, at 20:33, Kees Cook wrote: > On Fri, Jun 16, 2023 at 11:22:10AM +0200, Arnd Bergmann wrote: >> >> Signed-off-by: Arnd Bergmann > > Thanks for all this! It's a lot of mechanical changes, but looks correct > to me. One nit below... > > Reviewed-by: Kees Cook > >> [...] >> static void >> -bfad_sm_uninit(struct bfad_s *bfad, enum bfad_sm_event event); >> +bfad_sm_uninit(struct bfad_s *bfad, enum bfad_sm_event); >> static void >> -bfad_sm_created(struct bfad_s *bfad, enum bfad_sm_event event); >> +bfad_sm_created(struct bfad_s *bfad, enum bfad_sm_event); >> static void >> -bfad_sm_initializing(struct bfad_s *bfad, enum bfad_sm_event event); >> +bfad_sm_initializing(struct bfad_s *bfad, enum bfad_sm_event); >> static void >> -bfad_sm_operational(struct bfad_s *bfad, enum bfad_sm_event event); >> +bfad_sm_operational(struct bfad_s *bfad, enum bfad_sm_event); >> static void >> -bfad_sm_stopping(struct bfad_s *bfad, enum bfad_sm_event event); >> +bfad_sm_stopping(struct bfad_s *bfad, enum bfad_sm_event); >> static void >> -bfad_sm_failed(struct bfad_s *bfad, enum bfad_sm_event event); >> +bfad_sm_failed(struct bfad_s *bfad, enum bfad_sm_event); >> static void >> -bfad_sm_fcs_exit(struct bfad_s *bfad, enum bfad_sm_event event); >> +bfad_sm_fcs_exit(struct bfad_s *bfad, enum bfad_sm_event); > > This bit doesn't seem needed? i.e. why remove the prototype's argument > names? Right, my mistake. I went through a few revisions and first tried to change the prototypes here, but later changed them back. I missed this after I folded my intermediate steps back into a single patch. Arnd