Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3498262yba; Tue, 7 May 2019 02:09:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPSEFcdNoFS/eNlYEWxcD6D6f0b5a/hGyV5rUfd3V2rUjTMRTzcDKz0Jc6/21heK2jWGqx X-Received: by 2002:a63:7d03:: with SMTP id y3mr37213421pgc.8.1557220146313; Tue, 07 May 2019 02:09:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557220146; cv=none; d=google.com; s=arc-20160816; b=Gk7Gk92D06Bxcs0XzaFqd6w1Gz+7TDl+fEkqbIpHFAhEkGEZi/sVPz6lSg3M59QNLV R7NqEd1yeez2b4hu/BhR0/jiFJu/dAYkU2bKkKXZHzYY4y+477RbGiakijDmBucEvN2E 8B1ThphDdP2o1rMeJW8Q+xH/NzgqvIuev7B4+avXDpd/IMVKkCtWmjqZCFHH4I7EOdVO OQ/a6BeOJLdbQGB0Y9d3YULQVrHRAVZeZGjaeWh8F8N7FtcXuPd6rI4rvDLS95TAnHIC ERRxREKu8THov/uU2Ih2rf51O0hJkbQc0DYR04rNm+N1Bb23DWbhBHMDgBQoQl9O2Xce thjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=7wsByCXPZu9DurNMv5rbttFNyOHg0NzqYQEWFM4RZRM=; b=dSaDmAFeSXnGMv/vv4el94Ldc02RIdgTL57nC74cjZoCMSVsXAZcrprm3Q+9AZrP0V stW5YkscDA5/URr2u18ZCE4JXaoE0oJloDpMzqCxNQ368EVKSfWVqHL/aR9TsUe7yW9l FHOnC5SEo2L8ygQtNYhv6SPDzV5IwO5KOds2T4D0JKyFmqkh1QpG8/olkgauJ5XNGjqm 3iEkmPktP08gI/MbolGUBjEtod2KvVnH/5L7+lW+zZpGvi/MISClzob0Eg+UwmpHC0l1 KSBTKwZwbBBcdKaZCvdDqq1+G7ntLkQh3bYkf7VbF2XTEkrcyaCS5nE86VP+XVQYMx4J MyIg== 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 j14si12946736pfh.232.2019.05.07.02.08.49; Tue, 07 May 2019 02:09:06 -0700 (PDT) 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 S1726376AbfEGJHv convert rfc822-to-8bit (ORCPT + 99 others); Tue, 7 May 2019 05:07:51 -0400 Received: from mail-vs1-f66.google.com ([209.85.217.66]:38890 "EHLO mail-vs1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726063AbfEGJHu (ORCPT ); Tue, 7 May 2019 05:07:50 -0400 Received: by mail-vs1-f66.google.com with SMTP id v9so2115025vse.5; Tue, 07 May 2019 02:07:48 -0700 (PDT) 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:content-transfer-encoding; bh=8lThRAo28vQwCl4DV4/hRXs4pusVcLZ06vXVXU+ReNg=; b=UApIQqVvCdCdwez208QOX/KvpZdg45Aw0SyxZfCSaIKvmTC3Ti92Vq/UATMBa5SBu0 aVW7JcE570usIfzi+EPhs6sES83dCX9JdSYqlMIgYmEWEZsWJ5pXlpBz2amqrOqKmn2S HRCKgtsXudML+kN1HaP80O+jVUcisFVihF4Tm7kZvmSNHnEV8YqrMFa7sW69rmvFKXxq I6WGi8bLazGmTgL0CMoJdGpH8sZWKbkugn22iU/ZleACG/dEdE/qGqK5ddMFUT3oZCSU 00uw5rwkoi8GboV2rX2qPUyuKgB9cOnkl4Jm3FRCvyDKwxinyWXBlvF4/wBgIMqscTxB kBTg== X-Gm-Message-State: APjAAAUheCQC4ZgSDlgnc5srBkUJAB+BMsNuBYUBsDbZ7vV/0EFOmtcR g+RR9/U/tsRKERARt6wI2blc7Fgu1o84vm3y1KY= X-Received: by 2002:a67:8e03:: with SMTP id q3mr15845324vsd.152.1557220063399; Tue, 07 May 2019 02:07:43 -0700 (PDT) MIME-Version: 1.0 References: <1557177887-30446-1-git-send-email-ynezz@true.cz> In-Reply-To: <1557177887-30446-1-git-send-email-ynezz@true.cz> From: Geert Uytterhoeven Date: Tue, 7 May 2019 11:07:31 +0200 Message-ID: Subject: Re: [PATCH net-next v2 0/4] of_get_mac_address ERR_PTR fixes To: =?UTF-8?Q?Petr_=C5=A0tetiar?= Cc: netdev , "David S. Miller" , Matthias Brugger , driverdevel , Andrew Lunn , Florian Fainelli , Maxime Ripard , Greg Kroah-Hartman , Linux Kernel Mailing List , linux-mediatek@lists.infradead.org, Frank Rowand , Linux ARM , Heiner Kallweit , Linux-Renesas Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Petr, On Mon, May 6, 2019 at 11:25 PM Petr Štetiar wrote: > this patch series is an attempt to fix the mess, I've somehow managed to > introduce. > > First patch in this series is defacto v5 of the previous 05/10 patch in the > series, but since the v4 of this 05/10 patch wasn't picked up by the > patchwork for some unknown reason, this patch wasn't applied with the other > 9 patches in the series, so I'm resending it as a separate patch of this > fixup series again. > > Second patch is a result of this rebase against net-next tree, where I was > checking again all current users of of_get_mac_address and found out, that > there's new one in DSA, so I've converted this user to the new ERR_PTR > encoded error value as well. > > Third patch which was sent as v5 wasn't considered for merge, but I still > think, that we need to check for possible NULL value, thus current IS_ERR > check isn't sufficient and we need to use IS_ERR_OR_NULL instead. > > Fourth patch fixes warning reported by kbuild test robot. > > Cheers, > > Petr > > Petr Štetiar (4): > net: ethernet: support of_get_mac_address new ERR_PTR error I didn't receive the patch through email, but patchwork does have it: https://patchwork.ozlabs.org/patch/1096054/ This fixes the crash ("Unable to handle kernel paging request atvirtual address fffffffe") I'm seeing with sh_eth on r8a7791/koelsch, so Tested-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds