mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-18 14:48:17 +01:00
drivers: net: fsl-mc: align parameters to the open paranthesis
There were some cases in which the function parameters were not aligned to the open paranthesis. Fix those instances. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
This commit is contained in:
parent
6dcf5e4477
commit
f45ed0b5ec
@ -356,8 +356,7 @@ static int mc_fixup_dpc_mac_addr(void *blob, int dpmac_id,
|
|||||||
if (noff < 0) {
|
if (noff < 0) {
|
||||||
err = fdt_increase_size(blob, 200);
|
err = fdt_increase_size(blob, 200);
|
||||||
if (err) {
|
if (err) {
|
||||||
printf("fdt_increase_size: err=%s\n",
|
printf("fdt_increase_size: err=%s\n", fdt_strerror(err));
|
||||||
fdt_strerror(err));
|
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1158,8 +1157,7 @@ static int dprc_init(void)
|
|||||||
cfg.icid = DPRC_GET_ICID_FROM_POOL;
|
cfg.icid = DPRC_GET_ICID_FROM_POOL;
|
||||||
cfg.portal_id = DPRC_GET_PORTAL_ID_FROM_POOL;
|
cfg.portal_id = DPRC_GET_PORTAL_ID_FROM_POOL;
|
||||||
err = dprc_create_container(root_mc_io, MC_CMD_NO_FLAGS,
|
err = dprc_create_container(root_mc_io, MC_CMD_NO_FLAGS,
|
||||||
root_dprc_handle,
|
root_dprc_handle, &cfg,
|
||||||
&cfg,
|
|
||||||
&child_dprc_id,
|
&child_dprc_id,
|
||||||
&mc_portal_offset);
|
&mc_portal_offset);
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user