Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752363AbdHPMaX (ORCPT ); Wed, 16 Aug 2017 08:30:23 -0400 Received: from ozlabs.org ([103.22.144.67]:51117 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752224AbdHPM35 (ORCPT ); Wed, 16 Aug 2017 08:29:57 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 36992606eee8016c36ad2576687e97422f2f35ed In-Reply-To: <1502630663-18599-1-git-send-email-Julia.Lawall@lip6.fr> To: Julia Lawall , Benjamin Herrenschmidt From: Michael Ellerman Cc: Paul Mackerras , kernel-janitors@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: powerpc: store the intended structure Message-Id: <3xXTFH6cfyz9t5T@ozlabs.org> Date: Wed, 16 Aug 2017 22:29:55 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 580 Lines: 14 On Sun, 2017-08-13 at 13:24:23 UTC, Julia Lawall wrote: > Normally the values in the resource field and the argument to ARRAY_SIZE > in the num_resources are the same. In this case, the value in the reousrce > field is the same as the one in the previous platform_device structure, and > appears to be a copy-paste error. Replace the value in the resource field > with the argument to the local call to ARRAY_SIZE. > > Signed-off-by: Julia Lawall Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/36992606eee8016c36ad2576687e97 cheers