Received: by 10.223.164.202 with SMTP id h10csp302720wrb; Mon, 6 Nov 2017 06:55:45 -0800 (PST) X-Google-Smtp-Source: ABhQp+RGL3c58Rq44bKW2tP/t5IseHP1ihsxwfkuDooTO39Rfl8auDfA3D1VPnWCACchSqQrKrsm X-Received: by 10.99.123.14 with SMTP id w14mr15127099pgc.387.1509980145487; Mon, 06 Nov 2017 06:55:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509980145; cv=none; d=google.com; s=arc-20160816; b=C3BxKY4LtqLHnIcMK1jSE/AeF5A+juDy4T/p9DKsT+sOTlP35G8yCLyJNK01+s1J29 MbSlDFh9dnBmdB03YLAumyqjctDWR3W7K3raaB1av4Nv5ptkK0VNgj11sFEV27VbTIs5 y+4nSEYUMdTqwXMiKX37AVU6FW66FXzdBdtqGbEI+dvH9g/tHQt02ibSVDFD/nlGNVD+ vBUWKCgEmfmAnwY0WgPCHFl2Zhpno6JHlgE1yJN/R8UHaoPsFydV6Q+21V89bH9S13WG 79VxyRyvGSmQvoBmpe9etAGG6h5qntS8nvKYgN+yMjfdfhhkUrAA6dwMrVOH/7WNyufm eNNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=v3oC1LmjWnNHb7EcbnF7z9US36Kv3+uJKduo6zkfvfM=; b=pnv6Q8MI3xTNYmQt/gJnKH9HaYxXYFDtPpNg9f1re7BD0wX4Iba6KLohsS+C9URAQz ehIVlh2E4mp70dDBBRxSUlbD2bgXh63l1QI4/m7HwDyxTRuBwIpyumKt+XzaEhXv2Qle Lo62Nyg5dmr2BBQDZKCB5SOhs3Z86xb1X10yLz3pGddO4+iWWWKbdTkWYLnqGcCnzM9m R1E7CIdTAxSRGK4OcKR/Q7WCdgBPpt6sz+vlgXeMLMmIVUBMo6vbdaldCQNQ6fF3JliQ 8ttkI+wuIr91b4jYMGePUGz/GLeBA4Ccz52mgU5FZVDDwC4jvsw4pVCvRn1KzJNVT6c5 O5ew== 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 e191si10936821pgc.788.2017.11.06.06.55.31; Mon, 06 Nov 2017 06:55:45 -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 S1753599AbdKFOyt (ORCPT + 97 others); Mon, 6 Nov 2017 09:54:49 -0500 Received: from mail.savoirfairelinux.com ([208.88.110.44]:53982 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752961AbdKFOyr (ORCPT ); Mon, 6 Nov 2017 09:54:47 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 79B529C1A3A; Mon, 6 Nov 2017 09:54:46 -0500 (EST) Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ntq7QbvLe7Wa; Mon, 6 Nov 2017 09:54:45 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 9FD6B9C1A50; Mon, 6 Nov 2017 09:54:45 -0500 (EST) X-Virus-Scanned: amavisd-new at mail.savoirfairelinux.com Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TL-fzEXuDzpc; Mon, 6 Nov 2017 09:54:45 -0500 (EST) Received: from localhost (unknown [192.168.49.104]) by mail.savoirfairelinux.com (Postfix) with ESMTPSA id 755FF9C1A3A; Mon, 6 Nov 2017 09:54:45 -0500 (EST) From: Vivien Didelot To: Arnd Bergmann , "David S . Miller" , Rob Herring , Frank Rowand Cc: netdev@vger.kernel.org, Arnd Bergmann , Sakari Ailus , Grant Likely , "Rafael J. Wysocki" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [net-next?] of: add of_property_read_variable_* dummy helpers In-Reply-To: <20171106132627.150459-1-arnd@arndb.de> References: <20171106132627.150459-1-arnd@arndb.de> Date: Mon, 06 Nov 2017 09:54:44 -0500 Message-ID: <871slb1mq3.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, Arnd Bergmann writes: > Commit a67e9472da42 ("of: Add array read functions with min/max size > limits") added a new interface for reading variable-length arrays from > DT properties. One user was added in dsa recently and this causes a > build error because that code can be built with CONFIG_OF disabled: > > net/dsa/dsa2.c: In function 'dsa_switch_parse_member_of': > net/dsa/dsa2.c:678:7: error: implicit declaration of function 'of_property_read_variable_u32_array'; did you mean 'of_property_read_u32_array'? [-Werror=implicit-function-declaration] > > This adds a dummy functions for of_property_read_variable_u32_array() > and a few others that had been missing here. I decided to move > of_property_read_string() and of_property_read_string_helper() in the > process to make it easier to compare the two sets of function prototypes > to make sure they match. > > Fixes: 975e6e32215e ("net: dsa: rework switch parsing") > Signed-off-by: Arnd Bergmann I missed the missing stub for of_property_read_variable_u32_array with !CONFIG_OF. Thank you for the quick fix! Reviewed-by: Vivien Didelot From 1583327540485083526@xxx Mon Nov 06 14:33:29 +0000 2017 X-GM-THRID: 1583323619223233215 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread