Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28765840rwd; Wed, 5 Jul 2023 02:19:12 -0700 (PDT) X-Google-Smtp-Source: APBJJlH/m96xQKzkMygNwLeWBzn4LE9Z5UTqM8DuxhaELT7CEYjwqo1jQPkAbR7fyQAueF5payVO X-Received: by 2002:a05:6a21:6d89:b0:12f:9e13:12b1 with SMTP id wl9-20020a056a216d8900b0012f9e1312b1mr1797600pzb.15.1688548752068; Wed, 05 Jul 2023 02:19:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688548752; cv=none; d=google.com; s=arc-20160816; b=uvP+EwT6i+ngNWTF9L0M7zhblx+u52cphDlTZRYPeVHgzlaFqsYdUR2hRE1UWGz/di wRmshkg/HYNl1GUnjeDOMjlX3rWklIdFOMl8Oq0id94FNxHEl8uKjxeu+a0FKjBmWWg6 UYZ2U9gMVsJ0rZ8Jy0BIZG4miTuYn0762SZsOT6UawREIKZ4mYfRxUYX96Up/gUi5YaA 3HJotaLzA9JT4omtR2z4MmhbPO0gnIYF4LLN3RWit7Mwg2f/yQ1bG+GN+BSSQFo6PaPq D4YtJCuK3zpz3vG92+wH7XSslws4u58L1vSkCHF22Ta2b/r2/lmfinQ2nDDfPe9voDO+ BDLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=eOmyEHyr0iiLqxM6ByyiTsEOHbd3rdaDe+tLZlMSH6U=; fh=CsqkfoH9KD7nVtGe1Q/jTnlfyMzaUmi5F/oCcxk9qUU=; b=u9MGJ3G0USJE5R4jx5xP3RFDd0JAq/BbzfjzWyB9a5bfBGwZ/ueIqLN0XMAVmVf6ir 6qZh+qtipn/Dd5lS3T8lv3BJcmUMVOBNO3qHuY3o52s5myEqQUGPcWQjvZAgLoLC/u2f eZhN4MR+qk68c7JvU8x8XGqAmTVRF9ke9HP/Pk2ReSBpjIxdZXdQnTNZyjnow7cqYtOg KePTSTWWW+9YyseSt2zTfnG2G9Eizz+680JkFtu4b04F37ptcyGirzmZVRyEYQfMSdgq /8llY1uH9NXZPfCBYBmNdVLXPGH6onINSG3OGJlnjhXXgBTT+A8QQkll2YPfZOf9q0rO OTxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=pHWlUw1n; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t40-20020a056a0013a800b00682b0b7ed43si2400332pfg.368.2023.07.05.02.18.58; Wed, 05 Jul 2023 02:19:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=pHWlUw1n; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231463AbjGEIzl (ORCPT + 99 others); Wed, 5 Jul 2023 04:55:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229903AbjGEIzj (ORCPT ); Wed, 5 Jul 2023 04:55:39 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07DB81713 for ; Wed, 5 Jul 2023 01:55:39 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id AE0DD1F890; Wed, 5 Jul 2023 08:55:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1688547337; 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=eOmyEHyr0iiLqxM6ByyiTsEOHbd3rdaDe+tLZlMSH6U=; b=pHWlUw1nB4HYwtHIKr0PUn2rqxsjFSE0f3F8ydhxzB1QeKnkTRzRDN7sANSCxHOVYJ7cux Qwt8MaBUPXiDd4Y3FWMdRJQaluoLXy23zatuvkrzMdQ/Us+6O4j4aVdRQGUwtZgZ906LNd JpuQAuvakBrf6yH6Q0HTHtHfN1IckM4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1688547337; 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=eOmyEHyr0iiLqxM6ByyiTsEOHbd3rdaDe+tLZlMSH6U=; b=DmtXsj4z6R79cwOUnGi7y4vW3e0vTePbBmW0KSucdooEi3NIrfGlfEYw9Tls9ie7/NKO0d obFcaQK0WXRn2MCQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 78692134F3; Wed, 5 Jul 2023 08:55:37 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id WsN6HAkwpWRAXAAAMHmgww (envelope-from ); Wed, 05 Jul 2023 08:55:37 +0000 Date: Wed, 05 Jul 2023 10:55:37 +0200 Message-ID: <87a5waohyu.wl-tiwai@suse.de> From: Takashi Iwai To: Minjie Du Cc: Jaroslav Kysela , Takashi Iwai , Stephen Rothwell , alsa-devel@alsa-project.org (moderated list:SOUND), linux-kernel@vger.kernel.org (open list), opensource.kernel@vivo.com Subject: Re: [PATCH v1] sound: seq: check struct system assignment problem In-Reply-To: <20230705085022.13078-1-duminjie@vivo.com> References: <20230705085022.13078-1-duminjie@vivo.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 05 Jul 2023 10:50:22 +0200, Minjie Du wrote: > > make data->system.parm1 avoid double assignment. > but note writes "RT message with two parameters to UMP" > is one of assignment is for system.parm2? Yes, that should be rather parm2. Could you resubmit with that typo fix instead? Thanks! Takashi > I'm not sure, Could you help check it out? > Thank you! > > > Signed-off-by: Minjie Du > --- > sound/core/seq/seq_ump_convert.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/sound/core/seq/seq_ump_convert.c b/sound/core/seq/seq_ump_convert.c > index eb1d86ff6..60e637149 100644 > --- a/sound/core/seq/seq_ump_convert.c > +++ b/sound/core/seq/seq_ump_convert.c > @@ -713,7 +713,6 @@ static int system_2p_ev_to_ump_midi1(const struct snd_seq_event *event, > unsigned char status) > { > data->system.status = status; > - data->system.parm1 = (event->data.control.value >> 7) & 0x7f; > data->system.parm1 = event->data.control.value & 0x7f; > return 1; > } > -- > 2.39.0 >