Messages in this thread | | | Subject | Re: [PATCH] checkpatch: add warning on %pk instead of %pK usage | From | Joe Perches <> | Date | Fri, 10 Feb 2017 14:59:29 -0800 |
| |
On Fri, 2017-02-10 at 14:49 -0800, Joe Perches wrote: > On Fri, 2017-02-10 at 22:26 +0000, Roberts, William C wrote: > > <snip> > > > > > > > > > > On Fri, 2017-02-10 at 11:37 -0800, william.c.roberts@intel.com wrote: > > > > > From: William Roberts <william.c.roberts@intel.com> > > > > > > > > > > Sample output: > > > > > WARNING: %pk is close to %pK, did you mean %pK?. > > > > > \#20: FILE: drivers/char/applicom.c:230: > > > > > + printk(KERN_INFO "Could not allocate IRQ %d for PCI > > > > > > > > Applicom > > > > > +device. %pk\n", dev->irq, pci_get_class); > > > > > > > > There isn't a single instance of this in the kernel tree.
Just in case anyone else wondered why this came up.
https://googleprojectzero.blogspot.com/2017/02/lifting-hyper-visor-bypassing-samsungs.html
| |