From nobody Fri Jan 9 23:28:03 2026 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dnycg5fXLz6MYNs for ; Fri, 09 Jan 2026 23:28:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dnycg2y7zz3nCp for ; Fri, 09 Jan 2026 23:28:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768001283; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Zu2Nx0uHo7+VLGbFhMRE+AQdD7FIoVRsT2HqHY1v4ao=; b=obIEGcr2NU40cswGO+MqMM3Aq0MPUjiaPiQ4//JK2dxHTrw1W6RX3pCFrqSClJbn/jO7YQ IzTnOhdLKVJ63kLw/VpvjRbMYe9JxyrLHRgURXuThJ8aJ3qMpPjBSaX1q8oySRhU9brhle ekW2S1KFpOYIShpDtTQ+8RzFRyjo8/B5wrJO+2MuLxTsDUVnCmOtSUPWgueEOWmAUPmn9/ O9tbj1RCWXlQio+EzoezGQXLqwKN4GjEJEHmsz7x4gKeCkflKajl8pPYPUT6VLfEWegOY0 OczdB2O5uC3cU0bPC0rPDdVQNxI/JmFntiv7q1O7loCDfXOeTlya7oJkIm/hJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768001283; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Zu2Nx0uHo7+VLGbFhMRE+AQdD7FIoVRsT2HqHY1v4ao=; b=GlUQMd9EUDdb4jbo4FUsdcLAVXBr8IErahQpHqCIWNiIEbwQ+IzufxqxtPxzvwNl1HvZUs 0H/9wvpV6d9CCKr6H15lJ0qLzSndEEMMKJINiO6qu/mS4L/E6BzK6P6rJg2i/4CMn/cvAr oQ9tvX7rUZO4CQpUW5fONftz2ZAbpkpAlu5J6u/eYJM2KwiGqyZjxFqAdZkfuMruPFmZOw /FodCYtcmAqG7wC0rs1/Aejl0nMqFqY9QHzMcSufj9WYM0bHw43AvenzYFoAzul7eCY2R9 i2mlFqDA2IkpbiCXxCPBL2osLeRDspTBXnl4LgAPIeSQAa3zwLzf4p1QA1U1sw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768001283; a=rsa-sha256; cv=none; b=avxQmCuA3tkyTaMlSIKcunuUO7ohdbEyyg0xjrD1Ir3JYLeI5yfAgkXNo4DQuBfqYTqi8F G4juZhC+8c6OSXF/XBqnoceRNBp8eedSCKxfhuAANWn4YDuQygpBK/klqmVRvi5q9/FeUJ f65zjU8LXuTPDgZDdSi22wFFYmveSU12G+XgTnHjGs6WRn/3ZVYmARUZhkISMwkJE39GHK enEVOE6A0JI7i7SQFTzRq5ILOvDCYkA3Wv0zCkGZSZ/7ulSNcYLlASFqXhw2O73ffSs4Bx oofj/5bXhzX48lLneHUvawwaI64yZS8+lUCV7BYCgdY4Hf747WE4Qz/ANb22Ag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dnycg2NgyzDWJ for ; Fri, 09 Jan 2026 23:28:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 31c47 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 09 Jan 2026 23:28:03 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Christos Margiolis Subject: git: 76a53e183957 - stable/15 - sound: Allocate mpu401 with M_WAITOK List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 76a53e1839573968929400a661537f0e91f8700a Auto-Submitted: auto-generated Date: Fri, 09 Jan 2026 23:28:03 +0000 Message-Id: <69618f03.31c47.75246ce9@gitrepo.freebsd.org> The branch stable/15 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=76a53e1839573968929400a661537f0e91f8700a commit 76a53e1839573968929400a661537f0e91f8700a Author: Christos Margiolis AuthorDate: 2026-01-02 16:57:06 +0000 Commit: Christos Margiolis CommitDate: 2026-01-09 23:27:25 +0000 sound: Allocate mpu401 with M_WAITOK Sponsored by: The FreeBSD Foundation MFC after: 1 week (cherry picked from commit fd1312d3629cda9691c67af6154946cd55467076) --- sys/dev/sound/midi/mpu401.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/sound/midi/mpu401.c b/sys/dev/sound/midi/mpu401.c index 500e15c79497..d3fb6b214d3e 100644 --- a/sys/dev/sound/midi/mpu401.c +++ b/sys/dev/sound/midi/mpu401.c @@ -142,10 +142,7 @@ mpu401_init(kobj_class_t cls, void *cookie, driver_intr_t softintr, struct mpu401 *m; *cb = NULL; - m = malloc(sizeof(*m), M_MIDI, M_NOWAIT | M_ZERO); - - if (!m) - return NULL; + m = malloc(sizeof(*m), M_MIDI, M_WAITOK | M_ZERO); kobj_init((kobj_t)m, cls);