From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 161EEC2D0DC for ; Wed, 1 Jan 2020 19:24:23 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 81105206DB for ; Wed, 1 Jan 2020 19:24:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="WDG7wRJf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 81105206DB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=inria.fr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C621E16B0; Wed, 1 Jan 2020 20:23:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C621E16B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1577906660; bh=2D9eSOK83RZFvONTswx9G5+I3J4Sbkm4sWzapFS2K1c=; h=Date:From:To:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=WDG7wRJfZOLpXPVAk6u/yVvc0jDVOKSkflOvbgwGwQCHFvCow8MUYuKu1/NrGAdWl UxmRWiQF4Aip0lw6zxkmMusoWgENKXOLrWtwoBWitSCAxBRk0A7aytBD6Cg1PM+tRh 8jDSs+0peG1nQUfr9efromIh6hEHYhvjbOWneMSU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 53B33F8011E; Wed, 1 Jan 2020 20:23:30 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AB3C4F8015D; Wed, 1 Jan 2020 20:23:28 +0100 (CET) Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id DE1A3F8011E for ; Wed, 1 Jan 2020 20:23:25 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DE1A3F8011E X-IronPort-AV: E=Sophos;i="5.69,384,1571695200"; d="scan'208";a="334543739" Received: from abo-154-110-68.mrs.modulonet.fr (HELO hadrien) ([85.68.110.154]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jan 2020 20:23:24 +0100 Date: Wed, 1 Jan 2020 20:23:24 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Takashi Iwai In-Reply-To: Message-ID: References: <1577900990-8588-1-git-send-email-Julia.Lawall@inria.fr> <1577900990-8588-3-git-send-email-Julia.Lawall@inria.fr> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org, Takashi Iwai Subject: Re: [alsa-devel] [PATCH 02/10] ALSA: ml403-ac97cr: use resource_size X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Wed, 1 Jan 2020, Takashi Iwai wrote: > On Wed, 01 Jan 2020 18:49:42 +0100, > Julia Lawall wrote: > > > > Use resource_size rather than a verbose computation on > > the end and start fields. > > > > The semantic patch that makes this change is as follows: > > (http://coccinelle.lip6.fr/) > > > > > > @@ struct resource *ptr; @@ > > - ((ptr->end) - (ptr->start) + 1) > > + resource_size(ptr) > > > > > > Signed-off-by: Julia Lawall > > Unfortunately this doesn't apply cleanly on my tree. I guess you > worked on linux-next which contains a change outside the sound git > tree that converts ioremap_nocache() to ioremap(). > > We may apply it in sound git tree and let conflicts resolved at the > merge time. OTOH, it's no urgent fix at all and can be postponed > after 5.6-rc1 merge, too -- then everything can be applied in a > cleaner way. > > Let me know your preference. It's from linux-next. No hurry. Postponing it is fine. thanks, julia _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel