Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp882288rwb; Thu, 4 Aug 2022 12:45:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR7BGdQOVmoRzOEUI+QSZwMi9hatq2Y8uZP6a0QWTd+XGqUEU/nmPs2JmLcHIKw4/n3fufu6 X-Received: by 2002:aa7:d7cc:0:b0:43d:775:ee17 with SMTP id e12-20020aa7d7cc000000b0043d0775ee17mr3624015eds.54.1659642343254; Thu, 04 Aug 2022 12:45:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659642343; cv=none; d=google.com; s=arc-20160816; b=t4sCxlaTEIFKq379GMYJfzflzILIb54/PyDQVFlwJDhwQ6k6Bejkm9TWyaWzDErGVX GSYrPHAjcQKxzLO0D4YeY4sYeUtgSUsll6KqnhMbHRT89uEt6nFGoxce9Id8Z1T0aYWR CK8hErVH7o+zxYYXlR4QT1vP8n4PdrLxS29xL4018BWwCDbb7euWr3N22FM0jeTzGAsO 3OSJAc3TGMhVtMOLaA7sRWzM/V+pjdz0N9GwkEjckT832yhf2MNzyzYUKImiJL9wOypr 2nEuwbL7fs9N/mBHeFQuS89flsW12o2RYUPG4lSv21hClRNNcs2C5cRL9A7r6FLMm9Qb 1+Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=LfEECcIGnkpArzR5Ll3TH08+66DQ0SIx6/vom9YuIx4=; b=i0WeQNIVzVjjJHXi1T1Nke08d5W1MJcd64RgvKGoEvXGlFbQUCYH1ndbD/9uhszoZY jSFYp6KxxFsVSgcItMCfdeD9XL9rdrnOYK77WHdKAdXxzPXIV2X/qRPl4mlaS3KN0Dca R+0zQsnZ8NEh86Ekz5A/2d4cOb8bSV+NTVr3ZnygK/sPVyNtZRGJW33nDDhuPdeM54YD PK8GLrOQJaEzxk5Y3TyqvkgyKTcw6/FjqUNVXRIN66/5+pzQP5ohA3/xOB8qJ9+iVCFz dULCQxjrELMTcP3v5FRKeINC7MNjTG7l47dUlm4fztR5spLk4QpaqaEWTFiI58Hic9s3 L/MA== ARC-Authentication-Results: i=1; mx.google.com; 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 sc37-20020a1709078a2500b0072ee427f1e6si1599680ejc.934.2022.08.04.12.45.18; Thu, 04 Aug 2022 12:45:43 -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; 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 S237103AbiHDTFr (ORCPT + 99 others); Thu, 4 Aug 2022 15:05:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235155AbiHDTFm (ORCPT ); Thu, 4 Aug 2022 15:05:42 -0400 X-Greylist: delayed 2772 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 04 Aug 2022 12:05:40 PDT Received: from fuzix.org (www.llwyncelyn.cymru [82.70.14.225]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B044513F06; Thu, 4 Aug 2022 12:05:39 -0700 (PDT) Received: from fedora (82-70-14-226.dsl.in-addr.zen.co.uk [82.70.14.226]) by fuzix.org (8.17.1/8.15.2) with ESMTP id 274IJDDB692633; Thu, 4 Aug 2022 19:19:13 +0100 Date: Thu, 4 Aug 2022 19:19:13 +0100 From: Alan To: Dan Carpenter Cc: Arnd Bergmann , Greg Kroah-Hartman , Andrew Morton , Alan Cox , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] char: mwave: fix return type in ioctl Message-ID: <20220804191913.6f52bb6f@fedora> In-Reply-To: References: Organization: is over-rated X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS 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 Thu, 4 Aug 2022 10:06:38 +0300 Dan Carpenter wrote: > This function is supposed to return zero for success or negative error > code on failure. Unfortunately the "retval" is declared as unsigned int > and the function returns type long. That means that on 64 bit systems > it will return positive values on error. Not sure what tool folks are using these days to figure out who to mail about Linux bits, but could whoever maintains it stick alan@lxorguk.ukuu.org.uk on the ignore list for it. Thanks Alan