From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) (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 097DC3451A3 for ; Mon, 12 Jan 2026 08:49:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.67 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768207773; cv=none; b=r5ngE09N2XJhcc+QpnjGtyJ415Pnkq8WoE/DNgr0mMqRohBTfAio9n+FiDQ0iir4OU3EagYFWtjf+pRKvbk0n3AcPeF6RJHNS8TdnQAzZaE+fgMws4oKg3e3GfxE2A5H49ltchz+3iZv2fHuWMvtDKUSWHNDZIxNWdRGUb4z8A4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768207773; c=relaxed/simple; bh=h10s5/HW7aqFZlO2ki21yW9EFRy51rqvbeI2/xs+6Lg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WdVQmN8CEU9hMfSO+/+ueRU26sxJfFqQ1BD77CGgND2gpyYg5SgTc+aagMzmoFLy0mxNsT5k0e7dmdrkb6LksC24jGzFi/xrZ02BcpYRSFnB6ncXB+10x9mNOHX3Zrzn4tD4u7uplfAB6PNsuONfaMeSVl7uKIUSR/AnbXGgigQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=fS6RO1JB; arc=none smtp.client-ip=209.85.128.67 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fS6RO1JB" Received: by mail-wm1-f67.google.com with SMTP id 5b1f17b1804b1-4775ae5684fso27802775e9.1 for ; Mon, 12 Jan 2026 00:49:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1768207763; x=1768812563; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=XOMrE+myOP0LrQl1OVUBU894BVCq+VRbLawR48Sw+9o=; b=fS6RO1JBpa/qoOaKtNnPwB0gBNA7CEcBnAMHh6GMRYRdMNlKxCZT9XHwHG9H/+fSyo 888cDtQnfRVffSA8V7JzBkpZHBjibJrcgfhGSGBCh0m7acx46xflHH7PEIt8fTEcrvQN Wfqr44Qt8YnoKwXqkCkiTSHvYt6w2D94InevtWEuE8FWrehfBjhDPifOehXaPwigqtrH y97BGalS8q4+KDTI+6FhzWCzijRM76Qe3wPojDFMjhiR/JEv5HEyqFF72WG2vDNgT4Rm 5XThpMRYg2Ack2ogJjuKxqQj8KA257OYLDv8JzToXyuHnSdotrZl/4F1RYD4t+IiwR/K U+Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768207763; x=1768812563; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XOMrE+myOP0LrQl1OVUBU894BVCq+VRbLawR48Sw+9o=; b=aMDCa5AAEH5QTZZRovzOFmQo3DjICs3TEaOVV/Z12cplM6MZbeRLtRjYNhvQcYJtJi fvEFtleeQgFfk1XlE/UAsuBa+YwOU8z0+YgTxd+djQjZKObGgvTP/sqcXbn8sWPKVNJJ LRNjuuO3CbAPF04UhOypUPfxNRZsBCADhgZOymHyPKfYwwJBSJog9TuIBnmlID5/nowE YL7wHETv/oTlrmW7BUStBEdqhOZxIAjLzXM+Yp3o8rHl8Tjj3ntGTmB3u2iz6WY8GiVn kZO5bpyWZpWg1B4qDYgyZRd/HeIAiBRCTLhut5L5bHvsV3RyNDWLZLClv50oulQGxVX+ duIA== X-Forwarded-Encrypted: i=1; AJvYcCWhftlap1y2JomZ+D7vRqovfSVOUAmnUcV3tkqnlDsQMscnub6toppt9l8sWaK/2YScixPVjshN5mD473Q=@vger.kernel.org X-Gm-Message-State: AOJu0Yz6gaGy8xNMmzKOAKY2uNms6NnJHTEHuLgqw/tb2CN0M/dALkFi DNU/nvDxXy8HX0ULJ7mywIJMfiM2paeqq8jeYLCjJs6sLEJgio0PUaHaAWSHML3dbGo= X-Gm-Gg: AY/fxX6+vsBoiEHdEY50PLe8Nn1SAzLzuVPqDzcca3m6MRwp7L2qFnRcqiC0OKSQECC lnd2PdX5src9eESBGOpA4+94ZuLJBHOflTksmVpzlmR37cgesNkZiIGLnquXLLykBTthLtAHiX4 iNC5LsF/Xe8g5dwudlrLAltnhZ7m1ejrptIh9lw+mhu6ziSfdcz5qbrZQ6LOyXf/gJl2wVdUZuF i+THE5RWX6i74HvAovHlPxt2Eyqi9dM+0GkiDqlOgU212gyKzMBaXTtGmbGKVOZ6f+kdvV8hodz NXhEybFD8rGPoJIaNgeEgx4fI3g3LTbVvEFQDSOCXXVCwQsuibjJJiWnjYEeKQUkxXA+9WqOBkE 1TV6V96nBcBHQmeaUJCFkOfBcZye3H6FDOl9mh+j/uFF2C8p6tVuzMqp9HJmybP3TrWX9wU9FLo SZOK//Mtn/YUa8JMiM X-Google-Smtp-Source: AGHT+IFSkZ9Bt+jF8EteEZVt3riac8CY7G/+vj9cJ7tYZqvtQj002QQ39KN6Q+Ht/zbeRDd9tCK5Kg== X-Received: by 2002:a05:600c:1e1c:b0:477:561f:6fc8 with SMTP id 5b1f17b1804b1-47d84b0a211mr166896665e9.5.1768207763187; Mon, 12 Jan 2026 00:49:23 -0800 (PST) Received: from localhost ([196.207.164.177]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-432bd0e16ffsm38391032f8f.12.2026.01.12.00.49.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jan 2026 00:49:22 -0800 (PST) Date: Mon, 12 Jan 2026 11:49:19 +0300 From: Dan Carpenter To: Markus Elfring Cc: Harshit Mogalapalli , linux-sound@vger.kernel.org, Bard Liao , Charles Keepax , Pierre-Louis Bossart , Vinod Koul , kernel-janitors@vger.kernel.org, LKML , lkp@intel.com, Dan Carpenter Subject: Re: [PATCH] soundwire: bus: fix off-by-one when allocating slave IDs Message-ID: References: <20260110201959.2523024-1-harshit.m.mogalapalli@oracle.com> <732ad24d-d88f-47dc-bb6f-bd1b64ad354e@web.de> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon, Jan 12, 2026 at 11:26:51AM +0300, Dan Carpenter wrote: > On Sun, Jan 11, 2026 at 10:27:08AM +0100, Markus Elfring wrote: > > … > > > Using SDW_FW_MAX_DEVICES(16) therefore allows an ID of 16 to be > > > allocated, but the IRQ domain created for the bus is sized for IDs > > > 0-15. If 16 is returned, irq_create_mapping() fails and the driver > > > ends up with an invalid IRQ mapping. > > … > > > > See also once more: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.19-rc4#n659 > > > > Markus, please only comment when it's a bug in the patch instead of > wrong advice about commit messages. Sorry, if that was unclear. The link is a real link to the documentation which says: - The body of the explanation, line wrapped at 75 columns, which will be copied to the permanent changelog to describe this patch. The rules that we write down are simplified guidelines which are designed to be easy explain. 75 is the upper bound where checkpatch will complain. But I think line wrapping at 72 or 74 characters is more common. Either way it's fine. regards, dan carpenter