Thread (44 messages) read the whole thread 44 messages, 3 authors, 2023-02-09

Re: [PATCH v4 11/19] x86/ioapic: Use irq_domain_create_hierarchy()

From: Johan Hovold <johan@kernel.org>
Date: 2023-01-18 11:19:00
Also in: linux-mips, lkml, platform-driver-x86

On Tue, Jan 17, 2023 at 10:41:36PM +0100, Thomas Gleixner wrote:
On Mon, Jan 16 2023 at 14:50, Johan Hovold wrote:
quoted
 
-	ip->irqdomain = irq_domain_create_linear(fn, hwirqs, cfg->ops,
-						 (void *)(long)ioapic);
-
+	ip->irqdomain = irq_domain_create_hierarchy(parent, 0, hwirqs, fn,
+						    cfg->ops,
+						    (void *)(long)ioapic);
The 80 character limit has been lifted quite some time ago. Please use
the 100 which are now the norm.
Not everyone agrees, including coding-style.rst:

	The preferred limit on the length of a single line is 80 columns.

	Statements longer than 80 columns should be broken into sensible
	chunks, unless exceeding 80 columns significantly increases
	readability and does not hide information.

I go above 80 chars when it improves readability, but it's still a soft
limit for many of us.

I'll change the above, but not sure trying too hard to fit everything in
one line really improves things in cases like:

-       uv_domain = irq_domain_create_hierarchy(x86_vector_domain, 0, 0, fn,
-                                               &uv_domain_ops, NULL);
+       uv_domain = irq_domain_create_hierarchy(x86_vector_domain, 0, 0, fn, &uv_domain_ops, NULL);

Johan

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help