[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ac67c70345464efd347d56267d6748064131f7e2.camel@perches.com>
Date: Sun, 12 Apr 2020 09:56:44 -0700
From: Joe Perches <joe@...ches.com>
To: carlosteniswarrior@...il.com, gregkh@...uxfoundation.org
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging: comedi: drivers: jr3_pci: fixed two warnings
On Sun, 2020-04-12 at 16:25 +0200, carlosteniswarrior@...il.com wrote:
> Fixed two checkpatch warnings.
by introducing compiler errors.
> diff --git a/drivers/staging/comedi/drivers/jr3_pci.c b/drivers/staging/comedi/drivers/jr3_pci.c
[]
> @@ -91,8 +91,8 @@ struct jr3_pci_dev_private {
> };
> union jr3_pci_single_range {
> - struct comedi_lrange l;
> - char _reserved[offsetof(struct comedi_lrange, range[1])];
> + const comedi_lrange l;
> + char _reserved[offsetof(const comedi_lrange, range[1])];
> };
try this:
$ make allyesconfig
$ make drivers/staging/comedi/drivers/jr3_pci.o
_always_ compile the files modified by your patch before
you post it to a mailing list or submit it to a maintainer.
Powered by blists - more mailing lists