From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vs1-f49.google.com (mail-vs1-f49.google.com [209.85.217.49]) (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 9B74A3321D7 for ; Mon, 26 Jan 2026 11:21:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.217.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769426480; cv=none; b=Rqip8ygnz4dRGtKpTHXGHXqP8yU3u4hGOq31RTaRpxK6gzoSl9cQUzc/pyqMtpDZXYJR20JIfDsLYsTcPMHkOsfy3iOoKJtXQkekbku/VsaOTVlsMx+wrHLpWpX2Zxeb9kduobXD64lLRnaj3Vl1zhmsDhg8tZ9yEr+vf+5w9jk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769426480; c=relaxed/simple; bh=tGe6v+UkH+nHY5twHVV5nC6gW7A4kVDGuAPzVtQWS64=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=W4TRwUkktOV61/PT6EnqFebk9YHAvP9u5bVUPSIuNVTYw/DioOc6ABCnuRj7zqCieXFEU9664Wj0bijrcs93GOSn6GtzygQsmCaAuEVYwSpKb5nEEEddbj48f93epXDQ/f7ljT8FUCwKlg9721fdPBjIftIhdB6ot5BLJveWKBg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.217.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vs1-f49.google.com with SMTP id ada2fe7eead31-5f526c39718so4029075137.2 for ; Mon, 26 Jan 2026 03:21:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769426478; x=1770031278; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BNw7CNlxTDDFOwZp5WHCg23lMNI0FBRvOqG/wK9y0lM=; b=BUnP800J3rmViGCyTNkJyxi4cZCp744rzFWr3FzVY8q1NjLIivxQSLwMiW7Y1MrL/O FQXMRXkWEqfucuH5eS27uVTA9Td5r4y5eqzmfIh4NKbB7lncg2BgVSd5f/B+P0f6JmIm Ke0HQ3ILLceRMLq51nK6H3qZ+AIjf/qXXFRFikRMapSB6GOvukT5F46Cpk2xTsSCRZYL hJW9j7vpilOQ/xWyaaLHZUzS0de+mu3qehNKKDDiZ3lCZP34qIGPyzge+jod8/ydgjie njvk9tRxbsSz9nAfYJP8ZNKL6BWL7vID16IBqfM7Pxhkb2yd0qQLom462mupPmMACbeL qApw== X-Forwarded-Encrypted: i=1; AJvYcCWyvVB+XvmSPt6tPYWjlCmO/Ff3mWeuspYPU94bqgUifatL2SGcJ5dNO2tzsikmnlZsfEvRpiFqGh3hn24=@vger.kernel.org X-Gm-Message-State: AOJu0Yy4clTmP/TEkVSaCV1/k1wzcQd958Ofs+WxF71oVEGKFWJHY4sJ 2VGP7oBT7rtKiOAxbTkFPlPgnNdxd+oIA1jry23OpKKENUviehcJlYZIZw5OSVJw X-Gm-Gg: AZuq6aLwq+DQ6bSEVJWLvDylKOL7hnq0IatkiiVxJRBfzTUboOtg1jxp3p+Eq1fhm6C 4qMaUfbHi9cw9ApXz4ucbZVFoxZ/K7YSrQ4Geb0l5jDovPo+UHYz0/f23ZhNDPX76yp31sVHQnM rypN7oC5eToHn0GpKjDohj2Z7ky73L5OcSBwPOK9IC4YhDUCo+84PLFOKlY8H5JCAsaBvfhcw++ hDD6az8VjznaxzZRNUhXE+D+mbMce9QmVOrw+dL1Vg2aqgEJgr0C6ZBf3P8lBRRZu2A7VjMHqvc wQ9CATS6IEqTMRQgzRDGfMeaqBBlfEPUUz8RMOw9ZiYClhMacXoGjdu+X/8JA+dztGW6+iHQgd5 mp6h75R+PKb2vUuqxpkJ4zaKvn2sFndzbzvkRM/UG2YBChJ0P3oqhv1m7q/K3j+N4Wc36gWKvlE n9E1B6Vf8bJDKZXjTl++9JsHiy9lyg4cXle5fn9FrNS+BbL1mfP8Ju X-Received: by 2002:a05:6102:4429:b0:5df:3b19:4119 with SMTP id ada2fe7eead31-5f576486e37mr1273960137.26.1769426478553; Mon, 26 Jan 2026 03:21:18 -0800 (PST) Received: from mail-vk1-f181.google.com (mail-vk1-f181.google.com. [209.85.221.181]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-9484fe51d53sm606202241.12.2026.01.26.03.21.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Jan 2026 03:21:18 -0800 (PST) Received: by mail-vk1-f181.google.com with SMTP id 71dfb90a1353d-566390e7db3so4286280e0c.1 for ; Mon, 26 Jan 2026 03:21:18 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWRc9qMPkfXd/QFN5v7mlw9bNt5G7/jjVnjODppY8mYyN3GBYpSCFz1mnlHQnCEn7tmUFbAhjcZg1da9nQ=@vger.kernel.org X-Received: by 2002:a05:6122:210f:b0:557:b52a:d553 with SMTP id 71dfb90a1353d-5665c964819mr995056e0c.7.1769426477829; Mon, 26 Jan 2026 03:21:17 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <478d5f080d74b6688c9e3f9132e3fe251e997ad7.1765610469.git.fthain@linux-m68k.org> In-Reply-To: <478d5f080d74b6688c9e3f9132e3fe251e997ad7.1765610469.git.fthain@linux-m68k.org> From: Geert Uytterhoeven Date: Mon, 26 Jan 2026 12:21:06 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: AZwV_QgdN7GdXnYk_jOAiRhvvo41YA3lGsW8i9wVIt6VjDJZBCNjYXvvvYWdtqo Message-ID: Subject: Re: [PATCH] nubus: Call put_device() in bus initialization error path To: Finn Thain Cc: Haoxiang Li , Daniel Palmer , linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Sat, 13 Dec 2025 at 08:21, Finn Thain wrote: > The error path for bus initialization is missing a call to put_device(). > Add that call. This error path will probably never actually execute, but > any kernel source code may be subject to static checking or re-use. > > Cc: Haoxiang Li > Cc: Daniel Palmer > Suggested-by: Haoxiang Li > Signed-off-by: Finn Thain Reviewed-by: Geert Uytterhoeven i.e. will queue in the m68k tree for v6.20. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds