Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4799915imb; Thu, 7 Mar 2019 00:26:46 -0800 (PST) X-Google-Smtp-Source: APXvYqy+UbF3DKXyHe5sYWmpd1/brYASH9lUbcEAvBBIr7U0BPAdow8jbQYyy9oPCT1Ch9JIfa5n X-Received: by 2002:a65:5c0b:: with SMTP id u11mr2004912pgr.352.1551947206377; Thu, 07 Mar 2019 00:26:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551947206; cv=none; d=google.com; s=arc-20160816; b=y7epkFkm9HyaMIjmCA/gRhOtNyoch5dlfV9qURAvzNU1j4T+4DF4M+W4DBlXJkQVUp 4wuNyCYAHIkNZOCUjDWe6PhPxCrMj/v70daem6XHPeETg+7mlNrSSsjj+FJ7xaTvZ145 TY5YU7unkkGS+N2nhdLMZUTiXC5NYNZ/s0rw/67xaZry5eGU2/L81hYDBATfkhoo/6wn 3o18sR+MfkHeNIT+HTglGb+vFkgIW0ooL5RoRddOhc1EJHfb0XJAmKoOhePKknJFFZ3C r+3Nh86zNXF/Sd3yoabllE2XuoZhQajjyFcMwweL89tmIQAwwZ3O1FRjv6ysw/2julvG IYCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=qX5mvrSF+M2Cu8e8rY7wQGBn+1AegkMzGlK3+dCqZaQ=; b=HG/gO8R/TzponktWgc+2pv/u6NNqVKzSZGpHzRXWJA5m+WETUX5PIoXTY5VZb/4VEO Pn+ybmDnJz9YtdXRijzEpm759lMtzw3tDlXdw8NbEwpVcgAYGIxvOgi7jqYhDSONQAWY /H7ejbiDI+wHVxNxG7uqnvB2AfqmPRQ2man9aBNGaNizVz68o9HcBLw9fxDrMracsbV1 xJEZyv82cyChn4hseDh3P85Wsy/y41evfb8X92yHJEIDewzNQKIViMBW54V6uS/0RWSS +SMBJYXahd4ndMxI4Tdm39ZLUenRC8IYqwWyJ0PPfkFwMxCd3hUVGyOOnd/Hpv0HeZZC 2SpA== 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 q77si3760121pfi.220.2019.03.07.00.26.30; Thu, 07 Mar 2019 00:26:46 -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 S1726264AbfCGI0D (ORCPT + 99 others); Thu, 7 Mar 2019 03:26:03 -0500 Received: from orcrist.hmeau.com ([104.223.48.154]:55276 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726015AbfCGI0C (ORCPT ); Thu, 7 Mar 2019 03:26:02 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1h1oLh-00048Y-Vp; Thu, 07 Mar 2019 16:25:54 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1h1oLe-0006AM-Er; Thu, 07 Mar 2019 16:25:50 +0800 Date: Thu, 7 Mar 2019 16:25:50 +0800 From: Herbert Xu To: Kamil Konieczny Cc: "David S. Miller" , Krzysztof Kozlowski , Vladimir Zapolskiy , Bartlomiej Zolnierkiewicz , Marek Szyprowski , linux-crypto@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: s5p-sss - fix AES support for Exynos5433 Message-ID: <20190307082550.4ijrmlrupyvwdyl5@gondor.apana.org.au> References: <20190301140254.19341-1-k.konieczny@partner.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190301140254.19341-1-k.konieczny@partner.samsung.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 01, 2019 at 03:02:54PM +0100, Kamil Konieczny wrote: > Commit 0918f18c7179 ("crypto: s5p - add AES support for Exynos5433") > introduced bug in dereferencing clk_names[1] on platforms different from > Exynos5433. On Exynos board XU3 call trace is: > > "Unable to handle kernel paging request at virtual address 00004000" > (strcmp) from [] (of_property_match_string+0x58/0xd0) > ... > (devm_clk_get) from [] (s5p_aes_probe+0xd4/0x4a0) > (s5p_aes_probe) from [] (platform_drv_probe+0x6c/0xa4) > > Fix this by setting array clk_names size to 2. > > Fixes: 0918f18c7179 ("crypto: s5p - add AES support for Exynos5433") > Reported-by: Krzysztof Kozlowski > Signed-off-by: Kamil Konieczny > --- > drivers/crypto/s5p-sss.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt