Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3494364pxb; Tue, 7 Sep 2021 00:20:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvW0ubQS68SynkEOia/TR1GkSOk3cTkXXNW1qp3eH5TFs0nZj8W1/nayWUGT7WnZ640I7x X-Received: by 2002:a6b:c8c7:: with SMTP id y190mr12682003iof.210.1630999243215; Tue, 07 Sep 2021 00:20:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630999243; cv=none; d=google.com; s=arc-20160816; b=olO2JEf9fxIspI1vfNcciMpaz/5b9pDnIrP4wbClhYy37o8uW6uV84hHjo3JCLbq4C nLx/MT4w08ophzQKf0WgUCMJ1d26S/ziTxofUoNoFbQ3xpV013Bx6XnUtxvC+gHvyH+H BKHIccYKCoZ2bNUpT2fTQjSSHmfGDbKAXQHcvGwQ3hHckaB8hfZjqGBf1aXiNqoM39y5 wVzz60WdZm1zDFUK0VMJahciqEfFqjLJfUQTOa9aOJ+TXkbE7/fk4c2pKUlPKJdeo+6f xjn8XX1bUewlnXFmqH9Xor9Os8Q6gnJuyYe11UVDTVZDu0C9JpAt042LcpHV8aLAd+/c FUjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=gsZ8deVCRaVJrEYDZygxdik/VI7cDBO2OkIKfLWVB1E=; b=nqmPjnzy5WZRL20Z3YIUIGdadvfombEjLu57pMdJRWkJeWgB2QCOLM8kc/xOlx7jbb Owu++8PiPk4ILUUPu5e2anhUtfZM4vkrHpY3n2IPf7JB7oRGEaUbUyAFKcHBwf/shmDA 9bSsMnmY5t8gFw4LDgeERvyX6meZA3pwXhtlJQrvkzdMGW0zOVO0C0klRVimDuS5B0aB c54GSQ34iFP8rBqB2TK3zYBVMwP0qb/flOn7BGmi5SqnccHgblfKIeECot5qrcjIFPq2 wXNZ9PdBw7ATOO+boyze3Bmy4Pbm/lwaGH3wm/StdCowSun5zlwcaiowCHoog1l8w3gH 6pqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pwlcT2no; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g2si11207826iob.28.2021.09.07.00.20.29; Tue, 07 Sep 2021 00:20:43 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pwlcT2no; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230261AbhIGGMg (ORCPT + 99 others); Tue, 7 Sep 2021 02:12:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:50116 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbhIGGMf (ORCPT ); Tue, 7 Sep 2021 02:12:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E97756056B; Tue, 7 Sep 2021 06:11:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630995089; bh=iwU9N70UGDvBd8wGddAqOScYb0ZO+qxtvTi05n0Rhi4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=pwlcT2nod6VxxIrsAPZri7Yc/dcdG0fjp9kvqrFNx02jPivt3QaJ+0zA/3iwmnDF7 N9zcQBRvB+khkeBrx0YvS3sEIgEGAnLYS6LToUK3l/oP+oleHMc5qVRwRFmxz5gXv/ W9RConm41LYZA0pNlvgONx4Jq3pVxxqa99gVJU5cl9lvtxIE4nPTNPw6MrbeKCmfxi fTthldn1GocWQq0oXietT6oz8MGIua4ZRb5TpjJzUXtSo50Smr9gzVl4EruW+SjmBI IqniqH52l2dMNgCmAil3HSx50DbWd73xUxAwtOcviSEdK/a3S8Rl09dK4iQsh+BKjG 2nsbq/HUXhS0A== Date: Tue, 7 Sep 2021 08:11:25 +0200 From: Mauro Carvalho Chehab To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, kernel test robot , linux-media@vger.kernel.org, Andrzej Pietrasiewicz , Jacek Anaszewski , Sylwester Nawrocki , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2] media: s5p-jpeg: rename JPEG marker constants to prevent build warnings Message-ID: <20210907081125.21c311f1@coco.lan> In-Reply-To: <20210907044022.30602-1-rdunlap@infradead.org> References: <20210907044022.30602-1-rdunlap@infradead.org> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, 6 Sep 2021 21:40:22 -0700 Randy Dunlap escreveu: > The use of a macro named 'RST' conflicts with one of the same name > in arch/mips/include/asm/mach-rc32434/rb.h. This causes build > warnings on some MIPS builds. > > Change the names of the JPEG marker constants to be in their own > namespace to fix these build warnings and to prevent other similar > problems in the future. > > Fixes these build warnings: > > In file included from ../drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c:14: > ../drivers/media/platform/s5p-jpeg/jpeg-core.h:43: warning: "RST" redefined > 43 | #define RST 0xd0 > | > ../arch/mips/include/asm/mach-rc32434/rb.h:13: note: this is the location of the previous definition > 13 | #define RST (1 << 15) > > In file included from ../drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c:13: > ../drivers/media/platform/s5p-jpeg/jpeg-core.h:43: warning: "RST" redefined > 43 | #define RST 0xd0 > ../arch/mips/include/asm/mach-rc32434/rb.h:13: note: this is the location of the previous definition > 13 | #define RST (1 << 15) > > In file included from ../drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c:12: > ../drivers/media/platform/s5p-jpeg/jpeg-core.h:43: warning: "RST" redefined > 43 | #define RST 0xd0 > ../arch/mips/include/asm/mach-rc32434/rb.h:13: note: this is the location of the previous definition > 13 | #define RST (1 << 15) > > In file included from ../drivers/media/platform/s5p-jpeg/jpeg-core.c:31: > ../drivers/media/platform/s5p-jpeg/jpeg-core.h:43: warning: "RST" redefined > 43 | #define RST 0xd0 > ../arch/mips/include/asm/mach-rc32434/rb.h:13: note: this is the location of the previous definition > 13 | #define RST (1 << 15) > > Also update the kernel-doc so that the word "marker" is not > repeated. > > Fixes: bb677f3ac434 ("[media] Exynos4 JPEG codec v4l2 driver") > Signed-off-by: Randy Dunlap > Reported-by: kernel test robot > Cc: Mauro Carvalho Chehab > Cc: linux-media@vger.kernel.org > Cc: Andrzej Pietrasiewicz > Cc: Jacek Anaszewski > Cc: Sylwester Nawrocki > Cc: linux-arm-kernel@lists.infradead.org > --- > v2: change all JPEG marker macros to be in their own namespace (as > suggested by Mauro) Applied, thanks! Regards, Mauro Thanks, Mauro