Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1265088

Re: [PATCH] tty: audit: Fix audit source

From Peter Hurley <peter@hurleysoftware.com>
Newsgroups linux.kernel
Subject Re: [PATCH] tty: audit: Fix audit source
Date 2015-11-08 14:50 +0100
Message-ID <qsyw1-MG-1@gated-at.bofh.it> (permalink)
References <qsxTj-yn-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/08/2015 08:01 AM, kbuild test robot wrote:
> Hi Peter,
> 
> [auto build test WARNING on: v4.3-rc7]
> [also build test WARNING on: next-20151106]
> 
> url:    https://github.com/0day-ci/linux/commits/Peter-Hurley/tty-audit-Fix-audit-source/20151108-205330
> config: x86_64-randconfig-x019-201545 (attached as .config)
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All warnings (new ones prefixed by >>):
> 
>    drivers/tty/n_tty.c: In function 'tty_copy_to_user':
>>> drivers/tty/n_tty.c:172:26: warning: passing argument 2 of 'tty_audit_add_data' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      tty_audit_add_data(tty, from, n, ldata->icanon);
>                              ^
>    In file included from drivers/tty/n_tty.c:40:0:
>    include/linux/tty.h:616:20: note: expected 'unsigned char *' but argument is of type 'const void *'
>     static inline void tty_audit_add_data(struct tty_struct *tty,

Thanks for the build report. I caused this during a manual rebase squash.
Re-testing v2 now :/

Regards,
Peter Hurley

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] tty: audit: Fix audit source Peter Hurley <peter@hurleysoftware.com> - 2015-11-08 14:00 +0100
  Re: [PATCH] tty: audit: Fix audit source kbuild test robot <lkp@intel.com> - 2015-11-08 14:10 +0100
    Re: [PATCH] tty: audit: Fix audit source Peter Hurley <peter@hurleysoftware.com> - 2015-11-08 14:50 +0100
  [PATCH v2] tty: audit: Fix audit source Peter Hurley <peter@hurleysoftware.com> - 2015-11-08 15:00 +0100
    Re: [PATCH v2] tty: audit: Fix audit source Laura Abbott <labbott@redhat.com> - 2015-11-10 02:50 +0100

csiph-web