Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp291538imu; Mon, 26 Nov 2018 21:39:17 -0800 (PST) X-Google-Smtp-Source: AJdET5fq7NuNbULjFjDkRcWaPrC4JL6dx2MlkzcObESLSS953ddETnqiNjFyEgYdqerTZz8Nqgve X-Received: by 2002:a62:3707:: with SMTP id e7-v6mr31406885pfa.70.1543297157350; Mon, 26 Nov 2018 21:39:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543297157; cv=none; d=google.com; s=arc-20160816; b=a2u2EUfu28x31n7B9vucrgO9VBLwUb5l0qTZFiu16cZB1410CrjBBHM0G78otHIiYp PVLuPcPP77v/SAmu4Z3Rz8ThPh/VPe4R/Mrgsq0QRUeRerkdlynPAD35FBRY2aGM9LHz pTHmNeVxEa8vcMHup8fzhoDCtc+r1m7nm2/sMjINANNHwrNfzGLazVTbdb1CmZVA4iff mPOlzZphpXQZbzHIhsIqyqkngXieBwkw6/czd3CshjlTZZs9QcArVZHb0XV1z5u6iIc5 Bx0wyUPssYCJOOljqzhaRuYNptQdg1Ugc3TFmjPcdgVDcXjYWQcCIglrjgGk1X2EHFyX ttcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=5VAsT/7SuTaT9Eh1kU37qB6B2ByxxSbGwbS0JlpneL0=; b=G+dof5AwsDGi9yA5DBWyEaAWo63Sbu9USzhMGBurq/pYowuo0zxUx6tRmLgLnfWqSX s2+xhoAap6DHs0j8qFQeSr1TBQAClDYaK7WEA6Mr0dTPXnoVJYUZ+ipu6JiUzLJrykC6 VeAOLnJEiJwP8tk018x/aBDcmOFFzJdecVkNYMX4+94DE8WkcbqaciLiPwI3JsWAvMQq rnOAWN6l9HWhl8VLlWQEEuhysKfOYRfBO+eNvoTcm7drIJ0xlwa1jPmzc6fjXRKNUDlh V8dqLEDVN5JZb/+Op484b5RX+te4EhOyoki+wvMXi3i9Pk81ZlF+HY8A6WMw22DAmLcc UbTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y5si2538078pgs.588.2018.11.26.21.39.02; Mon, 26 Nov 2018 21:39:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728625AbeK0QfA (ORCPT + 99 others); Tue, 27 Nov 2018 11:35:00 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:35122 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728147AbeK0Qe7 (ORCPT ); Tue, 27 Nov 2018 11:34:59 -0500 Received: by mail-ot1-f68.google.com with SMTP id 81so19064241otj.2; Mon, 26 Nov 2018 21:38:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5VAsT/7SuTaT9Eh1kU37qB6B2ByxxSbGwbS0JlpneL0=; b=ed3R9XcpRmrQcgKrrUr/qBxCAkmPUM6yZDBmWBW2BboAub3FH58xqCBk1qyxzJIBxV AlbdH9Ao5pnbmyCjfrJ7TM1pzzCtLdB4HuhsU6/Ir0jwOqGdMR/loJTAA33uuVtulchL T/605qOb2rRrIdxLNMyiV75ssslJBdUV8ZpWjAOnypL64izj9G7HYLe1SFqNDUk+F/m5 sjMgZTDvNz+jQf1htXVuYU4am9Y/nAYbJmEbhMUiTuQB6mdybZ2HLSTA/VhFVA9rH2NM 6BBtOB3NfSzQQfvvIXFZUvOtA4hqRbGlSjYgjc0Xy3fJfiuvkTooIN5BqAwNtNF4va2k 3dOg== X-Gm-Message-State: AA+aEWateElL+cUaowWRzmhNWSC6RdgO28yafaDXqyXZpZodXwCFthjx vD6AwiLyCrEkzI/kchIDqf7JpRKPzLMYLDi/TmhXCg== X-Received: by 2002:a9d:4a87:: with SMTP id i7mr17732904otf.178.1543297096977; Mon, 26 Nov 2018 21:38:16 -0800 (PST) MIME-Version: 1.0 References: <1543216072-9623-1-git-send-email-harini.katakam@xilinx.com> <1543216072-9623-2-git-send-email-harini.katakam@xilinx.com> <20181126143941.GB12116@lunn.ch> In-Reply-To: <20181126143941.GB12116@lunn.ch> From: Harini Katakam Date: Tue, 27 Nov 2018 11:08:06 +0530 Message-ID: Subject: Re: [PATCH v2 1/4] net: macb: Check MDIO state before read/write and use timeouts To: Andrew Lunn Cc: Harini Katakam , Nicolas Ferre , David Miller , Claudiu Beznea , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Michal Simek , Shubhrajyoti Datta , sai.pavan.boddu@xilinx.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew, > > +#define MACB_IDLE_MASK (1 << MACB_IDLE_OFFSET) > > I think you could use the MACB_BIT() macro here. > > But otherwise, > > Reviewed-by: Andrew Lunn Thanks, will fix this in next series. Regards, Harini