Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2148000rdd; Fri, 12 Jan 2024 00:11:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCwaD7+gdDabbC0F6VKaCP42Juocxr0wpaLtdLbmyR+HEK/RVwXZXo0D/JQp2Gj0SEDO2B X-Received: by 2002:a05:6214:1d26:b0:67f:6be2:5bd9 with SMTP id f6-20020a0562141d2600b0067f6be25bd9mr648060qvd.69.1705047101846; Fri, 12 Jan 2024 00:11:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705047101; cv=none; d=google.com; s=arc-20160816; b=yGoqsuwSw/tgSIV1U3WjPRj0UPwER19NgZ2iystdmqL4bEo/lFdeuKzPP3QIq/ZoYu gBmaXE8wXVcQFcS9qsijQHY6Q1FrZESPWcGykdUjpEpCZfanVP7mL07tDUdt9EpaKqhX jYfyf17D4VMIqJMdrEn8FvrZd79qNomNCUGhXCMS0s3ETXvV9+kLpcXIrypddiGJdbb8 El5L80wJTJA6RF2FiOAqyp34IeYpd0HI+Ga9pNsUtFwu9doWOglRRNF4J8LyPshjSkyH 31fe5ukr0Oz52hGW1defv4Q9X4ohzS5FgWPytXkJr+kASbDNseX1BrSRiKc/GNefzob0 0FMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:date:from:dkim-signature; bh=3NoH8qoCkKWJ/xlxXV8t+mbxpkVHWg2gJxhM/Ol3TbQ=; fh=+fSIYo9Oe3qChI6K45L/mo17cR+AzCyD6p5jPL63hK8=; b=SyXxkZCynKUOGhaphll1IMTayQcHpczQGmKF60hagnHL8GjXlsJeJt+6Q01mxuaH69 lNTxk55evEHEERuLW+U870+XSeBUvYDMyCqdOIBe2GOQ4Kp2HJEWlAp2WFqybnhDb418 ZBC4xSsRJfVWifIG065ancm/LtbqpcGmI8y/1mcfDP2ud+qblA/hp5/9R83maLAwhj3I XyKkDP/Fbmj19t9ezh4n888c0fZQemnow+7M69hk2GYARG6gbPRihnhmeEtNRXJHqml7 grC/MxzOFjB8gQYFjgyr4lFF0nTELYh7txcleDxEzsRx1dVTAjFPJb0HF4hq9LDtC8vR OB3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BoerW4Ib; spf=pass (google.com: domain of linux-kernel+bounces-24413-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24413-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a10-20020a0cca8a000000b0067f8cf919c0si2415082qvk.548.2024.01.12.00.11.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 00:11:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24413-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BoerW4Ib; spf=pass (google.com: domain of linux-kernel+bounces-24413-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24413-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 99B5C1C21D3A for ; Fri, 12 Jan 2024 08:11:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E22435D750; Fri, 12 Jan 2024 08:11:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BoerW4Ib" Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A272C5B5C1 for ; Fri, 12 Jan 2024 08:11:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-50eab4bf47aso5410787e87.0 for ; Fri, 12 Jan 2024 00:11:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705047091; x=1705651891; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=3NoH8qoCkKWJ/xlxXV8t+mbxpkVHWg2gJxhM/Ol3TbQ=; b=BoerW4IbKx/T03vK1lqFpL0Byf9U2V4A7XF8bcATZu2kQ7IjmKUJrStSC0sPafR2Fz nzTXVZoTiMiBZ+rGF62mfzA++whlsr05W+k6R/XZhC1t5AjWjwJTFfItlwFIAKzlXgXr OV+wAwH/mZ26B0mly4LynDUQWrhsGANaVmZC8CB0sFVeXL43KfCoklrs6KDOXPhPJe9K OS0L/gw/guN2IuykrqUijup62OjQfMGRdfgy2kkHPR6MC5p9mriopZ8LgHe1g/G2HlG3 vPB6H9UIUZCqC15b+YtZ2PeXVUw4M6HJAgRYXci1pNO6b2g0tIM45fB3MwEyxYWvmxsS /xQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705047091; x=1705651891; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3NoH8qoCkKWJ/xlxXV8t+mbxpkVHWg2gJxhM/Ol3TbQ=; b=DRMOuNA1Z0t4/SooihpdtBOr1GZE4ff3QIZ4vKGpAiCokMoKDR3M4XsfTrlQuMQP5p Vj5loTt4JKWk4jOcRYCS+E0j6dprWKeswJ8tGFHSAKF0WZgkQi0tfEoZntktuhzSARiq CPq8Vy7K3eTCLBcuqmP9zVAIbYcol29TFuygn5AXjBfF65/YevAPjS+O3GK2jQFW0PeJ C48yaPQCZniaL/q3ybjhs/f0Yceq/ShPrM+/6iE3aOtiBVKb/GTY/uZwTBss2riEuSsq 5MZsf3HgCBCFNGiLYDSQ+7kJzDIFzwAnh+09qwDUbLw6sHN+3Qj0lixxX2btr9I2Rwwb 4BBQ== X-Gm-Message-State: AOJu0YwmE5ZL+32HwNM4ug+neFOTK762EnhSaWda5hMYFbrNEs+XzMIU M7iuPFQUUPN+hfTqDp8RAqs= X-Received: by 2002:a19:4342:0:b0:50e:4b1f:5ddb with SMTP id m2-20020a194342000000b0050e4b1f5ddbmr396182lfj.16.1705047091328; Fri, 12 Jan 2024 00:11:31 -0800 (PST) Received: from pc636 (host-90-233-192-22.mobileonline.telia.com. [90.233.192.22]) by smtp.gmail.com with ESMTPSA id eq9-20020a056512488900b0050e76f2591bsm437820lfb.58.2024.01.12.00.11.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 00:11:30 -0800 (PST) From: Uladzislau Rezki X-Google-Original-From: Uladzislau Rezki Date: Fri, 12 Jan 2024 09:11:27 +0100 To: Christoph Hellwig Cc: "Uladzislau Rezki (Sony)" , linux-mm@kvack.org, Andrew Morton , LKML , Baoquan He , Lorenzo Stoakes , Matthew Wilcox , "Liam R . Howlett" , Dave Chinner , Oleksiy Avramchenko , kernel test robot Subject: Re: [PATCH 1/1] mm: vmalloc: Fix a warning in the crash_save_vmcoreinfo_init() Message-ID: References: <20240111192329.449189-1-urezki@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: > On Thu, Jan 11, 2024 at 08:23:29PM +0100, Uladzislau Rezki (Sony) wrote: > > #endif > > VMCOREINFO_SYMBOL(_stext); > > - vmcoreinfo_append_str("NUMBER(VMALLOC_START)=0x%lx\n", VMALLOC_START); > > + vmcoreinfo_append_str("NUMBER(VMALLOC_START)=0x%lx\n", (unsigned long) VMALLOC_START); > > Well, the right fix is of course to make sure VMALLOC_START has a > consistent type, else we need to plaster this crud all over. > unsigned long seems like the right type for it, so at least m68k should > be fixed to confirm to that by adding a UL postfix to the definition. > I agree with you. I wanted to focus on fixing that particular place because i wanted to avoid other(on this step), possible side effects or drawbacks if i went with patching the arch/m68k/* files. But, in general arch/m68k/* has to be fixed. -- Uladzislau Rezki