From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org,
"Maciej W. Rozycki" <macro@orcam.me.uk>,
Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Subject: [PATCH 7/7] parport_pc: Limit the number of PCI BAR pairs to 2
Date: Sun, 8 Jan 2023 21:56:56 +0000 [thread overview]
Message-ID: <20230108215656.6433-7-sudipm.mukherjee@gmail.com> (raw)
In-Reply-To: <20230108215656.6433-1-sudipm.mukherjee@gmail.com>
From: "Maciej W. Rozycki" <macro@orcam.me.uk>
Decrease the number of PCI BAR pair slots allocated for port subdrivers
from 4 to 2 as none wants more than 2 at this time, reducing the memory
footprint a little. No functional change.
Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
---
drivers/parport/parport_pc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c
index 9b4fe9a2b549..88e125e36230 100644
--- a/drivers/parport/parport_pc.c
+++ b/drivers/parport/parport_pc.c
@@ -2657,7 +2657,7 @@ static struct parport_pc_pci {
int lo;
int hi;
/* -1 if not there, >6 for offset-method (max BAR is 6) */
- } addr[4];
+ } addr[2];
/* Bit field of parport modes to exclude. */
unsigned int mode_mask;
--
2.30.2
prev parent reply other threads:[~2023-01-08 21:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-08 21:56 [PATCH 1/7] parport_pc: Remove stale `parport_pc_ecp_read_block_pio' reference Sudip Mukherjee
2023-01-08 21:56 ` [PATCH 2/7] parport_pc: Let chipset drivers mask unsupported modes Sudip Mukherjee
2023-01-08 21:56 ` [PATCH 3/7] parport_pc: Let chipset drivers mask ECR bits on writes Sudip Mukherjee
2023-01-08 21:56 ` [PATCH 4/7] parport_pc: Add a mode mask field for PCI devices Sudip Mukherjee
2023-01-08 21:56 ` [PATCH 5/7] parport_pc: Add an ECR " Sudip Mukherjee
2023-01-08 21:56 ` [PATCH 6/7] parport_pc: Set up mode and ECR masks for Oxford Semiconductor devices Sudip Mukherjee
2023-01-08 21:56 ` Sudip Mukherjee [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230108215656.6433-7-sudipm.mukherjee@gmail.com \
--to=sudipm.mukherjee@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=macro@orcam.me.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®