From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by gnuweeb.org (Postfix) with ESMTPS id B047E7E358 for ; Fri, 1 Apr 2022 01:14:18 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=kernel-dk.20210112.gappssmtp.com header.i=@kernel-dk.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=RoGeouT6; dkim-atps=neutral Received: by mail-pl1-f178.google.com with SMTP id j8so1119522pll.11 for ; Thu, 31 Mar 2022 18:14:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=UHcsDNSAqcoVLPy9AJklaxy3ML0l8I82/+kzq8V+/S8=; b=RoGeouT6mfzFpbeFAbZkQTIBg6B1h4Rr4yI4b7WprYZhrMuQ8F42pyb7bYrTrE0epI GmBrmGyC5zOBxLxriztXewBzO/spXAwRXAoXm08pA9r+PgIVy0iX0JqoZSSN1Qw16k9h INv2edEWYZIYbEHLWWQ2nd4gBRYIxlvq5h2NPupS2FAVaTysqtvRaWJrETbrxf/TAjAZ Dyto7kjvrB96ZgM11mOqMMyTBHG8IcCyszeUjMDJZJn4fFwpNMQ7l1fwyV9MqUk6t6Wb dyTGVcqtNt+UMu7fOALnhwzU1jcy5HosFQBMCY+IR2mQ5hNSImmCGahhX6XUyTx7Zooj 1heg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=UHcsDNSAqcoVLPy9AJklaxy3ML0l8I82/+kzq8V+/S8=; b=zlLuFy8xuPiq1V0NxQeOSJttxUKqWrxhjM15+vFhU1i+3IoKgHiOOWaWakoLwklEYA +hjgwvLI1cDWqAPER5CAcX45ZhGPVmwWWYnGPSv+nxroZXVIYdZ4GmrEszcyrcDJEJWh eupN9tANbQduO3i+K0kzu6zxiZzX4doltSzgYWDeCZip1DOcJcHDhpb3tWGDsWWIfJp8 /5xaE82aOiYOtVVoCETKzOo685HngRSHZ2NuqZCiIAu5A2Zmiq6XqLRygulO1Bp6ay8+ 8hk4uFkWRlURlmfRUix7skT+ViCSXcO6xEV9UrEc0yX88ExuIlrhvBTKdO3aXpMGAbsA PI+w== X-Gm-Message-State: AOAM531S5QHdPcf03d03Le3cMHp3itF+/1suUixWU3RpZ/EX9LVQ2D5b RnkO85r85qw35QI42IOg6RpI1A== X-Google-Smtp-Source: ABdhPJx8I/9l9oKfm4L703TA0Sozoi0hqwiq6npCgqIQd5LYEJPBBnerHggJsEcYzdGLGFUMZfZnTg== X-Received: by 2002:a17:90b:3697:b0:1c9:a980:3af2 with SMTP id mj23-20020a17090b369700b001c9a9803af2mr8836055pjb.217.1648775657910; Thu, 31 Mar 2022 18:14:17 -0700 (PDT) Received: from [192.168.1.100] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id n14-20020a17090a394e00b001c670d67b8esm529868pjf.32.2022.03.31.18.14.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 31 Mar 2022 18:14:17 -0700 (PDT) Message-ID: Date: Thu, 31 Mar 2022 19:14:16 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] net: fix err_cast.cocci warnings Content-Language: en-US To: kernel test robot Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org References: <202204010757.kWpiiHMi-lkp@intel.com> From: Jens Axboe In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: On 3/31/22 5:33 PM, kernel test robot wrote: > From: kernel test robot > > net/socket.c:1571:9-16: WARNING: ERR_CAST can be used with sock > > > Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)) Thanks - since I haven't even posted this yet, I'm just going to fold in the patch. -- Jens Axboe