File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,8 @@ struct bdf {
177
177
bdf (uint8_t bus, uint8_t device, uint8_t function) :
178
178
domainno (0 ), busno(bus), devno(device), funcno(function) {}
179
179
180
- std::string to_string () const {
180
+ std::string to_string () const
181
+ {
181
182
std::ostringstream oss;
182
183
oss << std::hex << std::uppercase << std::setfill (' 0' )
183
184
<< std::setw (DOMAIN_WIDTH) << domainno << " :"
@@ -187,11 +188,11 @@ struct bdf {
187
188
return oss.str ();
188
189
}
189
190
190
- private:
191
- static const int DOMAIN_WIDTH = 4 ;
192
- static const int BUS_WIDTH = 2 ;
193
- static const int DEVICE_WIDTH = 2 ;
194
- static const int FUNCTION_WIDTH = 1 ;
191
+ private:
192
+ static const int DOMAIN_WIDTH = 4 ;
193
+ static const int BUS_WIDTH = 2 ;
194
+ static const int DEVICE_WIDTH = 2 ;
195
+ static const int FUNCTION_WIDTH = 1 ;
195
196
};
196
197
197
198
struct pci {
You can’t perform that action at this time.
0 commit comments