From patchwork Mon Dec 5 10:35:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Divya Koppera X-Patchwork-Id: 2598 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2172556wrr; Mon, 5 Dec 2022 02:40:58 -0800 (PST) X-Google-Smtp-Source: AA0mqf7LZnZc6kcngjnyqgiDju3vSi0fuuyQEPbj9byA7iTXXDOJjyDza/R8bzcpkdy1gVrPhqp1 X-Received: by 2002:a17:90b:3c0b:b0:219:e2f1:81ad with SMTP id pb11-20020a17090b3c0b00b00219e2f181admr1906952pjb.19.1670236858275; Mon, 05 Dec 2022 02:40:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670236858; cv=none; d=google.com; s=arc-20160816; b=VD1qxL8qsRm7DFTNPGWR7GFghjz/RQqQ82ACWQlhC0I+pH0dXvO2tsunvBLDe9X34o Hsls3Xec/hpfMdLozzsou90c6rajraM3Y/5wDwr4/WOcFH405VSaffn0m4dqTZ5WvohC 6J9ZH4WgpV90fvRiYtY1mEekvF+xrMCnQXW/7xs7EQqNnDwmQTMroNVj4l4MXU7YBYUx +uyqeSH2gq2YG5H0Cd9fjywyEtYUg+QmQWFTVyFb2SkJiDWgLl1ho9NCpoW7ivCNLLdw D+198W66oJZkWLAINHjne6i3qnspNP79UZTmqok/J5fDL05LamuEjK8OP2tp2Irgp2Dk SzTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=w6OM1U8W7RPh6SMTi7m6+EHIL+RJq/Q+w16bW5vLqXw=; b=H/z9cVXdNt5z5rXpZ1i2/TLrVHjS8F0bJ0MML1/jo21U3rAFnU+AYe4XyalRxdhTj0 WKvTkYvL+Rlxcm0Hy+0b/CJrbnwFGIJpb3ig/6SS67OHyD2oNIe/tY5cmvtBIXuToeF3 PVObOv4eb5XiPZuxIFOzKr/HpCKflBhJkYpJIGwPoklOkkVGiPE32IhBKGDLtp5uksdk 2UFuPrLGKK/229nrCzp2WiUKRdmzgJvkzejRuHeQxIZDOi5sD5WfgR/D1RnwMrLAKXe/ WQVW1fkCsgEZX99aa2F1/NaJPUgeAJo06tCwUz+Wj7zqZPd8Mj2b4KYwCC/qwljcVlRv tOqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=zm5EUa1h; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jc18-20020a17090325d200b00174eef66680si13790469plb.120.2022.12.05.02.40.45; Mon, 05 Dec 2022 02:40:58 -0800 (PST) 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=@microchip.com header.s=mchp header.b=zm5EUa1h; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231197AbiLEKgD (ORCPT + 99 others); Mon, 5 Dec 2022 05:36:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229544AbiLEKgB (ORCPT ); Mon, 5 Dec 2022 05:36:01 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 833B4120A3; Mon, 5 Dec 2022 02:36:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1670236560; x=1701772560; h=from:to:cc:subject:date:message-id:mime-version; bh=Wdo83nd+UkE2clMU8uIx9XV2HbXSv9RcIg6To8usxK4=; b=zm5EUa1hz5Q8QIfNscsBUVO67evxFXKZz4L1g/b+KaFRktZe5Ey+h1NC dzE3hyRGdIaE4O4KNPhhchTjrFcAA9gYs8QzZv8qTsWD00d12PwkhSAqD Fm74pVtRg7JtE/enKq4r4+IwPt7VY1cEEe7J6IN6e67jpb61CfhSVvMyo vbRgOR7g+d6G+QFEHAln+ULcc18WWdxdBox4FHnpiu4vghkPt6P1204Dt cOT5wSaXxPIYPztx3ifrqU76MLHq7SFw1ieLLmGG21OhWqf5LC22dLNBi OhUu4NkDssH374x+vpaByYObFuk9k+CHyRsZaPUOwqPvxQQYyDIjHqZdu g==; X-IronPort-AV: E=Sophos;i="5.96,219,1665471600"; d="scan'208";a="191713793" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 05 Dec 2022 03:35:59 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Mon, 5 Dec 2022 03:35:59 -0700 Received: from training-HP-280-G1-MT-PC.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Mon, 5 Dec 2022 03:35:55 -0700 From: Divya Koppera To: , , , , , , , , , CC: , Subject: [PATCH v4 net-next 0/2] Fixed warnings Date: Mon, 5 Dec 2022 16:05:48 +0530 Message-ID: <20221205103550.24944-1-Divya.Koppera@microchip.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751370283578097884?= X-GMAIL-MSGID: =?utf-8?q?1751370283578097884?= Fixed warnings related to PTR_ERR and initialization. Divya Koppera (2): net: phy: micrel: Fixed error related to uninitialized symbol ret net: phy: micrel: Fix warn: passing zero to PTR_ERR drivers/net/phy/micrel.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-)