Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@mvista.com>
To: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: Re: [PATCH] MIPS: Fix build failure for IP22
Date: Tue, 23 Nov 2010 15:05:15 +0300	[thread overview]
Message-ID: <4CEBADFB.7040003@mvista.com> (raw)
In-Reply-To: <1290511948-10347-1-git-send-email-dmitri.vorobiev@movial.com>

Hello.

On 23-11-2010 14:32, Dmitri Vorobiev wrote:

> Commit 48e1fd5a81416a037f5a48120bf281102f2584e2 changed the name

    Linus has asled to also specify the commit summary in parens.

> of the MIPS-specific dma_cache_sync() routine by prefixing it with
> `mips_', and removed the export for its symbol. Two drivers, which
> did use dma_cache_sync(), namely, sgiseeq and sgiwd93, were not
> converted to use the new function, which led to build failure for
> the IP22 platform.

> This patch fixes the build failure by fixing the call sites of
> mips_dma_cache_sync() and exporting the symbol for this routine as
> a GPL symbol. While at it, some minor changes to improve Kconfig
> help entries were done.

> Signed-off-by: Dmitri Vorobiev<dmitri.vorobiev@movial.com>
[...]

> diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
> index f6668cd..fe64edc 100644
> --- a/drivers/net/Kconfig
> +++ b/drivers/net/Kconfig
> @@ -1925,6 +1925,9 @@ config SGISEEQ
>   	  Say Y here if you have an Seeq based Ethernet network card. This is
>   	  used in many Silicon Graphics machines.
>
> +	  To compile this driver as a module, choose M here: the module
> +	  will be called sgiseeq.
> +

    This change is not metioned in the patch description...

> diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
> index 8616496..2d868bf 100644
> --- a/drivers/scsi/Kconfig
> +++ b/drivers/scsi/Kconfig
> @@ -390,6 +390,9 @@ config SGIWD93_SCSI
>   	  If you have a Western Digital WD93 SCSI controller on
>   	  an SGI MIPS system, say Y.  Otherwise, say N.
>
> +	  To compile this driver as a module, choose M here: the
> +	  module will be called sgiwd93.
> +

    This change is not metioned in the patch description...

> diff --git a/drivers/scsi/sgiwd93.c b/drivers/scsi/sgiwd93.c
> index fef0e3c..be9fc40 100644
> --- a/drivers/scsi/sgiwd93.c
> +++ b/drivers/scsi/sgiwd93.c
> @@ -95,7 +95,7 @@ void fill_hpc_entries(struct ip22_hostdata *hd, struct scsi_cmnd *cmd, int din)
>   	 */
>   	hcp->desc.pbuf = 0;
>   	hcp->desc.cntinfo = HPCDMA_EOX;
> -	dma_cache_sync(hd->dev, hd->cpu,
> +	mips_dma_cache_sync(hd->dev, hd->cpu,
>   		       (unsigned long)(hcp + 1) - (unsigned long)hd->cpu,
>   		       DMA_TO_DEVICE);

    Don't you want to move the aboev 2 lines to the right also? You're 
breaking the existing alignments and leaving alignment spaces intact...

WBR, Sergei

  reply	other threads:[~2010-11-23 12:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-23 11:32 [PATCH] MIPS: Fix build failure for IP22 Dmitri Vorobiev
2010-11-23 12:05 ` Sergei Shtylyov [this message]
2010-11-23 17:11 ` Thomas Bogendoerfer
2010-12-09 18:46 ` Ralf Baechle
2010-12-09 20:34   ` Dmitri Vorobiev

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=4CEBADFB.7040003@mvista.com \
    --to=sshtylyov@mvista.com \
    --cc=dmitri.vorobiev@movial.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /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