Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57797C433F5 for ; Fri, 7 Jan 2022 06:52:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233111AbiAGGwT (ORCPT ); Fri, 7 Jan 2022 01:52:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229729AbiAGGwS (ORCPT ); Fri, 7 Jan 2022 01:52:18 -0500 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94E3FC061245 for ; Thu, 6 Jan 2022 22:52:18 -0800 (PST) Received: by mail-pg1-x536.google.com with SMTP id f8so4703210pgf.8 for ; Thu, 06 Jan 2022 22:52:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=R1MbqjjHlpwAkbujyAZzAl4HorX8RJtW6RCBhq0VRmY=; b=YGZ+fwK7uqgnP0cbS69isHiEPZLNAEUtfGVRtBCLnZ5PLeTKmf6u3zi1tDvyhu8GAQ 6n9orQGMOmMPhW0HXwEZeIc+Anb2vxbXdrNIlWYJabmqm7X4v1WGQLGsi/4I9HCM7hdi GQhd6gsSYJd5w/MV1lpxTdSLbonKNKQDrw2Su3mQmODioS10xcI8yoteiU84uD7niwEr sZf0CqAEZzZWj3R1iNXNoAzlAxMouhS73dSJ/mUHOPNkdTpcmz2MW8qiregTvN1Lt6Mb n5h82aaGl997KWtEtv7b65/DE7Rg09jh2cif807kcbKgEIHV5zai3X3DueheuOuxJjFn gnng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=R1MbqjjHlpwAkbujyAZzAl4HorX8RJtW6RCBhq0VRmY=; b=W48lKJ3wTl1500nG1RnrMwjE3fPCHNI5UOEelswlMSPfUjN7d8OfdV4/THXB+1E/KW YZQ5U/egYwteg++pPJqbXr/6OAvdY+Q7BAk+OG8asewKnMd6w6+urwd0LyoIrdbzTPNz 9wwtawLBUz+f9/pQwgnZs5xtHbhqVDGpm6gTmwnbTRwOlZRb5fu3zpA1aDJeu0h3X8LY wFm7h3KKxJnIhv2vKnPh+Wq6HJ6M3sOn5/8kFJxQaxoGo225sUacYrzQNzRVPvqdrng+ lfkKQ9WDwkBAIpDQt11UUQoIcej50WVgyIHmb8Wc+knGPeCxHuajwK542EgLdoa6Xr+n +shg== X-Gm-Message-State: AOAM532qrUGYbFXrlGSOmDaClKl3mX2bPIcEcW8dvE0aen/uTbJL1b/e ONo5wUGTt+4Th+aXU8ngJvo= X-Google-Smtp-Source: ABdhPJySAFJK6FIQ6td62XvHq169EysjllUEfbwhF5Wjwe6eFzSfyCJUAsyXZAyybo1q4XAiC2E60A== X-Received: by 2002:a05:6a00:892:b0:4ba:12d5:1d4 with SMTP id q18-20020a056a00089200b004ba12d501d4mr64311542pfj.46.1641538338089; Thu, 06 Jan 2022 22:52:18 -0800 (PST) Received: from nlap2 ([171.78.146.184]) by smtp.gmail.com with ESMTPSA id g9sm4688248pfj.123.2022.01.06.22.52.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jan 2022 22:52:17 -0800 (PST) Date: Fri, 7 Jan 2022 12:22:10 +0530 From: Abdun Nihaal To: Greg KH Cc: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, straube.linux@gmail.com, martin@kaiser.cx, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] staging: r8188eu: change functions to return void Message-ID: <20220107065210.7utcwjenvcspydyk@nlap2> References: <9db6b08837bd6354c8e07a4b1c4bca662091f945.1641490034.git.abdun.nihaal@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Greg, On Thu, Jan 06, 2022 at 06:58:50PM +0100, Greg KH wrote: > On Thu, Jan 06, 2022 at 11:11:52PM +0530, Abdun Nihaal wrote: > > Some functions in ioctl_linux.c always returns 0 and their return values > > are never used. Change return type of such functions to void. > > > > While at it, align function arguments with open parenthesis to fix > > checkpatch checks. > > > > Suggested-by: Greg Kroah-Hartman > > Signed-off-by: Abdun Nihaal > > Are you sure that checkpatch allowed this change? Yes, I ran checkpatch on both the patches and found no errors, warnings or checks. Is there something that needs to be fixed? Regards, Abdun Nihaal