Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6993661rdb; Wed, 3 Jan 2024 00:19:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHgfJWczTa9/F2hufWN9cIEcEKDRFZrpgdCUxpqf1rAtX1XhqolT9ucgagcJuQjBJzBKpZs X-Received: by 2002:a17:906:5305:b0:a27:40b5:9def with SMTP id h5-20020a170906530500b00a2740b59defmr4721048ejo.79.1704269954093; Wed, 03 Jan 2024 00:19:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704269954; cv=none; d=google.com; s=arc-20160816; b=Qt0RdITllIicsVITzh8dh4VDD3nD8dnl1R2G1JDbflfnnie9cMBCyOwyaotuQ6q0yc Pah1SDUr2w5cHtvdz8xbzKb8m6TOblWJ3B/Sy4Zh1uW5YKET2HOlH5s7H1z8qXV52s+o RrBXgEk3752O6YAiVzDHe7ItdN/eYOgCImVKaHDuJ6Cgh78zM6hGdywfSCFnYqQQAmtm zeL0ZVxscRGoPli5WfVM0GNRtWj+YguyO+htjycB6QW8w0APTkHjkIqanMqJVh79r2j8 BuX3nM477JmHdyaplGJ16FpIotkndEivQpW1jt7NGcqEQBNLZlq2SenNPjfhJgVyUga4 pLEQ== 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:from:date:dkim-signature:dkim-signature:dkim-signature :dkim-signature; bh=V9esiW43PFp1nOnTYVzDQBW7TFJkdqXost6VpQW1eec=; fh=uYnjiVNxbW5kI0u75v8U/Y/ao7NQ4m8EfWg99NPaynw=; b=h/quERo4ot5JgsbrkvJRSDK2q0NSrS02j3QbQBFKupDAue3a4DIwMgOsZ5vAZ46+SK FyPwzVwv+2TeDn/xEdsW+1I5dLVflt18uDIzdvBtDHvOF+qtPjVXOhOLPY0okZ2aLNLk 12jIfRNe/w8WFjSPi9KIy3Zea4mwg/PsLd6FOzPx/RufXejxnl2wTkFkolhJmFfiTQur XFB/ZAkJbntnOm5vYY+ZB/MaJcbKQSYfvpwt9JDA1HeqPLy54UpHORo2zzRcA90i+cOS 1H1DOM4xKRkBnHETeQm6bvk7zvJ9gPaAwkcrcB/EJyUqyimEWW29aUeUA5HI68yMmKLs ENmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=1fiIcHij; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=cHM00vUP; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=1fiIcHij; dkim=neutral (no key) header.i=@suse.de header.b=cHM00vUP; spf=pass (google.com: domain of linux-kernel+bounces-15269-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15269-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id su16-20020a17090703d000b00a26ebacaaffsi7639077ejb.552.2024.01.03.00.19.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 00:19:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15269-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=1fiIcHij; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=cHM00vUP; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=1fiIcHij; dkim=neutral (no key) header.i=@suse.de header.b=cHM00vUP; spf=pass (google.com: domain of linux-kernel+bounces-15269-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15269-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de 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 am.mirrors.kernel.org (Postfix) with ESMTPS id A943C1F238B8 for ; Wed, 3 Jan 2024 08:19:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D4D61805D; Wed, 3 Jan 2024 08:19:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="1fiIcHij"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="cHM00vUP"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="1fiIcHij"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="cHM00vUP" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (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 0C50618056 for ; Wed, 3 Jan 2024 08:19:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 5950B1F79B; Wed, 3 Jan 2024 08:19:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704269942; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=V9esiW43PFp1nOnTYVzDQBW7TFJkdqXost6VpQW1eec=; b=1fiIcHijtt/C7H4dnD6zvu8S4TD3gVEXvhV1JBV03KIs8NYvd/gKYBveAyFxwVrmflm4wa ILCK6eMtISbyqXFDJUmhd7nwY/5ofMrmHi8RLWtVx6wq30teAIjotN7FoFmHb4zKW+qWTu VWEIux45Ie+VNI+mgK/H32odgNj1tC4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704269942; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=V9esiW43PFp1nOnTYVzDQBW7TFJkdqXost6VpQW1eec=; b=cHM00vUPN2qdxoooabvyuX4QeQCzpsOlVZtaWuX9MxKTCNHMKDSYcaL4UaCaakpFCtdewK ojKvHao7963ZXZAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704269942; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=V9esiW43PFp1nOnTYVzDQBW7TFJkdqXost6VpQW1eec=; b=1fiIcHijtt/C7H4dnD6zvu8S4TD3gVEXvhV1JBV03KIs8NYvd/gKYBveAyFxwVrmflm4wa ILCK6eMtISbyqXFDJUmhd7nwY/5ofMrmHi8RLWtVx6wq30teAIjotN7FoFmHb4zKW+qWTu VWEIux45Ie+VNI+mgK/H32odgNj1tC4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704269942; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=V9esiW43PFp1nOnTYVzDQBW7TFJkdqXost6VpQW1eec=; b=cHM00vUPN2qdxoooabvyuX4QeQCzpsOlVZtaWuX9MxKTCNHMKDSYcaL4UaCaakpFCtdewK ojKvHao7963ZXZAg== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id A6D5C1340C; Wed, 3 Jan 2024 08:19:01 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id pYkFJnUYlWXsWwAAD6G6ig (envelope-from ); Wed, 03 Jan 2024 08:19:01 +0000 Date: Wed, 3 Jan 2024 09:19:52 +0100 From: Oscar Salvador To: andrey.konovalov@linux.dev Cc: Andrew Morton , Andrey Konovalov , Marco Elver , Alexander Potapenko , Dmitry Vyukov , Vlastimil Babka , kasan-dev@googlegroups.com, Evgenii Stepanov , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov Subject: Re: [PATCH v4 03/22] lib/stackdepot: simplify __stack_depot_save Message-ID: References: <3b0763c8057a1cf2f200ff250a5f9580ee36a28c.1700502145.git.andreyknvl@google.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: <3b0763c8057a1cf2f200ff250a5f9580ee36a28c.1700502145.git.andreyknvl@google.com> X-Spam-Level: X-Spam-Level: X-Spamd-Result: default: False [-0.44 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RCPT_COUNT_TWELVE(0.00)[12]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[linux-foundation.org,gmail.com,google.com,suse.cz,googlegroups.com,kvack.org,vger.kernel.org]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.34)[76.25%] Authentication-Results: smtp-out2.suse.de; none X-Spam-Score: -0.44 X-Spam-Flag: NO On Mon, Nov 20, 2023 at 06:47:01PM +0100, andrey.konovalov@linux.dev wrote: > From: Andrey Konovalov > > The retval local variable in __stack_depot_save has the union type > handle_parts, but the function never uses anything but the union's > handle field. > > Define retval simply as depot_stack_handle_t to simplify the code. > > Reviewed-by: Alexander Potapenko > Signed-off-by: Andrey Konovalov Reviewed-by: Oscar Salvador -- Oscar Salvador SUSE Labs