From: Joe Perches <joe@perches.com>
To: carlosteniswarrior@gmail.com, gregkh@linuxfoundation.org
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Staging: comedi: drivers: jr3_pci: fixed two warnings
Date: Sun, 12 Apr 2020 09:56:44 -0700 [thread overview]
Message-ID: <ac67c70345464efd347d56267d6748064131f7e2.camel@perches.com> (raw)
In-Reply-To: <20200412142508.327-1-carlosteniswarrior@gmail.com>
On Sun, 2020-04-12 at 16:25 +0200, carlosteniswarrior@gmail.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.
next prev parent reply other threads:[~2020-04-12 17:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-12 14:25 carlosteniswarrior
2020-04-12 16:56 ` Joe Perches [this message]
2020-04-12 17:18 ` kbuild test robot
2020-04-13 12:54 ` Greg KH
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=ac67c70345464efd347d56267d6748064131f7e2.camel@perches.com \
--to=joe@perches.com \
--cc=carlosteniswarrior@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®