Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1535932ybj; Fri, 8 May 2020 03:42:20 -0700 (PDT) X-Google-Smtp-Source: APiQypIWHCBSnimNNLnJvC6Wma4u0bfaq83gCm9rQdqRHqR8oK/GfIaJ0VjtkwYxzMcw5v+EKqRQ X-Received: by 2002:aa7:d518:: with SMTP id y24mr1489454edq.222.1588934540428; Fri, 08 May 2020 03:42:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588934540; cv=none; d=google.com; s=arc-20160816; b=mYg4S2UUMYR6w2rL1HkCyq8AS3l/OkqBvfY2hGET2Rdk5QNnEp5+nxJxB0XL94/OE7 ennPA+m+//Nc8U8yPw4qgQAPh2m35Tt5KM9CsTr+f3zbV076mI7rEYBDFsEAkmbqt7d1 JhKBYjT7ueG7QxO+0I61O1xiVobameZWTdrgUK6XADgCe0YibDOfR6FhqC7gvi6zSPa8 EG6FxzCASw7U2CgmnAd1IPMsWA0l3pnOFDxQuIwcQJhFE9/hqx9e+DcKZrqxA/K0aSd7 61yZoHJ9ddahTzanKvLBd2c+O3RTwLfrbNAD5Q9DU4F430LjPIwKi59e+C86hcqUoNb/ lUhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=ZNpXqreEV81Q+UqvBETS9uasQhVmxGqQ5zmfQA0Ibkw=; b=s0NGY+2D6TFNyHfn6o21uZbBHLioqMsxBf3CcIK/+WWyDuM+jPs5miISDwIEHqm3I3 Akb+GXAGf9OXgTUMJHXRkN5fnLRR19CLR+MjUBGPmpUE790j9uRSEje+qhyMupo5w8i8 2DmOsfGc03pFY7KqOaSVkCnJdtzmv+ChzSL2sa72gnN1RF+B9m+FdtxLSA/Vu8mlFXW/ RS+KgvuXVPN4IA6Qg+jrTiE+G1I0XJ+DVUi/ql84PcEiPsYcLVhOlB+GK8MUQrywywRA Js1VQsCUNfWVAhecicViBGVgdUSobBKTbjZ+Z1X7qEU5k2kb4jjbgWuniyElMZV1Rwyo 0R1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w1si688991ejq.325.2020.05.08.03.41.57; Fri, 08 May 2020 03:42:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726811AbgEHKkS (ORCPT + 99 others); Fri, 8 May 2020 06:40:18 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:28123 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726519AbgEHKkS (ORCPT ); Fri, 8 May 2020 06:40:18 -0400 X-IronPort-AV: E=Sophos;i="5.73,367,1583190000"; d="scan'208";a="448810012" Received: from abo-173-121-68.mrs.modulonet.fr (HELO hadrien) ([85.68.121.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 May 2020 12:40:08 +0200 Date: Fri, 8 May 2020 12:40:08 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Jeremy Kerr cc: kernel-janitors@vger.kernel.org, Arnd Bergmann , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Nic Volanschi Subject: Re: [PATCH] powerpc/spufs: adjust list element pointer type In-Reply-To: <4c9cc9184213ded65489cb95050046c8904ddad8.camel@ozlabs.org> Message-ID: References: <1588929176-28527-1-git-send-email-Julia.Lawall@inria.fr> <4c9cc9184213ded65489cb95050046c8904ddad8.camel@ozlabs.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 8 May 2020, Jeremy Kerr wrote: > Hi Julia, > > > Other uses of &gang->aff_list_head, eg in spufs_assert_affinity, indicate > > that the list elements have type spu_context, not spu as used here. Change > > the type of tmp accordingly. > > Looks good to me; we could even use ctx there, rather than the separate > tmp variable. I thought about that, but it seemed a little bit abusive, since ctx is used in an iteration over another list. But if you prefer that I can change it. julia > > Reviewed-by: Jeremy Kerr > > Cheers, > > > Jeremy > >