You could do this -- essentially the same as @lawlist's comment:
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
(defun my-c-mode-common-hook ()
"Custom behaviours for `c-mode-common-hook'."
(when (boundp 'whitespace-style)
(setq-local whitespace-style (remq 'tabs whitespace-style))))
I constrain the indentation only to the Kernel code ...
(setq ido-default-file-method 'selected-window)
(setq ido-default-buffer-method 'selected-window)
thanks to this link, but they point to the wrong solution
works in selfcompiled  GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
sudo apt build-dep emacs
git clone git://git.sv.gnu.org/emacs.git
If we type C-h m in an *Ibuffer* buffer, we see that there is more than one way to select/open a buffer. When I place my cursor on a file in an *Ibuffer* buffer and type C-h k and then press the enter key, I get a *Help* buffer that describes the function ibuffer-visit-buffer. If I were type type M-x find-function RET ibuffer-visit-buffer RET, then I could ...
Use cond to bind either the buffer provided or the current buffer to my-source-buffer. No need for the extra line below. As there is actually only one condition an if statement would probably serve you better.
For the interactive line: Don't include the buffer variable. See Using-Interactive.
(boundp 'buffer) also returns t if buffer is nil as the symbol ...