grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] disk/ahci.c: Wrap too long line


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH 2/2] disk/ahci.c: Wrap too long line
Date: Tue, 02 Jun 2015 18:43:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0

Please avoid sending patches to fix formatting of single lines. It's too
cumbersome. If you care about such issues (I don't), let the file go
through indent and proofread the result.
On 28.05.2015 20:03, Paul Menzel wrote:
> Date: Thu, 28 May 2015 19:50:51 +0200
> 
> Using the macros the line is too long, so wrap it.
> ---
>  grub-core/disk/ahci.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/grub-core/disk/ahci.c b/grub-core/disk/ahci.c
> index 0825998..fa7aa88 100644
> --- a/grub-core/disk/ahci.c
> +++ b/grub-core/disk/ahci.c
> @@ -552,7 +552,9 @@ grub_ahci_pciinit (grub_pci_device_t dev,
>                     adevs[i]->hba->ports[adevs[i]->port].sata_error);
>  
>       adevs[i]->hba->ports[adevs[i]->port].command
> -       = (adevs[i]->hba->ports[adevs[i]->port].command & 0x0fffffff) | (1 << 
> 28) | GRUB_AHCI_HBA_PORT_CMD_SPIN_UP | GRUB_AHCI_HBA_PORT_CMD_POWER_ON;
> +       = (adevs[i]->hba->ports[adevs[i]->port].command & 0x0fffffff) | (1 << 
> 28)
> +       | GRUB_AHCI_HBA_PORT_CMD_SPIN_UP
> +       | GRUB_AHCI_HBA_PORT_CMD_POWER_ON;
>  
>       /*  struct grub_disk_ata_pass_through_parms parms2;
>           grub_memset (&parms2, 0, sizeof (parms2));
> 
> 
> 
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]