Re: [PATCH v2 04/13] PCI: acpiphp: remove 'name' parameter

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alex Chiang
Date: Monday, September 22, 2008 - 6:16 pm

* Matthew Wilcox <matthew@wil.cx>:

I think this may have already been answered somewhere else, but
scnprintf tells you number of characters that actually fits into
the buffer whereas snprintf tells you the number of characters
that _would_ have fit into the buffer it were big enough.


Well, I think there are some in-flight patches that want to
change sun to a 64 bit value, which makes me think we want to
change SLOT_NAME_SIZE to 21...

/ac

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2 00/13] PCI: let the core manage slot names, Alex Chiang, (Tue Sep 9, 3:00 am)
[PATCH v2 02/13] PCI: prevent duplicate slot names, Alex Chiang, (Tue Sep 9, 3:00 am)
[PATCH v2 13/13] PCI: Hotplug core: remove 'name', Alex Chiang, (Tue Sep 9, 3:01 am)
Re: [PATCH v2 02/13] PCI: prevent duplicate slot names, Matthew Wilcox, (Tue Sep 9, 6:07 am)
Re: [PATCH v2 02/13] PCI: prevent duplicate slot names, Rolf Eike Beer, (Wed Sep 10, 7:58 am)
Re: [PATCH v2 02/13] PCI: prevent duplicate slot names, Kenji Kaneshige, (Wed Sep 10, 7:47 pm)
Re: [PATCH v2 02/13] PCI: prevent duplicate slot names, Alex Chiang, (Thu Sep 11, 3:37 am)
Re: [PATCH v2 02/13] PCI: prevent duplicate slot names, Alex Chiang, (Mon Sep 22, 2:38 pm)
Re: [PATCH v2 02/13] PCI: prevent duplicate slot names, Alex Chiang, (Mon Sep 22, 2:40 pm)
Re: [PATCH v2 02/13] PCI: prevent duplicate slot names, Matthew Wilcox, (Mon Sep 22, 3:42 pm)
Re: [PATCH v2 02/13] PCI: prevent duplicate slot names, Alex Chiang, (Mon Sep 22, 5:05 pm)
Re: [PATCH v2 04/13] PCI: acpiphp: remove 'name' parameter, Alex Chiang, (Mon Sep 22, 6:16 pm)